Skip to content

Commit

Permalink
Remove xonsh activator
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <[email protected]>
  • Loading branch information
gaborbernat committed Jul 31, 2021
1 parent 257c256 commit 77f7e6c
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 103 deletions.
3 changes: 3 additions & 0 deletions docs/changelog/2160.removal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Removed ``xonsh`` activator due to this breaking fairly often the CI and lack of support from those packages
maintainers, upstream is encouraged to continue supporting the project as a
`plugin <https://github.com/xonsh/xonsh/issues/3689>`_ - by :user:`gaborbernat`.
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ virtualenv.activate =
fish = virtualenv.activation.fish:FishActivator
powershell = virtualenv.activation.powershell:PowerShellActivator
python = virtualenv.activation.python:PythonActivator
xonsh = virtualenv.activation.xonsh:XonshActivator
virtualenv.create =
venv = virtualenv.create.via_global_ref.venv:Venv
cpython3-posix = virtualenv.create.via_global_ref.builtin.cpython.cpython3:CPython3Posix
Expand Down Expand Up @@ -103,15 +102,13 @@ testing =
pytest-randomly>=1
pytest-timeout>=1
packaging>=20.0;python_version>"3.4"
xonsh>=0.9.16;python_version > '3.4' and python_version != '3.9'

[options.package_data]
virtualenv.activation.bash = *.sh
virtualenv.activation.batch = *.bat
virtualenv.activation.cshell = *.csh
virtualenv.activation.fish = *.fish
virtualenv.activation.powershell = *.ps1
virtualenv.activation.xonsh = *.xsh
virtualenv.seed.wheels.embed = *.whl

[sdist]
Expand Down
2 changes: 0 additions & 2 deletions src/virtualenv/activation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
from .fish import FishActivator
from .powershell import PowerShellActivator
from .python import PythonActivator
from .xonsh import XonshActivator

__all__ = [
"BashActivator",
"PowerShellActivator",
"XonshActivator",
"CShellActivator",
"PythonActivator",
"BatchActivator",
Expand Down
14 changes: 0 additions & 14 deletions src/virtualenv/activation/xonsh/__init__.py

This file was deleted.

46 changes: 0 additions & 46 deletions src/virtualenv/activation/xonsh/activate.xsh

This file was deleted.

38 changes: 0 additions & 38 deletions tests/unit/activation/test_xonsh.py

This file was deleted.

0 comments on commit 77f7e6c

Please sign in to comment.