Closed avalentino closed 1 year ago
@avalentino thank you for your contibution.
I'm a bit surprised by the proposed change.
Do you say that resources are not installed without this PR? If this is the case I need to understand how I didn't notice any failure.
Hi @alexamici I notice the problem when I was preparing the Debian package for xarray-sentinel (see also [1] and [2]). The debian tools that build the SW and generate the package are quite complex and the entire procedure that leads to the error is hard to replicate.
A very simplified version of the procedure to reproduce the issue is the following:
wget https://github.com/bopen/xarray-sentinel/archive/refs/tags/v0.9.3.tar.gz
env SETUPTOOLS_SCM_PRETEND_VERSION=0.9.3 python3 -m pip install xarray-sentinel-0.9.3.tar.gz
I admit that the procedure is quite uncommon and it is something that should not happen to a normal user. The fix, anyway, is really simple so I would appreciate if you could consider to include it.
[1] https://tracker.debian.org/pkg/xarray-sentinel [2] https://salsa.debian.org/debian-gis-team/xarray-sentinel
Edit: Regarding the CI failure, the problem seems to be not related to this PR
Thanks!!
Thank you @alexamici
Install resources (XML schema files)