Skip to content

Commit 1afc190

Browse files
authored
Remove xonsh activator (#2160)
Signed-off-by: Bernát Gábor <[email protected]>
1 parent 257c256 commit 1afc190

File tree

6 files changed

+3
-103
lines changed

6 files changed

+3
-103
lines changed

docs/changelog/2160.removal.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Removed ``xonsh`` activator due to this breaking fairly often the CI and lack of support from those packages
2+
maintainers, upstream is encouraged to continue supporting the project as a
3+
`plugin <https://github.com/xonsh/xonsh/issues/3689>`_ - by :user:`gaborbernat`.

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ virtualenv.activate =
6666
fish = virtualenv.activation.fish:FishActivator
6767
powershell = virtualenv.activation.powershell:PowerShellActivator
6868
python = virtualenv.activation.python:PythonActivator
69-
xonsh = virtualenv.activation.xonsh:XonshActivator
7069
virtualenv.create =
7170
venv = virtualenv.create.via_global_ref.venv:Venv
7271
cpython3-posix = virtualenv.create.via_global_ref.builtin.cpython.cpython3:CPython3Posix
@@ -103,15 +102,13 @@ testing =
103102
pytest-randomly>=1
104103
pytest-timeout>=1
105104
packaging>=20.0;python_version>"3.4"
106-
xonsh>=0.9.16;python_version > '3.4' and python_version != '3.9'
107105

108106
[options.package_data]
109107
virtualenv.activation.bash = *.sh
110108
virtualenv.activation.batch = *.bat
111109
virtualenv.activation.cshell = *.csh
112110
virtualenv.activation.fish = *.fish
113111
virtualenv.activation.powershell = *.ps1
114-
virtualenv.activation.xonsh = *.xsh
115112
virtualenv.seed.wheels.embed = *.whl
116113

117114
[sdist]

src/virtualenv/activation/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@
66
from .fish import FishActivator
77
from .powershell import PowerShellActivator
88
from .python import PythonActivator
9-
from .xonsh import XonshActivator
109

1110
__all__ = [
1211
"BashActivator",
1312
"PowerShellActivator",
14-
"XonshActivator",
1513
"CShellActivator",
1614
"PythonActivator",
1715
"BatchActivator",

src/virtualenv/activation/xonsh/__init__.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/virtualenv/activation/xonsh/activate.xsh

Lines changed: 0 additions & 46 deletions
This file was deleted.

tests/unit/activation/test_xonsh.py

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)