Skip to content

Commit

Permalink
[DO NOT MERGE] Test if CI passes with minimal versions of deps
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Nov 15, 2024
1 parent 8209d63 commit 867548b
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 105 deletions.
151 changes: 50 additions & 101 deletions ci-constraints-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,41 +1,44 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --universal -p 3.7 --extra=docs --extra=docstest --extra=pep8test --extra=test --extra=test-randomorder --extra=nox --extra=sdist --unsafe-package=cffi --unsafe-package=pycparser --unsafe-package=setuptools --unsafe-package=cryptography-vectors pyproject.toml
# uv pip compile --resolution=lowest-direct --universal -p 3.7 --extra=docs --extra=docstest --extra=pep8test --extra=test --extra=test-randomorder --extra=nox --extra=sdist --unsafe-package=cffi --unsafe-package=pycparser --unsafe-package=setuptools --unsafe-package=cryptography-vectors pyproject.toml
alabaster==0.7.13 ; python_full_version < '3.9'
# via sphinx
alabaster==0.7.16 ; python_full_version == '3.9.*'
# via sphinx
alabaster==1.0.0 ; python_full_version >= '3.10'
alabaster==0.7.16 ; python_full_version >= '3.9'
# via sphinx
argcomplete==3.1.2 ; python_full_version < '3.8'
# via nox
argcomplete==3.5.1 ; python_full_version >= '3.8'
# via nox
attrs==24.2.0
# via pytest
babel==2.14.0 ; python_full_version < '3.8'
# via sphinx
babel==2.16.0 ; python_full_version >= '3.8'
# via sphinx
bleach==6.0.0 ; python_full_version < '3.8'
# via readme-renderer
build==1.1.1 ; python_full_version < '3.8'
# via cryptography (pyproject.toml)
build==1.2.2.post1 ; python_full_version >= '3.8'
bleach==6.1.0 ; python_full_version == '3.8.*'
# via readme-renderer
bleach==6.2.0 ; python_full_version >= '3.9'
# via readme-renderer
build==1.0.0
# via
# cryptography (pyproject.toml)
# check-sdist
certifi==2024.8.30
certifi==0.0.1 ; python_full_version < '3.8'
# via cryptography (pyproject.toml)
certifi==2017.4.17 ; python_full_version >= '3.8'
# via
# cryptography (pyproject.toml)
# requests
charset-normalizer==3.4.0
charset-normalizer==3.4.0 ; python_full_version >= '3.8'
# via requests
check-sdist==1.2.0 ; python_full_version >= '3.8'
check-sdist==0.1.0 ; python_full_version >= '3.8'
# via cryptography (pyproject.toml)
click==8.1.7
click==0.1
# via cryptography (pyproject.toml)
colorama==0.4.6 ; (platform_system != 'Windows' and sys_platform == 'win32') or platform_system == 'Windows' or os_name == 'nt'
colorama==0.4.6 ; sys_platform == 'win32' or os_name == 'nt'
# via
# build
# click
# colorlog
# pytest
# sphinx
Expand All @@ -45,20 +48,11 @@ coverage==7.2.7 ; python_full_version < '3.8'
# via pytest-cov
coverage==7.6.1 ; python_full_version == '3.8.*'
# via pytest-cov
coverage==7.6.4 ; python_full_version >= '3.9'
coverage==7.6.5 ; python_full_version >= '3.9'
# via pytest-cov
distlib==0.3.9
# via virtualenv
docutils==0.19 ; python_full_version < '3.8'
# via
# readme-renderer
# sphinx
docutils==0.20.1 ; python_full_version == '3.8.*'
# via
# readme-renderer
# sphinx
# sphinx-rtd-theme
docutils==0.21.2 ; python_full_version >= '3.9'
docutils==0.19
# via
# readme-renderer
# sphinx
Expand All @@ -73,26 +67,23 @@ filelock==3.12.2 ; python_full_version < '3.8'
# via virtualenv
filelock==3.16.1 ; python_full_version >= '3.8'
# via virtualenv
idna==3.10
idna==3.10 ; python_full_version >= '3.8'
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==6.7.0 ; python_full_version < '3.8'
# via
# argcomplete
# attrs
# build
# click
# nox
# pluggy
# pytest
# pytest-randomly
# sphinx
# sphinxcontrib-spelling
# virtualenv
importlib-metadata==8.5.0 ; python_full_version >= '3.8' and python_full_version < '3.10.2'
importlib-metadata==8.5.0 ; python_full_version >= '3.8' and python_full_version < '3.10'
# via
# build
# pytest-randomly
# sphinx
importlib-resources==6.4.5 ; python_full_version == '3.8.*'
# via check-sdist
Expand All @@ -104,17 +95,11 @@ markupsafe==2.1.5 ; python_full_version < '3.9'
# via jinja2
markupsafe==3.0.2 ; python_full_version >= '3.9'
# via jinja2
mypy==1.4.1 ; python_full_version < '3.8'
# via cryptography (pyproject.toml)
mypy==1.13.0 ; python_full_version >= '3.8'
mypy==1.0.0
# via cryptography (pyproject.toml)
mypy-extensions==1.0.0
# via mypy
nh3==0.2.18 ; python_full_version >= '3.8'
# via readme-renderer
nox==2024.4.15 ; python_full_version < '3.8'
# via cryptography (pyproject.toml)
nox==2024.10.9 ; python_full_version >= '3.8'
nox==2024.4.15 ; python_full_version >= '3.8'
# via cryptography (pyproject.toml)
packaging==24.0 ; python_full_version < '3.8'
# via
Expand All @@ -138,11 +123,11 @@ pluggy==1.2.0 ; python_full_version < '3.8'
# via pytest
pluggy==1.5.0 ; python_full_version >= '3.8'
# via pytest
pretend==1.0.9
pretend==0.5
# via cryptography (pyproject.toml)
py-cpuinfo==9.0.0
# via pytest-benchmark
pyenchant==3.2.2
py==1.11.0
# via pytest-cov
pyenchant==3.0.0
# via
# cryptography (pyproject.toml)
# sphinxcontrib-spelling
Expand All @@ -156,81 +141,50 @@ pygments==2.18.0 ; python_full_version >= '3.8'
# sphinx
pyproject-hooks==1.2.0
# via build
pytest==7.4.4 ; python_full_version < '3.8'
# via
# cryptography (pyproject.toml)
# pytest-benchmark
# pytest-cov
# pytest-randomly
# pytest-xdist
pytest==8.3.3 ; python_full_version >= '3.8'
pytest==7.2.0
# via
# cryptography (pyproject.toml)
# pytest-benchmark
# pytest-cov
# pytest-randomly
# pytest-xdist
pytest-benchmark==4.0.0 ; python_full_version < '3.9'
# via cryptography (pyproject.toml)
pytest-benchmark==5.1.0 ; python_full_version >= '3.9'
pytest-benchmark==0.1.0
# via cryptography (pyproject.toml)
pytest-cov==4.1.0 ; python_full_version < '3.8'
pytest-cov==0.6
# via cryptography (pyproject.toml)
pytest-cov==5.0.0 ; python_full_version == '3.8.*'
# via cryptography (pyproject.toml)
pytest-cov==6.0.0 ; python_full_version >= '3.9'
# via cryptography (pyproject.toml)
pytest-randomly==3.12.0 ; python_full_version < '3.8'
# via cryptography (pyproject.toml)
pytest-randomly==3.15.0 ; python_full_version == '3.8.*'
# via cryptography (pyproject.toml)
pytest-randomly==3.16.0 ; python_full_version >= '3.9'
# via cryptography (pyproject.toml)
pytest-xdist==3.5.0 ; python_full_version < '3.8'
# via cryptography (pyproject.toml)
pytest-xdist==3.6.1 ; python_full_version >= '3.8'
pytest-randomly==1.0.0
# via cryptography (pyproject.toml)
pytest-xdist==3.5.0
# via
# cryptography (pyproject.toml)
# pytest-cov
pytz==2024.2 ; python_full_version < '3.9'
# via babel
readme-renderer==37.3 ; python_full_version < '3.8'
# via cryptography (pyproject.toml)
readme-renderer==43.0 ; python_full_version == '3.8.*'
# via cryptography (pyproject.toml)
readme-renderer==44.0 ; python_full_version >= '3.9'
readme-renderer==0.7.0
# via cryptography (pyproject.toml)
requests==2.31.0 ; python_full_version < '3.8'
requests==2.15.1 ; python_full_version < '3.8'
# via sphinx
requests==2.32.3 ; python_full_version >= '3.8'
# via sphinx
ruff==0.7.3
ruff==0.0.13
# via cryptography (pyproject.toml)
six==1.16.0 ; python_full_version < '3.8'
# via bleach
six==1.16.0
# via
# bleach
# readme-renderer
# sphinxcontrib-spelling
snowballstemmer==2.2.0
# via sphinx
sphinx==5.3.0 ; python_full_version < '3.8'
# via
# cryptography (pyproject.toml)
# sphinxcontrib-spelling
sphinx==7.1.2 ; python_full_version == '3.8.*'
sphinx==6.0.0 ; python_full_version >= '3.8'
# via
# cryptography (pyproject.toml)
# sphinx-rtd-theme
# sphinxcontrib-jquery
# sphinxcontrib-spelling
sphinx==7.4.7 ; python_full_version == '3.9.*'
# via
# cryptography (pyproject.toml)
# sphinx-rtd-theme
# sphinxcontrib-jquery
# sphinxcontrib-spelling
sphinx==8.1.3 ; python_full_version >= '3.10'
# via
# cryptography (pyproject.toml)
# sphinx-rtd-theme
# sphinxcontrib-jquery
# sphinxcontrib-spelling
sphinx-rtd-theme==3.0.2 ; python_full_version >= '3.8'
sphinx-rtd-theme==3.0.0 ; python_full_version >= '3.8'
# via cryptography (pyproject.toml)
sphinxcontrib-applehelp==1.0.2 ; python_full_version < '3.8'
# via sphinx
Expand Down Expand Up @@ -260,24 +214,21 @@ sphinxcontrib-serializinghtml==1.1.5 ; python_full_version < '3.9'
# via sphinx
sphinxcontrib-serializinghtml==2.0.0 ; python_full_version >= '3.9'
# via sphinx
sphinxcontrib-spelling==8.0.0
sphinxcontrib-spelling==4.0.1
# via cryptography (pyproject.toml)
tomli==2.0.1 ; python_full_version < '3.8'
# via
# build
# coverage
# mypy
# nox
# pytest
tomli==2.0.2 ; python_full_version >= '3.8' and python_full_version <= '3.11'
tomli==2.1.0 ; python_full_version >= '3.8' and python_full_version < '3.11'
# via
# build
# check-sdist
# coverage
# mypy
# nox
# pytest
# sphinx
typed-ast==1.5.5 ; python_full_version < '3.8'
# via mypy
typing-extensions==4.7.1 ; python_full_version < '3.8'
Expand All @@ -288,25 +239,23 @@ typing-extensions==4.7.1 ; python_full_version < '3.8'
# platformdirs
typing-extensions==4.12.2 ; python_full_version >= '3.8'
# via mypy
urllib3==2.0.7 ; python_full_version < '3.8'
# via requests
urllib3==2.2.3 ; python_full_version >= '3.8'
# via requests
uv==0.5.1 ; python_full_version >= '3.8'
uv==0.5.2 ; python_full_version >= '3.8'
# via nox
virtualenv==20.26.6 ; python_full_version < '3.8'
# via nox
virtualenv==20.27.1 ; python_full_version >= '3.8'
# via nox
webencodings==0.5.1 ; python_full_version < '3.8'
webencodings==0.5.1
# via bleach
zipp==3.15.0 ; python_full_version < '3.8'
# via importlib-metadata
zipp==3.20.2 ; python_full_version == '3.8.*'
# via
# importlib-metadata
# importlib-resources
zipp==3.21.0 ; python_full_version >= '3.9' and python_full_version < '3.10.2'
zipp==3.21.0 ; python_full_version == '3.9.*'
# via importlib-metadata

