Bug 2220403 - F39FailsToInstall: python3-pendulum
Summary: F39FailsToInstall: python3-pendulum
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pendulum
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.12 F39FailsToInstall 2220069 2220144 2226094
TreeView+ depends on / blocked
 
Reported: 2023-07-05 19:17 UTC by Fedora Fails To Install
Modified: 2023-07-30 15:39 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-07-30 15:38:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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/

Your package (python-pendulum) Fails To Install in Fedora 39:

can't install python3-pendulum:
  - nothing provides python(abi) = 3.11 needed by python3-pendulum-2.1.2-9.fc38.x86_64
  - nothing provides (python3.11dist(python-dateutil) < 3~~ with python3.11dist(python-dateutil) >= 2.6) needed by python3-pendulum-2.1.2-9.fc38.x86_64
  - nothing provides python3.11dist(pytzdata) >= 2020.1 needed by python3-pendulum-2.1.2-9.fc38.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-39-x86_64 --config-opts mirrored=False install python3-pendulum


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Fedora Fails To Install 2023-07-13 11:56:31 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.

Comment 2 Ben Beasley 2023-07-25 13:11:33 UTC
$ 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

Comment 3 Ben Beasley 2023-07-25 13:22:22 UTC
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.

Comment 4 Ben Beasley 2023-07-30 15:38:52 UTC
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


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