Commit 7c52ed0
chore: Add check for platform versions (#4584)
This pull request introduces several updates to platform compatibility
management and dependency constraints, as well as minor configuration
changes. The most significant changes are the addition of explicit
package version rules for Renovate, updates to dependency versions, and
the inclusion of a new pre-commit hook for platform constraint checking.
**Platform compatibility and dependency management:**
* Added explicit `packageRules` in `renovate.json` to restrict versions
of key dependencies (e.g., `ansible-core`, `cffi`, `django`,
`importlib-metadata`, `jsonschema`, `packaging`, `pyyaml`,
`python-gnupg`, `setuptools`) for platform compatibility.
* Updated the `packaging` dependency version in `pyproject.toml` to
require at least `23.2` instead of `25.0`, aligning with the new
Renovate constraint.
**Pre-commit and configuration updates:**
* Added a new pre-commit hook `check-platform-constraints` from
`ansible/team-devtools` to enforce platform compatibility during
development.
**Minor dictionary and housekeeping updates:**
* Removed the word `levelname` from `.config/dictionary.txt` to clean up
the custom dictionary.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent 925e0f3 commit 7c52ed0
4 files changed
+54
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
4 | 51 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments