From 4c616474f3ea6d6b6070308ea2a26408823aad0c Mon Sep 17 00:00:00 2001 From: Aatman Vaidya Date: Fri, 3 Jan 2025 12:14:39 +0530 Subject: [PATCH] chore: updating operators and feluda dependencies --- operators/cluster_embeddings/pyproject.toml | 4 +-- operators/dimension_reduction/pyproject.toml | 2 +- operators/image_vec_rep_resnet/pyproject.toml | 18 ++++------- operators/vid_vec_rep_clip/pyproject.toml | 2 +- pyproject.toml | 31 +++++++++---------- 5 files changed, 24 insertions(+), 33 deletions(-) diff --git a/operators/cluster_embeddings/pyproject.toml b/operators/cluster_embeddings/pyproject.toml index 0d332c0..fa3acbb 100644 --- a/operators/cluster_embeddings/pyproject.toml +++ b/operators/cluster_embeddings/pyproject.toml @@ -2,7 +2,7 @@ name = "feluda-cluster-embeddings" version = "0.0.0" requires-python = ">=3.10" -dependencies = ["scikit-learn>=1.5.1", "numpy>=2.0.0"] +dependencies = ["scikit-learn>=1.5.1", "numpy>=2.2.1"] [build-system] requires = ["hatchling"] @@ -17,4 +17,4 @@ prerelease = false tag_format = "{name}-{version}" [tool.hatch.build.targets.wheel] -packages = ["."] \ No newline at end of file +packages = ["."] diff --git a/operators/dimension_reduction/pyproject.toml b/operators/dimension_reduction/pyproject.toml index af2aef1..9f1add5 100644 --- a/operators/dimension_reduction/pyproject.toml +++ b/operators/dimension_reduction/pyproject.toml @@ -2,7 +2,7 @@ name = "feluda-dimension-reduction" version = "0.0.0" requires-python = ">=3.10" -dependencies = ["scikit-learn>=1.5.1", "numpy>=2.0.0"] +dependencies = ["scikit-learn>=1.5.1", "numpy>=2.2.1"] [build-system] requires = ["hatchling"] diff --git a/operators/image_vec_rep_resnet/pyproject.toml b/operators/image_vec_rep_resnet/pyproject.toml index c30e409..638c3cb 100644 --- a/operators/image_vec_rep_resnet/pyproject.toml +++ b/operators/image_vec_rep_resnet/pyproject.toml @@ -5,22 +5,18 @@ requires-python = ">=3.10" dependencies = [ "torch>=2.5.1", "torchvision>=0.20.1", - "numpy>=2.1.3", - "pillow>=11.0.0", - "memray>=1.14.0", + "numpy>=2.2.1", + "pillow>=11.1.0", + "memray>=1.15.0", "pyinstrument>=5.0.0", ] [build-system] -requires = [ - "hatchling", -] +requires = ["hatchling"] build-backend = "hatchling.build" [tool.semantic_release] -version_variable = [ - "pyproject.toml:project.version", -] +version_variable = ["pyproject.toml:project.version"] [tool.semantic_release.branches.main] match = "main" @@ -28,6 +24,4 @@ prerelease = false tag_format = "{name}-{version}" [tool.hatch.build.targets.wheel] -packages = [ - ".", -] +packages = ["."] diff --git a/operators/vid_vec_rep_clip/pyproject.toml b/operators/vid_vec_rep_clip/pyproject.toml index 9470fda..793c37c 100644 --- a/operators/vid_vec_rep_clip/pyproject.toml +++ b/operators/vid_vec_rep_clip/pyproject.toml @@ -6,7 +6,7 @@ dependencies = [ "torch>=2.5.1", "torchvision>=0.20.1", "transformers>=4.44.0", - "pillow>=11.0.0", + "pillow>=11.1.0", ] [build-system] diff --git a/pyproject.toml b/pyproject.toml index 74eb364..8c53ac9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "0.9.0" readme = "README.md" requires-python = ">=3.10" dependencies = [ - "boto3>=1.35.63", + "boto3>=1.35.91", "dacite>=1.8.1", "pydub>=0.25.1", "pyyaml>=6.0.2", @@ -14,6 +14,10 @@ dependencies = [ "toml>=0.10.2", ] +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + [project.optional-dependencies] dev = [ "python-semantic-release>=9.14.0", @@ -25,15 +29,15 @@ dev = [ "pyproject-pre-commit[ruff]>=0.3.6", ] -[build-system] -requires = [ - "hatchling", -] -build-backend = "hatchling.build" - [tool.semantic_release] -version_variable = [ - "pyproject.toml:project.version", +version_variable = ["pyproject.toml:project.version"] + +[tool.uv.workspace] +members = [ + "operators/image_vec_rep_resnet", + "operators/vid_vec_rep_clip", + "operators/cluster_embeddings", + "operators/dimension_reduction", ] [tool.semantic_release.branches.main] @@ -41,12 +45,5 @@ match = "main" prerelease = false tag_format = "{name}-{version}" -[tool.uv.workspace] -members = [ - "operators/image_vec_rep_resnet", -] - [tool.hatch.build.targets.wheel] -packages = [ - "feluda", -] +packages = ["feluda"]