Skip to content

Commit 1c39218

Browse files
committed
deps: adds limits to numpy installs under 3.10 for dataproc
1 parent 6dbe83f commit 1c39218

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@
3030
release_status = "Development Status :: 5 - Production/Stable"
3131

3232
dependencies = [
33+
"numpy >= 1.16.6, <= 2.2.6 ; python_version == '3.10'",
34+
"numpy >= 1.16.6 ; python_version != '3.10'",
3335
"packaging >= 17.0",
3436
"pandas >= 0.24.2",
35-
"pyarrow>=3.0.0",
36-
"numpy >= 1.16.6",
37+
"pyarrow >= 3.0.0",
3738
]
3839

40+
3941
package_root = os.path.abspath(os.path.dirname(__file__))
4042
with open(os.path.join(package_root, "db_dtypes", "version.py")) as f:
4143
version = re.search('__version__ = "([^"]+)"', f.read()).group(1)

0 commit comments

Comments
 (0)