From 9d1e52b503adfd08ea4a7dc95911bc0339feea16 Mon Sep 17 00:00:00 2001 From: Jacob Callahan Date: Mon, 27 Jan 2025 13:43:33 -0500 Subject: [PATCH] pyproject.toml updates 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 --- pyproject.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index daa82b4..2654fec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,10 +9,10 @@ readme = "README.md" requires-python = ">=3.10" keywords = ["broker", "AnsibleTower", "docker", "podman", "beaker"] authors = [{ name = "Jacob J Callahan", email = "jacob.callahan05@gmail.com" }] +# 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", @@ -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", @@ -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"]