|
9 | 9 |
|
10 | 10 | jobs: |
11 | 11 | build: |
12 | | - runs-on: ubuntu-20.04 |
| 12 | + runs-on: ubuntu-latest |
13 | 13 | strategy: |
14 | 14 | matrix: |
15 | | - python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12, 3.13] |
| 15 | + python-version: [3.9, '3.10', 3.11, 3.12, 3.13, 3.14] |
16 | 16 | framework: |
17 | 17 | - NONE |
18 | | - - FLASK_VERSION=1.1.4 |
19 | 18 | - FLASK_VERSION=2.3.3 |
20 | | - - FLASK_VERSION=3.1.0 |
21 | | - - DJANGO_VERSION=4.2.20 |
22 | | - - DJANGO_VERSION=5.1.7 |
| 19 | + - FLASK_VERSION=3.1.2 |
| 20 | + - DJANGO_VERSION=4.2.25 |
| 21 | + - DJANGO_VERSION=5.2.7 |
23 | 22 | - PYRAMID_VERSION=1.10.8 |
24 | 23 | - PYRAMID_VERSION=2.0.2 |
25 | | - - FASTAPI_VERSION=0.110.3 httpx==0.24.1 python-multipart==0.0.9 |
26 | | - - FASTAPI_VERSION=0.115.11 httpx==0.27.0 python-multipart==0.0.9 |
| 24 | + - FASTAPI_VERSION=0.115.1 httpx==0.27.2 python-multipart==0.0.12 |
| 25 | + - FASTAPI_VERSION=0.118.3 httpx==0.28.1 python-multipart==0.0.20 |
27 | 26 | exclude: |
28 | 27 | # Test frameworks on the python versions they support, according to pypi registry |
29 | | - # Flask |
30 | | - - framework: FLASK_VERSION=2.3.3 |
31 | | - python-version: 3.7 |
32 | | - - framework: FLASK_VERSION=3.1.0 |
33 | | - python-version: 3.7 |
34 | | - - framework: FLASK_VERSION=3.1.0 |
35 | | - python-version: 3.8 |
36 | 28 |
|
37 | 29 | # Django |
38 | | - - framework: DJANGO_VERSION=4.2.20 |
39 | | - python-version: 3.7 |
40 | | - - framework: DJANGO_VERSION=4.2.20 |
41 | | - python-version: 3.13 |
42 | | - - framework: DJANGO_VERSION=5.1.7 |
43 | | - python-version: 3.7 |
44 | | - - framework: DJANGO_VERSION=5.1.7 |
45 | | - python-version: 3.8 |
46 | | - - framework: DJANGO_VERSION=5.1.7 |
| 30 | + - framework: DJANGO_VERSION=5.2.7 |
47 | 31 | python-version: 3.9 |
48 | 32 |
|
49 | | - # FastAPI |
50 | | - - framework: FASTAPI_VERSION=0.110.3 httpx==0.24.1 python-multipart==0.0.9 |
51 | | - python-version: 3.7 |
52 | | - - framework: FASTAPI_VERSION=0.110.3 httpx==0.24.1 python-multipart==0.0.9 |
53 | | - python-version: 3.13 |
54 | | - - framework: FASTAPI_VERSION=0.115.11 httpx==0.27.0 python-multipart==0.0.9 |
55 | | - python-version: 3.7 |
56 | | - |
57 | 33 | steps: |
58 | 34 | - uses: actions/checkout@v2 |
59 | 35 | with: |
|
67 | 43 | - name: Install Python Test dependencies |
68 | 44 | run: pip install requests webob blinker httpx |
69 | 45 |
|
70 | | - - name: Install Python 3.7 dependencies |
71 | | - if: ${{ contains(matrix.python-version, '3.7') }} |
72 | | - # immutables dropped support for Python<3.8 in version 0.20 |
73 | | - run: pip install immutables==0.19 |
74 | | - |
75 | 46 | - name: Set the framework |
76 | 47 | if: ${{ matrix.framework != 'NONE' }} |
77 | 48 | run: echo ${{ matrix.framework }} >> $GITHUB_ENV |
|
0 commit comments