Skip to content

Commit

Permalink
Add missing contextvars dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhestkov committed May 13, 2024
1 parent 4ec5c8b commit c4aafaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions salt/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,7 @@ def dependency_information(include_salt_cloud=False):
("docker-py", "docker", "__version__"),
("packaging", "packaging", "__version__"),
("looseversion", "looseversion", None),
("contextvars", "contextvars", None),
("relenv", "relenv", "__version__"),
]

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/states/test_pip_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ class PipStateInstallationErrorTest(TestCase):
def test_importable_installation_error(self):
extra_requirements = []
for name, version in salt.version.dependency_information():
if name in ["PyYAML", "packaging", "looseversion"]:
if name in ["PyYAML", "packaging", "looseversion", "contextvars"]:
extra_requirements.append("{}=={}".format(name, version))
failures = {}
pip_version_requirements = [
Expand Down

0 comments on commit c4aafaf

Please sign in to comment.