Skip to content

Commit

Permalink
Unpin typing extensions (#1948)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColCarroll authored Dec 9, 2021
1 parent c45b924 commit 26c14da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion arviz/tests/base_tests/test_data_zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import os
import shutil
from collections.abc import MutableMapping
from typing import Mapping

import numpy as np
import pytest
Expand All @@ -26,7 +27,8 @@ def data(self, draws, chains):
class Data:
# fake 8-school output
obj = {}
for key, shape in {"mu": [], "tau": [], "eta": [8], "theta": [8]}.items():
shapes: Mapping[str, list] = {"mu": [], "tau": [], "eta": [8], "theta": [8]}
for key, shape in shapes.items():
obj[key] = np.random.randn(chains, draws, *shape)

return Data
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ packaging
pandas>=0.23
xarray>=0.16.1
netcdf4
typing_extensions>=3.7.4.3,<4
typing_extensions>=3.7.4.3

0 comments on commit 26c14da

Please # to comment.