mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-29 22:41:16 -03:00
Don't try to download vermin during test execution
The "vermin" test fails when offline; fix that by adding "vermin" to the virtulenv.
This commit is contained in:
1
.github/actions/install-sphinx/action.yml
vendored
1
.github/actions/install-sphinx/action.yml
vendored
@@ -11,7 +11,6 @@ runs:
|
||||
set -x
|
||||
sudo pip install uv --break-system-packages
|
||||
command -v uv
|
||||
command -v uvx
|
||||
# Check that pyproject.toml and the lock file are in sync.
|
||||
uv lock --check --exclude-newer="$(awk -F'"' <uv.lock '/^exclude-newer[[:space:]]*=/ {print $2}')"
|
||||
uv venv ~/.local --allow-existing
|
||||
|
||||
@@ -11,6 +11,9 @@ dev = [
|
||||
"sphinx>=9.1", # updatecli.d/python.yml
|
||||
"sphinx-markdown-builder",
|
||||
]
|
||||
test = [
|
||||
"vermin>=1.8.0",
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
sphinx-markdown-builder = { git = "https://github.com/liran-funaro/sphinx-markdown-builder", rev = "7c4daaf39a92f93deec948ecc1772e23bac44588" }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#RUN: %fish %s
|
||||
#REQUIRES: command -v uvx
|
||||
#REQUIRES: command -v vermin
|
||||
|
||||
set -l webconfig (status dirname)/../../share/tools/web_config/webconfig.py
|
||||
set -l create_manpage (status dirname)/../../share/tools/create_manpage_completions.py
|
||||
@@ -9,7 +9,7 @@ set -l min_version 3.5
|
||||
# features enabled:
|
||||
# - union-types: catch `str | None` syntax (3.10+)
|
||||
# - fstring-self-doc: catch f'{var=}' syntax (3.8+)
|
||||
set -l output (uvx vermin \
|
||||
set -l output (vermin \
|
||||
--no-tips \
|
||||
--violations \
|
||||
--feature union-types \
|
||||
|
||||
16
uv.lock
generated
16
uv.lock
generated
@@ -2,9 +2,6 @@ version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.13"
|
||||
|
||||
[options]
|
||||
exclude-newer = "2026-05-23T16:00:00Z"
|
||||
|
||||
[[package]]
|
||||
name = "alabaster"
|
||||
version = "1.0.0"
|
||||
@@ -117,6 +114,9 @@ dev = [
|
||||
{ name = "sphinx" },
|
||||
{ name = "sphinx-markdown-builder" },
|
||||
]
|
||||
test = [
|
||||
{ name = "vermin" },
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
|
||||
@@ -125,6 +125,7 @@ dev = [
|
||||
{ name = "sphinx", specifier = ">=9.1" },
|
||||
{ name = "sphinx-markdown-builder", git = "https://github.com/liran-funaro/sphinx-markdown-builder?rev=7c4daaf39a92f93deec948ecc1772e23bac44588" },
|
||||
]
|
||||
test = [{ name = "vermin", specifier = ">=1.8.0" }]
|
||||
|
||||
[[package]]
|
||||
name = "idna"
|
||||
@@ -368,3 +369,12 @@ sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "vermin"
|
||||
version = "1.8.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/24/7b/2c1b403f2a844e1acb36694fc336e323df742f7f752edb4188311ad43f9e/vermin-1.8.0.tar.gz", hash = "sha256:3621955ac2a2950175c5b4a9b2fc3bd24bd416da0388893c9eb6971264e4ca1f", size = 99913, upload-time = "2025-11-20T17:29:31.509Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/e6/fd/6d2167767488e162efd01300a679c7f7d913dbb65baa0b15760ebb369854/vermin-1.8.0-py3-none-any.whl", hash = "sha256:6f2b98ad697a16ed3442e81a0f0baabfc38c185b78aaab1b1fecd87bdd6640b8", size = 98030, upload-time = "2025-11-20T17:29:29.931Z" },
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user