-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CASMPET-7271: Remove requests dependencies from virtual environment (#…
…627) * CASMPET-7271: Remove requests dependencies from virtual environment * Make spec file more concise by moving duplicated requirements to separate file
- Loading branch information
1 parent
c02bfc5
commit a5b9c4a
Showing
4 changed files
with
95 additions
and
91 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
certifi==2024.8.30 | ||
charset-normalizer>=2.0.12,<2.1 | ||
colorama>=0.4.5,<0.5 | ||
idna>=2.6,<2.7 | ||
PyYAML>=6.0.1,<6.1 | ||
# CASMPET-7271: This requests version is specified to match the version in the base NCN images, | ||
# to avoid version conflicts | ||
requests==2.25.1 | ||
requests-retry-session>=0.1,<0.2 | ||
urllib3>=1.26,<1.27 |
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,66 @@ | ||
# | ||
# MIT License | ||
# | ||
# (C) Copyright 2020-2024 Hewlett Packard Enterprise Development LP | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a | ||
# copy of this software and associated documentation files (the "Software"), | ||
# to deal in the Software without restriction, including without limitation | ||
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
# and/or sell copies of the Software, and to permit persons to whom the | ||
# Software is furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included | ||
# in all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
# OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
# This is just a list of requirements (but not build requirements) for the csm-testing RPM | ||
# It is included by the main csm-testing spec file. Any variables/macros used in here are | ||
# defined in the main spec file | ||
|
||
# Many of these requires are for various commands/tools used in shell scripts | ||
Requires: awk | ||
Requires: bash | ||
Requires: bind-utils | ||
Requires: coreutils | ||
Requires: curl | ||
Requires: diff | ||
Requires: findutils | ||
Requires: goss | ||
Requires: grep | ||
Requires: hostname | ||
|
||
# yq version 3 is used, which is provided by hpe-yq 4 or 3 <= yq < 4 | ||
Requires: ((hpe-yq >= 4) or ((yq >= 3) and (yq < 4))) | ||
|
||
Requires: ipmitool | ||
Requires: iproute2 | ||
Requires: jq >= 1.6 | ||
Requires: (kubectl or kubernetes-client-provider) | ||
Requires: nmap | ||
Requires: openssh-clients | ||
Requires: pdsh | ||
Requires: rpm >= 4.13 | ||
Requires: sed | ||
Requires: systemd | ||
Requires: util-linux | ||
Requires: util-linux-systemd | ||
|
||
Requires: (python%{python_version_nodots}-base or python3-base >= %{py_version}) | ||
|
||
Requires: %{py_rpm_prefix}-boto3 | ||
Requires: %{py_rpm_prefix}-botocore | ||
Requires: %{py_rpm_prefix}-certifi | ||
Requires: %{py_rpm_prefix}-chardet | ||
Requires: %{py_rpm_prefix}-idna | ||
Requires: %{py_rpm_prefix}-kubernetes | ||
Requires: %{py_rpm_prefix}-rados | ||
Requires: %{py_rpm_prefix}-requests | ||
Requires: %{py_rpm_prefix}-urllib3 |
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