Skip to content

Commit dec2165

Browse files
authored
chore: prep release v2.10.0 (#905)
1 parent d191a22 commit dec2165

File tree

11 files changed

+35
-35
lines changed

11 files changed

+35
-35
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77
pull_request:
88
schedule:
9-
- cron: '0 12 * * *'
9+
- cron: "0 12 * * *"
1010

1111
permissions: {}
1212

@@ -15,18 +15,18 @@ jobs:
1515
strategy:
1616
matrix:
1717
python:
18-
- "3.9"
1918
- "3.10"
2019
- "3.11"
2120
- "3.12"
2221
- "3.13"
22+
- "3.14"
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2626
with:
2727
persist-credentials: false
2828

29-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
29+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
3030
with:
3131
python-version: ${{ matrix.python }}
3232
cache: "pip"
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
persist-credentials: false
5252

53-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
53+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
5454
with:
5555
# Always test with latest Python on Windows.
5656
python-version: "3.x"
@@ -79,7 +79,7 @@ jobs:
7979
with:
8080
persist-credentials: false
8181

82-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
82+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
8383
with:
8484
python-version: "3.x"
8585

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
persist-credentials: false
1717

18-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
18+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
1919
with:
2020
# NOTE: We use 3.10+ typing syntax via future, which pdoc only
2121
# understands if it's actually run with Python 3.10 or newer.

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
with:
1717
persist-credentials: false
1818

19-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
19+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2020
with:
21-
python-version: "3.9"
21+
python-version: "3.10"
2222
cache: "pip"
2323
cache-dependency-path: pyproject.toml
2424

@@ -32,12 +32,12 @@ jobs:
3232
with:
3333
persist-credentials: false
3434

35-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
35+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
3636
# NOTE(ww): Important: use pip-audit's minimum supported Python version
3737
# in this check, since Python can change the `--help` rendering in
3838
# `argparse` between major versions.
3939
with:
40-
python-version: "3.9"
40+
python-version: "3.10"
4141
cache: "pip"
4242
cache-dependency-path: pyproject.toml
4343

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
persist-credentials: false
2525

26-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
26+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2727
with:
2828
python-version-file: pyproject.toml
2929

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ jobs:
4848

4949
# Upload the results to GitHub's code scanning dashboard.
5050
- name: "Upload to code-scanning"
51-
uses: github/codeql-action/upload-sarif@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4.31.4
51+
uses: github/codeql-action/upload-sarif@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5
5252
with:
5353
sarif_file: results.sarif

.github/workflows/zizmor.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,19 @@ on:
66
pull_request:
77
branches: ["**"]
88

9+
permissions: {}
10+
911
jobs:
1012
zizmor:
11-
name: zizmor latest via PyPI
13+
name: Run zizmor 🌈
1214
runs-on: ubuntu-latest
1315
permissions:
1416
security-events: write
15-
# required for workflows in private repositories
16-
contents: read
17-
actions: read
1817
steps:
1918
- name: Checkout repository
2019
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2120
with:
2221
persist-credentials: false
2322

24-
- name: Install the latest version of uv
25-
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
26-
2723
- name: Run zizmor 🌈
28-
run: uvx zizmor --format sarif . > results.sarif
29-
env:
30-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
32-
- name: Upload SARIF file
33-
uses: github/codeql-action/upload-sarif@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4.31.4
34-
with:
35-
sarif_file: results.sarif
36-
category: zizmor
24+
uses: zizmorcore/zizmor-action@e639db99335bc9038abc0e066dfcd72e23d26fb4 # v0.3.0

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727
hooks:
2828
- id: isort
2929
- repo: https://github.com/pypa/pip-audit
30-
rev: v2.9.0
30+
rev: v2.10.0
3131
hooks:
3232
- id: pip-audit
3333
- repo: https://github.com/rhysd/actionlint

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ All versions prior to 0.0.9 are untracked.
88

99
## [Unreleased]
1010

11+
## [2.10.0]
12+
1113
### Added
1214

1315
* `pip-audit` now supports the `--osv-url URL` flag, which can be used to
@@ -20,8 +22,17 @@ All versions prior to 0.0.9 are untracked.
2022
`--vulnerability-service=esms`
2123
([#903](https://github.com/pypa/pip-audit/pull/903)).
2224

25+
### Changed
26+
27+
* The minimum version of Python is now 3.10
28+
([#905](https://github.com/pypa/pip-audit/pull/905))
29+
2330
### Fixed
2431

32+
* Fixed a bug where `pip-audit` would fail to parse `pyproject.toml` files
33+
containing TOML 1.0.0 features
34+
([#910](https://github.com/pypa/pip-audit/pull/910))
35+
2536
* CycloneDX JSON/XML output now correctly links vulnerabilities to their
2637
affected components via the `affects` field
2738
([#980](https://github.com/pypa/pip-audit/issues/980))
@@ -647,7 +658,8 @@ All versions prior to 0.0.9 are untracked.
647658
dependency errors ([#146](https://github.com/pypa/pip-audit/pull/146))
648659

649660
<!-- Release URLs -->
650-
[Unreleased]: https://github.com/pypa/pip-audit/compare/v2.9.0...HEAD
661+
[Unreleased]: https://github.com/pypa/pip-audit/compare/v2.10.0...HEAD
662+
[2.10.0]: https://github.com/pypa/pip-audit/compare/v2.9.0...v2.10.0
651663
[2.9.0]: https://github.com/pypa/pip-audit/compare/v2.8.0...v2.9.0
652664
[2.8.0]: https://github.com/pypa/pip-audit/compare/v2.7.3...v2.8.0
653665
[2.7.3]: https://github.com/pypa/pip-audit/compare/v2.7.2...v2.7.3

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ For example, using `pip-audit` via `pre-commit` to audit a requirements file:
108108

109109
```yaml
110110
- repo: https://github.com/pypa/pip-audit
111-
rev: v2.9.0
111+
rev: v2.10.0
112112
hooks:
113113
- id: pip-audit
114114
args: ["-r", "requirements.txt"]
@@ -148,7 +148,7 @@ positional arguments:
148148
project_path audit a local Python project at the given path
149149
(default: None)
150150

151-
optional arguments:
151+
options:
152152
-h, --help show this help message and exit
153153
-V, --version show program's version number and exit
154154
-l, --local show only results for dependencies in the local

pip_audit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
The `pip_audit` APIs.
33
"""
44

5-
__version__ = "2.9.0"
5+
__version__ = "2.10.0"

0 commit comments

Comments
 (0)