Skip to content

Commit

Permalink
Dependencies: Explicitly use NumPy 1.26.0b1 on Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Sep 3, 2023
1 parent 71e8608 commit e5d90ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, "README.rst")).read()

no_linux_on_arm = "platform_system != 'Linux' or (platform_machine != 'armv7l' and platform_machine != 'aarch64')"
no_linux_on_arm = "(platform_system != 'Linux' or (platform_machine != 'armv7l' and platform_machine != 'aarch64'))"

requires = [
# Core
Expand All @@ -16,6 +16,8 @@
"munch>=2.5.0,<5",
"tqdm>=4.60.0,<5",
# Filtering
f"numpy; {no_linux_on_arm} and python_version<'3.12.0rc1'"
f"numpy>=1.26.0b1; {no_linux_on_arm} and python_version>='3.12.0.rc1'",
f"pandas<2.1; {no_linux_on_arm}",
f"duckdb<0.9; {no_linux_on_arm}",
# Grafana
Expand Down

0 comments on commit e5d90ab

Please sign in to comment.