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 efcbf99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 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 @@ -17,6 +17,7 @@
"tqdm>=4.60.0,<5",
# Filtering
f"pandas<2.1; {no_linux_on_arm}",
f"numpy==1.26.0b1; {no_linux_on_arm} and python_version>='3.11'",
f"duckdb<0.9; {no_linux_on_arm}",
# Grafana
"requests>=2.26,<3",
Expand Down

0 comments on commit efcbf99

Please sign in to comment.