Skip to content

Commit

Permalink
disable xonsh on python3.9
Browse files Browse the repository at this point in the history
xonsh/xonsh#3618

Signed-off-by: Bernat Gabor <[email protected]>
  • Loading branch information
gaborbernat committed Jun 12, 2020
1 parent 9327e07 commit 2dbdfd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ virtualenv.activate =
batch = virtualenv.activation.batch:BatchActivator
fish = virtualenv.activation.fish:FishActivator
powershell = virtualenv.activation.powershell:PowerShellActivator
python = virtualenv.activation.python:PythonActivator
python = virtualenv.activation.python:PestythonActivator
xonsh = virtualenv.activation.xonsh:XonshActivator
virtualenv.create =
venv = virtualenv.create.via_global_ref.venv:Venv
Expand Down Expand Up @@ -99,7 +99,7 @@ testing =
pytest-randomly >= 1
pytest-timeout >= 1
flaky >= 3
xonsh >= 0.9.16; python_version > '3.4'
xonsh >= 0.9.16; python_version > '3.4' and python_version != '3.9'

[options.package_data]
virtualenv.activation.bash = *.sh
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/activation/test_xonsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@


@pytest.mark.slow
@pytest.mark.skipif(sys.platform == "win32" and IS_PYPY and PY3, reason="xonsh on Windows blocks indefinitely")
@pytest.mark.xfail(
condition=sys.version_info[0:2] == (3, 9), strict=True, reason="https://bugs.python.org/issue40726",
@pytest.mark.skipif(
(sys.platform == "win32" and IS_PYPY and PY3) or sys.version_info[0:2] == (3, 9),
reason="xonsh on Windows blocks indefinitely and is not stable yet on 3.9",
)
def test_xonsh(activation_tester_class, activation_tester):
class Xonsh(activation_tester_class):
Expand Down

0 comments on commit 2dbdfd2

Please sign in to comment.