Bug 51697

Summary: migrate from setuptools' test command
Product: Sisyphus Reporter: Stanislav Levin <slev>
Component: python3-module-mallard-ducktypeAssignee: Yuri N. Sedunov <aris>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: aris
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Stanislav Levin 2024-10-11 18:56:29 MSK
`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

Moreover, according to beehive log:
https://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2024/1011/success/python3-module-mallard-ducktype-1.0.2-alt1

> Ran 0 tests in 0.000s
> NO TESTS RAN
> + exit 0
Comment 1 Repository Robot 2024-10-11 19:31:14 MSK
python3-module-mallard-ducktype-1.0.2-alt2 -> sisyphus:

 Fri Oct 11 2024 Yuri N. Sedunov <aris@altlinux> 1.0.2-alt2
 - switched build to %pyproject* macros, improved %check (ALT #51697)