Bug 2246126 - python-py-gql fails to build with Python 3.13: ModuleNotFoundError: No module named 'typing.re'; 'typing' is not a package
Summary: python-py-gql fails to build with Python 3.13: ModuleNotFoundError: No module...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: python-py-gql
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2291851 (view as bug list)
Depends On:
Blocks: F41FTBFS F41FailsToInstall F42FailsToInstall PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2023-10-25 14:03 UTC by Karolina Surma
Modified: 2024-10-16 07:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-08-23 12:52:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2023-10-25 14:03:44 UTC
python-py-gql fails to build with Python 3.13.0a1.

+ pytest-3.13 -v tests
ImportError while loading conftest '/builddir/build/BUILD/py_gql-0.6.1/tests/conftest.py'.
tests/conftest.py:10: in <module>
    from py_gql import build_schema
../../BUILDROOT/python-py-gql-0.6.1-12.fc40.x86_64/usr/lib/python3.13/site-packages/py_gql/__init__.py:15: in <module>
    from . import lang, schema, tracers, utilities  # noqa: F401
../../BUILDROOT/python-py-gql-0.6.1-12.fc40.x86_64/usr/lib/python3.13/site-packages/py_gql/tracers.py:10: in <module>
    from .execution import GraphQLExtension, Instrumentation, ResolveInfo
../../BUILDROOT/python-py-gql-0.6.1-12.fc40.x86_64/usr/lib/python3.13/site-packages/py_gql/execution/__init__.py:3: in <module>
    from .blocking_executor import BlockingExecutor
../../BUILDROOT/python-py-gql-0.6.1-12.fc40.x86_64/usr/lib/python3.13/site-packages/py_gql/execution/blocking_executor.py:9: in <module>
    from .executor import Executor
../../BUILDROOT/python-py-gql-0.6.1-12.fc40.x86_64/usr/lib/python3.13/site-packages/py_gql/execution/executor.py:39: in <module>
    from .instrumentation import Instrumentation
../../BUILDROOT/python-py-gql-0.6.1-12.fc40.x86_64/usr/lib/python3.13/site-packages/py_gql/execution/instrumentation.py:4: in <module>
    from .wrappers import ResolveInfo
../../BUILDROOT/python-py-gql-0.6.1-12.fc40.x86_64/usr/lib/python3.13/site-packages/py_gql/execution/wrappers.py:24: in <module>
    from ..utilities import (
../../BUILDROOT/python-py-gql-0.6.1-12.fc40.x86_64/usr/lib/python3.13/site-packages/py_gql/utilities/__init__.py:16: in <module>
    from .collect_fields import (
../../BUILDROOT/python-py-gql-0.6.1-12.fc40.x86_64/usr/lib/python3.13/site-packages/py_gql/utilities/collect_fields.py:16: in <module>
    from typing.re import Pattern
E   ModuleNotFoundError: No module named 'typing.re'; 'typing' is not a package

https://docs.python.org/3.13/whatsnew/3.13.html says:

Namespaces typing.io and typing.re, deprecated in Python 3.8, are now removed. The items in those namespaces can be imported directly from typing. (Contributed by Sebastian Rittau in gh-92871.)

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06559309-python-py-gql/

For all our attempts to build python-py-gql with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-py-gql/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Aoife Moloney 2024-02-15 23:01:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Karolina Surma 2024-06-12 15:06:21 UTC
*** Bug 2291851 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Fails To Install 2024-06-19 19:56:47 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 4 Fedora Fails To Install 2024-07-13 07:58:41 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 4+ weeks.
This is the second reminder (step 4) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 5 Fedora Fails To Install 2024-08-13 00:01:41 UTC
This package has been orphaned.

You can pick it up at https://src.fedoraproject.org/rpms/python-py-gql by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution.

Comment 6 Fedora Admin user for bugzilla script actions 2024-08-22 18:43:39 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 7 Miro Hrončok 2024-08-23 12:52:30 UTC
Automation has figured out the package is retired in Fedora 40.

If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement


Note You need to log in before you can comment on or make changes to this bug.