forked from cjolowicz/cookiecutter-hypermodern-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from statisticsnorway/python312
Add support for python 3.12, remove support for python 3.9
- Loading branch information
Showing
14 changed files
with
49 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.12" | ||
- run: | | ||
pip install --constraint=.github/workflows/constraints.txt pip | ||
pip install --constraint=.github/workflows/constraints.txt nox | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.12" | ||
- run: | | ||
pip install --constraint=.github/workflows/constraints.txt pip | ||
pip install --constraint=.github/workflows/constraints.txt pre-commit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,11 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- { python-version: "3.12", os: ubuntu-latest } | ||
- { python-version: "3.12", os: windows-latest } | ||
- { python-version: "3.12", os: macos-latest } | ||
- { python-version: "3.11", os: ubuntu-latest } | ||
- { python-version: "3.11", os: windows-latest } | ||
- { python-version: "3.11", os: macos-latest } | ||
- { python-version: "3.10", os: ubuntu-latest } | ||
- { python-version: "3.9", os: ubuntu-latest } | ||
name: Python ${{ matrix.python-version }} (${{ matrix.os }}) | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -96,7 +96,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.12" | ||
- run: | | ||
pip install --constraint=.github/workflows/constraints.txt pip | ||
pip install --constraint=.github/workflows/constraints.txt nox | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.12" | ||
cache: "poetry" | ||
|
||
- name: Install dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.12" | ||
|
||
- name: Upgrade pip | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,17 +16,17 @@ jobs: | |
matrix: | ||
include: | ||
- { python: "3.10", os: "ubuntu-latest", session: "pre-commit" } | ||
- { python: "3.11", os: "ubuntu-latest", session: "mypy" } | ||
- { python: "3.10", os: "ubuntu-latest", session: "mypy" } | ||
- { python: "3.9", os: "ubuntu-latest", session: "mypy" } | ||
- { python: "3.11", os: "ubuntu-latest", session: "tests" } | ||
- { python: "3.11", os: "ubuntu-latest", session: "mypy" } | ||
- { python: "3.12", os: "ubuntu-latest", session: "mypy" } | ||
- { python: "3.10", os: "ubuntu-latest", session: "tests" } | ||
- { python: "3.9", os: "ubuntu-latest", session: "tests" } | ||
- { python: "3.11", os: "windows-latest", session: "tests" } | ||
- { python: "3.11", os: "macos-latest", session: "tests" } | ||
- { python: "3.10", os: "ubuntu-latest", session: "typeguard" } | ||
- { python: "3.11", os: "ubuntu-latest", session: "xdoctest" } | ||
- { python: "3.10", os: "ubuntu-latest", session: "docs-build" } | ||
- { python: "3.11", os: "ubuntu-latest", session: "tests" } | ||
- { python: "3.12", os: "ubuntu-latest", session: "tests" } | ||
- { python: "3.12", os: "windows-latest", session: "tests" } | ||
- { python: "3.12", os: "macos-latest", session: "tests" } | ||
- { python: "3.12", os: "ubuntu-latest", session: "typeguard" } | ||
- { python: "3.12", os: "ubuntu-latest", session: "xdoctest" } | ||
- { python: "3.12", os: "ubuntu-latest", session: "docs-build" } | ||
|
||
env: | ||
NOXSESSION: ${{"{{"}} matrix.session {{"}}"}} | ||
|
@@ -122,7 +122,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.12" | ||
|
||
- name: Upgrade pip | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters