diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 35da0c18..60884069 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -8,6 +8,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x - - run: pip install -r requirements/dependencies.txt || true + - run: | + pipx run uv pip compile pyproject.toml > deps.txt + pip install -r deps.txt - run: shopt -s globstar # - run: pip install safety && safety check diff --git a/pyproject.toml b/pyproject.toml index a9557ba2..dfd5d81b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,6 @@ keywords = ["cmasher perceptually uniform sequential colormaps plotting python v requires-python = ">=3.9, <4" -# keep in sync with requirements/dependencies.txt dependencies = [ "colorspacious>=1.1.0", "matplotlib>=3.5", diff --git a/requirements/dependencies.txt b/requirements/dependencies.txt deleted file mode 100644 index 35cc701c..00000000 --- a/requirements/dependencies.txt +++ /dev/null @@ -1,4 +0,0 @@ -# keep in sync with pyproject.toml -colorspacious>=1.1.0 -matplotlib>=3.5 -numpy>=1.19.3