Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): ignore CVE GHSA-w596-4wvx-j9j6 until that’s properly resolved #353

Closed
wants to merge 1 commit into from
Closed
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
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,15 @@ requirements.txt: pyproject.toml
# editable mode (like the one in development here) because they may not have
# a PyPI entry; also print out CVE description and potential fixes if audit
# found an issue.
# Note that we temporarily ignore GHSA-w596-4wvx-j9j6 until it is resolved properly:
# https://github.com/pytest-dev/py/issues/287
# https://github.com/pypa/pip-audit/issues/388#issuecomment-1290411582
.PHONY: audit
audit:
if ! `python -c "import pip_audit" &> /dev/null`; then \
echo "No package pip_audit installed, upgrade your environment!" && exit 1; \
fi;
python -m pip_audit --skip-editable --desc on --fix --dry-run
python -m pip_audit --skip-editable --desc on --fix --dry-run --ignore-vuln GHSA-w596-4wvx-j9j6

# Run some or all checks over the package code base.
.PHONY: check check-code check-bandit check-flake8 check-lint check-mypy
Expand Down