diff --git a/.github/workflows/test_and_deploy.yaml b/.github/workflows/test_and_deploy.yaml index c22f8fd..1d49499 100644 --- a/.github/workflows/test_and_deploy.yaml +++ b/.github/workflows/test_and_deploy.yaml @@ -11,6 +11,11 @@ env: PKG_NAME: examplepyapp MODULE_NAME: packagenamepy +# cancel previous job if new commit is pushed +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: tests: name: Unit tests diff --git a/pixi.lock b/pixi.lock index 11b4540..4e68de5 100644 --- a/pixi.lock +++ b/pixi.lock @@ -2012,8 +2012,8 @@ packages: timestamp: 1733208220327 - pypi: ./ name: examplepyapp - version: 0.1.0 - sha256: c489a6c027608695b0f8e3f54996b76e046b775b65aa6db2c502b1925c17a13a + version: 0.2.0.dev294 + sha256: 414acc4f7dbd40d7f21f6a4df931de53b7e6dc11889dd046ceb944c478aea7e8 requires_dist: - bm3d-streak-removal>=0.2.0,<0.3 - numpy>=2.2,<3 diff --git a/pyproject.toml b/pyproject.toml index ee39e8e..b8c3002 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -210,7 +210,8 @@ conda-publish = { cmd = "anaconda upload *.conda", description = "Publish the .c "conda-build", ] } # Misc -audit-deps = { cmd = "pip-audit --local -s osv", description = "Audit the package dependencies for vulnerabilities" } +# urllib3 is only used for package and deployment +audit-deps = { cmd = "pip-audit --local -s osv --ignore-vuln CVE-2026-21441", description = "Audit the package dependencies for vulnerabilities" } # Cleaning clean = { cmd = 'rm -rf .pytest_cache .ruff_cache **/*.egg-info **/dist **/__pycache__', description = "Clean up various caches and build artifacts" } clean-conda = { cmd = "rm -f *.conda", description = "Clean the local .conda build artifacts" }