Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ exclude = [
# This section has dependency groups for testing and development. Tread carefully, the current setup makes sure that
# test dependencies can be installed on as many platforms we build wheel for. Especially picky are:
# - tensorflow: we can only run tests on cp311, for osx there is no tensorflow-cpu, for windows we need
# tensorflow-cpu-aws and there is no distribution availalbe for Linux aarch64.
# tensorflow-cpu-aws and there is no distribution availalbe for Linux aarch64. tensorflow-cpu 2.22.0
# segfaults converting a numpy array with the numpy<2 below, so it stays under 2.22.
# - torch: since we can't use gpu acceleration, we need to rely on torch-cpu, which isn't available on pypi. We use
# `tool.uv.index` and `tool.uv.sources` to make sure the official pytorch index is used. Even there, we don't
# have a wheel available for x86_64 OSX + cp313 and later.
Expand Down Expand Up @@ -303,8 +304,8 @@ test = [ # dependencies used for running tests
"torch>=2.2.2,<2.11.0; python_version >= '3.13' and python_version < '3.14' and ( sys_platform != 'darwin' or platform_machine != 'x86_64' ) and ( sys_platform != 'win32' or platform_machine != 'ARM64' )",
"torch>=2.10.0; python_version >= '3.14' and ( sys_platform != 'darwin' or platform_machine != 'x86_64' ) and ( sys_platform != 'win32' or platform_machine != 'ARM64' )",
"tensorflow==2.14.0; sys_platform == 'darwin' and python_version < '3.12'",
"tensorflow-cpu>=2.14.0; sys_platform == 'linux' and platform_machine != 'aarch64' and python_version < '3.12'",
"tensorflow-cpu>=2.14.0; sys_platform == 'win32' and platform_machine != 'ARM64' and python_version < '3.12'",
"tensorflow-cpu>=2.14.0,<2.22; sys_platform == 'linux' and platform_machine != 'aarch64' and python_version < '3.12'",
"tensorflow-cpu>=2.14.0,<2.22; sys_platform == 'win32' and platform_machine != 'ARM64' and python_version < '3.12'",
"tensorflow-cpu-aws==2.15.1; sys_platform == 'linux' and platform_machine == 'aarch64' and python_version < '3.12'",
"typing-extensions",
"numpy<2; ( sys_platform != 'win32' or platform_machine != 'ARM64' ) and python_version < '3.12'",
Expand Down
Loading