mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 00:01:15 -03:00
uv allows "uv python install" to a ~/.local, but doesn't allow
"uv pip install --user", only "--system". According to [1], we are
supposed to use a virtualenv, and make sure that "$VIRTUAL_ENV/bin"
is in "$PATH" (before "/bin"). Use ~/.local; there should be no
collisions in practice.
This fixes the problem worked around by fe3c42af9e (Work around
github actions python failure, 2026-02-08). Revert that.
Update lock files with:
updatecli apply --config updatecli.d/python.yml
uv lock --upgrade --exclude-newer="$(awk -F'"' <uv.lock '/^exclude-newer[[:space:]]*=/ {print $2}')"
[1]: https://github.com/astral-sh/uv/issues/2077#issuecomment-1971579880
17 lines
489 B
TOML
17 lines
489 B
TOML
[project]
|
|
name = "fish-shell"
|
|
version = "0.0.0"
|
|
# NOTE: versions for Python and Sphinx are specified for reproducibility.
|
|
# Lower versions will work too.
|
|
requires-python = ">=3.13" # updatecli.d/python.yml
|
|
dependencies = []
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"sphinx>=9.1", # updatecli.d/python.yml
|
|
"sphinx-markdown-builder",
|
|
]
|
|
|
|
[tool.uv.sources]
|
|
sphinx-markdown-builder = { git = "https://github.com/liran-funaro/sphinx-markdown-builder", rev = "7c4daaf39a92f93deec948ecc1772e23bac44588" }
|