Bug 2220403
| Summary: | F39FailsToInstall: python3-pendulum | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
| Component: | python-pendulum | Assignee: | Fabian Affolter <mail> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, mail |
| 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: | 2023-07-30 15:38:52 UTC | Type: | --- |
| 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: | 2135404, 2168845, 2220069, 2220144, 2226094 | ||
|
Description
Fedora Fails To Install
2023-07-05 19:17:46 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 devel.org if you are unsure how to fix this bug. $ fedpkg mockbuild --enablerepo=local
Building wheels for collected packages: pendulum
Building wheel for pendulum (pyproject.toml): started
Running command Building wheel for pendulum (pyproject.toml)
Traceback (most recent call last):
File "/builddir/build/BUILD/pendulum-2.1.2/build.py", line 5, in <module>
from distutils.command.build_ext import build_ext
ModuleNotFoundError: No module named 'distutils'
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/poetry/core/masonry/api.py", line 57, in build_wheel
return WheelBuilder.make_in(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 86, in make_in
wb.build(target_dir=directory)
File "/usr/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 121, in build
self._build(zip_file)
File "/usr/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 170, in _build
self._run_build_script(self._package.build_script)
File "/usr/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 230, in _run_build_script
subprocess.check_call([self.executable.as_posix(), build_script])
File "/usr/lib64/python3.12/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', 'build.py']' returned non-zero exit status 1.
error: subprocess-exited-with-error
× Building wheel for pendulum (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/bin/python3 /usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /builddir/build/BUILD/pendulum-2.1.2/.pyproject-builddir/tmpqk1w0hqq
cwd: /builddir/build/BUILD/pendulum-2.1.2
Building wheel for pendulum (pyproject.toml): finished with status 'error'
ERROR: Failed building wheel for pendulum
Here is a PR that makes the minimal change to build with Python 3.12. https://src.fedoraproject.org/rpms/python-pendulum/pull-request/2 It would be really great if this package could get some attention. The test suite can easily be run, as demonstrated in https://src.fedoraproject.org/rpms/python-pendulum/pull-request/1. The package still needs attention, but merging and building the minimal fix in https://src.fedoraproject.org/rpms/python-pendulum/pull-request/2 has made it installable again. Thanks! https://bodhi.fedoraproject.org/updates/FEDORA-2023-ea35e4020c |