Bug 2283618
| Summary: | python-nbclassic fails to build with Python 3.13: ModuleNotFoundError: No module named 'pipes' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | python-nbclassic | Assignee: | Lumír Balhar <lbalhar> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | ksurma, lbalhar, mhroncok, python-packagers-sig |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-06-11 09:06:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2244836 | ||
Fix proposed upstream: https://github.com/jupyter/nbclassic/pull/286 And backported downstream with build in side-tag: https://koji.fedoraproject.org/koji/taskinfo?taskID=118871269 |
python-nbclassic fails to build with Python 3.13.0b1. Traceback (most recent call last): File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 560, in main generate_requires( ~~~~~~~~~~~~~~~~~^ include_runtime=args.runtime, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<9 lines>... config_settings=parse_config_settings_args(args.config_settings), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 456, in generate_requires generate_build_requirements(backend, requirements) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 274, in generate_build_requirements new_reqs = get_requires(config_settings=requirements.config_settings) File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires self.run_setup() ~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "<string>", line 52, in <module> File "/builddir/build/BUILD/nbclassic-1.1.0/setupbase.py", line 15, in <module> import pipes ModuleNotFoundError: No module named 'pipes' According to https://docs.python.org/3.13/whatsnew/3.13.html module pipes was removed: PEP 594: Remove the pipes module, deprecated in Python 3.11: use the subprocess module instead. (Contributed by Victor Stinner in gh-104773.) https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07497625-python-nbclassic/ For all our attempts to build python-nbclassic with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-nbclassic/ 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.