mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
- PyCharm still supports Python 2.7 - if you install latest `tox` on a modern Python and run `tox -e py27` it will fail as under the hood `tox` uses `virtualenv` version incompatible with Python 2.7 - to prevent this from happening we need to pin `virtualenv` version - it works on CI without this change because for each Python version we spawn a separate Docker container and install `tox` inside so the `tox` version always match the Python one see the relevant `tox` docs https://tox.wiki/en/latest/faq.html#testing-end-of-life-python-versions (cherry picked from commit f4d7ee543cf427f54788a03697d4a5abcd7af0cf) IJ-MR-158254 GitOrigin-RevId: a29090bcf5a8343215f0a4cf7e515231c8bd5f62
41 lines
818 B
INI
41 lines
818 B
INI
[tox]
|
|
requires = virtualenv<20.22.0
|
|
envlist =
|
|
py27
|
|
py38
|
|
py39
|
|
py310
|
|
py311
|
|
py312
|
|
py313
|
|
py314
|
|
skipsdist=True
|
|
|
|
[testenv]
|
|
commands = pytest -s {posargs}
|
|
setenv = PYTHONPATH = {toxinidir}/../third_party/thriftpy
|
|
passenv = TEAMCITY_VERSION
|
|
|
|
[testenv:py27]
|
|
deps = -rtest-requirements/test-requirements-27.txt
|
|
|
|
[testenv:py38]
|
|
deps = -rtest-requirements/test-requirements-38.txt
|
|
|
|
[testenv:py39]
|
|
deps = -rtest-requirements/test-requirements-39.txt
|
|
|
|
[testenv:py310]
|
|
deps = -rtest-requirements/test-requirements-310.txt
|
|
|
|
[testenv:py311]
|
|
deps = -rtest-requirements/test-requirements-311.txt
|
|
|
|
[testenv:py312]
|
|
deps = -rtest-requirements/test-requirements-312.txt
|
|
|
|
[testenv:py313]
|
|
deps = -rtest-requirements/test-requirements-313.txt
|
|
|
|
[testenv:py314]
|
|
deps = -rtest-requirements/test-requirements-314.txt |