1
0
mirror of https://github.com/django/django.git synced 2024-12-22 09:05:43 +00:00

Refs #34900 -- Added Python 3.12 to classifiers and tox.ini, and used it in GitHub actions.

This commit is contained in:
Mariusz Felisiak 2024-10-08 08:10:06 +02:00 committed by Sarah Boyce
parent 22e21ec641
commit f07eeff3a2
5 changed files with 12 additions and 12 deletions

View File

@ -30,7 +30,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
cache: 'pip' cache: 'pip'
cache-dependency-path: 'docs/requirements.txt' cache-dependency-path: 'docs/requirements.txt'
- run: python -m pip install -r docs/requirements.txt - run: python -m pip install -r docs/requirements.txt
@ -48,7 +48,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
- run: python -m pip install blacken-docs - run: python -m pip install blacken-docs
- name: Build docs - name: Build docs
run: | run: |

View File

@ -27,7 +27,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
- run: python -m pip install flake8 - run: python -m pip install flake8
- name: flake8 - name: flake8
# Pinned to v3.0.0. # Pinned to v3.0.0.
@ -44,7 +44,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
- run: python -m pip install isort - run: python -m pip install isort
- name: isort - name: isort
# Pinned to v3.0.0. # Pinned to v3.0.0.

View File

@ -19,7 +19,7 @@ jobs:
- '3.10' - '3.10'
- '3.11' - '3.11'
- '3.12' - '3.12'
- '3.13-dev' - '3.13'
name: Windows, SQLite, Python ${{ matrix.python-version }} name: Windows, SQLite, Python ${{ matrix.python-version }}
continue-on-error: true continue-on-error: true
steps: steps:
@ -46,7 +46,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
cache: 'pip' cache: 'pip'
- name: Install libmemcached-dev for pylibmc - name: Install libmemcached-dev for pylibmc
run: sudo apt-get install libmemcached-dev run: sudo apt-get install libmemcached-dev
@ -145,7 +145,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
cache: 'pip' cache: 'pip'
cache-dependency-path: 'tests/requirements/py3.txt' cache-dependency-path: 'tests/requirements/py3.txt'
- name: Install libmemcached-dev for pylibmc - name: Install libmemcached-dev for pylibmc
@ -181,7 +181,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
cache: 'pip' cache: 'pip'
cache-dependency-path: 'tests/requirements/py3.txt' cache-dependency-path: 'tests/requirements/py3.txt'
- name: Install libmemcached-dev for pylibmc - name: Install libmemcached-dev for pylibmc
@ -226,7 +226,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
cache: 'pip' cache: 'pip'
cache-dependency-path: 'tests/requirements/py3.txt' cache-dependency-path: 'tests/requirements/py3.txt'
- name: Install libmemcached-dev for pylibmc - name: Install libmemcached-dev for pylibmc

View File

@ -24,7 +24,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
cache: 'pip' cache: 'pip'
cache-dependency-path: 'tests/requirements/py3.txt' cache-dependency-path: 'tests/requirements/py3.txt'
- name: Install libmemcached-dev for pylibmc - name: Install libmemcached-dev for pylibmc
@ -61,7 +61,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: '3.13'
cache: 'pip' cache: 'pip'
cache-dependency-path: 'tests/requirements/py3.txt' cache-dependency-path: 'tests/requirements/py3.txt'
- name: Install libmemcached-dev for pylibmc - name: Install libmemcached-dev for pylibmc

View File

@ -23,7 +23,7 @@ jobs:
strategy: strategy:
matrix: matrix:
python-version: python-version:
- '3.12' - '3.13'
name: Windows, SQLite, Python ${{ matrix.python-version }} name: Windows, SQLite, Python ${{ matrix.python-version }}
steps: steps:
- name: Checkout - name: Checkout