Bug 2378194 - python-scitokens: Stop using deprecated %py3_build/%py3_install macros
Summary: python-scitokens: Stop using deprecated %py3_build/%py3_install macros
Keywords:
Status: POST
Alias: None
Product: Fedora
Classification: Fedora
Component: python-scitokens
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Derek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2376118
TreeView+ depends on / blocked
 
Reported: 2025-07-08 15:08 UTC by Miro Hrončok
Modified: 2025-12-16 11:02 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-scitokens pull-request 1 0 None None None 2025-12-16 11:02:45 UTC

Description Miro Hrončok 2025-07-08 15:08:11 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 uses the deprecated %py3_build and/or %py3_install macro.

See https://fedoraproject.org/wiki/Changes/DeprecateSetuppyMacros for why the macros are deprecated.

%py3_install expands to python setup.py install. This has been a deprecated command for 5 years and will likely stop working in Fedora 45.



Please migrate to %pyproject_buildrequires + %pyproject_wheel + %pyproject_install macros instead.

See https://fedoraproject.org/wiki/Changes/DeprecateSetuppyMacros#Migrating_to_%pyproject_macros for migration guide.

See https://github.com/hroncok/pyprojectize/ for a tool that can help you automate the migration.


Thank you. Let me know if you need help.

Comment 1 Miro Hrončok 2025-12-11 13:15:52 UTC
python-scitokens touched this, but did not fix this. In Fedora, the package still uses the deprecated macros; on RHEL it partially uses the new ones, but not completely.

Let me know if you would appreciate a pull request.

Comment 2 Derek 2025-12-16 03:40:20 UTC
I would be more than happy to accept a pull request to fix the depreciated macros.


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