Changeset - befde126d803
[Not reviewed]
0 2 0
Branko Majic (branko) - 17 days ago 2024-09-02 23:01:34
branko@majic.rs
MAR-218: Updated project requirements for Python virtual environment:

- Switch to using Python 3.11 as the basis.
- Pin Ansible and test framework to latest available/supported
versions.
- Drop the workarounds used for older package versions.
- Group the requirements according to their use within the project.
2 files changed with 140 insertions and 173 deletions:
0 comments (0 inline, 0 general)
requirements.in
Show inline comments
 
ansible~=2.9.0
 
defusedxml
 
gimmecert~=0.5.0
 
molecule~=2.22.0
 
# Ansible and role runtime.
 
ansible~=10.3
 
netaddr
 
python-ldap
 

	
 
# Development and testing.
 
ansible-lint
 
defusedxml
 
gimmecert
 
molecule[testinfra]~=24.8.0
 
molecule-plugins[vagrant]~=23.5.0
 
paramiko
 

	
 
# Documentation.
 
sphinx
 
sphinx-rtd-theme
 

	
 
# Python virtualenv management.
 
pip
 
pip-tools
 
python-ldap
 
python-vagrant
 
# @TODO: Required for ansible-lint due to breaking changes in newer version.
 
rich<11.0.0
 
setuptools
 
sh~=1.14.0
 
sphinx
 
sphinx-rtd-theme
requirements.txt
Show inline comments
 
#
 
# This file is autogenerated by pip-compile with Python 3.9
 
# This file is autogenerated by pip-compile with Python 3.11
 
# by the following command:
 
#
 
#    pip-compile --allow-unsafe
 
#
 
alabaster==0.7.16
 
    # via sphinx
 
ansible==2.9.27
 
ansible==10.3.0
 
    # via -r requirements.in
 
ansible-compat==24.8.0
 
    # via
 
    #   -r requirements.in
 
    #   ansible-lint
 
    #   molecule
 
ansible-lint==4.3.7
 
    # via molecule
 
anyconfig==0.9.7
 
    # via molecule
 
arrow==1.3.0
 
    # via cookiecutter
 
aspy-yaml==1.3.0
 
    # via pre-commit
 
babel==2.14.0
 
ansible-core==2.17.3
 
    # via
 
    #   ansible
 
    #   ansible-compat
 
    #   ansible-lint
 
    #   molecule
 
ansible-lint==24.7.0
 
    # via -r requirements.in
 
attrs==24.2.0
 
    # via
 
    #   jsonschema
 
    #   referencing
 
babel==2.16.0
 
    # via sphinx
 
bcrypt==4.1.2
 
bcrypt==4.2.0
 
    # via paramiko
 
binaryornot==0.4.4
 
    # via cookiecutter
 
build==1.1.1
 
black==24.8.0
 
    # via ansible-lint
 
bracex==2.5
 
    # via wcmatch
 
build==1.2.1
 
    # via pip-tools
 
cerberus==1.3.5
 
    # via molecule
 
certifi==2024.2.2
 
certifi==2024.8.30
 
    # via requests
 
cffi==1.16.0
 
cffi==1.17.0
 
    # via
 
    #   cryptography
 
    #   pynacl
 
cfgv==3.4.0
 
    # via pre-commit
 
chardet==5.2.0
 
    # via binaryornot
 
charset-normalizer==3.3.2
 
    # via requests
 
click==8.1.7
 
    # via
 
    #   click-completion
 
    #   cookiecutter
 
    #   black
 
    #   click-help-colors
 
    #   molecule
 
    #   pip-tools
 
    #   python-gilt
 
click-completion==0.5.2
 
    # via molecule
 
colorama==0.4.6
 
    # via
 
    #   molecule
 
    #   python-gilt
 
    #   rich
 
commonmark==0.9.1
 
    # via rich
 
cookiecutter==2.6.0
 
click-help-colors==0.9.4
 
    # via molecule
 
cryptography==3.2.1
 
cryptography==42.0.8
 
    # via
 
    #   ansible
 
    #   ansible-core
 
    #   gimmecert
 
    #   paramiko
 
defusedxml==0.7.1
 
    # via -r requirements.in
 
distlib==0.3.8
 
    # via virtualenv
 
docutils==0.20.1
 
    # via
 
    #   sphinx
 
    #   sphinx-rtd-theme
 
exceptiongroup==1.2.0
 
    # via pytest
 
