Skip to content

Commit

Permalink
Use python 3.12 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Oct 3, 2023
1 parent deec71a commit 07107c3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ updates:
schedule:
interval: weekly
time: "04:00"
open-pull-requests-limit: 2
open-pull-requests-limit: 1
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
time: "04:10"
open-pull-requests-limit: 2
open-pull-requests-limit: 1
2 changes: 1 addition & 1 deletion .github/workflows/linters-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
required: false
type: string
python-version:
default: "3.11"
default: "3.12"
required: false
type: string
pydocstyle:
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,7 +12,7 @@ jobs:
uses: actions/checkout@v4
- uses: ./.github/actions/pipenv
with:
python-version: "3.11"
python-version: "3.12"
pipenv-install-options: "--skip-lock"
command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x"
towncrier:
Expand All @@ -23,7 +23,7 @@ jobs:
- uses: ./.github/actions/pipenv
if: ${{ github.actor != 'dependabot[bot]' }}
with:
python-version: "3.11"
python-version: "3.12"
pipenv-install-options: "--skip-lock"
command: towncrier check --compare-with origin/main
fetch-depth: 0
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- name: Install build tools
run: pip install build
- name: Build a wheel package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
type: string
python-versions:
description: 'Supported python versions'
default: '["3.7", "3.8", "3.9", "3.10", "3.11"]'
default: '["3.8", "3.9", "3.10", "3.11", "3.12"]'
required: false
type: string
os:
Expand Down
1 change: 1 addition & 0 deletions newsfragments/138.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use Python 3.12 by default, drop 3.7 for default set of python versions.

0 comments on commit 07107c3

Please sign in to comment.