From fccdd021c43a854d7d7d3ae54af0f9e8a4c503a3 Mon Sep 17 00:00:00 2001 From: jyn Date: Thu, 30 May 2024 10:03:55 -0400 Subject: [PATCH] note that xonsh requires pip 24 for an editable install and development (#5460) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit with pip 22, i was getting extremely strange errors like this one: ``` $ pip install '.[dev]' Processing /home/jyn/src/xonsh Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done WARNING: unknown 0.0.0 does not provide the extra 'dev' Building wheels for collected packages: UNKNOWN Building wheel for UNKNOWN (pyproject.toml) ... done Successfully installed UNKNOWN-0.0.0 $ pytest tests/test_lib/test_subprocess.xsh:10: in from xonsh.pytest.tools import ON_WINDOWS E ModuleNotFoundError: No module named 'xonsh.pytest' ``` see https://xonsh.zulipchat.com/#narrow/stream/435069-xonsh-dev/topic/install.20xonsh.20for.20development.20without.20sudo.20rights for more context. ## For community ⬇️ **Please click the 👍 reaction instead of leaving a `+1` or 👍 comment** --- CONTRIBUTING.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 6d2f2e5fa..ade1f4250 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -19,6 +19,8 @@ develop xonsh. Making Your First Change ======================== +.. note:: xonsh requires at least `pip 24.0` for `pyproject.toml` support. You can upgrade old versions using `pip install -U pip`. + First, install xonsh from source and open a xonsh shell in your favorite terminal application. See installation instructions for details, but it is recommended to do an 'editable' install via `pip'