Skip to content

Commit

Permalink
ci: add Python 3.12 (#801)
Browse files Browse the repository at this point in the history
* ci: add Python 3.12

Signed-off-by: William Woodruff <william@trailofbits.com>

* workflows/requirements: test on 3.12

Signed-off-by: William Woodruff <william@trailofbits.com>

* bump sigstore-protobuf-specs

Signed-off-by: William Woodruff <william@trailofbits.com>

---------

Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw authored Oct 18, 2023
1 parent 7c7f57f commit 9a73e91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ jobs:
- { py: "3.9", os: "ubuntu-latest" }
- { py: "3.10", os: "ubuntu-latest" }
- { py: "3.11", os: "ubuntu-latest" }
- { py: "3.12", os: "ubuntu-latest" }
# NOTE: We only test Windows and macOS on the latest Python;
# these primarily exist to ensure that we don't accidentally
# introduce Linux-isms into the development tooling.
- { py: "3.11", os: "windows-latest" }
- { py: "3.11", os: "macos-latest" }
- { py: "3.12", os: "windows-latest" }
- { py: "3.12", os: "macos-latest" }
runs-on: ${{ matrix.conf.os }}
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
SIGSTORE_REF: ${{ inputs.ref }}
strategy:
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11"]
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- name: Populate reference from context
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies = [
"pyOpenSSL >= 23.0.0",
"requests",
"securesystemslib",
"sigstore-protobuf-specs ~= 0.2.0",
"sigstore-protobuf-specs ~= 0.2.2",
"sigstore-rekor-types >= 0.0.11",
"tuf >= 2.1,< 4.0",
]
Expand Down

0 comments on commit 9a73e91

Please sign in to comment.