Skip to content

Commit

Permalink
Bump cryptography to avoid security alerts
Browse files Browse the repository at this point in the history
Based on the Dependabot the cryptography has two minor security alerts
which can be solved by upgrading the version. Because the cryptography
package is dependency only for Ansible plugin, this commit will move it
the plugin setup.

Reference: #5769
Signed-off-by: Jan Richter <jarichte@redhat.com>
  • Loading branch information
richtja committed Oct 26, 2023
1 parent dc0ff7b commit 0fb8d41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 6 additions & 1 deletion optional_plugins/ansible/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@
url="http://avocado-framework.github.io/",
packages=packages,
include_package_data=True,
install_requires=[f"avocado-framework=={VERSION}", "ansible-core"],
install_requires=[
f"avocado-framework=={VERSION}",
"cffi",
"pycparser",
"ansible-core",
],
test_suite="tests",
entry_points={
"console_scripts": [
Expand Down
3 changes: 0 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,3 @@ jsonschema==3.2.0

# For ansible plugin nested dep, compatible with Python 3.6
setuptools_rust==1.1.2

# For ansible plugin nested dep
cryptography==41.0.2

0 comments on commit 0fb8d41

Please sign in to comment.