New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev install missing openeo-udf? #159
Comments
Removing the missing dependency from setup.py helps for now... |
yes, other workaround is to also clone openeo_udf and do pip install -e . It's on our list to do a proper release on pypi. But in fact we would like to find a proper way to depend on openeo-udf without dragging in the whole server implementation. |
+1 for me reference: internal ticket EP-3578
|
I think openeo-udf should only contain the underlying specification of the protocol and base classes, while openeo-python-udf should be the actual python server implementation (like openeo-r-udf). openeo-python-udf can then inherit from openeo-udf, but I'm not sure how easy all that would be as I think Sören implemented things in a way that documentation is generated from code. |
well, that does not really solve your original issue I think. The problem is that openeo-python-client currently depends on openeo-udf for very little but the dependency drags in a lot of secondary unnecessary stuff. My current idea to resolve this is to reverse the dependency so that the necessary base classes are are in the python client and openeo-udf depends on that. Ideally, openeo-python-client should have as few (lesser widespread) dependencies as possible I think. |
I had assumed that the base udf classes (without any server stuff) would not have many (non-dev) dependencies (if any)... Then it would solve the issue, I think. |
Our backend also depends on the python client. We simply do it like that, because it's more annoying for the large group of Python client users to drag in server dependencies than the other way round. (Backend devs tend to know how to deal with dependencies, client users are researchers for whom all of this is very magical.) |
…neo_udf` `DataCube` Based on original `openeo_udf.api.datacube.DataCube` implementation Introduces new `openeo.udf` subpackage Eliminates `openeo_udf` dependency from `openeo.rest.conversions` related: #159, EP-3578
Hierarchy now goes further than `openeo.rest` "client" exceptions related: #159, EP-3578
based on `UdfData` from `openeo_udf` package only supports `XarrayDataCube` and `StructuredData` lists
… on `openeo_udf` `DataCube` Based on `openeo_udf.api.datacube.DataCube` implementation Introduces new `openeo.udf` subpackage Eliminates `openeo_udf` dependency from `openeo.rest.conversions`
Hierarchy now goes further than `openeo.rest` "client" exceptions related: #159, EP-3578
based on `UdfData` from `openeo_udf` package only supports `XarrayDataCube` and `StructuredData` lists
Based on `openeo_udf.api.run_code` implementation Eliminates `openeo_udf` dependency from `openeo.rest.datacube`
Turned out that original tests did not test netcdf functionality properly (no asserts were done). Failing tests are skipped for now
Allows to drop `--extra-index-url`again from pip install instructions
… on `openeo_udf` `DataCube` Based on `openeo_udf.api.datacube.DataCube` implementation Introduces new `openeo.udf` subpackage Eliminates `openeo_udf` dependency from `openeo.rest.conversions`
Hierarchy now goes further than `openeo.rest` "client" exceptions related: #159, EP-3578
based on `UdfData` from `openeo_udf` package only supports `XarrayDataCube` and `StructuredData` lists
Based on `openeo_udf.api.run_code` implementation Eliminates `openeo_udf` dependency from `openeo.rest.datacube`
Turned out that original tests did not test netcdf functionality properly (no asserts were done). Failing tests are skipped for now
Turned out that original tests did not test netcdf functionality properly (no asserts were done). Failing tests are skipped for now
Allows to drop `--extra-index-url`again from pip install instructions
…package `execute_local_udf` had nothing to do with `rest.DataCube`
…aydatacube` Doesn't belong anymore in `openeo.rest.conversions`
…_to_NetCDF Apparently these private functions are used in openeo-geopyspark-driver so we can not just remove them Reorganized these load/save functions a bit in `XarrayIO` helper class
Simplified version of original `FeatureCollection` from `openeo_udf`
original implementation applied along y-axis instead of t-axis new implementation explicitly searches for time dimension and allows input to have less or more than 3 dims (t-x-y)
…eric It does not make sense to have a default value for callback
…ne to empty list remove unnecessary magic behind the scenes makes API more straightforward and easier to reason about
#159/EP-3578 related changes are large enough to justify this bump
just merged #190 which solves this issue |
I'm trying to install the client for development purposes (want to try the
_repl_html_
in Jupyter), but after executingpip install -e .[dev]
I receive that openeo-udf is missing:The text was updated successfully, but these errors were encountered: