Skip to content

Commit

Permalink
MAINT: test AmpForm on Python 3.12 (ComPWA#366)
Browse files Browse the repository at this point in the history
* FIX: ignore Pytest deprecation warnings

---------

Co-authored-by: GitHub <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Dec 12, 2023
1 parent d1e814d commit 42c6b86
Show file tree
Hide file tree
Showing 2 changed files with 203 additions and 0 deletions.
199 changes: 199 additions & 0 deletions .constraints/py3.12.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
#
# 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 --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot
#
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
contourpy==1.2.0
coverage==7.3.2
cycler==0.12.1
debugpy==1.8.0
decorator==5.1.1
defusedxml==0.7.1
distlib==0.3.7
docstring-to-markdown==0.13
docutils==0.17.1
execnet==2.0.2
executing==2.0.1
fastjsonschema==2.19.0
filelock==3.13.1
fonttools==4.46.0
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
ipympl==0.9.3
ipython==8.18.1
ipython-genutils==0.2.0
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
jupyterlab-pygments==0.3.0
jupyterlab-server==2.25.2
jupyterlab-widgets==3.0.9
kiwisolver==1.4.5
latexcodec==2.0.1
livereload==2.6.3
markdown-it-py==2.2.0
markupsafe==2.1.3
matplotlib==3.8.2
matplotlib-inline==0.1.6
mdit-py-plugins==0.3.5
mdurl==0.1.2
mistune==3.0.2
mpl-interactions==0.24.1
mpmath==1.3.0
mypy==1.7.1
mypy-extensions==1.0.0
myst-nb==1.0.0
myst-parser==1.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
numpy==1.26.2
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
pillow==10.1.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
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
qrules==0.9.8
referencing==0.31.1
requests==2.31.0
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rich==13.7.0
rope==1.11.0
rpds-py==0.13.2
ruff==0.1.6
send2trash==1.8.2
six==1.16.0
sniffio==1.3.0
snowballstemmer==2.2.0
soupsieve==2.5
sphinx==5.3.0
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.6.1
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
sqlalchemy==2.0.23
stack-data==0.6.3
sympy==1.12
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-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:
# ampform
# setuptools
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down Expand Up @@ -170,6 +171,7 @@ preview = true
target-version = [
"py310",
"py311",
"py312",
"py37",
"py38",
"py39",
Expand Down Expand Up @@ -281,10 +283,12 @@ addopts = '''
filterwarnings = [
"error",
"ignore:.*invalid value encountered in sqrt.*:RuntimeWarning",
"ignore:.*is deprecated and slated for removal in Python 3.14:DeprecationWarning",
"ignore:Passing a schema to Validator.iter_errors is deprecated.*:DeprecationWarning",
"ignore:The .* argument to NotebookFile is deprecated.*:pytest.PytestRemovedIn8Warning",
"ignore:The distutils package is deprecated.*:DeprecationWarning",
"ignore:The distutils.* module is deprecated.*:DeprecationWarning",
"ignore:datetime.datetime.utcfromtimestamp\\(\\) is deprecated and scheduled for removal in a future version.*:DeprecationWarning",
"ignore:unclosed .*:ResourceWarning",
'ignore:Widget\..* is deprecated\.:DeprecationWarning',
]
Expand Down

0 comments on commit 42c6b86

Please sign in to comment.