-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaned up pip requirements/constraints files and safety policy files
Details: * Removed Makefile step that ensures pip is at least at version 9.0.1. * Added requirements-base.txt for specifying requirements for the base packages (setuptools, pip, wheel). * Renamed pip requirements/constraints files for consistency: - dev-requirements.txt to requirements-develop.txt - minimum-constraints.txt to minimum-constraints-develop.txt * Removed inclusion of requirements/constraints files for installation into files for development, and instead creaed a combined file where needed. This allows check_reqs to see all minimum constraints (it ignores the include directive). * Renamed safety policy file .safety-policy-all.yml to .safety-policy-develop.yml because it only covers packages needed for development (safety tool ignored the previously present inclusion of minimum-constraints-install.txt into minimum-constraints.txt). Signed-off-by: Andreas Maier <[email protected]>
- Loading branch information
1 parent
85abb79
commit 9870a29
Showing
9 changed files
with
58 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Pip requirements file for base packages for a Python env. | ||
# Base packages are those needed for pip and automatic package version detection. | ||
|
||
|
||
# Base dependencies (must be consistent with minimum-constraints-install.txt) | ||
|
||
pip>=23.3 | ||
setuptools>=66.1.0 | ||
setuptools-scm[toml]>=6.4.0 | ||
wheel>=0.38.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
# Pip requirements file for development dependencies. | ||
|
||
|
||
# Include install dependencies | ||
-r requirements.txt | ||
|
||
|
||
# Direct dependencies for development and indirect dependencies for development | ||
# that are needed for some reason (must be consistent with minimum-constraints.txt) | ||
# that are needed for some reason (must be consistent with minimum-constraints-develop.txt) | ||
|
||
# Ansible validate-modules (no imports, invoked via validate-modules script) | ||
mock>=2.0.0 | ||
|
@@ -104,7 +100,7 @@ Babel>=2.9.1 | |
git+https://github.com/andy-maier/[email protected]#egg=sphinx-versions | ||
|
||
# ansible-doc-extractor and it's dependent theme for docs generation (no imports, invoked via script): | ||
# The Makefile defines in doc_build on which Python versions docs are built. Keep in sync with Makefile and minimum-constraints.txt. | ||
# The Makefile defines in doc_build on which Python versions docs are built. Keep in sync with Makefile and minimum-constraints-develop.txt. | ||
ansible-doc-extractor>=0.1.8 | ||
antsibull-docs-parser>=1.0.0 | ||
|
||
|