Skip to content

Commit

Permalink
chore: updating operators and feluda dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aatmanvaidya committed Jan 3, 2025
1 parent 278b791 commit 4c61647
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 33 deletions.
4 changes: 2 additions & 2 deletions operators/cluster_embeddings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -17,4 +17,4 @@ prerelease = false
tag_format = "{name}-{version}"

[tool.hatch.build.targets.wheel]
packages = ["."]
packages = ["."]
2 changes: 1 addition & 1 deletion operators/dimension_reduction/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
18 changes: 6 additions & 12 deletions operators/image_vec_rep_resnet/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,23 @@ 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"
prerelease = false
tag_format = "{name}-{version}"

[tool.hatch.build.targets.wheel]
packages = [
".",
]
packages = ["."]
2 changes: 1 addition & 1 deletion operators/vid_vec_rep_clip/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
31 changes: 14 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -25,28 +29,21 @@ 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]
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"]

0 comments on commit 4c61647

Please sign in to comment.