[tox] envlist = py37, py38, py39, py310, pypy3, flake8 [gh-actions] python = 3.7: py37 3.8: py38 3.9: py39 3.10: py310 pypy-3.7: pypy3 [testenv] setenv = PYTHONPATH = {toxinidir}:{toxinidir}/pipreqs commands = python setup.py test deps = -r{toxinidir}/requirements.txt # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # tox -e dev311 # Python 3.11 runtime error # - py310 and py311 were not tested prior to this submission # - not related to this submission (but this needs further debug to understand) # # ====================================================================== # FAIL: test_get_use_local_only (tests.test_pipreqs.TestPipreqs.test_get_use_local_only) # Test without checking PyPI, check to see if names of local # ---------------------------------------------------------------------- # Traceback (most recent call last): # File "c:\code\ghcwm\py_dev\src\autoreq\pub\c-w-m\pipreqs\tests\test_pipreqs.py", line 127, in test_get_use_local_only # self.assertTrue(item["name"].lower() in self.local) # AssertionError: False is not true # # ====================================================================== # FAIL: test_init_local_only (tests.test_pipreqs.TestPipreqs.test_init_local_only) # Test that items listed in requirements.text are the same # ---------------------------------------------------------------------- # Traceback (most recent call last): # File "c:\code\ghcwm\py_dev\src\autoreq\pub\c-w-m\pipreqs\tests\test_pipreqs.py", line 182, in test_init_local_only # self.assertTrue(item[0].lower() in self.local) # AssertionError: False is not true # # ---------------------------------------------------------------------- [testenv:dev311] description = development mode environment for debug of py311 basepython = python3.11 deps = {[testenv]deps} # development mode for debuging usedevelop = True commands = python setup.py test # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~