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:
parent
22e21ec641
commit
f07eeff3a2
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@ -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: |
|
||||||
|
4
.github/workflows/linters.yml
vendored
4
.github/workflows/linters.yml
vendored
@ -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.
|
||||||
|
10
.github/workflows/schedule_tests.yml
vendored
10
.github/workflows/schedule_tests.yml
vendored
@ -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
|
||||||
|
4
.github/workflows/selenium.yml
vendored
4
.github/workflows/selenium.yml
vendored
@ -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
|
||||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user