Bug 2377454 - python-apsw: Stop using deprecated %py3_build/%py3_install macros [upstream changes required]
Summary: python-apsw: Stop using deprecated %py3_build/%py3_install macros [upstream c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-apsw
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carl George 🤠
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376118
TreeView+ depends on / blocked
 
Reported: 2025-07-08 14:18 UTC by Miro Hrončok
Modified: 2025-08-01 02:49 UTC (History)
2 users (show)

Fixed In Version: python-apsw-3.50.2.0-1.fc43
Clone Of:
Environment:
Last Closed: 2025-08-01 02:49:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2025-07-08 14:18:25 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-07-08 14:34:09 UTC
This is one of the harder ones.

https://github.com/rogerbinns/apsw/blob/3.49.2.0/setup.py#L891

They override almost every bit of the build process and they don't override bdist_wheel.

Comment 2 Carl George 🤠 2025-07-31 09:12:40 UTC
This was indeed tricky, but I think this PR takes care of it.  I'd appreciate a review if you have the time.

https://src.fedoraproject.org/rpms/python-apsw/pull-request/6

Comment 3 Fedora Update System 2025-08-01 02:44:32 UTC
FEDORA-2025-2ee26ab249 (python-apsw-3.50.2.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-2ee26ab249

Comment 4 Fedora Update System 2025-08-01 02:49:14 UTC
FEDORA-2025-2ee26ab249 (python-apsw-3.50.2.0-1.fc43) has been pushed to the Fedora 43 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.