Skip to content

Commit d809345

Browse files
authored
Merge pull request #105 from cornellius-gp/jaxtyping-1
Unpin jaxtyping
2 parents 68feb8a + d3dbd0a commit d809345

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/run_type_checked_test_suite.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ jobs:
2121
- name: Set up Python
2222
uses: actions/setup-python@v2
2323
with:
24-
python-version: "3.8"
24+
python-version: "3.10"
2525
- name: Install dependencies
2626
run: |
2727
if [[ ${{ matrix.pytorch-version }} = "latest" ]]; then
28-
pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html;
28+
pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
2929
else
30-
pip install torch==1.11+cpu -f https://download.pytorch.org/whl/torch_stable.html;
30+
pip install torch==1.11+cpu -f https://download.pytorch.org/whl/torch_stable.html
31+
pip install "numpy<2"
3132
fi
3233
pip install -e ".[test]"
3334
- name: Run unit tests
3435
run: |
35-
pytest ${{ inputs.files_to_test }} --jaxtyping-packages=linear_operator,typeguard.typechecked
36+
pytest ${{ inputs.files_to_test }} --jaxtyping-packages=typeguard.typechecked

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# Other requirements
4040
install_requires += [
4141
"scipy",
42-
"jaxtyping==0.2.19",
42+
"jaxtyping",
4343
"mpmath>=0.19,<=1.3", # avoid incompatibiltiy with torch+sympy with mpmath 1.4
4444
]
4545

0 commit comments

Comments
 (0)