Skip to content

Commit

Permalink
Add changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Apr 23, 2024
1 parent fc21219 commit 66d9408
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions docs/changelog/2709.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
allow builtin discovery to discover specific interpreters (e.g. ``python3.12``) given an unspecific spec (e.g. ``python3``) - by :user:`flying-sheep`.
3 changes: 0 additions & 3 deletions tests/unit/discovery/test_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ def test_discovery_via_path_specific(
target.mkdir(parents=True)
executable = target / exe_name
os.symlink(sys.executable, str(executable))
pyvenv_cfg = Path(sys.executable).parents[1] / "pyvenv.cfg"
if pyvenv_cfg.exists():
(target / pyvenv_cfg.name).write_bytes(pyvenv_cfg.read_bytes())
monkeypatch.setenv("PATH", str(target))
interpreter = get_interpreter(spec, [])

Expand Down

0 comments on commit 66d9408

Please sign in to comment.