satellogic / telluric

telluric is a Python library to manage vector and raster geospatial data in an interactive and easy way
MIT License
87 stars 18 forks source link

CI broken on master #286

Closed astrojuanlu closed 3 years ago

astrojuanlu commented 3 years ago

See for example: https://github.com/satellogic/telluric/actions/runs/535300150

telluric/_version.py:42: error: "VersioneerConfig" has no attribute "VCS"
telluric/_version.py:43: error: "VersioneerConfig" has no attribute "style"
telluric/_version.py:44: error: "VersioneerConfig" has no attribute "tag_prefix"
telluric/_version.py:45: error: "VersioneerConfig" has no attribute "parentdir_prefix"
telluric/_version.py:46: error: "VersioneerConfig" has no attribute "versionfile_source"
telluric/_version.py:47: error: "VersioneerConfig" has no attribute "verbose"
telluric/_version.py:55: error: Need type annotation for 'LONG_VERSION_PY' (hint: "LONG_VERSION_PY: Dict[<type>, <type>] = ...")
telluric/_version.py:56: error: Need type annotation for 'HANDLERS' (hint: "HANDLERS: Dict[<type>, <type>] = ...")
telluric/_version.py:86: error: Item "BaseException" of "Optional[BaseException]" has no attribute "errno"
telluric/_version.py:86: error: Item "None" of "Optional[BaseException]" has no attribute "errno"
telluric/_version.py:98: error: Incompatible types in assignment (expression has type "str", variable has type "bytes")
telluric/_version.py:102: error: On Python 3 '%s' % b'abc' produces "b'abc'", not 'abc'; use '%r' % b'abc' if this is desired behavior
telluric/util/raster_utils.py:31: error: Module has no attribute "bool"; maybe "bool_" or "bool8"?
telluric/georaster.py:487: error: Incompatible types in assignment (expression has type "None", variable has type "dtype[Any]")
telluric/georaster.py:503: error: Module has no attribute "ndarray"
telluric/georaster.py:1120: error: Module has no attribute "float"; maybe "float_", "cfloat", or "float64"?
Found 16 errors in 3 files (checked 19 source files)
Error: Process completed with exit code 1.
arielze commented 3 years ago

I'm mot able to reproduce the error locally

eecarres commented 3 years ago

Hi! Did you tried with my branch? Not sure it's related, but it's the one that throw that error

eecarres commented 3 years ago

https://github.com/eecarres/telluric/tree/add-warp_mem_limit-and-num_threads-params-to-reproject-calls

drnextgis commented 3 years ago

I was able to reproduce the issue and fixed it as a part of another PR: https://github.com/satellogic/telluric/pull/288

drnextgis commented 3 years ago

Fixed.