2
2
name = " labelbox"
3
3
version = " 3.72.2"
4
4
description = " Labelbox Python API"
5
- authors = [
6
- { name = " Labelbox" , email = " engineering@labelbox.com" }
7
- ]
5
+ authors = [{ name = " Labelbox" , email = " engineering@labelbox.com" }]
8
6
dependencies = [
9
7
" google-api-core>=1.22.1" ,
10
8
" pydantic>=1.8" ,
@@ -16,7 +14,7 @@ dependencies = [
16
14
]
17
15
readme = " README.md"
18
16
requires-python = " >=3.8"
19
- classifiers = [
17
+ classifiers = [
20
18
# How mature is this project?
21
19
" Development Status :: 5 - Production/Stable" ,
22
20
# Indicate who your project is intended for
@@ -27,7 +25,7 @@ classifiers=[
27
25
" Intended Audience :: Education" ,
28
26
# Pick your license as you wish
29
27
" License :: OSI Approved :: Apache Software License" ,
30
- # Specify the Python versions you support here.
28
+ # Specify the Python versions you support here.
31
29
" Programming Language :: Python :: 3" ,
32
30
" Programming Language :: Python :: 3.8" ,
33
31
" Programming Language :: Python :: 3.9" ,
@@ -47,7 +45,8 @@ Changelog = "https://github.com/Labelbox/labelbox-python/blob/develop/libs/label
47
45
[project .optional-dependencies ]
48
46
data = [
49
47
" 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" ,
51
50
" pillow>=10.2.0" ,
52
51
" typeguard>=4.1.5" ,
53
52
" imagesize>=1.4.1" ,
@@ -85,12 +84,12 @@ unit = "pytest tests/unit"
85
84
# LABELBOX_TEST_ENVIRON="ephemeral" \
86
85
# SERVICE_API_KEY=${SERVICE_API_KEY} \
87
86
# LABELBOX_TEST_BASE_URL="http://host.docker.internal:8080" \
88
- integration = { cmd = " pytest tests/integration" }
87
+ integration = { cmd = " pytest tests/integration" }
89
88
data = { cmd = " pytest tests/data" }
90
89
yapf-lint = " yapf tests src -i --verbose --recursive --parallel --style \" google\" "
91
90
mypy-lint = " mypy src --pretty --show-error-codes --non-interactive --install-types"
92
91
lint = { chain = [" yapf-lint" , " mypy-lint" ] }
93
- test = { chain = [" lint" , " unit" , " integration" ] }
92
+ test = { chain = [" lint" , " unit" , " integration" ] }
94
93
95
94
[tool .hatch .metadata ]
96
95
allow-direct-references = true
0 commit comments