From 651f37586c80ea5a5d60b0977039691fc9705d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20de=20la=20R=C3=BAa=20Mart=C3=ADnez?= Date: Mon, 6 May 2024 17:13:56 +0200 Subject: [PATCH 1/3] Update python requirement to <3.13 --- python/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 4a7d492c..7fc2d9e2 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,7 +1,7 @@ [project] name="hsml" dynamic = ["version"] -requires-python = ">=3.8,<=3.12" +requires-python = ">=3.8,<3.13" readme = "README.md" description = "HSML Python SDK to interact with Hopsworks Model Registry" keywords = ["Hopsworks", "Model Registry", "hsml", "Models", "ML", "Machine Learning Models", "TensorFlow", "PyTorch", "Machine Learning", "MLOps", "DataOps"] From f4d86ac0a247ec77c169fd57151f06c4d2a76ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20de=20la=20R=C3=BAa=20Mart=C3=ADnez?= Date: Mon, 6 May 2024 18:01:44 +0200 Subject: [PATCH 2/3] Include hsml.* --- python/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 7fc2d9e2..d444762c 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -57,7 +57,7 @@ build-backend = "setuptools.build_meta" [tool.setuptools.packages.find] exclude = ["tests*"] -include = ["../Readme.md", "../LICENSE", "hsml"] +include = ["../Readme.md", "../LICENSE", "hsml", "hsml.*"] [tool.setuptools.dynamic] From 4d0a484d1deeabec84e0031604c082703b7758be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20de=20la=20R=C3=BAa=20Mart=C3=ADnez?= Date: Mon, 6 May 2024 18:14:03 +0200 Subject: [PATCH 3/3] Fix circular dependency --- python/hsml/util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/hsml/util.py b/python/hsml/util.py index f1d8781a..d5513d5d 100644 --- a/python/hsml/util.py +++ b/python/hsml/util.py @@ -14,6 +14,8 @@ # limitations under the License. # +from __future__ import annotations + import datetime import inspect import os