File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Builds
3
3
# TODO: generalize steps
4
4
5
5
env :
6
- DSS_CAPI_TAG : 0.12.0b8
6
+ DSS_CAPI_TAG : 0.12.0b9
7
7
ARTIFACTS_FOLDER : ' ${{ github.workspace }}/artifacts'
8
8
9
9
on :
Original file line number Diff line number Diff line change 7
7
'''
8
8
from typing import Union, List, AnyStr
9
9
import numpy as np
10
- import numpy.typing as npt
11
10
from .enums import DSSJSONFlags
12
11
13
12
try:
14
13
from enum import IntEnum
15
14
except:
16
15
from aenum import IntEnum
17
16
17
+ try:
18
+ import numpy.typing as npt
19
+ npt.NDArray[np.float64]
20
+ except:
21
+ class npt:
22
+ NDArray = List
23
+
24
+
18
25
from ._cffi_api_util import Base
19
26
20
27
class BatchFloat64ArrayProxy:
Original file line number Diff line number Diff line change 104
104
#'dss_build.py:ffi_builder_CapUserControl'
105
105
],
106
106
ext_package = "dss" ,
107
- install_requires = ["cffi>=1.11.2" , "numpy>=1.21" ],
107
+ install_requires = ["cffi>=1.11.2" , "numpy>=1.19.5" ],
108
+ extras_require = {'plot' : ["matplotlib" , "scipy" ]}, #TODO: test which versions should work
108
109
tests_require = ["zstandard" , "scipy" ],
109
110
zip_safe = False ,
110
111
classifiers = [
You can’t perform that action at this time.
0 commit comments