diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 42569d7..8a3ac6d 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -20,7 +20,7 @@ jobs: run: uv python install ${{ matrix.python-version }} - name: Publish env: - PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} + UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }} run: | uv build --wheel - uv publish --token $PYPI_TOKEN + uv publish diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 71c1844..2ebaa5a 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -27,7 +27,7 @@ jobs: - name: Lint run: uv run ruff check . - name: Type check - run: uv run mypy --install-types --non-interactive . + run: uv run mypy . - name: Test run: uv run pytest -v -s --cov=src --cov-report=xml tests - name: Upload coverage reports to Codecov diff --git a/pyproject.toml b/pyproject.toml index 5f0ee8b..23100c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,6 @@ build-backend = "hatchling.build" [tool.uv] dev-dependencies = [ "mypy>=1.13.0", - "pip>=24.2", "pytest>=8.3.3", "pytest-cov>=5.0.0", "ruff>=0.7.1", diff --git a/uv.lock b/uv.lock index aa84b4f..de8e298 100644 --- a/uv.lock +++ b/uv.lock @@ -119,7 +119,6 @@ dependencies = [ [package.dev-dependencies] dev = [ { name = "mypy" }, - { name = "pip" }, { name = "pytest" }, { name = "pytest-cov" }, { name = "ruff" }, @@ -132,7 +131,6 @@ requires-dist = [{ name = "omegaconf", specifier = ">=2.3.0" }] [package.metadata.requires-dev] dev = [ { name = "mypy", specifier = ">=1.13.0" }, - { name = "pip", specifier = ">=24.2" }, { name = "pytest", specifier = ">=8.3.3" }, { name = "pytest-cov", specifier = ">=5.0.0" }, { name = "ruff", specifier = ">=0.7.1" }, @@ -209,15 +207,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124", size = 53985 }, ] -[[package]] -name = "pip" -version = "24.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/4d/87/fb90046e096a03aeab235e139436b3fe804cdd447ed2093b0d70eba3f7f8/pip-24.2.tar.gz", hash = "sha256:5b5e490b5e9cb275c879595064adce9ebd31b854e3e803740b72f9ccf34a45b8", size = 1922041 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/d4/55/90db48d85f7689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.2-py3-none-any.whl", hash = "sha256:2cd581cf58ab7fcfca4ce8efa6dcacd0de5bf8d0a3eb9ec927e07405f4d9e2a2", size = 1815170 }, -] - [[package]] name = "pluggy" version = "1.5.0"