Skip to content

Commit

Permalink
pyproject.toml updates
Browse files Browse the repository at this point in the history
Now that ssh2-python has returned, let's switch the primary ssh-backend
dependency to it. This primary dependency will be removed in Broker 0.7
along with the ssh2_python311 and ssh2_python312 optional dep
definitions.

Also, with the merge of #346, we can fix how the license is attributed
in the project metadata. This moves us in compliance with the newer PEP
639 standard.

Fixes #347
  • Loading branch information
JacobCallahan committed Jan 27, 2025
1 parent 1aeb491 commit 9d1e52b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ readme = "README.md"
requires-python = ">=3.10"
keywords = ["broker", "AnsibleTower", "docker", "podman", "beaker"]
authors = [{ name = "Jacob J Callahan", email = "[email protected]" }]
# license-files = ["LICENSE"] - Not ready in setuptools until #4706 is released
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
Expand All @@ -22,14 +22,14 @@ classifiers = [
dependencies = [
"awxkit",
"click",
"dynaconf<4.0.0",
"dynaconf>=3.1.6,<4.0.0",
"logzero",
"packaging",
"rich",
"rich_click",
"ruamel.yaml",
"setuptools",
"ssh2-python312",
"ssh2-python",
]
dynamic = [
"version",
Expand All @@ -45,9 +45,11 @@ docker = ["docker", "paramiko"]
podman = ["podman>=5.2"]
setup = ["build", "twine"]

ssh2_py311 = ["ssh2-python"]
ssh2_py311 = ["ssh2-python"] # temporary compatibility - removing in Broker 0.7
ssh2_python = ["ssh2-python"]
ssh2_python312 = ["ssh2-python312"]
ssh2_python312 = [
"ssh2-python",
] # temporary compatibility - removing in Broker 0.7
ansible_pylibssh = ["ansible-pylibssh"]
hussh = ["hussh>=0.1.7"]

Expand Down

0 comments on commit 9d1e52b

Please sign in to comment.