diff --git a/.config/constraints.txt b/.config/constraints.txt new file mode 100644 index 0000000..23cdf36 --- /dev/null +++ b/.config/constraints.txt @@ -0,0 +1,96 @@ +# +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: +# +# pip-compile --all-extras --no-annotate --output-file=.config/constraints.txt --strip-extras pyproject.toml +# +babel==2.14.0 +beautifulsoup4==4.12.2 +blessings==1.7 +build==1.0.3 +cachetools==5.3.2 +cairocffi==1.6.1 +cairosvg==2.7.1 +certifi==2023.11.17 +cffi==1.16.0 +chardet==5.2.0 +charset-normalizer==3.3.2 +click==8.1.7 +colorama==0.4.6 +coverage==7.4.0 +cssselect2==0.7.0 +defusedxml==0.7.1 +diskcache==5.6.3 +distlib==0.3.8 +docutils==0.20.1 +exceptiongroup==1.2.0 +filelock==3.13.1 +ghp-import==2.1.0 +gitdb==4.0.11 +gitpython==3.1.41 +idna==3.6 +importlib-metadata==7.0.1 +iniconfig==2.0.0 +jaraco-classes==3.3.0 +jinja2==3.1.3 +keyring==24.3.0 +markdown==3.5.2 +markdown-exec==1.8.0 +markdown-it-py==3.0.0 +markupsafe==2.1.3 +mdurl==0.1.2 +mergedeep==1.3.4 +mkdocs==1.5.3 +mkdocs-autorefs==0.5.0 +mkdocs-gen-files==0.5.0 +mkdocs-htmlproofer-plugin==1.0.0 +mkdocs-material==9.5.3 +mkdocs-material-extensions==1.3.1 +more-itertools==10.2.0 +nh3==0.2.15 +packaging==23.2 +paginate==0.5.6 +pathspec==0.12.1 +pillow==10.2.0 +pipdeptree==2.13.2 +pkginfo==1.9.6 +platformdirs==4.1.0 +pluggy==1.3.0 +py-cpuinfo==9.0.0 +pycparser==2.21 +pygments==2.17.2 +pymdown-extensions==10.7 +pyproject-api==1.6.1 +pyproject-hooks==1.0.0 +pytest==7.4.4 +pytest-benchmark==4.0.0 +pytest-plus==0.6.1 +python-dateutil==2.8.2 +pyyaml==6.0.1 +pyyaml-env-tag==0.1 +readme-renderer==42.0 +regex==2023.12.25 +requests==2.31.0 +requests-toolbelt==1.0.0 +rfc3986==2.0.0 +rich==13.7.0 +shellingham==1.5.4 +six==1.16.0 +smmap==5.0.1 +soupsieve==2.5 +subprocess-tee==0.4.1 +tinycss2==1.2.1 +tomli==2.0.1 ; python_version < "3.11" +tox==4.12.0 +twine==4.0.2 +typer==0.9.0 +typing-extensions==4.9.0 +urllib3==2.1.0 +virtualenv==20.25.0 +watchdog==3.0.0 +webencodings==0.5.1 +zipp==3.17.0 + +# The following packages are considered to be unsafe in a requirements file: +# pip +# setuptools diff --git a/.config/requirements.in b/.config/requirements.in deleted file mode 100644 index 38c8f19..0000000 --- a/.config/requirements.in +++ /dev/null @@ -1,19 +0,0 @@ -GitPython -blessings -build>=0.3.1.post1 # py_package -click >= 7.1.2 -colorama # for Windows -diskcache >= 5.2.1 -importlib-metadata -packaging -pip>=21.0.1 # py_package -pluggy -pygments -pyyaml -rich >= 9.0 -setuptools # py_package due to running setup.py -shellingham -subprocess-tee >= 0.3.1 -tomli >= 1.1.0 ; python_version < "3.11" -twine>=3.4.1 # py_package -typer diff --git a/.config/requirements.txt b/.config/requirements.txt index 11e5db6..38c8f19 100644 --- a/.config/requirements.txt +++ b/.config/requirements.txt @@ -1,64 +1,19 @@ -# -# This file is autogenerated by pip-compile with Python 3.9 -# by the following command: -# -# pip-compile --extra=test --no-annotate --output-file=.config/requirements.txt --strip-extras pyproject.toml -# -blessings==1.7 -build==1.0.3 -cachetools==5.3.2 -certifi==2023.11.17 -chardet==5.2.0 -charset-normalizer==3.3.2 -click==8.1.7 -colorama==0.4.6 -coverage==7.4.0 -diskcache==5.6.3 -distlib==0.3.8 -docutils==0.20.1 -exceptiongroup==1.2.0 -filelock==3.13.1 -gitdb==4.0.11 -gitpython==3.1.41 -idna==3.6 -importlib-metadata==7.0.1 -iniconfig==2.0.0 -jaraco-classes==3.3.0 -keyring==24.3.0 -markdown-it-py==3.0.0 -mdurl==0.1.2 -more-itertools==10.2.0 -nh3==0.2.15 -packaging==23.2 -pkginfo==1.9.6 -platformdirs==4.1.0 -pluggy==1.3.0 -py-cpuinfo==9.0.0 -pygments==2.17.2 -pyproject-api==1.6.1 -pyproject-hooks==1.0.0 -pytest==7.4.4 -pytest-benchmark==4.0.0 -pytest-plus==0.6.1 -pyyaml==6.0.1 -readme-renderer==42.0 -requests==2.31.0 -requests-toolbelt==1.0.0 -rfc3986==2.0.0 -rich==13.7.0 -shellingham==1.5.4 -six==1.16.0 -smmap==5.0.1 -subprocess-tee==0.4.1 -tomli==2.0.1 ; python_version < "3.11" -tox==4.11.4 -twine==4.0.2 -typer==0.9.0 -typing-extensions==4.9.0 -urllib3==2.1.0 -virtualenv==20.25.0 -zipp==3.17.0 - -# The following packages are considered to be unsafe in a requirements file: -# pip -# setuptools +GitPython +blessings +build>=0.3.1.post1 # py_package +click >= 7.1.2 +colorama # for Windows +diskcache >= 5.2.1 +importlib-metadata +packaging +pip>=21.0.1 # py_package +pluggy +pygments +pyyaml +rich >= 9.0 +setuptools # py_package due to running setup.py +shellingham +subprocess-tee >= 0.3.1 +tomli >= 1.1.0 ; python_version < "3.11" +twine>=3.4.1 # py_package +typer diff --git a/pyproject.toml b/pyproject.toml index b83d7ff..13a3439 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -149,7 +149,7 @@ known-first-party = ["mk"] [tool.setuptools.dynamic] optional-dependencies.test = { file = [".config/requirements-test.txt"] } optional-dependencies.docs = { file = [".config/requirements-docs.txt"] } -dependencies = { file = [".config/requirements.in"] } +dependencies = { file = [".config/requirements.txt"] } [tool.setuptools_scm] local_scheme = "no-local-version" diff --git a/tox.ini b/tox.ini index e83c352..f49f866 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,7 @@ description = Run the tests with pytest setenv = COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}/.coverage.{envname}} COVERAGE_PROCESS_START={toxinidir}/pyproject.toml - PIP_CONSTRAINT = {toxinidir}/.config/requirements.txt + PIP_CONSTRAINT = {toxinidir}/.config/constraints.txt PIP_DISABLE_PIP_VERSION_CHECK = 1 PYTHONHASHSEED = 0 VIRTUALENV_NO_DOWNLOAD = 1 @@ -62,7 +62,7 @@ deps = setenv = PIP_CONSTRAINT= commands = - pip-compile --upgrade --resolver=backtracking --no-annotate --strip-extras --output-file=.config/requirements.txt --extra test pyproject.toml + pip-compile --upgrade --no-annotate --strip-extras --output-file=.config/constraints.txt --all-extras pyproject.toml [testenv:docs] description = Builds docs