Skip to content

Commit 26ad684

Browse files
ConchylicultorThe dataclass_array Authors
authored andcommitted
Activate copybara presubmits
PiperOrigin-RevId: 466036246
1 parent 110ef20 commit 26ad684

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/pytest_and_autopublish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
with:
2121
python-version: 3.7
2222
- run: pip --version
23+
# As changes can be pushed to both etils and visu3d, we install etils from `main` branch
24+
# If modifying this, also modify `pyproject.toml`
25+
- run: pip install "etils[array_types,edc,enp,epath,epy,etree] @ git+https://github.com/google/etils"
2326
- run: pip install -e .[dev]
2427
- run: pip freeze
2528

pyproject.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ classifiers = [
1515
keywords = ["dataclass", "dataclasses", "numpy", "jax", "tensorflow", "array"]
1616

1717
# pip dependencies of the project
18-
dependencies = []
18+
dependencies = [
19+
"einops",
20+
"etils[edc,enp,epath,epy,etree]",
21+
"lark",
22+
"numpy",
23+
"typing_extensions",
24+
]
1925

2026
# This is set automatically by flit using `dataclass_array.__version__`
2127
dynamic = ["version"]
@@ -33,6 +39,10 @@ dev = [
3339
"pytest-xdist",
3440
"pylint>=2.6.0",
3541
"yapf",
42+
# Lazy deps
43+
"chex",
44+
"jax[cpu]",
45+
"tf-nightly",
3646
]
3747

3848
[build-system]

0 commit comments

Comments
 (0)