From 6f447d6594cbbf00b9e525394890290722003c3e Mon Sep 17 00:00:00 2001 From: Enrico Deusebio Date: Fri, 22 Nov 2024 17:05:38 +0100 Subject: [PATCH] supporting both 3.10 and 3.12 --- poetry.lock | 63 +++++++++++++++++++++++++++++++++++++++----------- pyproject.toml | 2 +- 2 files changed, 50 insertions(+), 15 deletions(-) diff --git a/poetry.lock b/poetry.lock index 24e15b6..6c62fc0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -12,8 +12,10 @@ files = [ ] [package.dependencies] +exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} idna = ">=2.8" sniffio = ">=1.1" +typing-extensions = {version = ">=4.1", markers = "python_version < \"3.11\""} [package.extras] doc = ["Sphinx (>=7.4,<8.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] @@ -115,6 +117,8 @@ packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" tokenize-rt = {version = ">=3.2.0", optional = true, markers = "extra == \"jupyter\""} +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} [package.extras] colorama = ["colorama (>=0.4.3)"] @@ -450,6 +454,20 @@ files = [ {file = "durationpy-0.9.tar.gz", hash = "sha256:fd3feb0a69a0057d582ef643c355c40d2fa1c942191f914d12203b1a01ac722a"}, ] +[[package]] +name = "exceptiongroup" +version = "1.2.2" +description = "Backport of PEP 654 (exception groups)" +optional = false +python-versions = ">=3.7" +files = [ + {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, + {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, +] + +[package.extras] +test = ["pytest (>=6)"] + [[package]] name = "executing" version = "2.1.0" @@ -593,20 +611,21 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "hvac" -version = "2.3.0" +version = "0.11.2" description = "HashiCorp Vault API client" optional = false -python-versions = "<4.0,>=3.8" +python-versions = ">=2.7" files = [ - {file = "hvac-2.3.0-py3-none-any.whl", hash = "sha256:a3afc5710760b6ee9b3571769df87a0333da45da05a5f9f963e1d3925a84be7d"}, - {file = "hvac-2.3.0.tar.gz", hash = "sha256:1b85e3320e8642dd82f234db63253cda169a817589e823713dc5fca83119b1e2"}, + {file = "hvac-0.11.2-py2.py3-none-any.whl", hash = "sha256:3e8a34804b1e20954a2b4991cc13ed9c09b32e50dadd9d3438224481150f6568"}, + {file = "hvac-0.11.2.tar.gz", hash = "sha256:f905c59d32d88d3f67571fe5a8a78de4659e04798ad809de439f667247d13626"}, ] [package.dependencies] -requests = ">=2.27.1,<3.0.0" +requests = ">=2.21.0" +six = ">=1.5.0" [package.extras] -parser = ["pyhcl (>=0.4.4,<0.5.0)"] +parser = ["pyhcl (>=0.3.10)"] [[package]] name = "idna" @@ -645,8 +664,9 @@ files = [ ] [package.dependencies] -decorator = {version = "*", markers = "python_version >= \"3.11\""} -ipython = {version = ">=7.31.1", markers = "python_version >= \"3.11\""} +decorator = {version = "*", markers = "python_version > \"3.6\""} +ipython = {version = ">=7.31.1", markers = "python_version > \"3.6\""} +tomli = {version = "*", markers = "python_version > \"3.6\" and python_version < \"3.11\""} [[package]] name = "ipython" @@ -662,6 +682,7 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} decorator = "*" +exceptiongroup = {version = "*", markers = "python_version < \"3.11\""} jedi = ">=0.16" matplotlib-inline = "*" pexpect = {version = ">4.3", markers = "sys_platform != \"win32\" and sys_platform != \"emscripten\""} @@ -669,6 +690,7 @@ prompt-toolkit = ">=3.0.41,<3.1.0" pygments = ">=2.4.0" stack-data = "*" traitlets = ">=5.13.0" +typing-extensions = {version = ">=4.6", markers = "python_version < \"3.12\""} [package.extras] all = ["ipython[black,doc,kernel,matplotlib,nbconvert,nbformat,notebook,parallel,qtconsole]", "ipython[test,test-extra]"] @@ -1257,6 +1279,7 @@ files = [ [package.dependencies] flake8 = "7.0.0" +tomli = {version = "*", markers = "python_version < \"3.11\""} [[package]] name = "pyrfc3339" @@ -1285,9 +1308,11 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" pluggy = ">=1.5,<2" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] @@ -1471,13 +1496,12 @@ rsa = ["oauthlib[signedtoken] (>=3.0.0)"] [[package]] name = "rsa" -version = "4.9" +version = "4.2" description = "Pure-Python RSA implementation" optional = false -python-versions = ">=3.6,<4" +python-versions = "*" files = [ - {file = "rsa-4.9-py3-none-any.whl", hash = "sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7"}, - {file = "rsa-4.9.tar.gz", hash = "sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21"}, + {file = "rsa-4.2.tar.gz", hash = "sha256:aaefa4b84752e3e99bd8333a2e1e3e7a7da64614042bd66f775573424370108a"}, ] [package.dependencies] @@ -1570,6 +1594,17 @@ files = [ {file = "tokenize_rt-6.1.0.tar.gz", hash = "sha256:e8ee836616c0877ab7c7b54776d2fefcc3bde714449a206762425ae114b53c86"}, ] +[[package]] +name = "tomli" +version = "2.1.0" +description = "A lil' TOML parser" +optional = false +python-versions = ">=3.8" +files = [ + {file = "tomli-2.1.0-py3-none-any.whl", hash = "sha256:a5c57c3d1c56f5ccdf89f6523458f60ef716e210fc47c4cfb188c5ba473e0391"}, + {file = "tomli-2.1.0.tar.gz", hash = "sha256:3f646cae2aec94e17d04973e4249548320197cfabdf130015d023de4b74d8ab8"}, +] + [[package]] name = "toposort" version = "1.10" @@ -1763,5 +1798,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.12" -content-hash = "9f06526bc020d2b471b31eb0c056ac7883e1f5f8a7fd6662a9ed6d1ddcbc5691" +python-versions = ">=3.10" +content-hash = "086d3be560602bfeb5216ffe482545272aec1194b4b1a4c3fe7d16c46ddbfa13" diff --git a/pyproject.toml b/pyproject.toml index dea5e4b..9f55715 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ description = "kubeflow-uat" authors = [] [tool.poetry.dependencies] -python = "^3.12" +python = ">=3.10" juju = "<4.0" lightkube = ">=0.15" # pytest is transitive dependencies of other packages