diff --git a/mathphys/functions.py b/mathphys/functions.py index 29f9daa..c5cb1e8 100644 --- a/mathphys/functions.py +++ b/mathphys/functions.py @@ -350,7 +350,7 @@ def flatten(x): # ------------------------- HELPER METHODS ------------------------------------ _BUILTINTYPES = (int, float, complex, str, bytes, bool) _BUILTINNAMES = {typ.__name__ for typ in _BUILTINTYPES} -_NPTYPES = (_np.int_, _np.float_, _np.complex_, _np.bool_) +_NPTYPES = (_np.int_, _np.float64, _np.complex128, _np.bool_) def _save_recursive_hdf5(fil, path, obj, compress): diff --git a/pyproject.toml b/pyproject.toml index 5a06ade..89086ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=44"] +requires = ["setuptools>=82"] build-backend = "setuptools.build_meta" [project] @@ -14,7 +14,7 @@ maintainers = [ description = "LNLS Math and Physics Utilities" readme = "README.md" dynamic = ["version", "dependencies"] -requires-python = ">=3.4" +requires-python = ">=3.12" classifiers = [ "Intended Audience :: Science/Research", "Programming Language :: Python", diff --git a/requirements.txt b/requirements.txt index 5fb8af6..dba542d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ importlib-metadata -numpy>=1.18,<=1.23 +numpy>=1.26.0 matplotlib>=3.1.2 h5py>=3.1.0