fasteners==0.19
 
    # via python-gilt
 
filelock==3.13.1
 
    # via virtualenv
 
flake8==7.0.0
 
enrich==1.2.7
 
    # via molecule
 
gimmecert==0.5.0
 
filelock==3.15.4
 
    # via ansible-lint
 
gimmecert==1.0.0
 
    # via -r requirements.in
 
identify==2.5.35
 
    # via pre-commit
 
idna==3.6
 
idna==3.8
 
    # via requests
 
imagesize==1.4.1
 
    # via sphinx
 
importlib-metadata==7.0.1
 
    # via
 
    #   build
 
    #   sphinx
 
importlib-metadata==8.4.0
 
    # via ansible-lint
 
iniconfig==2.0.0
 
    # via pytest
 
jinja2==3.1.3
 
jinja2==3.1.4
 
    # via
 
    #   ansible
 
    #   click-completion
 
    #   cookiecutter
 
    #   ansible-core
 
    #   molecule
 
    #   sphinx
 
jsonschema==4.23.0
 
    # via
 
    #   ansible-compat
 
    #   ansible-lint
 
    #   molecule
 
jsonschema-specifications==2023.12.1
 
    # via jsonschema
 
markdown-it-py==3.0.0
 
    # via rich
 
markupsafe==2.1.5
 
    # via jinja2
 
mccabe==0.7.0
 
    # via flake8
 
molecule==2.22
 
mdurl==0.1.2
 
    # via markdown-it-py
 
molecule[testinfra]==24.8.0
 
    # via
 
    #   -r requirements.in
 
    #   molecule-plugins
 
molecule-plugins[vagrant]==23.5.3
 
    # via -r requirements.in
 
netaddr==1.2.1
 
mypy-extensions==1.0.0
 
    # via black
 
netaddr==1.3.0
 
    # via -r requirements.in
 
nodeenv==1.8.0
 
    # via pre-commit
 
packaging==23.2
 
packaging==24.1
 
    # via
 
    #   ansible-compat
 
    #   ansible-core
 
    #   ansible-lint
 
    #   black
 
    #   build
 
    #   molecule
 
    #   pytest
 
    #   sphinx
 
paramiko==2.12.0
 
    # via
 
    #   -r requirements.in
 
    #   molecule
 
paramiko==3.4.1
 
    # via -r requirements.in
 
pathspec==0.12.1
 
    # via yamllint
 
pexpect==4.9.0
 
    # via molecule
 
    # via
 
    #   ansible-lint
 
    #   black
 
    #   yamllint
 
pip-tools==7.4.1
 
    # via -r requirements.in
 
platformdirs==4.2.0
 
    # via virtualenv
 
pluggy==1.4.0
 
    # via pytest
 
pre-commit==1.21.0
 
    # via molecule
 
psutil==5.9.8
 
    # via molecule
 
ptyprocess==0.7.0
 
    # via pexpect
 
pyasn1==0.5.1
 
platformdirs==4.2.2
 
    # via black
 
pluggy==1.5.0
 
    # via
 
    #   molecule
 
    #   pytest
 
pyasn1==0.6.0
 
    # via
 
    #   pyasn1-modules
 
    #   python-ldap
 
pyasn1-modules==0.3.0
 
pyasn1-modules==0.4.0
 
    # via python-ldap
 
pycodestyle==2.11.1
 
    # via flake8
 
pycparser==2.21
 
pycparser==2.22
 
    # via cffi
 
pyflakes==3.2.0
 
    # via flake8
 
pygments==2.17.2
 
pygments==2.18.0
 
    # via
 
    #   rich
 
    #   sphinx
 
pynacl==1.5.0
 
    # via paramiko
 
pyproject-hooks==1.0.0
 
pyproject-hooks==1.1.0
 
    # via
 
    #   build
 
    #   pip-tools
 
pytest==8.0.2
 
    # via testinfra
 
python-dateutil==2.8.2
 
    # via
 
    #   arrow
 
    #   gimmecert
 
python-gilt==1.2.3
 
pytest==8.3.2
 
    # via pytest-testinfra
 
pytest-testinfra==10.1.1
 
    # via molecule
 
python-dateutil==2.8.2
 
    # via gimmecert
 
python-ldap==3.4.4
 
    # via -r requirements.in
 
python-slugify==8.0.4
 
    # via cookiecutter
 
