Skip to content

Commit

Permalink
Try to support Python 3.9 for signer
Browse files Browse the repository at this point in the history
This should start failing on CI since we do use some 3.10 features
currently.

This only tests signer on python 3.9: repository has an annoying
dependency issue that would require downgrading urllib3...
  • Loading branch information
jku committed Sep 9, 2024
1 parent 264be32 commit 0f634d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ jobs:
strategy:
fail-fast: false
matrix:
pyversion: ['3.12']
toxenv: [lint-signer, lint-repo, test-signer, test-repo, test-e2e]
include:
- pyversion: '3.9'
toxenv: lint-signer
- pyversion: '3.9'
toxenv: test-signer
env:
TOXENV: ${{ matrix.toxenv }}

Expand All @@ -24,7 +30,7 @@ jobs:

- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.12'
python-version: ${{ matrix.pyversion }}
cache: 'pip'
cache-dependency-path: |
signer/pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion signer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"tuf ~= 3.1",
"click ~= 8.1",
]
requires-python = ">=3.10"
requires-python = ">=3.9"
dynamic = ["version"]

[project.scripts]
Expand Down

0 comments on commit 0f634d1

Please sign in to comment.