Skip to content

Commit

Permalink
Update to python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Oct 31, 2023
1 parent e1c93a3 commit 79a293a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockerised-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
python-versions:
description: 'Supported python versions'
default: '["3.8", "3.9", "3.10", "3.11"]'
default: '["3.8", "3.9", "3.10", "3.11", "3.12"]'
required: false
type: string
postgresql:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
uses: actions/checkout@v4
- uses: fizyk/actions-reuse/.github/actions/[email protected]
with:
python-version: "3.11"
python-version: "3.12"
command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x"
towncrier:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: fizyk/actions-reuse/.github/actions/[email protected]
with:
python-version: "3.11"
python-version: "3.12"
command: towncrier check --compare-with origin/main
fetch-depth: 0
2 changes: 1 addition & 1 deletion .github/workflows/single-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
python-versions:
description: 'Supported python versions'
default: '["3.8", "3.9", "3.10", "3.11"]'
default: '["3.8", "3.9", "3.10", "3.11", "3.12"]'
required: false
type: string
postgresql:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,46 @@ jobs:
uses: ./.github/workflows/single-postgres.yml
with:
postgresql: 14
python-versions: '["3.9", "3.10", "3.11", "3.12"]'
postgresql_13:
needs: [postgresql_14]
uses: ./.github/workflows/single-postgres.yml
with:
postgresql: 13
python-versions: '["3.10", "3.11", "3.12"]'
postgresql_12:
needs: [postgresql_13]
uses: ./.github/workflows/single-postgres.yml
with:
postgresql: 12
python-versions: '["3.10", "3.11", "3.12"]'
postgresql_11:
needs: [postgresql_12]
uses: ./.github/workflows/single-postgres.yml
with:
postgresql: 11
python-versions: '["3.11", "3.12"]'
macos_postgres_15:
needs: [postgresql_15]
uses: ./.github/workflows/single-postgres.yml
with:
postgresql: 15
os: macos-latest
python-versions: '["3.9", "3.10", "3.11", "3.12"]'
macos_postgres_14:
needs: [postgresql_14, macos_postgres_15]
uses: ./.github/workflows/single-postgres.yml
with:
postgresql: 14
os: macos-latest
python-versions: '["3.10", "3.11", "3.12"]'
macos_postgres_13:
needs: [postgresql_13, macos_postgres_14]
uses: ./.github/workflows/single-postgres.yml
with:
postgresql: 13
os: macos-latest
python-versions: '["3.11", "3.12"]'
docker_postgresql_15:
needs: [postgresql_15]
uses: ./.github/workflows/dockerised-postgres.yml
Expand All @@ -59,18 +66,22 @@ jobs:
uses: ./.github/workflows/dockerised-postgres.yml
with:
postgresql: 14
python-versions: '["3.9", "3.10", "3.11", "3.12"]'
docker_postgresql_13:
needs: [postgresql_13, docker_postgresql_14]
uses: ./.github/workflows/dockerised-postgres.yml
with:
postgresql: 13
python-versions: '["3.10", "3.11", "3.12"]'
docker_postgresql_12:
needs: [postgresql_12, docker_postgresql_13]
uses: ./.github/workflows/dockerised-postgres.yml
with:
postgresql: 12
python-versions: '["3.11", "3.12"]'
docker_postgresql_11:
needs: [postgresql_11, docker_postgresql_12]
uses: ./.github/workflows/dockerised-postgres.yml
with:
postgresql: 11
python-versions: '["3.12"]'

0 comments on commit 79a293a

Please sign in to comment.