python-vagrant==1.0.0
 
    # via -r requirements.in
 
pyyaml==5.4.1
 
    # via molecule-plugins
 
pyyaml==6.0.2
 
    # via
 
    #   ansible
 
    #   ansible-compat
 
    #   ansible-core
 
    #   ansible-lint
 
    #   aspy-yaml
 
    #   cookiecutter
 
    #   molecule
 
    #   pre-commit
 
    #   python-gilt
 
    #   yamllint
 
requests==2.31.0
 
referencing==0.35.1
 
    # via
 
    #   cookiecutter
 
    #   sphinx
 
rich==10.16.2
 
    #   jsonschema
 
    #   jsonschema-specifications
 
requests==2.32.3
 
    # via sphinx
 
resolvelib==1.0.1
 
    # via ansible-core
 
rich==13.8.0
 
    # via
 
    #   -r requirements.in
 
    #   ansible-lint
 
    #   cookiecutter
 
    #   enrich
 
    #   molecule
 
rpds-py==0.20.0
 
    # via
 
    #   jsonschema
 
    #   referencing
 
ruamel-yaml==0.18.6
 
    # via ansible-lint
 
ruamel-yaml-clib==0.2.8
 
    # via ruamel-yaml
 
sh==1.14.3
 
    # via
 
    #   -r requirements.in
 
    #   molecule
 
    #   python-gilt
 
shellingham==1.5.4
 
    # via click-completion
 
six==1.16.0
 
    # via
 
    #   click-completion
 
    #   cryptography
 
    #   molecule
 
    #   paramiko
 
    #   pre-commit
 
    #   python-dateutil
 
    #   testinfra
 
    # via python-dateutil
 
snowballstemmer==2.2.0
 
    # via sphinx
 
sphinx==7.2.6
 
sphinx==7.4.7
 
    # via
 
    #   -r requirements.in
 
    #   sphinx-rtd-theme
 
    #   sphinxcontrib-jquery
 
sphinx-rtd-theme==2.0.0
 
    # via -r requirements.in
 
sphinxcontrib-applehelp==1.0.8
 
sphinxcontrib-applehelp==2.0.0
 
    # via sphinx
 
sphinxcontrib-devhelp==1.0.6
 
sphinxcontrib-devhelp==2.0.0
 
    # via sphinx
 
sphinxcontrib-htmlhelp==2.0.5
 
sphinxcontrib-htmlhelp==2.1.0
 
    # via sphinx
 
sphinxcontrib-jquery==4.1
 
    # via sphinx-rtd-theme
 
sphinxcontrib-jsmath==1.0.1
 
    # via sphinx
 
sphinxcontrib-qthelp==1.0.7
 
sphinxcontrib-qthelp==2.0.0
 
    # via sphinx
 
sphinxcontrib-serializinghtml==1.1.10
 
sphinxcontrib-serializinghtml==2.0.0
 
    # via sphinx
 
tabulate==0.9.0
 
    # via molecule
 
testinfra==3.4.0
 
    # via molecule
 
text-unidecode==1.3
 
    # via python-slugify
 
toml==0.10.2
 
    # via pre-commit
 
tomli==2.0.1
 
subprocess-tee==0.4.2
 
    # via
 
    #   build
 
    #   pip-tools
 
    #   pyproject-hooks
 
    #   pytest
 
tree-format==0.1.2
 
    # via molecule
 
types-python-dateutil==2.8.19.20240106
 
    # via arrow
 
urllib3==2.2.1
 
    #   ansible-compat
 
    #   ansible-lint
 
urllib3==2.2.2
 
    # via requests
 
virtualenv==20.25.1
 
    # via pre-commit
 
wheel==0.42.0
 
wcmatch==9.0
 
    # via
 
    #   ansible-lint
 
    #   molecule
 
wheel==0.44.0
 
    # via pip-tools
 
yamllint==1.35.1
 
    # via molecule
 
zipp==3.17.0
 
    # via ansible-lint
 
zipp==3.20.1
 
    # via importlib-metadata
 

	
 
# The following packages are considered to be unsafe in a requirements file:
 
pip==24.0
 
pip==24.2
 
    # via
 
    #   -r requirements.in
 
    #   pip-tools
 
setuptools==69.1.1
 
setuptools==74.1.0
 
    # via
 
    #   -r requirements.in
 
    #   nodeenv
 
    #   pip-tools
0 comments (0 inline, 0 general)