antsibull-nox 0.6.0__tar.gz → 0.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/CHANGELOG.md +42 -25
  2. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/CHANGELOG.rst +14 -0
  3. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/PKG-INFO +1 -1
  4. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/changelogs/changelog.yaml +15 -0
  5. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs/changelog.md +27 -13
  6. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/__init__.py +1 -1
  7. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/ansible.py +6 -6
  8. antsibull_nox-0.7.0/src/antsibull_nox/data/get-package-versions.py +36 -0
  9. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/sessions/docs_check.py +7 -0
  10. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/sessions/utils.py +86 -0
  11. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/unit/test_ansible.py +1 -0
  12. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/.flake8 +0 -0
  13. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/.github/dependabot.yml +0 -0
  14. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/.github/patchback.yml +0 -0
  15. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/.github/workflows/nox.yml +0 -0
  16. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/.github/workflows/reusable-nox-matrix.yml +0 -0
  17. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/.github/workflows/test-gh-action.yml +0 -0
  18. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/.gitignore +0 -0
  19. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/.pylintrc.automated +0 -0
  20. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/.readthedocs.yml +0 -0
  21. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/CHANGELOG.md.license +0 -0
  22. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/CHANGELOG.rst.license +0 -0
  23. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/LICENSE +0 -0
  24. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/LICENSES/GPL-3.0-or-later.txt +0 -0
  25. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/README.md +0 -0
  26. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/REUSE.toml +0 -0
  27. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/action.yml +0 -0
  28. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/changelogs/changelog.yaml.license +0 -0
  29. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/changelogs/config.yaml +0 -0
  30. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/changelogs/fragments/.keep +0 -0
  31. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/codecov.yml +0 -0
  32. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs/changelog.md.license +0 -0
  33. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs/community.md +0 -0
  34. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs/config-file.md +0 -0
  35. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs/getting-started.md +0 -0
  36. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs/index.md +0 -0
  37. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs/introduction.md +0 -0
  38. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs/nox-in-ci.md +0 -0
  39. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs/reference.md +0 -0
  40. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs/troubleshooting.md +0 -0
  41. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/docs-requirements.txt +0 -0
  42. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/mkdocs.yml +0 -0
  43. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/noxfile.py +0 -0
  44. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/pyproject.toml +0 -0
  45. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/_pydantic.py +0 -0
  46. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/cli.py +0 -0
  47. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/collection/__init__.py +0 -0
  48. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/collection/build.py +0 -0
  49. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/collection/data.py +0 -0
  50. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/collection/extract.py +0 -0
  51. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/collection/install.py +0 -0
  52. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/collection/search.py +0 -0
  53. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/collection/utils.py +0 -0
  54. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/config.py +0 -0
  55. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/action-groups.py +0 -0
  56. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/antsibull-nox-lint-config.py +0 -0
  57. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/antsibull_nox_data_util.py +0 -0
  58. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/file-yamllint.py +0 -0
  59. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/license-check.py +0 -0
  60. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/license-check.py.license +0 -0
  61. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/no-trailing-whitespace.py +0 -0
  62. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/no-unwanted-files.py +0 -0
  63. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/plugin-yamllint.py +0 -0
  64. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/rst-extra.py +0 -0
  65. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data/rst-yamllint.py +0 -0
  66. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/data_util.py +0 -0
  67. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/init.py +0 -0
  68. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/interpret_config.py +0 -0
  69. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/lint_config.py +0 -0
  70. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/paths.py +0 -0
  71. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/py.typed +0 -0
  72. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/python.py +0 -0
  73. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/sessions/__init__.py +0 -0
  74. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/sessions/ansible_lint.py +0 -0
  75. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/sessions/ansible_test.py +0 -0
  76. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/sessions/build_import_check.py +0 -0
  77. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/sessions/collections.py +0 -0
  78. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/sessions/extra_checks.py +0 -0
  79. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/sessions/license_check.py +0 -0
  80. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/sessions/lint.py +0 -0
  81. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/src/antsibull_nox/utils.py +0 -0
  82. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/.keep +0 -0
  83. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/needs-network/test_ansible_core.py +0 -0
  84. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/test-collection/antsibull-nox.toml +0 -0
  85. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/test-collection/galaxy.yml +0 -0
  86. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/test-collection/noxfile.py +0 -0
  87. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/test-collection/plugins/modules/test.py +0 -0
  88. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/unit/__init__.py +0 -0
  89. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/unit/test_collection.py +0 -0
  90. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/unit/test_python.py +0 -0
  91. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/unit/test_utils.py +0 -0
  92. {antsibull_nox-0.6.0 → antsibull_nox-0.7.0}/tests/unit/utils.py +0 -0
