Bug 51666

Summary: support for setuptools' test command will be removed
Product: Sisyphus Reporter: Stanislav Levin <slev>
Component: rpm-build-introAssignee: Vitaly Lipatov <lav>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: lav
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Stanislav Levin 2024-10-08 17:40:33 MSK
RPM macro `%python3_test` internally uses `python3 setup.py test`.

`setup.py test` is deprecated since setuptools 41.5.0:                           
https://setuptools.pypa.io/en/latest/history.html#v41-5-0                        
                                                                                 
setuptools 72.0.0 removed support for deprecated `setup.py test` command:        
                                                                                 
https://setuptools.pypa.io/en/stable/history.html#v72-0-0                        
> The test command has been removed. Users relying on ‘setup.py test’ will need  
> to migrate to another test runner or pin setuptools before this version.       
                                                                                 
See for details:                                                                 
https://bugzilla.altlinux.org/50996