Skip to content

Commit 8e21c61

Browse files
authored
Support Python 3.12 (and 3.11) (#839)
1 parent a8cf324 commit 8e21c61

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- '3.9'
1313
- '3.10'
1414
- '3.11'
15+
- '3.12'
1516
env:
1617
PYTHON_VERSION: ${{ matrix.python-version }}
1718
PYTHONUNBUFFERED: 1

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ services:
1919
context: .
2020
dockerfile: ./files/tests/Dockerfile
2121
args:
22-
- PYTHON_VERSIONS=3.8.17 3.9.17 3.10.12 3.11.4
22+
- PYTHON_VERSIONS=3.8.17 3.9.17 3.10.12 3.11.4 3.12.0
2323
environment:
24-
- PYTHON_VERSIONS=3.8.17 3.9.17 3.10.12 3.11.4
24+
- PYTHON_VERSIONS=3.8.17 3.9.17 3.10.12 3.11.4 3.12.0
2525
volumes:
2626
- .:/code

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def read_tests_requirements(filename):
9090
"Programming Language :: Python :: 3.9",
9191
"Programming Language :: Python :: 3.10",
9292
"Programming Language :: Python :: 3.11",
93+
"Programming Language :: Python :: 3.12",
9394
],
9495
package_data={
9596
"social_core/tests": [

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py38,py39,py310,py311
7+
envlist = py38,py39,py310,py311,py312
88

99
[testenv]
1010
passenv = *
1111
deps =
12-
py{38,39,310,311}: -rsocial_core/tests/requirements.txt
12+
py{38,39,310,311,312}: -rsocial_core/tests/requirements.txt
1313
commands =
14-
py{38,39,310,311}: pip install -e .[all]
15-
py{38,39,310,311}: pip install --force-reinstall --no-binary lxml lxml
14+
py{38,39,310,311,312}: pip install -e .[all]
15+
py{38,39,310,311,312}: pip install --force-reinstall --no-binary lxml lxml
1616
pytest {posargs:-v --cov=social_core}

0 commit comments

Comments
 (0)