Skip to content

Commit

Permalink
separate dev from prod requirements, relax prod requirements
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 550911347
  • Loading branch information
j2kun authored and copybara-github committed Jul 25, 2023
1 parent 59965be commit 5123c60
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ load("@rules_python//python:pip.bzl", "pip_parse")
pip_parse(
name = "jaxite_deps",
python_interpreter_target = interpreter,
requirements_lock = "//:requirements.txt",
requirements_lock = "//:requirements_dev.txt",
)

load("@jaxite_deps//:requirements.bzl", "install_deps")
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"jax==0.4.13",
"jaxlib==0.4.13",
"numpy==1.25.1",
"jax~=0.4.13",
"jaxlib~=0.4.13",
]

[project.urls]
Expand Down
11 changes: 2 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
attrs==23.1.0
hypothesis==6.79.1
jax==0.4.13
jaxlib==0.4.13
ml-dtypes==0.2.0
numpy==1.25.1
opt-einsum==3.3.0
scipy==1.10.1
sortedcontainers==2.4.0
jax~=0.4.13
jaxlib~=0.4.13
9 changes: 9 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
attrs==23.1.0
hypothesis==6.79.1
jax==0.4.13
jaxlib==0.4.13
ml-dtypes==0.2.0
numpy==1.25.1
opt-einsum==3.3.0
scipy==1.10.1
sortedcontainers==2.4.0

0 comments on commit 5123c60

Please sign in to comment.