Skip to content

Commit

Permalink
Rename constraints to requirements (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianonicolai committed Jan 9, 2024
1 parent ef39c7e commit d7e6e56
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 93 deletions.
87 changes: 0 additions & 87 deletions .config/constraints.txt

This file was deleted.

3 changes: 3 additions & 0 deletions .config/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ansible-core>=2.14
pytest>=6,<8.0.0
packaging
90 changes: 87 additions & 3 deletions .config/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,87 @@
ansible-core>=2.14
pytest>=6,<8.0.0
packaging
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --extra=docs --extra=test --no-annotate --output-file=.config/requirements.txt --strip-extras --unsafe-package=ruamel-yaml-clib pyproject.toml
#
ansible-compat==4.1.10
ansible-core==2.16.2
attrs==23.2.0
babel==2.14.0
beautifulsoup4==4.12.2
bracex==2.4
cairocffi==1.6.1
cairosvg==2.7.1
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
click-help-colors==0.9.4
colorama==0.4.6
coverage==7.4.0
cryptography==41.0.7
csscompressor==0.9.5
cssselect2==0.7.0
defusedxml==0.7.1
enrich==1.2.7
exceptiongroup==1.2.0
ghp-import==2.1.0
griffe==0.38.1
htmlmin2==0.1.13
idna==3.6
iniconfig==2.0.0
jinja2==3.1.2
jsmin==3.0.1
jsonschema==4.20.0
jsonschema-specifications==2023.12.1
markdown==3.5.1
markdown-exec==1.8.0
markdown-include==0.8.1
markdown-it-py==3.0.0
markupsafe==2.1.3
mdurl==0.1.2
mergedeep==1.3.4
mkdocs==1.5.3
mkdocs-ansible==0.2.0
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
mkdocs-minify-plugin==0.7.2
mkdocs-monorepo-plugin==1.1.0
mkdocstrings==0.24.0
mkdocstrings-python==1.7.5
molecule==6.0.3
packaging==23.2
paginate==0.5.6
pathspec==0.12.1
pillow==10.2.0
pipdeptree==2.13.1
platformdirs==4.1.0
pluggy==1.3.0
pycparser==2.21
pygments==2.17.2
pymdown-extensions==10.7
pytest==7.4.4
pytest-plus==0.6.0
python-dateutil==2.8.2
python-slugify==8.0.1
pyyaml==6.0.1
pyyaml-env-tag==0.1
referencing==0.32.1
regex==2023.12.25
requests==2.31.0
resolvelib==1.0.1
rich==13.7.0
rpds-py==0.16.2
six==1.16.0
soupsieve==2.5
subprocess-tee==0.4.1
text-unidecode==1.3
tinycss2==1.2.1
tomli==2.0.1
urllib3==2.1.0
watchdog==3.0.0
wcmatch==8.5
webencodings==0.5.1
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ repos:
name: deps
alias: deps
always_run: true
entry: pip-compile --resolver=backtracking -q --no-annotate --output-file=.config/constraints.txt pyproject.toml --extra docs --extra test --strip-extras --unsafe-package ruamel-yaml-clib
entry: pip-compile --resolver=backtracking -q --no-annotate --output-file=.config/requirements.txt pyproject.toml --extra docs --extra test --strip-extras --unsafe-package ruamel-yaml-clib
files: ^.config\/.*requirements.*$
language: python
language_version: "3.10" # minimal we support officially
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ lines-between-types = 1 # Separate import/from with 1 line
optional-dependencies.docs = { file = [".config/docs-requirements.txt"] }
optional-dependencies.test = { file = [".config/test-requirements.txt"] }
optional-dependencies.lock = { file = [".config/lock-requirements.txt"] }
dependencies = { file = [".config/requirements.txt"] }
dependencies = { file = [".config/requirements.in"] }

[tool.setuptools_scm]
local_scheme = "no-local-version"
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ setenv =
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}/.coverage.{envname}}
COVERAGE_PROCESS_START={toxinidir}/pyproject.toml
FORCE_COLOR = 1
PIP_CONSTRAINT = {toxinidir}/.config/constraints.txt
PIP_CONSTRAINT = {toxinidir}/.config/requirements.txt
devel: PIP_CONSTRAINT = /dev/null
extras =
test
Expand Down

0 comments on commit d7e6e56

Please sign in to comment.