Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with minimum jaxlib version #130

Merged
merged 4 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% set name = "jax" %}
{% set version = "0.4.17" %}
{% set minimum_jaxlib_version = "0.4.14" %}

package:
name: jax
Expand All @@ -11,7 +12,7 @@ source:
sha256: d7508a69e87835f534cb07a2f21d79cc1cb8c4cfdcf7fb010927267ef7355f1d

build:
number: 0
number: 1
noarch: python
script: {{ PYTHON }} -m pip install . -vv

Expand All @@ -27,7 +28,7 @@ requirements:
- ml_dtypes >=0.2.0
# Not declared in the metadata but essential to this package.
# update minimum from https://github.com/google/jax/blob/main/jax/version.py#L21
- jaxlib >=0.4.14
- jaxlib >={{ minimum_jaxlib_version }}
- importlib_metadata >=4.6

test:
Expand All @@ -38,6 +39,8 @@ test:
- pip check
requires:
- pip
# test with the declared minimum jaxlib
- jaxlib ={{ minimum_jaxlib_version }}

about:
home: https://github.com/google/jax
Expand Down