Skip to content

Commit

Permalink
fixed conditions regarding oldest numpy installation on arm64 Windows…
Browse files Browse the repository at this point in the history
… machines
  • Loading branch information
filip-komarzyniec committed Jun 15, 2024
1 parent a148e9b commit 68197fb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ requires = [
# order of magnitude slower, so avoid it for now.
#
"Cython>=0.29.32,<3.0.0",
# oldest supported Numpy for this platform is 1.17 but the oldest supported by Gensim
# is 1.18.5, remove the line when they increase oldest supported Numpy for this platform
"numpy==1.18.5; python_version=='3.8' and platform_machine not in 'arm64|aarch64'",
# oldest supported Numpy for non-'arm64|aarch64' architectures is 1.17.*
# as well as for 'Windows' on arm64. The oldest supported Numpy by Gensim
# is 1.18.5. Remove below line when they increase the oldest supported Numpy for those platforms
"numpy==1.18.5; python_version=='3.8' and platform_machine != 'aarch64' and (platform_machine != 'arm64' or platform_system == 'Windows')",
"oldest-supported-numpy; python_version>'3.8' or platform_machine in 'arm64|aarch64'",
"setuptools",
"wheel",
Expand Down

0 comments on commit 68197fb

Please sign in to comment.