Skip to content

Support Python 3.12 #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu]
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
redis: ['5']
include:
- python: '3.10'
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ black = black arq tests

.PHONY: install
install:
pip install -U pip pre-commit
pip install -U pip pre-commit pip-tools
pip install -r requirements/all.txt
pip install -e .[watch]
pre-commit install
Expand Down
44 changes: 20 additions & 24 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,52 +1,48 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --output-file=requirements/docs.txt requirements/docs.in
#
alabaster==0.7.12
alabaster==0.7.16
# via sphinx
babel==2.10.3
babel==2.14.0
# via sphinx
certifi==2022.12.7
certifi==2024.2.2
# via requests
charset-normalizer==2.1.1
charset-normalizer==3.3.2
# via requests
docutils==0.19
# via sphinx
idna==3.3
idna==3.6
# via requests
imagesize==1.4.1
# via sphinx
jinja2==3.0.3
jinja2==3.1.3
# via sphinx
markupsafe==2.1.1
markupsafe==2.1.5
# via jinja2
packaging==21.3
packaging==24.0
# via sphinx
pygments==2.13.0
pygments==2.17.2
# via sphinx
pyparsing==3.0.9
# via packaging
pytz==2022.2.1
# via babel
requests==2.28.1
requests==2.31.0
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sphinx==5.1.1
# via -r docs.in
sphinxcontrib-applehelp==1.0.2
sphinx==5.3.0
# via -r requirements/docs.in
sphinxcontrib-applehelp==1.0.8
# via sphinx
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-devhelp==1.0.6
# via sphinx
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-htmlhelp==2.0.5
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-qthelp==1.0.7
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-serializinghtml==1.1.10
# via sphinx
urllib3==1.26.12
urllib3==2.2.1
# via requests
37 changes: 17 additions & 20 deletions requirements/linting.txt
Original file line number Diff line number Diff line change
@@ -1,48 +1,45 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --output-file=requirements/linting.txt requirements/linting.in
#
black==22.6.0
black==22.12.0
# via -r requirements/linting.in
click==8.1.3
click==8.1.7
# via black
colorama==0.4.5
colorama==0.4.6
# via isort
flake8==5.0.4
# via
# -r requirements/linting.in
# flake8-quotes
flake8-quotes==3.3.1
flake8-quotes==3.4.0
# via -r requirements/linting.in
isort[colors]==5.10.1
isort[colors]==5.13.2
# via -r requirements/linting.in
mccabe==0.7.0
# via flake8
mypy==0.971
mypy==0.991
# via -r requirements/linting.in
mypy-extensions==0.4.3
mypy-extensions==1.0.0
# via
# black
# mypy
pathspec==0.9.0
pathspec==0.12.1
# via black
platformdirs==2.5.2
platformdirs==4.2.0
# via black
pycodestyle==2.9.1
# via flake8
pyflakes==2.5.0
# via flake8
tomli==2.0.1
# via
# black
# mypy
types-pytz==2022.2.1.0
types-pytz==2024.1.0.20240203
# via -r requirements/linting.in
types-redis==4.2.8
# via -r requirements/linting.in
typing-extensions==4.3.0
# via
# black
# mypy
typing-extensions==4.10.0
# via mypy

# The following packages are considered to be unsafe in a requirements file:
# setuptools
30 changes: 10 additions & 20 deletions requirements/pyproject.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,22 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --extra=watch --output-file=requirements/pyproject.txt pyproject.toml
#
anyio==3.6.1
anyio==4.3.0
# via watchfiles
async-timeout==4.0.2
# via redis
click==8.1.3
click==8.1.7
# via arq (pyproject.toml)
deprecated==1.2.13
# via redis
hiredis==2.0.0
hiredis==2.3.2
# via redis
idna==3.3
idna==3.6
# via anyio
packaging==21.3
# via redis
pyparsing==3.0.9
# via packaging
redis[hiredis]==4.3.4
redis[hiredis]==5.0.3
# via arq (pyproject.toml)
sniffio==1.2.0
sniffio==1.3.1
# via anyio
typing-extensions==4.3.0
typing-extensions==4.10.0
# via arq (pyproject.toml)
watchfiles==0.16.1
watchfiles==0.21.0
# via arq (pyproject.toml)
wrapt==1.14.1
# via deprecated
2 changes: 1 addition & 1 deletion requirements/testing.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pydantic>=1.9.2,<2
pytest>=7,<8
pytest-asyncio>=0.19,<0.20
pytest-mock>=3,<4
pytest-sugar>=0.9,<1
pytest-sugar
pytest-timeout>=2,<3
pytz
redislite
58 changes: 20 additions & 38 deletions requirements/testing.txt
Original file line number Diff line number Diff line change
@@ -1,39 +1,28 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --output-file=requirements/testing.txt requirements/testing.in
#
async-timeout==4.0.2
# via redis
attrs==22.1.0
# via pytest
coverage[toml]==6.4.4
coverage[toml]==6.5.0
# via -r requirements/testing.in
deprecated==1.2.13
# via redis
dirty-equals==0.4
dirty-equals==0.7.1.post0
# via -r requirements/testing.in
iniconfig==1.1.1
iniconfig==2.0.0
# via pytest
msgpack==1.0.4
msgpack==1.0.8
# via -r requirements/testing.in
packaging==21.3
packaging==24.0
# via
# pytest
# pytest-sugar
# redis
pluggy==1.0.0
pluggy==1.4.0
# via pytest
psutil==5.9.1
psutil==5.9.8
# via redislite
py==1.11.0
# via pytest
pydantic==1.9.2
pydantic==1.10.14
# via -r requirements/testing.in
pyparsing==3.0.9
# via packaging
pytest==7.1.2
pytest==7.4.4
# via
# -r requirements/testing.in
# pytest-asyncio
Expand All @@ -42,31 +31,24 @@ pytest==7.1.2
# pytest-timeout
pytest-asyncio==0.19.0
# via -r requirements/testing.in
pytest-mock==3.8.2
pytest-mock==3.14.0
# via -r requirements/testing.in
pytest-sugar==0.9.5
pytest-sugar==1.0.0
# via -r requirements/testing.in
pytest-timeout==2.1.0
pytest-timeout==2.3.1
# via -r requirements/testing.in
pytz==2022.2.1
pytz==2024.1
# via
# -r requirements/testing.in
# dirty-equals
# manually removed to avoid conflict with redis version from pyproject.toml
# redis==4.2.2
# # via redislite
redislite==6.2.805324
redis==5.0.3
# via redislite
redislite==6.2.912183
# via -r requirements/testing.in
termcolor==1.1.0
termcolor==2.4.0
# via pytest-sugar
tomli==2.0.1
# via
# coverage
# pytest
typing-extensions==4.3.0
typing-extensions==4.10.0
# via pydantic
wrapt==1.14.1
# via deprecated

# The following packages are considered to be unsafe in a requirements file:
# setuptools