Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@ jobs:
run: uv run mypy --config-file mypy.ini --follow-imports=silent

- name: Tests with coverage
run: uv run pytest --cov=src --cov-report=term-missing tests/unit
run: uv run pytest --cov=src --cov-report=term-missing --cov-fail-under=100 tests/unit

- name: Static security analysis (bandit)
run: uv run bandit -r src -c pyproject.toml --severity-level high

- name: Dependency CVE audit (pip-audit)
run: uv run pip-audit --strict
# `--skip-editable` skips the project's own editable install (whose
# version may not yet exist on PyPI during a release-prep PR).
# pip-audit still exits non-zero on real CVEs in third-party deps.
run: uv run pip-audit --skip-editable
8 changes: 7 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,16 @@ jobs:
# CVE. CI runs the same audit on every PR (.github/workflows/ci.yml),
# but a vulnerability can be disclosed between the last green PR and the
# release tag — this step closes that window.
#
# The project is installed editable so pip-audit sees its runtime deps;
# `--skip-editable` then skips the project itself (whose new tagged
# version isn't on PyPI yet — that's what this workflow is about to do).
# pip-audit still exits non-zero on real CVEs in third-party deps.
- name: Pre-publish dependency CVE audit (pip-audit)
run: |
python -m pip install --upgrade pip-audit
pip-audit --strict
python -m pip install -e .
pip-audit --skip-editable

- name: Build distributions
run: python -m build
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ typecheck: mypy
# PR to catch issues your downstream consumers would otherwise flag.
security:
uv run --group security bandit -r src -c pyproject.toml --severity-level high
uv run --group security pip-audit --strict
uv run --group security pip-audit --skip-editable

docs-serve:
uv run --group docs zensical serve
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.12
0.5.13
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
license-files = [
"LICENSE.txt"
]
version = "0.5.12"
version = "0.5.13"
description = "Dexalot Python SDK - Core library for Dexalot interaction"
readme = "README.md"
requires-python = ">=3.12,<3.15"
Expand Down
2 changes: 1 addition & 1 deletion src/dexalot_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
secrets_vault_set,
)

__version__ = "0.5.12"
__version__ = "0.5.13"


def get_version() -> str:
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading