Bug 2377918

Summary: python-nagiosplugin: Stop using deprecated %py3_build/%py3_install macros
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-nagiospluginAssignee: Ali Erdinc Koroglu <aekoroglu>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aekoroglu, negativo17, unix
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2376118    
Attachments:
Description Flags
Spec file without depracted py3 macros none

Description Miro Hrončok 2025-07-08 14:50:07 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 Fedora Admin user for bugzilla script actions 2025-07-11 01:13:46 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Unix VUT 2025-08-25 10:49:00 UTC
Created attachment 2104657 [details]
Spec file without depracted py3 macros

Spec is converted by pyprojectize. I changed only %pyproject_check_import -t -e msvcrt to exclude test for windows library. On rhel10 avertyhing is working alright.