File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1414 runs-on : ${{ matrix.os }}
1515 strategy :
1616 matrix :
17- python-version : ['3.11', '3.12', '3.13']
17+ python-version : ['3.8', '3. 11', '3.12', '3.13']
1818 numpy : ['"numpy<2.0"', "numpy"]
1919 os : [ubuntu-latest]
2020 pytest : [pytest]
Original file line number Diff line number Diff line change 1010import inspect
1111from contextlib import contextmanager
1212
13- from typing import Sequence
13+ from typing import Sequence , Union
1414
1515from importlib .metadata import version as get_version , PackageNotFoundError
1616from packaging .requirements import Requirement
@@ -259,7 +259,7 @@ def get_public_objects(module, skiplist=None):
259259 return (items , names ), failures
260260
261261
262- def is_req_satisfied (req_strs : str | Sequence [str ]) -> bool :
262+ def is_req_satisfied (req_strs : Union [ str , Sequence [str ] ]) -> bool :
263263 """ Check if all PEP 508-compliant requirement(s) are satisfied or not.
264264 """
265265 req_strs = [req_strs ] if isinstance (req_strs , str ) else req_strs
You can’t perform that action at this time.
0 commit comments