diff --git a/pyproject.toml b/pyproject.toml index 0111b66..995d82b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,21 +65,18 @@ packages = ["src/packagenamepy"] [tool.versioningit.vcs] method = "git" default-tag = "0.1.0" -# Ignore RC tags when calculating distance from the latest tag. -# This ensures dev versions increase monotonically relative to the latest production release. -exclude = ["*rc*"] [tool.versioningit.next-version] method = "minor" [tool.versioningit.format] -distance = "{next_version}.dev{distance}" +distance = "{next_version}.dev{committer_date:%Y%m%d%H%M%S}" # Since pixi builds currently require the package version to be set statically in pyproject.toml, # and we solve that by temporarily changing pyproject.toml during build using the pixi tasks # sync-version and reset-toml, then we need to ignore uncommitted changes in order for the wheel # version to be consistent with the package version dirty = "{version}" -distance-dirty = "{next_version}.dev{distance}" +distance-dirty = "{next_version}.dev{committer_date:%Y%m%d%H%M%S}" [tool.versioningit.write] file = "src/packagenamepy/_version.py" @@ -217,7 +214,7 @@ 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" } +audit-deps = { cmd = "pip-audit --local -s osv --ignore-vuln CVE-2026-4539", 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" }