Skip to content

Commit

Permalink
Add support for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Dec 7, 2024
1 parent 5aad461 commit cdd8a19
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
py_version: ["3.10", "3.11", "3.12"]
py_version: ["3.10", "3.11", "3.12", "3.13"]
dependencies: ["constrained", "unconstrained"]

steps:
Expand Down
45 changes: 45 additions & 0 deletions integration/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,51 @@ services:
depends_on:
- vault-setup

testrun-py313-constrained:
cap_drop:
- ALL
security_opt:
- no-new-privileges
read_only: true
user: 3130:3130
build:
args:
pyver: "3.13"
pip_extra: --constraint=/src/constraints.txt
context: ..
dockerfile: integration/Dockerfile
environment:
HV4GHA_KEYNAME: test-313-constrained
HV4GHA_VAULT_ADDR: http://vault-server:8200
HVGHA_VAULT_IMPORT_TOKEN: CorrectHorseImportKey
HVGHA_VAULT_SIGN_TOKEN: CorrectHorseSignJWT
env_file: .env
command: [import, issue, issue-scoped]
depends_on:
- vault-setup

testrun-py313-unconstrained:
cap_drop:
- ALL
security_opt:
- no-new-privileges
read_only: true
user: 3130:3130
build:
args:
pyver: "3.13"
context: ..
dockerfile: integration/Dockerfile
environment:
HV4GHA_KEYNAME: test-313-unconstrained
HV4GHA_VAULT_ADDR: http://vault-server:8200
HVGHA_VAULT_IMPORT_TOKEN: CorrectHorseImportKey
HVGHA_VAULT_SIGN_TOKEN: CorrectHorseSignJWT
env_file: .env
command: [import, issue, issue-scoped]
depends_on:
- vault-setup

vault-setup:
image: hashicorp/vault
environment:
Expand Down
Loading

0 comments on commit cdd8a19

Please sign in to comment.