Skip to content

Commit e39a7ca

Browse files
committed
specified numpy version
1 parent dc86872 commit e39a7ca

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

libs/labelbox/pyproject.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
name = "labelbox"
33
version = "3.72.2"
44
description = "Labelbox Python API"
5-
authors = [
6-
{ name = "Labelbox", email = "engineering@labelbox.com" }
7-
]
5+
authors = [{ name = "Labelbox", email = "engineering@labelbox.com" }]
86
dependencies = [
97
"google-api-core>=1.22.1",
108
"pydantic>=1.8",
@@ -16,7 +14,7 @@ dependencies = [
1614
]
1715
readme = "README.md"
1816
requires-python = ">=3.8"
19-
classifiers=[
17+
classifiers = [
2018
# How mature is this project?
2119
"Development Status :: 5 - Production/Stable",
2220
# Indicate who your project is intended for
@@ -27,7 +25,7 @@ classifiers=[
2725
"Intended Audience :: Education",
2826
# Pick your license as you wish
2927
"License :: OSI Approved :: Apache Software License",
30-
# Specify the Python versions you support here.
28+
# Specify the Python versions you support here.
3129
"Programming Language :: Python :: 3",
3230
"Programming Language :: Python :: 3.8",
3331
"Programming Language :: Python :: 3.9",
@@ -47,7 +45,8 @@ Changelog = "https://github.com/Labelbox/labelbox-python/blob/develop/libs/label
4745
[project.optional-dependencies]
4846
data = [
4947
"shapely>=2.0.3",
50-
"numpy>=1.24.4",
48+
# numpy v2 breaks package since it only supports python >3.9
49+
"numpy>=1.24.4, <2.0.0",
5150
"pillow>=10.2.0",
5251
"typeguard>=4.1.5",
5352
"imagesize>=1.4.1",
@@ -85,12 +84,12 @@ unit = "pytest tests/unit"
8584
# LABELBOX_TEST_ENVIRON="ephemeral" \
8685
# SERVICE_API_KEY=${SERVICE_API_KEY} \
8786
# LABELBOX_TEST_BASE_URL="http://host.docker.internal:8080" \
88-
integration = { cmd = "pytest tests/integration" }
87+
integration = { cmd = "pytest tests/integration" }
8988
data = { cmd = "pytest tests/data" }
9089
yapf-lint = "yapf tests src -i --verbose --recursive --parallel --style \"google\""
9190
mypy-lint = "mypy src --pretty --show-error-codes --non-interactive --install-types"
9291
lint = { chain = ["yapf-lint", "mypy-lint"] }
93-
test = { chain = ["lint", "unit", "integration" ] }
92+
test = { chain = ["lint", "unit", "integration"] }
9493

9594
[tool.hatch.metadata]
9695
allow-direct-references = true

0 commit comments

Comments
 (0)