@@ -2,46 +2,63 @@
2
2
 
3
3
  **Topics**
4
4
 
5
- - <a href="#v0-6-0">v0\.6\.0</a>
5
+ - <a href="#v0-7-0">v0\.7\.0</a>
6
6
  - <a href="#release-summary">Release Summary</a>
7
7
  - <a href="#minor-changes">Minor Changes</a>
8
- - <a href="#bugfixes">Bugfixes</a>
9
- - <a href="#v0-5-0">v0\.5\.0</a>
8
+ - <a href="#v0-6-0">v0\.6\.0</a>
10
9
  - <a href="#release-summary-1">Release Summary</a>
11
10
  - <a href="#minor-changes-1">Minor Changes</a>
11
+ - <a href="#bugfixes">Bugfixes</a>
12
+ - <a href="#v0-5-0">v0\.5\.0</a>
13
+ - <a href="#release-summary-2">Release Summary</a>
14
+ - <a href="#minor-changes-2">Minor Changes</a>
12
15
  - <a href="#bugfixes-1">Bugfixes</a>
13
16
  - <a href="#v0-4-0">v0\.4\.0</a>
14
- - <a href="#release-summary-2">Release Summary</a>
17
+ - <a href="#release-summary-3">Release Summary</a>
15
18
  - <a href="#major-changes">Major Changes</a>
16
- - <a href="#minor-changes-2">Minor Changes</a>
19
+ - <a href="#minor-changes-3">Minor Changes</a>
17
20
  - <a href="#bugfixes-2">Bugfixes</a>
18
21
  - <a href="#v0-3-0">v0\.3\.0</a>
19
- - <a href="#release-summary-3">Release Summary</a>
20
- - <a href="#minor-changes-3">Minor Changes</a>
22
+ - <a href="#release-summary-4">Release Summary</a>
23
+ - <a href="#minor-changes-4">Minor Changes</a>
21
24
  - <a href="#removed-features-previously-deprecated">Removed Features \(previously deprecated\)</a>
22
25
  - <a href="#bugfixes-3">Bugfixes</a>
23
26
  - <a href="#v0-2-0">v0\.2\.0</a>
24
- - <a href="#release-summary-4">Release Summary</a>
27
+ - <a href="#release-summary-5">Release Summary</a>
25
28
  - <a href="#major-changes-1">Major Changes</a>
26
- - <a href="#minor-changes-4">Minor Changes</a>
29
+ - <a href="#minor-changes-5">Minor Changes</a>
27
30
  - <a href="#deprecated-features">Deprecated Features</a>
28
31
  - <a href="#v0-1-0">v0\.1\.0</a>
29
- - <a href="#release-summary-5">Release Summary</a>
30
- - <a href="#minor-changes-5">Minor Changes</a>
32
+ - <a href="#release-summary-6">Release Summary</a>
33
+ - <a href="#minor-changes-6">Minor Changes</a>
31
34
  - <a href="#breaking-changes--porting-guide">Breaking Changes / Porting Guide</a>
32
35
  - <a href="#bugfixes-4">Bugfixes</a>
33
36
  - <a href="#v0-0-1">v0\.0\.1</a>
