Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8dba752

Browse files
committed
simplify CI with prerelease python flag
1 parent 73aab98 commit 8dba752

File tree

3 files changed

+46
-30
lines changed

3 files changed

+46
-30
lines changed

‎.github/workflows/lint.yml‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,27 @@ jobs:
2828
strategy:
2929
matrix:
3030
# run static analysis on bleeding and trailing edges
31-
python-version: [ '3.9', '3.13' ]
31+
python-version: [ '3.9', '3.11', '3.14' ]
3232
django-version:
3333
- '3.2' # LTS April 2024
3434
- '4.2' # LTS April 2026
3535
- '5.2' # LTS April 2028
3636
exclude:
3737
- python-version: '3.9'
3838
django-version: '4.2'
39-
- python-version: '3.13'
40-
django-version: '3.2'
4139
- python-version: '3.9'
4240
django-version: '5.2'
4341

42+
- python-version: '3.11'
43+
django-version: '3.2'
44+
- python-version: '3.11'
45+
django-version: '5.2'
46+
47+
- python-version: '3.14'
48+
django-version: '3.2'
49+
- python-version: '3.14'
50+
django-version: '4.2'
51+
4452
env:
4553
RDBMS: sqlite
4654
TEST_PYTHON_VERSION: ${{ matrix.python-version }}
@@ -53,6 +61,7 @@ jobs:
5361
id: sp
5462
with:
5563
python-version: ${{ matrix.python-version }}
64+
allow-prereleases: true
5665
- name: Install uv
5766
uses: astral-sh/setup-uv@v6
5867
with:

‎.github/workflows/test.yml‎

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14.0-rc.3']
36+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
3737
postgres-version: ['9.6', '12', 'latest']
3838
psycopg-version: ['psycopg2', 'psycopg3']
3939
django-version:
@@ -81,15 +81,15 @@ jobs:
8181
psycopg-version: 'psycopg2'
8282

8383

84-
- python-version: '3.14.0-rc.3'
84+
- python-version: '3.14'
8585
django-version: '3.2'
86-
- python-version: '3.14.0-rc.3'
86+
- python-version: '3.14'
8787
django-version: '4.2'
8888

89-
- python-version: '3.14.0-rc.3'
89+
- python-version: '3.14'
9090
django-version: '5.1'
9191
# https://github.com/psycopg/psycopg2/pull/1695
92-
- python-version: '3.14.0-rc.3'
92+
- python-version: '3.14'
9393
psycopg-version: 'psycopg2'
9494

9595
env:
@@ -130,6 +130,7 @@ jobs:
130130
uses: actions/setup-python@v6
131131
with:
132132
python-version: ${{ matrix.python-version }}
133+
allow-prereleases: true
133134
- name: Install uv
134135
uses: astral-sh/setup-uv@v6
135136
with:
@@ -174,15 +175,15 @@ jobs:
174175
strategy:
175176
fail-fast: false
176177
matrix:
177-
python-version: [ '3.9', '3.13']
178+
python-version: [ '3.9', '3.14']
178179
django-version:
179180
- '3.2' # LTS April 2024
180181
- '4.2' # LTS April 2026
181182
- '5.2' # LTS April 2028
182183
exclude:
183184
- python-version: '3.9'
184185
django-version: '5.2'
185-
- python-version: '3.13'
186+
- python-version: '3.14'
186187
django-version: '3.2'
187188

188189
steps:
@@ -192,6 +193,7 @@ jobs:
192193
id: sp
193194
with:
194195
python-version: ${{ matrix.python-version }}
196+
allow-prereleases: true
195197
- name: Install uv
196198
uses: astral-sh/setup-uv@v6
197199
with:
@@ -231,15 +233,15 @@ jobs:
231233
strategy:
232234
fail-fast: false
233235
matrix:
234-
python-version: [ '3.9', '3.13']
236+
python-version: [ '3.9', '3.14']
235237
mysql-version: ['5.7', 'latest']
236238
mysqlclient-version: ['1.4.3', '']
237239
django-version:
238240
- '3.2' # LTS April 2024
239241
- '4.2' # LTS April 2026
240242
- '5.2' # LTS April 2028
241243
exclude:
242-
- python-version: '3.13'
244+
- python-version: '3.14'
243245
django-version: '3.2'
244246
- python-version: '3.9'
245247
django-version: '5.2'
@@ -291,6 +293,7 @@ jobs:
291293
id: sp
292294
with:
293295
python-version: ${{ matrix.python-version }}
296+
allow-prereleases: true
294297
- name: Install Emacs
295298
if: ${{ github.event.inputs.debug == 'true' }}
296299
run: |
@@ -340,7 +343,7 @@ jobs:
340343
strategy:
341344
fail-fast: false
342345
matrix:
343-
python-version: [ '3.9', '3.13']
346+
python-version: [ '3.9', '3.14']
344347
mysqlclient-version: ['1.4.3', '']
345348
mariadb-version: ['10.2', 'latest']
346349
mariadb-healthcheck: ["mysqladmin ping", "healthcheck.sh --connect --innodb_initialized"]
@@ -349,7 +352,7 @@ jobs:
349352
- '4.2' # LTS April 2026
350353
- '5.2' # LTS April 2028
351354
exclude:
352-
- python-version: '3.13'
355+
- python-version: '3.14'
353356
django-version: '3.2'
354357
- python-version: '3.9'
355358
django-version: '5.2'
@@ -396,6 +399,7 @@ jobs:
396399
id: sp
397400
with:
398401
python-version: ${{ matrix.python-version }}
402+
allow-prereleases: true
399403
- name: Install Emacs
400404
if: ${{ github.event.inputs.debug == 'true' }}
401405
run: |
@@ -497,6 +501,7 @@ jobs:
497501
uses: actions/setup-python@v6
498502
with:
499503
python-version: ${{ matrix.python-version }}
504+
allow-prereleases: true
500505
- name: Install Emacs
501506
if: ${{ github.event.inputs.debug == 'true' }}
502507
run: |
@@ -551,14 +556,14 @@ jobs:
551556
strategy:
552557
fail-fast: false
553558
matrix:
554-
python-version: [ '3.9', '3.13']
559+
python-version: [ '3.9', '3.14']
555560
django-version:
556561
- '3.2' # LTS April 2024
557562
- '5.2' # LTS April 2028
558563
exclude:
559564
- python-version: '3.9'
560565
django-version: '5.2'
561-
- python-version: '3.13'
566+
- python-version: '3.14'
562567
django-version: '3.2'
563568

564569
steps:
@@ -568,6 +573,7 @@ jobs:
568573
id: sp
569574
with:
570575
python-version: ${{ matrix.python-version }}
576+
allow-prereleases: true
571577
- name: Install uv
572578
uses: astral-sh/setup-uv@v6
573579
with:
@@ -612,14 +618,14 @@ jobs:
612618
strategy:
613619
fail-fast: false
614620
matrix:
615-
python-version: [ '3.9', '3.13']
621+
python-version: [ '3.9', '3.14']
616622
django-version:
617623
- '3.2' # LTS April 2024
618624
- '5.2' # LTS April 2028
619625
exclude:
620626
- python-version: '3.9'
621627
django-version: '5.2'
622-
- python-version: '3.13'
628+
- python-version: '3.14'
623629
django-version: '3.2'
624630

625631
steps:
@@ -629,6 +635,7 @@ jobs:
629635
id: sp
630636
with:
631637
python-version: ${{ matrix.python-version }}
638+
allow-prereleases: true
632639
- name: Install uv
633640
uses: astral-sh/setup-uv@v6
634641
with:

‎uv.lock‎

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /