Bug 2319673 - python-jupyter-packaging fails to build with wheel 0.44: DeprecationWarning: The 'wheel' package is no longer the canonical location of the 'bdist_wheel' command
Summary: python-jupyter-packaging fails to build with wheel 0.44: DeprecationWarning: ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jupyter-packaging
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: SETUPTOOLS74
TreeView+ depends on / blocked
 
Reported: 2024-10-18 10:11 UTC by Miro Hrončok
Modified: 2024-10-23 18:16 UTC (History)
3 users (show)

Fixed In Version: python-jupyter-packaging-0.12.3-14.fc42
Clone Of:
Environment:
Last Closed: 2024-10-23 18:16:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-jupyter-packaging pull-request 13 0 None None None 2024-10-23 10:39:55 UTC
Github jupyter jupyter-packaging pull 186/files 0 None None None 2024-10-22 17:31:48 UTC

Description Miro Hrončok 2024-10-18 10:11:15 UTC
Dear package maintainer,

this bugzilla is automated becasue the number of impacted packages it too high to go trough manually.

It appears that your package failed to build with setuptools 74.1.3 and wheel 0.44 in

  https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-74/package/python-jupyter-packaging/

While it succeeded with setuptools 69.2.0 and wheel 0.43 in

  https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-control/package/python-jupyter-packaging/

This usually means this package fails to build with setuptools 74+

We plan to update setuptools to version 74 or newer in Fedora 42. This is an approved Fedora 42 Change:

  https://fedoraproject.org/wiki/Changes/Setuptools_74+



Please analyze the failure and fix it in rawhide. Thanks.


You can use the builds from the churchyard/setuptools-74 copr for local testing.

  mock -r fedora-rawhide-x86_64 --addrepo 'https://download.copr.fedorainfracloud.org/results/churchyard/setuptools-74/fedora-rawhide-$basearch/'


One of the most common problems is that the setup.py test command cannot be used. If that is the case here, run the tests in %check differently, e.g. via %pytest, %tox, %{python3} -m unittest, etc.


If you need help, reach out to me in this bugzilla.

Comment 1 Miro Hrončok 2024-10-18 15:21:19 UTC
...
_______________ ERROR collecting tests/test_utility_functions.py _______________
tests/test_utility_functions.py:6: in <module>
    import jupyter_packaging.setupbase as pkg
jupyter_packaging/__init__.py:6: in <module>
    from .setupbase import *  # noqa
jupyter_packaging/setupbase.py:48: in <module>
    from wheel.bdist_wheel import bdist_wheel
/usr/lib/python3.13/site-packages/wheel/bdist_wheel.py:5: in <module>
    warn(
E   DeprecationWarning: The 'wheel' package is no longer the canonical location of the 'bdist_wheel' command, and will be removed in a future release. Please update to setuptools v70.1 or later which contains an integrated version of this command.
=========================== short test summary info ============================
ERROR tests/test_build_api.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_build_api.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_core_functions.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_core_functions.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_datafiles_paths.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_datafiles_paths.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_deprecated.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_deprecated.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_is_stale.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_is_stale.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_main.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_main.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_utility_functions.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
ERROR tests/test_utility_functions.py - DeprecationWarning: The 'wheel' package is no longer the canonical location...
!!!!!!!!!!!!!!!!!!! Interrupted: 14 errors during collection !!!!!!!!!!!!!!!!!!!
====================== 13 deselected, 14 errors in 0.65s =======================

Comment 2 Fedora Update System 2024-10-23 18:13:24 UTC
FEDORA-2024-e9c26c6df9 (python-jupyter-packaging-0.12.3-14.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e9c26c6df9

Comment 3 Fedora Update System 2024-10-23 18:16:09 UTC
FEDORA-2024-e9c26c6df9 (python-jupyter-packaging-0.12.3-14.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


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