# The following packages were excluded from the output:
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,22 @@ changelog = "https://cryptography.io/en/latest/changelog/"
ssh = ["bcrypt >=3.1.5"]

# All the following are used for our own testing.
nox = ["nox", "nox[uv] >=2024.03.02; python_version >= '3.8'"]
nox = ["nox >=2024.04.15", "nox[uv] >=2024.03.02; python_version >= '3.8'"]
test = [
"cryptography_vectors",
"pytest >=7.2.0",
"pytest-benchmark",
"pytest-cov",
"pytest-xdist",
"pytest-xdist >=3.5.0",
"pretend",
"certifi",
]
test-randomorder = ["pytest-randomly"]
docs = ["sphinx >=5.3.0", "sphinx-rtd-theme >=3.0.0; python_version >= '3.8'"]
docstest = ["pyenchant >=1.6.11", "readme-renderer", "sphinxcontrib-spelling >=4.0.1"]
docstest = ["pyenchant >=3", "readme-renderer", "sphinxcontrib-spelling >=4.0.1"]
sdist = ["build >=1.0.0"]
# `click` included because its needed to type check `release.py`
pep8test = ["ruff", "mypy", "check-sdist; python_version >= '3.8'", "click"]
pep8test = ["ruff", "mypy >=1", "check-sdist; python_version >= '3.8'", "click"]

[tool.maturin]
python-source = "src"
Expand Down

0 comments on commit 867548b

Please sign in to comment.