34
- - <a href="#release-summary-6">Release Summary</a>
37
+ - <a href="#release-summary-7">Release Summary</a>
38
+
39
+ <a id="v0-7-0"></a>
40
+ ## v0\.7\.0
41
+
42
+ <a id="release-summary"></a>
43
+ ### Release Summary
44
+
45
+ Feature release\.
46
+
47
+ <a id="minor-changes"></a>
48
+ ### Minor Changes
49
+
50
+ * Antsibull\-nox\'s ansible\-core <code>devel</code> and <code>milestone</code> branch versions have been updated to 2\.20\. This means that <code>stable\-2\.19</code> will now be added to CI matrices if <code>max\_version</code> has not been explicitly specified \([https\://github\.com/ansible\-community/antsibull\-nox/pull/91](https\://github\.com/ansible\-community/antsibull\-nox/pull/91)\)\.
51
+ * The <code>docs\-check</code> session now also passes the new <code>\-\-check\-extra\-docs\-refs</code> parameter to <code>antsibull\-docs lint\-collection\-docs</code> for antsibull\-docs \>\= 2\.18\.0 \([https\://github\.com/ansible\-community/antsibull\-nox/pull/90](https\://github\.com/ansible\-community/antsibull\-nox/pull/90)\)\.
35
52
 
36
53
  <a id="v0-6-0"></a>
37
54
  ## v0\.6\.0
38
55
 
39
- <a id="release-summary"></a>
56
+ <a id="release-summary-1"></a>
40
57
  ### Release Summary
41
58
 
42
59
  Bugfix and feature release\.
43
60
 
44
- <a id="minor-changes"></a>
61
+ <a id="minor-changes-1"></a>
45
62
  ### Minor Changes
46
63
 
47
64
  * Add new extra check <code>no\-trailing\-whitespace</code> \([https\://github\.com/ansible\-community/antsibull\-nox/pull/85](https\://github\.com/ansible\-community/antsibull\-nox/pull/85)\)\.
@@ -62,12 +79,12 @@ Bugfix and feature release\.
62
79
  <a id="v0-5-0"></a>
63
80
  ## v0\.5\.0
64
81
 
65
- <a id="release-summary-1"></a>
82
+ <a id="release-summary-2"></a>
66
83
  ### Release Summary
67
84
 
68
85
  Feature and bugfix release\.
69
86
 
70
- <a id="minor-changes-1"></a>
87
+ <a id="minor-changes-2"></a>
71
88
  ### Minor Changes
72
89
 
73
90
  * Allow to pass environment variables as Ansible variables for integration tests with the new <code>ansible\_vars\_from\_env\_vars</code> option for <code>sessions\.ansible\_test\_integration\_w\_default\_container</code> \([https\://github\.com/ansible\-community/antsibull\-nox/pull/78](https\://github\.com/ansible\-community/antsibull\-nox/pull/78)\)\.
@@ -80,7 +97,7 @@ Feature and bugfix release\.
80
97
  <a id="v0-4-0"></a>
81
98
  ## v0\.4\.0
82
99
 
83
- <a id="release-summary-2"></a>
100
+ <a id="release-summary-3"></a>
84
101
  ### Release Summary
85
102
 
86
103
  Feature and bugfix release\.
@@ -90,7 +107,7 @@ Feature and bugfix release\.
90
107
 
91
108
  * Required collections can now be installed from different sources per depending on the ansible\-core version \([https\://github\.com/ansible\-community/antsibull\-nox/pull/76](https\://github\.com/ansible\-community/antsibull\-nox/pull/76)\)\.
92
109
 
93
- <a id="minor-changes-2"></a>
110
+ <a id="minor-changes-3"></a>
94
111
  ### Minor Changes
95
112
 
96
113
  * Capture mypy and pylint errors to report paths of files relative to collection\'s root\, instead of relative to the virtual <code>ansible\_collections</code> directory \([https\://github\.com/ansible\-community/antsibull\-nox/pull/75](https\://github\.com/ansible\-community/antsibull\-nox/pull/75)\)\.
@@ -107,7 +124,7 @@ Feature and bugfix release\.
107
124
  <a id="v0-3-0"></a>
108
125
  ## v0\.3\.0
109
126
 
110
- <a id="release-summary-3"></a>
127
+ <a id="release-summary-4"></a>
111
128
  ### Release Summary
112
129
 
113
130
  Feature release that is stabilizing the API\.
@@ -115,7 +132,7 @@ Feature release that is stabilizing the API\.
115
132
  All noxfiles and configs using this version should still work with antsibull\-nox 1\.0\.0\,
116
133
  unless a critical problem is found that cannot be solved in any other way\.
117
134
 
118
- <a id="minor-changes-3"></a>
135
+ <a id="minor-changes-4"></a>
119
136
  ### Minor Changes
120
137
 
121
138
  * Add <code>antsibull\-nox init</code> command that creates a <code>noxfile\.py</code> and <code>antsibull\-nox\.tomll</code> to get started \([https\://github\.com/ansible\-community/antsibull\-nox/pull/58](https\://github\.com/ansible\-community/antsibull\-nox/pull/58)\)\.
@@ -145,7 +162,7 @@ unless a critical problem is found that cannot be solved in any other way\.
145
162
  <a id="v0-2-0"></a>
146
163
  ## v0\.2\.0
147
164
 
148
- <a id="release-summary-4"></a>
165
+ <a id="release-summary-5"></a>
149
166
  ### Release Summary
150
167
 
151
168
  Major extension and overhaul with many breaking changes\. The next minor release is expected to bring more stabilization\.
@@ -155,7 +172,7 @@ Major extension and overhaul with many breaking changes\. The next minor release
155
172
 
156
173
  * There is now a new function <code>antsibull\_nox\.load\_antsibull\_nox\_toml\(\)</code> which loads <code>antsibull\-nox\.toml</code> and creates configuration and sessions from it\. Calling other functionality from <code>antsibull\_nox</code> in <code>noxfile\.py</code> is only necessary for creating own specialized sessions\, or ansible\-test sessions that cannot be created with the <code>antsibull\_nox\.add\_all\_ansible\_test\_\*\_test\_sessions\*\(\)</code> type functions \([https\://github\.com/ansible\-community/antsibull\-nox/pull/50](https\://github\.com/ansible\-community/antsibull\-nox/pull/50)\, [https\://github\.com/ansible\-community/antsibull\-nox/issues/34](https\://github\.com/ansible\-community/antsibull\-nox/issues/34)\)\.
157
174
 
158
- <a id="minor-changes-4"></a>
175
+ <a id="minor-changes-5"></a>
159
176
  ### Minor Changes
160
177
 
161
178
  * Add descriptions to generated sessions that are shown when running <code>nox \-\-list</code> \([https\://github\.com/ansible\-community/antsibull\-nox/pull/31](https\://github\.com/ansible\-community/antsibull\-nox/pull/31)\)\.
@@ -181,12 +198,12 @@ Major extension and overhaul with many breaking changes\. The next minor release
181
198
  <a id="v0-1-0"></a>
182
199
  ## v0\.1\.0
183
200
 
184
- <a id="release-summary-5"></a>
201
+ <a id="release-summary-6"></a>
185
202
  ### Release Summary
186
203
 
187
204
  Feature release\.
188
205
 
189
- <a id="minor-changes-5"></a>
206
+ <a id="minor-changes-6"></a>
190
207
  ### Minor Changes
191
208
 
192
209
  * A <code>build\-import\-check</code> session that builds and tries to import the collection with Galaxy Importer can be added with <code>add\_build\_import\_check\(\)</code> \([https\://github\.com/ansible\-community/antsibull\-nox/issues/15](https\://github\.com/ansible\-community/antsibull\-nox/issues/15)\, [https\://github\.com/ansible\-community/antsibull\-nox/pull/17](https\://github\.com/ansible\-community/antsibull\-nox/pull/17)\)\.
@@ -213,7 +230,7 @@ Feature release\.
213
230
  <a id="v0-0-1"></a>
214
231
  ## v0\.0\.1
215
232
 
216
- <a id="release-summary-6"></a>
233
+ <a id="release-summary-7"></a>
217
234
  ### Release Summary
218
235
 
219
236
  Initial alpha release\.
@@ -4,6 +4,20 @@ Antsibull Nox Helper Release Notes
4
4
 
5
5
  .. contents:: Topics
6
6
 
7
+ v0.7.0
8
+ ======
9
+
10
+ Release Summary
11
+ ---------------
12
+
13
+ Feature release.
14
+
15
+ Minor Changes
16
+ -------------
17
+
18
+ - Antsibull-nox's ansible-core ``devel`` and ``milestone`` branch versions have been updated to 2.20. This means that ``stable-2.19`` will now be added to CI matrices if ``max_version`` has not been explicitly specified (https://github.com/ansible-community/antsibull-nox/pull/91).
19
+ - The ``docs-check`` session now also passes the new ``--check-extra-docs-refs`` parameter to ``antsibull-docs lint-collection-docs`` for antsibull-docs >= 2.18.0 (https://github.com/ansible-community/antsibull-nox/pull/90).
20
+
7
21
  v0.6.0
8
22
  ======
9
23
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: antsibull-nox
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Summary: Changelog tool for Ansible-core and Ansible collections
5
5
  Project-URL: Documentation, https://ansible.readthedocs.io/projects/antsibull-nox/
6
6
  Project-URL: Source code, https://github.com/ansible-community/antsibull-nox/
@@ -253,3 +253,18 @@ releases:
253
253
  - 87-yamllint-rst.yml
254
254
  - 88-docs-check.yml
255
255
  release_date: '2025-06-18'
256
+ 0.7.0:
257
+ changes:
258
+ minor_changes:
259
+ - Antsibull-nox's ansible-core ``devel`` and ``milestone`` branch versions
260
+ have been updated to 2.20. This means that ``stable-2.19`` will now be added
261
+ to CI matrices if ``max_version`` has not been explicitly specified (https://github.com/ansible-community/antsibull-nox/pull/91).
262
+ - The ``docs-check`` session now also passes the new ``--check-extra-docs-refs``
263
+ parameter to ``antsibull-docs lint-collection-docs`` for antsibull-docs
264
+ >= 2.18.0 (https://github.com/ansible-community/antsibull-nox/pull/90).
265
+ release_summary: Feature release.
266
+ fragments:
267
+ - 0.7.0.yml
268
+ - 90-antsibull-docs-lint.yml
269
+ - 91-ansible-core-2.19.yml
270
+ release_date: '2025-07-01'
@@ -1,14 +1,28 @@
1
1
  # Antsibull Nox Helper Release Notes
2
2
 
3
+ <a id="v0-7-0"></a>
4
+ ## v0\.7\.0
5
+
6
+ <a id="release-summary"></a>
7
+ ### Release Summary
8
+
9
+ Feature release\.
10
+
11
+ <a id="minor-changes"></a>
12
+ ### Minor Changes
13
+
14
+ * Antsibull\-nox\'s ansible\-core <code>devel</code> and <code>milestone</code> branch versions have been updated to 2\.20\. This means that <code>stable\-2\.19</code> will now be added to CI matrices if <code>max\_version</code> has not been explicitly specified \([https\://github\.com/ansible\-community/antsibull\-nox/pull/91](https\://github\.com/ansible\-community/antsibull\-nox/pull/91)\)\.
15
+ * The <code>docs\-check</code> session now also passes the new <code>\-\-check\-extra\-docs\-refs</code> parameter to <code>antsibull\-docs lint\-collection\-docs</code> for antsibull\-docs \>\= 2\.18\.0 \([https\://github\.com/ansible\-community/antsibull\-nox/pull/90](https\://github\.com/ansible\-community/antsibull\-nox/pull/90)\)\.
16
+
3
17
  <a id="v0-6-0"></a>
4
18
  ## v0\.6\.0
5
19
 
6
- <a id="release-summary"></a>
20
+ <a id="release-summary-1"></a>
7
21
  ### Release Summary
8
22
 
9
23
  Bugfix and feature release\.
10
24
 
11
- <a id="minor-changes"></a>
25
+ <a id="minor-changes-1"></a>
12
26
  ### Minor Changes
13
27
 
14
28
  * Add new extra check <code>no\-trailing\-whitespace</code> \([https\://github\.com/ansible\-community/antsibull\-nox/pull/85](https\://github\.com/ansible\-community/antsibull\-nox/pull/85)\)\.
@@ -29,12 +43,12 @@ Bugfix and feature release\.
29
43
  <a id="v0-5-0"></a>
30
44
  ## v0\.5\.0
31
45
 
32
- <a id="release-summary-1"></a>
46
+ <a id="release-summary-2"></a>
33
47
  ### Release Summary
34
48
 
35
49
  Feature and bugfix release\.
36
50
 
37
- <a id="minor-changes-1"></a>
51
+ <a id="minor-changes-2"></a>
38
52
  ### Minor Changes
39
53
 
40
54
  * Allow to pass environment variables as Ansible variables for integration tests with the new <code>ansible\_vars\_from\_env\_vars</code> option for <code>sessions\.ansible\_test\_integration\_w\_default\_container</code> \([https\://github\.com/ansible\-community/antsibull\-nox/pull/78](https\://github\.com/ansible\-community/antsibull\-nox/pull/78)\)\.
@@ -47,7 +61,7 @@ Feature and bugfix release\.
47
61
  <a id="v0-4-0"></a>
48
62
  ## v0\.4\.0
49
63
 
50
- <a id="release-summary-2"></a>
64
+ <a id="release-summary-3"></a>
51
65
  ### Release Summary
52
66
 
53
67
  Feature and bugfix release\.
@@ -57,7 +71,7 @@ Feature and bugfix release\.
57
71
 
58
72
  * Required collections can now be installed from different sources per depending on the ansible\-core version \([https\://github\.com/ansible\-community/antsibull\-nox/pull/76](https\://github\.com/ansible\-community/antsibull\-nox/pull/76)\)\.
59
73
 
60
- <a id="minor-changes-2"></a>
74
+ <a id="minor-changes-3"></a>
61
75
  ### Minor Changes
62
76
 
63
77
  * Capture mypy and pylint errors to report paths of files relative to collection\'s root\, instead of relative to the virtual <code>ansible\_collections</code> directory \([https\://github\.com/ansible\-community/antsibull\-nox/pull/75](https\://github\.com/ansible\-community/antsibull\-nox/pull/75)\)\.
@@ -74,7 +88,7 @@ Feature and bugfix release\.
74
88
  <a id="v0-3-0"></a>
75
89
  ## v0\.3\.0
76
90
 
77
- <a id="release-summary-3"></a>
91
+ <a id="release-summary-4"></a>
78
92
  ### Release Summary
79
93
 
80
94
  Feature release that is stabilizing the API\.
@@ -82,7 +96,7 @@ Feature release that is stabilizing the API\.
82
96
  All noxfiles and configs using this version should still work with antsibull\-nox 1\.0\.0\,
83
97
  unless a critical problem is found that cannot be solved in any other way\.
84
98
 
85
- <a id="minor-changes-3"></a>
99
+ <a id="minor-changes-4"></a>
86
100
  ### Minor Changes
87
101
 
88
102
  * Add <code>antsibull\-nox init</code> command that creates a <code>noxfile\.py</code> and <code>antsibull\-nox\.tomll</code> to get started \([https\://github\.com/ansible\-community/antsibull\-nox/pull/58](https\://github\.com/ansible\-community/antsibull\-nox/pull/58)\)\.
@@ -112,7 +126,7 @@ unless a critical problem is found that cannot be solved in any other way\.
112
126
  <a id="v0-2-0"></a>
113
127
  ## v0\.2\.0
114
128
 
115
- <a id="release-summary-4"></a>
129
+ <a id="release-summary-5"></a>
116
130
  ### Release Summary
117
131
 
118
132
  Major extension and overhaul with many breaking changes\. The next minor release is expected to bring more stabilization\.
@@ -122,7 +136,7 @@ Major extension and overhaul with many breaking changes\. The next minor release
122
136
 
123
137
  * There is now a new function <code>antsibull\_nox\.load\_antsibull\_nox\_toml\(\)</code> which loads <code>antsibull\-nox\.toml</code> and creates configuration and sessions from it\. Calling other functionality from <code>antsibull\_nox</code> in <code>noxfile\.py</code> is only necessary for creating own specialized sessions\, or ansible\-test sessions that cannot be created with the <code>antsibull\_nox\.add\_all\_ansible\_test\_\*\_test\_sessions\*\(\)</code> type functions \([https\://github\.com/ansible\-community/antsibull\-nox/pull/50](https\://github\.com/ansible\-community/antsibull\-nox/pull/50)\, [https\://github\.com/ansible\-community/antsibull\-nox/issues/34](https\://github\.com/ansible\-community/antsibull\-nox/issues/34)\)\.
124
138
 
125
- <a id="minor-changes-4"></a>
139
+ <a id="minor-changes-5"></a>
126
140
  ### Minor Changes
127
141
 
128
142
  * Add descriptions to generated sessions that are shown when running <code>nox \-\-list</code> \([https\://github\.com/ansible\-community/antsibull\-nox/pull/31](https\://github\.com/ansible\-community/antsibull\-nox/pull/31)\)\.
@@ -148,12 +162,12 @@ Major extension and overhaul with many breaking changes\. The next minor release
148
162
  <a id="v0-1-0"></a>
149
163
  ## v0\.1\.0
150
164
 
151
- <a id="release-summary-5"></a>
165
+ <a id="release-summary-6"></a>
152
166
  ### Release Summary
153
167
 
154
168
  Feature release\.
155
169
 
156
- <a id="minor-changes-5"></a>
170
+ <a id="minor-changes-6"></a>
157
171
  ### Minor Changes
158
172
 
159
173
  * A <code>build\-import\-check</code> session that builds and tries to import the collection with Galaxy Importer can be added with <code>add\_build\_import\_check\(\)</code> \([https\://github\.com/ansible\-community/antsibull\-nox/issues/15](https\://github\.com/ansible\-community/antsibull\-nox/issues/15)\, [https\://github\.com/ansible\-community/antsibull\-nox/pull/17](https\://github\.com/ansible\-community/antsibull\-nox/pull/17)\)\.
@@ -180,7 +194,7 @@ Feature release\.
180
194
  <a id="v0-0-1"></a>
181
195
  ## v0\.0\.1
182
196
 
183
- <a id="release-summary-6"></a>
197
+ <a id="release-summary-7"></a>
184
198
  ### Release Summary
185
199
 
186
200
  Initial alpha release\.
@@ -17,7 +17,7 @@ from .config import (
17
17
  from .interpret_config import interpret_config
18
18
  from .sessions.ansible_test import add_ansible_test_session
19
19
 
20
- __version__ = "0.6.0"
20
+ __version__ = "0.7.0"
21
21
 
22
22
 
23
23
  def load_antsibull_nox_toml() -> None:
@@ -87,13 +87,13 @@ _SUPPORTED_CORE_VERSIONS: dict[Version, AnsibleCoreInfo] = {
87
87
  ["3.11", "3.12", "3.13"],
88
88
  ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
89
89
  ],
90
+ "2.20": [
91
+ ["3.11", "3.12", "3.13"],
92
+ ["3.9", "3.10", "3.11", "3.12", "3.13"],
93
+ ],
90
94
  # The following might need updates. Look for the "``ansible-core`` support matrix" table in:
91
95
  # https://github.com/ansible/ansible-documentation/blob/devel/docs/docsite/rst/reference_appendices/release_and_maintenance.rst?plain=1
92
96
  # It contains commented-out entries for future ansible-core versions.
93
- "2.20": [
94
- ["3.12", "3.13", "3.14"],
95
- ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"],
96
- ],
97
97
  "2.21": [
98
98
  ["3.12", "3.13", "3.14"],
99
99
  ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"],
@@ -118,8 +118,8 @@ _SUPPORTED_CORE_VERSIONS: dict[Version, AnsibleCoreInfo] = {
118
118
  }
119
119
 
120
120
  _MIN_SUPPORTED_VERSION = Version.parse("2.9")
121
- _CURRENT_DEVEL_VERSION = Version.parse("2.19")
122
- _CURRENT_MILESTONE_VERSION = Version.parse("2.19")
121
+ _CURRENT_DEVEL_VERSION = Version.parse("2.20")
122
+ _CURRENT_MILESTONE_VERSION = Version.parse("2.20")
123
123
 
124
124
 
125
125
  def get_ansible_core_info(
@@ -0,0 +1,36 @@
1
+ #!/usr/bin/env python
2
+
3
+ # Copyright (c) 2025, Felix Fontein <felix@fontein.de>
4
+ # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt
5
+ # or https://www.gnu.org/licenses/gpl-3.0.txt)
6
+ # SPDX-License-Identifier: GPL-3.0-or-later
7
+
8
+ """Retrieve the version of one or more packages."""
9
+
10
+ from __future__ import annotations
11
+
12
+ import json
13
+ import sys
14
+ from importlib.metadata import PackageNotFoundError, version
15
+
16
+ from antsibull_nox_data_util import get_list_of_strings, setup # type: ignore
17
+
18
+
19
+ def main() -> int:
20
+ """Main entry point."""
21
+ paths, extra_data = setup()
22
+
23
+ packages = get_list_of_strings(extra_data, "packages", default=[])
24
+
25
+ result: dict[str, str | None] = {}
26
+ for package in packages:
27
+ try:
28
+ result[package] = version(package)
29
+ except PackageNotFoundError:
30
+ result[package] = None
31
+ print(json.dumps(result))
32
+ return 0
33
+
34
+
35
+ if __name__ == "__main__":
36
+ sys.exit(main())
@@ -23,7 +23,9 @@ from .collections import (
23
23
  prepare_collections,
24
24
  )
25
25
  from .utils import (
26
+ get_package_version,
26
27
  install,
28
+ is_new_enough,
27
29
  run_bare_script,
28
30
  )
29
31
 
@@ -93,6 +95,9 @@ def add_docs_check(
93
95
  def execute_antsibull_docs(
94
96
  session: nox.Session, prepared_collections: CollectionSetup
95
97
  ) -> None:
98
+ antsibull_docs_version = get_package_version(session, "antsibull-docs")
99
+ if antsibull_docs_version is not None:
100
+ session.log(f"Detected antsibull-docs version {antsibull_docs_version}")
96
101
  with session.chdir(prepared_collections.current_path):
97
102
  collections_path = f"{prepared_collections.current_place}"
98
103
  command = [
@@ -104,6 +109,8 @@ def add_docs_check(
104
109
  ]
105
110
  if validate_collection_refs:
106
111
  command.extend(["--validate-collection-refs", validate_collection_refs])
112
+ if is_new_enough(antsibull_docs_version, min_version="2.18.0"):
113
+ command.append("--check-extra-docs-refs")
107
114
  session.run(*command, env={"ANSIBLE_COLLECTIONS_PATH": collections_path})
108
115
 
109
116
  def docs_check(session: nox.Session) -> None:
@@ -10,6 +10,7 @@ Utils for creating nox sessions.
10
10
 
11
11
  from __future__ import annotations
12
12
 
13
+ import json
13
14
  import logging
14
15
  import os
15
16
  import sys
@@ -19,6 +20,8 @@ from pathlib import Path
19
20
 
20
21
  import nox
21
22
  from nox.logger import OUTPUT as nox_OUTPUT
23
+ from packaging.version import InvalidVersion
24
+ from packaging.version import parse as parse_version
22
25
 
23
26
  from ..data_util import prepare_data_script
24
27
  from ..paths import (
@@ -151,6 +154,86 @@ def run_bare_script(
151
154
  )
152
155
 
153
156
 
157
+ def get_package_versions(
158
+ session: nox.Session,
159
+ /,
160
+ packages: list[str] | str,
161
+ *,
162
+ use_session_python: bool = True,
163
+ ) -> None | dict[str, str | None]:
164
+ """
165
+ Retrieve the versions of one or more Python packages.
166
+ """
167
+ name = "get-package-versions"
168
+ if isinstance(packages, str):
169
+ packages = [packages]
170
+ if not packages:
171
+ return {}
172
+ data = prepare_data_script(
173
+ session,
174
+ base_name=name,
175
+ paths=[],
176
+ extra_data={
177
+ "packages": packages,
178
+ },
179
+ )
180
+ python = sys.executable
181
+ env = {}
182
+ if use_session_python:
183
+ python = "python"
184
+ env["PYTHONPATH"] = str(find_data_directory())
185
+ result = session.run(
186
+ python,
187
+ find_data_directory() / f"{name}.py",
188
+ "--data",
189
+ data,
190
+ external=True,
191
+ silent=True,
192
+ env=env,
193
+ )
194
+ if result is None:
195
+ return None
196
+ return json.loads(result)
197
+
198
+
199
+ def get_package_version(
200
+ session: nox.Session,
201
+ /,
202
+ package: str,
203
+ *,
204
+ use_session_python: bool = True,
205
+ ) -> str | None:
206
+ """
207
+ Retrieve a Python package's version.
208
+ """
209
+ result = get_package_versions(
210
+ session, package, use_session_python=use_session_python
211
+ )
212
+ return None if result is None else result.get(package)
213
+
214
+
215
+ def is_new_enough(actual_version: str | None, *, min_version: str) -> bool:
216
+ """
217
+ Given a program version, compares it to the min_version.
218
+ If the program version is not given, it is assumed to be "new enough".
219
+ """
220
+ if actual_version is None:
221
+ return True
222
+ try:
223
+ act_v = parse_version(actual_version)
224
+ except InvalidVersion as exc:
225
+ raise ValueError(
226
+ f"Cannot parse actual version {actual_version!r}: {exc}"
227
+ ) from exc
228
+ try:
229
+ min_v = parse_version(min_version)
230
+ except InvalidVersion as exc:
231
+ raise ValueError(
232
+ f"Cannot parse minimum version {min_version!r}: {exc}"
233
+ ) from exc
234
+ return act_v >= min_v
235
+
236
+
154
237
  def compose_description(
155
238
  *,
156
239
  prefix: str | dict[t.Literal["one", "other"], str] | None = None,
@@ -197,8 +280,11 @@ def compose_description(
197
280
  __all__ = [
198
281
  "ci_group",
199
282
  "compose_description",
283
+ "get_package_version",
284
+ "get_package_versions",
200
285
  "get_registered_sessions",
201
286
  "install",
287
+ "is_new_enough",
202
288
  "nox_has_verbosity",
203
289
  "register",
204
290
  "run_bare_script",
@@ -178,6 +178,7 @@ GET_SUPPORTED_CORE_VERSIONS_DATA: list[
178
178
  Version.parse("2.16"),
179
179
  Version.parse("2.17"),
180
180
  Version.parse("2.18"),
181
+ Version.parse("2.19"),
181
182
  ],
182
183
  ),
183
184
  (
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes