Skip to content

Commit c158061

Browse files
authored
Avoid errors with read only virtual envs (#550)
Avoid versions of molecule and ansible-lint that were known to have problems when run with read-only virtualenvs or from read-only current directories. Fixes: https://issues.redhat.com/browse/AAP-40287
1 parent 92f8ad5 commit c158061

File tree

5 files changed

+99
-26
lines changed

5 files changed

+99
-26
lines changed

.config/constraints.txt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# This file was autogenerated by uv via the following command:
22
# tox run -e deps
33
ansible-builder==3.1.0
4-
ansible-compat==25.1.2
4+
ansible-compat==25.1.4
55
ansible-core==2.18.2
66
ansible-creator==25.0.0
77
ansible-dev-environment==25.1.0
8-
ansible-lint==25.1.2
8+
ansible-lint==25.1.3
99
ansible-navigator==25.1.0
1010
ansible-runner==2.4.0
1111
ansible-sign==0.1.1
@@ -28,7 +28,7 @@ charset-normalizer==3.4.1
2828
click==8.1.8
2929
click-help-colors==0.9.4
3030
colorama==0.4.6
31-
coverage==7.6.10
31+
coverage==7.6.12
3232
cryptography==44.0.1
3333
csscompressor==0.9.5
3434
cssselect2==0.7.0
@@ -37,19 +37,19 @@ dill==0.3.9
3737
distlib==0.3.9
3838
distro==1.9.0
3939
django==5.1.6
40-
django-stubs==5.1.2
41-
django-stubs-ext==5.1.2
40+
django-stubs==5.1.3
41+
django-stubs-ext==5.1.3
4242
dnspython==2.7.0
4343
docstring-parser-fork==0.0.12
4444
enrich==1.2.7
4545
execnet==2.1.1
4646
filelock==3.17.0
4747
ghp-import==2.1.0
48-
griffe==1.5.6
48+
griffe==1.5.7
4949
gunicorn==23.0.0
5050
hjson==3.1.0
5151
htmlmin2==0.1.13
52-
identify==2.6.6
52+
identify==2.6.7
5353
idna==3.10
5454
importlib-metadata==8.6.1
5555
iniconfig==2.0.0
@@ -61,7 +61,7 @@ jsonschema==4.23.0
6161
jsonschema-path==0.3.4
6262
jsonschema-specifications==2024.10.1
6363
lazy-object-proxy==1.10.0
64-
libtmux==0.42.0
64+
libtmux==0.44.2
6565
linkchecker==10.5.0
6666
lockfile==0.12.2
6767
markdown==3.7
@@ -73,19 +73,19 @@ mccabe==0.7.0
7373
mdurl==0.1.2
7474
mergedeep==1.3.4
7575
mkdocs==1.6.1
76-
mkdocs-ansible==24.12.0
77-
mkdocs-autorefs==1.3.0
76+
mkdocs-ansible==25.2.0
77+
mkdocs-autorefs==1.3.1
7878
mkdocs-gen-files==0.5.0
7979
mkdocs-get-deps==0.2.0
8080
mkdocs-htmlproofer-plugin==1.3.0
8181
mkdocs-macros-plugin==1.3.7
82-
mkdocs-material==9.6.2
82+
mkdocs-material==9.6.4
8383
mkdocs-material-extensions==1.3.1
8484
mkdocs-minify-plugin==0.8.0
8585
mkdocs-monorepo-plugin==1.1.0
86-
mkdocstrings==0.28.0
87-
mkdocstrings-python==1.14.4
88-
molecule==25.2.0
86+
mkdocstrings==0.28.1
87+
mkdocstrings-python==1.16.1
88+
molecule==25.3.0
8989
more-itertools==10.6.0
9090
mypy==1.15.0
9191
mypy-extensions==1.0.0
@@ -108,7 +108,7 @@ pluggy==1.5.0
108108
pre-commit==4.1.0
109109
ptyprocess==0.7.0
110110
pycparser==2.22
111-
pydoclint==0.6.0
111+
pydoclint==0.6.2
112112
pygments==2.19.1
113113
pylint==3.3.4
114114
pymdown-extensions==10.14.3
@@ -131,7 +131,7 @@ rich==13.9.4
131131
rpds-py==0.22.3
132132
ruamel-yaml==0.18.10
133133
ruamel-yaml-clib==0.2.12
134-
ruff==0.9.4
134+
ruff==0.9.6
135135
six==1.17.0
136136
soupsieve==2.6
137137
sqlparse==0.5.3
@@ -148,7 +148,7 @@ types-pyyaml==6.0.12.20241230
148148
types-requests==2.32.0.20241016
149149
tzdata==2025.1
150150
urllib3==2.3.0
151-
virtualenv==20.29.1
151+
virtualenv==20.29.2
152152
watchdog==6.0.0
153153
wcmatch==10.0
154154
webencodings==0.5.1

.config/pydoclint-baseline.txt

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
tests/integration/test_cli.py
2+
DOC501: Function `test_version` has raise/assert statements, but the docstring does not have a "Raises" section
3+
DOC503: Function `test_version` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
4+
DOC501: Function `test_server_fail_no_deps` has raise/assert statements, but the docstring does not have a "Raises" section
5+
DOC503: Function `test_server_fail_no_deps` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
6+
--------------------
7+
tests/integration/test_container.py
8+
DOC501: Function `test_versions` has raise/assert statements, but the docstring does not have a "Raises" section
9+
DOC503: Function `test_versions` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
10+
DOC501: Function `test_podman` has raise/assert statements, but the docstring does not have a "Raises" section
11+
DOC503: Function `test_podman` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
12+
DOC501: Function `test_cinc` has raise/assert statements, but the docstring does not have a "Raises" section
13+
DOC503: Function `test_cinc` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
14+
DOC501: Function `test_app` has raise/assert statements, but the docstring does not have a "Raises" section
15+
DOC503: Function `test_app` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
16+
DOC501: Function `test_user_shell` has raise/assert statements, but the docstring does not have a "Raises" section
17+
DOC503: Function `test_user_shell` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
18+
DOC501: Function `test_navigator_2_c_in_c` has raise/assert statements, but the docstring does not have a "Raises" section
19+
DOC503: Function `test_navigator_2_c_in_c` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
20+
DOC501: Function `test_navigator_1` has raise/assert statements, but the docstring does not have a "Raises" section
21+
DOC503: Function `test_navigator_1` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
22+
DOC501: Function `test_nav_collections` has raise/assert statements, but the docstring does not have a "Raises" section
23+
DOC503: Function `test_nav_collections` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
24+
DOC501: Function `test_nav_images` has raise/assert statements, but the docstring does not have a "Raises" section
25+
DOC503: Function `test_nav_images` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
26+
DOC501: Function `test_nav_playbook` has raise/assert statements, but the docstring does not have a "Raises" section
27+
DOC503: Function `test_nav_playbook` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
28+
DOC501: Function `test_nav_collection` has raise/assert statements, but the docstring does not have a "Raises" section
29+
DOC503: Function `test_nav_collection` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
30+
DOC501: Function `test_builder` has raise/assert statements, but the docstring does not have a "Raises" section
31+
DOC503: Function `test_builder` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
32+
--------------------
33+
tests/integration/test_server_creator_v1.py
34+
DOC501: Function `test_error_v1` has raise/assert statements, but the docstring does not have a "Raises" section
35+
DOC503: Function `test_error_v1` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
36+
DOC501: Function `test_playbook_v1` has raise/assert statements, but the docstring does not have a "Raises" section
37+
DOC503: Function `test_playbook_v1` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
38+
DOC501: Function `test_collection_v1` has raise/assert statements, but the docstring does not have a "Raises" section
39+
DOC503: Function `test_collection_v1` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
40+
--------------------
41+
tests/integration/test_server_creator_v2.py
42+
DOC501: Function `test_error_v2` has raise/assert statements, but the docstring does not have a "Raises" section
43+
DOC503: Function `test_error_v2` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
44+
DOC501: Function `test_playbook_v2` has raise/assert statements, but the docstring does not have a "Raises" section
45+
DOC503: Function `test_playbook_v2` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
46+
DOC501: Function `test_collection_v2` has raise/assert statements, but the docstring does not have a "Raises" section
47+
DOC503: Function `test_collection_v2` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
48+
--------------------
49+
tests/integration/test_server_info.py
50+
DOC501: Function `test_metadata` has raise/assert statements, but the docstring does not have a "Raises" section
51+
DOC503: Function `test_metadata` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
52+
--------------------
53+
tests/unit/test_basic.py
54+
DOC501: Function `test_main` has raise/assert statements, but the docstring does not have a "Raises" section
55+
DOC503: Function `test_main` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
56+
DOC501: Function `test_cli_main` has raise/assert statements, but the docstring does not have a "Raises" section
57+
DOC503: Function `test_cli_main` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
58+
--------------------
59+
tests/unit/test_server.py
60+
DOC501: Function `test_server_debug_options` has raise/assert statements, but the docstring does not have a "Raises" section
61+
DOC503: Function `test_server_debug_options` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
62+
--------------------
63+
tests/unit/test_server_utils.py
64+
DOC501: Function `test_validate_request_pass` has raise/assert statements, but the docstring does not have a "Raises" section
65+
DOC503: Function `test_validate_request_pass` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
66+
DOC501: Function `test_validate_request_fail` has raise/assert statements, but the docstring does not have a "Raises" section
67+
DOC503: Function `test_validate_request_fail` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
68+
DOC501: Function `test_validate_response_pass` has raise/assert statements, but the docstring does not have a "Raises" section
69+
DOC503: Function `test_validate_response_pass` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
70+
DOC501: Function `test_validate_response_fail` has raise/assert statements, but the docstring does not have a "Raises" section
71+
DOC503: Function `test_validate_response_fail` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError (implicitly from the `assert` statement)'].
72+
--------------------

.config/requirements-lock.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# This file was autogenerated by uv via the following command:
22
# tox run -e deps
33
ansible-builder==3.1.0
4-
ansible-compat==25.1.2
4+
ansible-compat==25.1.4
55
ansible-core==2.18.2
66
ansible-creator==25.0.0
77
ansible-dev-environment==25.1.0
8-
ansible-lint==25.1.2
8+
ansible-lint==25.1.3
99
ansible-navigator==25.1.0
1010
ansible-runner==2.4.0
1111
ansible-sign==0.1.1
@@ -34,7 +34,7 @@ lockfile==0.12.2
3434
markdown-it-py==3.0.0
3535
markupsafe==3.0.2
3636
mdurl==0.1.2
37-
molecule==25.2.0
37+
molecule==25.3.0
3838
mypy-extensions==1.0.0
3939
onigurumacffi==1.4.1
4040
packaging==24.2
@@ -63,7 +63,7 @@ subprocess-tee==0.4.2
6363
tox==4.24.1
6464
tox-ansible==25.1.0
6565
tzdata==2025.1
66-
virtualenv==20.29.1
66+
virtualenv==20.29.2
6767
wcmatch==10.0
6868
yamllint==1.35.1
6969
zipp==3.21.0

.config/requirements.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
ansible-builder
2+
ansible-compat>=25.1.4
23
ansible-creator>=24.10.1
34
ansible-dev-environment
4-
ansible-lint
5+
ansible-lint>=25.1.3
56
ansible-navigator
67
ansible-sign
7-
molecule
8+
molecule>=25.3.0
89
pytest-ansible
910
setuptools
1011
tox-ansible

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ repos:
4848
- id: shellcheck
4949

5050
- repo: https://github.com/rbubley/mirrors-prettier
51-
rev: v3.4.2
51+
rev: v3.5.1
5252
hooks:
5353
- id: prettier
5454
always_run: true
@@ -68,7 +68,7 @@ repos:
6868
- id: tox-ini-fmt
6969

7070
- repo: https://github.com/astral-sh/ruff-pre-commit
71-
rev: v0.9.4
71+
rev: v0.9.6
7272
hooks:
7373
- id: ruff
7474
args:
@@ -85,7 +85,7 @@ repos:
8585
name: Spell check with cspell
8686

8787
- repo: https://github.com/jsh9/pydoclint
88-
rev: "0.6.0"
88+
rev: "0.6.2"
8989
hooks:
9090
- id: pydoclint
9191
# This allows automatic reduction of the baseline file when needed.

0 commit comments

Comments
 (0)