mirror of
https://github.com/django/django.git
synced 2025-05-30 10:46:29 +00:00
Refs #34118 -- Used Python 3.12 for GitHub actions.
This commit is contained in:
parent
911b1619ab
commit
19c4052f98
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@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
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@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
- 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@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
- run: python -m pip install flake8
|
- run: python -m pip install flake8
|
||||||
- name: flake8
|
- name: flake8
|
||||||
# Pinned to v2.0.0.
|
# Pinned to v2.0.0.
|
||||||
@ -44,7 +44,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
- run: python -m pip install isort
|
- run: python -m pip install isort
|
||||||
- name: isort
|
- name: isort
|
||||||
# Pinned to v2.0.0.
|
# Pinned to v2.0.0.
|
||||||
|
10
.github/workflows/schedule_tests.yml
vendored
10
.github/workflows/schedule_tests.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
python-version:
|
python-version:
|
||||||
- '3.10'
|
- '3.10'
|
||||||
- '3.11'
|
- '3.11'
|
||||||
- '3.12-dev'
|
- '3.12'
|
||||||
name: Windows, SQLite, Python ${{ matrix.python-version }}
|
name: Windows, SQLite, Python ${{ matrix.python-version }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
@ -60,9 +60,11 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
cache-dependency-path: 'tests/requirements/py3.txt'
|
cache-dependency-path: 'tests/requirements/py3.txt'
|
||||||
|
- name: Install libmemcached-dev for pylibmc
|
||||||
|
run: sudo apt-get install libmemcached-dev
|
||||||
- name: Install and upgrade packaging tools
|
- name: Install and upgrade packaging tools
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- run: python -m pip install -r tests/requirements/py3.txt -e .
|
- run: python -m pip install -r tests/requirements/py3.txt -e .
|
||||||
@ -94,9 +96,11 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
cache-dependency-path: 'tests/requirements/py3.txt'
|
cache-dependency-path: 'tests/requirements/py3.txt'
|
||||||
|
- name: Install libmemcached-dev for pylibmc
|
||||||
|
run: sudo apt-get install libmemcached-dev
|
||||||
- name: Install and upgrade packaging tools
|
- name: Install and upgrade packaging tools
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- run: python -m pip install -r tests/requirements/py3.txt -r tests/requirements/postgres.txt -e .
|
- run: python -m pip install -r tests/requirements/py3.txt -r tests/requirements/postgres.txt -e .
|
||||||
|
8
.github/workflows/selenium.yml
vendored
8
.github/workflows/selenium.yml
vendored
@ -24,9 +24,11 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
cache-dependency-path: 'tests/requirements/py3.txt'
|
cache-dependency-path: 'tests/requirements/py3.txt'
|
||||||
|
- name: Install libmemcached-dev for pylibmc
|
||||||
|
run: sudo apt-get install libmemcached-dev
|
||||||
- name: Install and upgrade packaging tools
|
- name: Install and upgrade packaging tools
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- run: python -m pip install -r tests/requirements/py3.txt -e .
|
- run: python -m pip install -r tests/requirements/py3.txt -e .
|
||||||
@ -59,9 +61,11 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.12'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
cache-dependency-path: 'tests/requirements/py3.txt'
|
cache-dependency-path: 'tests/requirements/py3.txt'
|
||||||
|
- name: Install libmemcached-dev for pylibmc
|
||||||
|
run: sudo apt-get install libmemcached-dev
|
||||||
- name: Install and upgrade packaging tools
|
- name: Install and upgrade packaging tools
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- run: python -m pip install -r tests/requirements/py3.txt -r tests/requirements/postgres.txt -e .
|
- run: python -m pip install -r tests/requirements/py3.txt -r tests/requirements/postgres.txt -e .
|
||||||
|
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.11'
|
- '3.12'
|
||||||
name: Windows, SQLite, Python ${{ matrix.python-version }}
|
name: Windows, SQLite, Python ${{ matrix.python-version }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -4,10 +4,10 @@ argon2-cffi >= 19.2.0
|
|||||||
bcrypt
|
bcrypt
|
||||||
black
|
black
|
||||||
docutils >= 0.19
|
docutils >= 0.19
|
||||||
geoip2; python_version < '3.12'
|
geoip2
|
||||||
jinja2 >= 2.11.0
|
jinja2 >= 2.11.0
|
||||||
numpy; python_version < '3.12'
|
numpy
|
||||||
Pillow >= 6.2.1; sys.platform != 'win32' or python_version < '3.12'
|
Pillow >= 6.2.1
|
||||||
# pylibmc/libmemcached can't be built on Windows.
|
# pylibmc/libmemcached can't be built on Windows.
|
||||||
pylibmc; sys.platform != 'win32'
|
pylibmc; sys.platform != 'win32'
|
||||||
pymemcache >= 3.4.0
|
pymemcache >= 3.4.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user