-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
Description
Original report by Michał Górny (Bitbucket: mgorny, GitHub: mgorny).
Not sure if this is a known problem:
$ python3.10 --version
Python 3.10.0rc2
$ tox -e py310
GLOB sdist-make: /tmp/distlib/setup.py
py310 inst-nodeps: /tmp/distlib/.tox/.tmp/package/1/distlib-0.3.4.dev0.zip
py310 installed: distlib @ file:///tmp/distlib/.tox/.tmp/package/1/distlib-0.3.4.dev0.zip
py310 run-test-pre: PYTHONHASHSEED='0'
py310 run-test: commands[0] | python setup.py test
/tmp/distlib/setup.py:8: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
import distutils.core
running test
............................s......................................................s.......s..................F.......sss.ss..........sss......ss.........................s..........s.........................ssss.........ss.............
======================================================================
FAIL: test_interpret (test_markers.MarkersTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/distlib/tests/test_markers.py", line 73, in test_interpret
self.assertFalse(interpret('python_version < "3.10"'))
AssertionError: True is not false
----------------------------------------------------------------------
Ran 235 tests in 19.500s
FAILED (failures=1, skipped=21)
ERROR: InvocationError for command /tmp/distlib/.tox/py310/bin/python setup.py test (exited with code 1)
_______________________________________________________________ summary _______________________________________________________________
ERROR: py310: commands failed