Bug 51663

Summary: migrate from setuptools' test command
Product: Sisyphus Reporter: Stanislav Levin <slev>
Component: hotdocAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5    
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Stanislav Levin 2024-10-08 15:54:12 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

This is how upstream runs tests:

https://github.com/hotdoc/hotdoc/blob/8c1cc997f5bc16e068710a8a8121f79ac25cbcce/.github/workflows/python.yml#L35
> python3 -m unittest
Comment 1 Stanislav Levin 2024-10-08 15:58:47 MSK
According to beehive logs:
https://git.altlinux.org/beehive/logs/Sisyphus/x86_64/latest/success/hotdoc-0.17-alt1

- recompilation happens (waste of time)
- result is ignored (FAILED (errors=11) exit 0)
Comment 2 Stanislav Levin 2025-05-13 12:19:06 MSK
The package has been removed from sisyphus.