Skip to content

Commit c164611

Browse files
committed
Use python3.11 as default
1 parent bfff06c commit c164611

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
strategy:
2020
matrix:
2121
# https://github.com/actions/python-versions/blob/main/versions-manifest.json
22-
python-version: [3.8, 3.9, "3.10", 3.11.0-rc.2]
22+
python-version: [3.8, 3.9, "3.11", "3.11"]
2323
django-version:
2424
- "Django>=3.2,<4.0"
2525
- "Django>=4.0,<4.1"
2626
- "Django>=4.1,<4.2"
2727
- "https://github.com/django/django/archive/main.tar.gz"
2828
include:
2929
- drf: djangorestframework
30-
python-version: "3.10"
30+
python-version: "3.11"
3131
django-version: "Django<4.2,>=4.1" # must be different from django-version
3232
- django-version: "Django<4.0,>=3.2"
3333
python-version: 3.6
@@ -61,7 +61,7 @@ jobs:
6161
- uses: actions/checkout@v3
6262
- uses: actions/setup-python@v4
6363
with:
64-
python-version: "3.10"
64+
python-version: "3.11"
6565
cache: 'pip'
6666
cache-dependency-path: 'setup.cfg'
6767
- uses: actions/cache@v3
@@ -79,7 +79,7 @@ jobs:
7979
- name: Setup Python
8080
uses: actions/setup-python@v4
8181
with:
82-
python-version: "3.10"
82+
python-version: "3.11"
8383
cache: 'pip'
8484
cache-dependency-path: 'setup.cfg'
8585
- name: Install dependencies
@@ -123,7 +123,7 @@ jobs:
123123
- name: Setup Python
124124
uses: actions/setup-python@v4
125125
with:
126-
python-version: "3.10"
126+
python-version: "3.11"
127127
- name: Download dist
128128
uses: actions/download-artifact@v3
129129
with:

shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ in
99
devshell.mkShell {
1010
name = "django-extra-checks";
1111
packages = [
12-
nixpkgs.python310
12+
nixpkgs.python311
1313
];
1414

1515
env = [

0 commit comments

Comments
 (0)