Skip to content

Commit

Permalink
Swap ssh2-python dependency to ssh2-python312
Browse files Browse the repository at this point in the history
This change moves away from the github fork-based dependency to the
newly published ssh2-python312 on PyPI.
  • Loading branch information
JacobCallahan committed Mar 13, 2024
1 parent 1381006 commit 85eec46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ Install Broker either by cloning locally with `pip install .` or with `pip insta

Copy the example settings file to `broker_settings.yaml` and edit it.

(optional) If you are using Broker for ssh-based host interaction, install one of the supported ssh backends.
```
# For python 3.12+
pip install broker[ssh2]
# For python 3.11 and below
pip install broker[ssh2_py311]
```

(optional) If you are using the Container provider, install the extra dependency based on your container runtime of choice with either `pip install broker[podman]` or `pip install broker[docker]`.

(optional) If you are using the Beaker provider, install the extra dependency with `dnf install krb5-devel` and then `pip install broker[beaker]`.
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies = [
"packaging",
"pyyaml",
"setuptools",
"ssh2-python312@git+https://github.com/jacobcallahan/ssh2-python.git",
"ssh2-python312",
]
dynamic = ["version"] # dynamic fields to update on build - version via setuptools_scm

Expand All @@ -53,7 +53,6 @@ setup = [
"build",
"twine",
]
# ssh2 = ["ssh2-python@git+https://github.com/jacobcallahan/ssh2-python.git"]
ssh2_py311 = ["ssh2-python"]

[project.scripts]
Expand Down

0 comments on commit 85eec46

Please sign in to comment.