Closed hroncok closed 9 months ago
I am away and won't be able to do any work on this myself before mid-December, but I will probably be able to review any submitted PRs before then.
I can't reproduce this with 3.13.0a2+
with the repo version of distlib
:
$ ~/projects/cpython/main/python --version
Python 3.13.0a2+
$ PYTHONHASHSEED=0 ~/projects/cpython/main/python tests/test_all.py
............................s.................................................s....s.......s........................s.ssssss..........sss...s..ss.........................s..........s..........................ssss.........ss.............
----------------------------------------------------------------------
Ran 215 tests in 26.665s
OK (skipped=25)
Describe the bug
The tests of distlib fail with CPython built from git HEAD.
I don't believe that the Python version is supposed to follow PEP 440. Not sure if this is a problem in test, or in distlib itself.
To Reproduce Steps to reproduce the behavior:
Expected behavior The tests should work with CPython built from git as well as CPython releases.
Screenshots No screenshot is neccessary.
Environment
Additional information We (in Fedora) are testing various packages with pre-releases of Python. Normally we only use releases, but this time, we needed to fetch some reverts and built Python from git. This does not block us -- we will continue with 3.13.0a2 soon. But I thought this is worth reporting.