From ebe898651c135e69eda553397f911df7e5ed28aa Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Sat, 2 Dec 2023 18:22:51 +0100 Subject: [PATCH] MAINT: test QRules on Python 3.12 (#235) Co-authored-by: GitHub Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .constraints/py3.12.txt | 187 ++++++++++++++++++++++++++++++++++++++++ pyproject.toml | 3 + setup.cfg | 1 + 3 files changed, 191 insertions(+) create mode 100644 .constraints/py3.12.txt diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt new file mode 100644 index 00000000..868da65e --- /dev/null +++ b/.constraints/py3.12.txt @@ -0,0 +1,187 @@ +# +# This file is autogenerated by pip-compile with Python 3.12 +# by the following command: +# +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.12.txt --strip-extras +# +accessible-pygments==0.0.4 +alabaster==0.7.13 +anyio==4.1.0 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +asttokens==2.4.1 +async-lru==2.0.4 +attrs==23.1.0 +babel==2.13.1 +beautifulsoup4==4.12.2 +black==23.11.0 +bleach==6.1.0 +cachetools==5.3.2 +certifi==2023.11.17 +cffi==1.16.0 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.3.2 +click==8.1.7 +colorama==0.4.6 +comm==0.2.0 +coverage==7.3.2 +debugpy==1.8.0 +decorator==5.1.1 +defusedxml==0.7.1 +distlib==0.3.7 +docstring-to-markdown==0.13 +docutils==0.19 +execnet==2.0.2 +executing==2.0.1 +fastjsonschema==2.19.0 +filelock==3.13.1 +fqdn==1.5.1 +gprof2dot==2022.7.29 +graphviz==0.20.1 +greenlet==3.0.1 +hepunits==2.3.2 +identify==2.5.32 +idna==3.6 +imagesize==1.4.1 +importlib-metadata==6.9.0 +iniconfig==2.0.0 +ipykernel==6.27.1 +ipython==8.18.1 +ipywidgets==8.1.1 +isoduration==20.11.0 +jedi==0.19.1 +jinja2==3.1.2 +json5==0.9.14 +jsonpointer==2.4 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.2 +jupyter-cache==1.0.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 +jupyter-server-terminals==0.4.4 +jupyterlab==4.0.9 +jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==5.0.1 +jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" +jupyterlab-pygments==0.3.0 +jupyterlab-server==2.25.2 +jupyterlab-widgets==3.0.9 +latexcodec==2.0.1 +livereload==2.6.3 +markdown-it-py==3.0.0 +markupsafe==2.1.3 +matplotlib-inline==0.1.6 +mdit-py-plugins==0.4.0 +mdurl==0.1.2 +mistune==3.0.2 +mypy==1.7.1 +mypy-extensions==1.0.0 +myst-nb==1.0.0 +myst-parser==2.0.0 +nbclient==0.6.8 +nbconvert==7.11.0 +nbformat==5.9.2 +nbmake==1.4.6 +nest-asyncio==1.5.8 +nodeenv==1.8.0 +notebook-shim==0.2.3 +overrides==7.4.0 +packaging==23.2 +pandocfilters==1.5.0 +parso==0.8.3 +particle==0.23.1 +pathspec==0.11.2 +pexpect==4.9.0 +platformdirs==4.0.0 +pluggy==1.3.0 +pre-commit==3.5.0 +prometheus-client==0.19.0 +prompt-toolkit==3.0.41 +psutil==5.9.6 +ptyprocess==0.7.0 +pure-eval==0.2.2 +pybtex==0.24.0 +pybtex-docutils==1.0.3 +pycparser==2.21 +pydata-sphinx-theme==0.14.4 +pydot==1.4.2 +pygments==2.17.2 +pyparsing==3.1.1 +pyproject-api==1.6.1 +pytest==7.4.3 +pytest-cov==4.1.0 +pytest-profiling==1.7.0 +pytest-xdist==3.5.0 +python-constraint==1.4.0 +python-dateutil==2.8.2 +python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.2 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 +pyyaml==6.0.1 +pyzmq==25.1.1 +referencing==0.31.1 +requests==2.31.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rope==1.11.0 +rpds-py==0.13.2 +ruff==0.1.6 ; python_version >= "3.7.0" +send2trash==1.8.2 +six==1.16.0 +sniffio==1.3.0 +snowballstemmer==2.2.0 +soupsieve==2.5 +sphinx==6.2.1 +sphinx-autobuild==2021.3.14 +sphinx-book-theme==1.0.1 +sphinx-codeautolink==0.15.0 +sphinx-comments==0.0.3 +sphinx-copybutton==0.5.2 +sphinx-design==0.5.0 +sphinx-hep-pdgref==0.2.0 +sphinx-thebe==0.3.0 +sphinx-togglebutton==0.3.2 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-bibtex==2.5.0 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 +sphobjinv==2.3.1 +sqlalchemy==2.0.23 +stack-data==0.6.3 +tabulate==0.9.0 +terminado==0.18.0 +tinycss2==1.2.1 +tornado==6.4 +tox==4.11.4 +tqdm==4.66.1 +traitlets==5.14.0 +types-docutils==0.20.0.3 +types-pkg-resources==0.1.3 +types-python-dateutil==2.8.19.14 +types-pyyaml==6.0.12.12 +types-requests==2.31.0.10 +types-setuptools==69.0.0.0 +typing-extensions==4.8.0 +ujson==5.8.0 +uri-template==1.3.0 +urllib3==2.1.0 +virtualenv==20.25.0 +wcwidth==0.2.12 +webcolors==1.13 +webencodings==0.5.1 +websocket-client==1.6.4 +wheel==0.42.0 +widgetsnbextension==4.0.9 +zipp==3.17.0 + +# The following packages are considered to be unsafe in a requirements file: +# setuptools diff --git a/pyproject.toml b/pyproject.toml index 898d6e2c..4d958f76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ preview = true target-version = [ "py310", "py311", + "py312", "py36", "py37", "py38", @@ -148,7 +149,9 @@ addopts = """ --ignore=docs/conf.py""" filterwarnings = [ "error", + "ignore:'importlib.abc.Traversable' is deprecated and slated for removal in Python 3.14:DeprecationWarning", "ignore:Passing a schema to Validator.iter_errors is deprecated.*:DeprecationWarning", + "ignore:datetime.datetime.utcfromtimestamp\\(\\) is deprecated and scheduled for removal in a future version.*:DeprecationWarning", "ignore:unclosed .*:ResourceWarning", ] markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"] diff --git a/setup.cfg b/setup.cfg index db11bce4..aa7ea703 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,6 +35,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Topic :: Scientific/Engineering Topic :: Scientific/Engineering :: Physics Typing :: Typed