-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update pyproject.toml #105
base: main
Are you sure you want to change the base?
Conversation
The red CI status seems to be unrelated to this PR. |
|
@LucaMarconato 👍 thanks. To address the CI, which helps keep better track of dependencies for reproducibility / maintenance:
|
Thanks @thewtex for the explanation. I tried it but unfortunately |
I could use |
@LucaMarconato just to add this for context: ❯ pixi install -a
× failed to solve the pypi requirements of 'default' 'linux-64'
├─▶ Failed to build `multiscale-spatial-image @ file:///Users/jnimoca/Jose_BI/test_luca`
╰─▶ Build backend failed to determine metadata through `prepare_metadata_for_build_editable` (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/Users/jnimoca/Library/Caches/rattler/cache/uv-cache/builds-v0/.tmpBAHDuP/lib/python3.10/site-packages/hatchling/build.py", line 133, in
prepare_metadata_for_build_editable
directory = os.path.join(metadata_directory, f'{builder.artifact_project_id}.dist-info')
File "/Users/jnimoca/Library/Caches/rattler/cache/uv-cache/builds-v0/.tmpBAHDuP/lib/python3.10/site-packages/hatchling/builders/wheel.py", line 815, in
artifact_project_id
self.project_id
File "/Users/jnimoca/Library/Caches/rattler/cache/uv-cache/builds-v0/.tmpBAHDuP/lib/python3.10/site-packages/hatchling/builders/plugin/interface.py", line 374, in
project_id
self.__project_id = f'{self.normalize_file_name_component(self.metadata.core.name)}-{self.metadata.version}'
File "/Users/jnimoca/Library/Caches/rattler/cache/uv-cache/builds-v0/.tmpBAHDuP/lib/python3.10/site-packages/hatchling/metadata/core.py", line 149, in version
self._version = self._get_version()
File "/Users/jnimoca/Library/Caches/rattler/cache/uv-cache/builds-v0/.tmpBAHDuP/lib/python3.10/site-packages/hatchling/metadata/core.py", line 248, in _get_version
version = self.hatch.version.cached
File "/Users/jnimoca/Library/Caches/rattler/cache/uv-cache/builds-v0/.tmpBAHDuP/lib/python3.10/site-packages/hatchling/metadata/core.py", line 1456, in cached
raise type(e)(message) from None
OSError: Error getting the version from source `regex`: file does not exist: multiscale_spatial_image/__about__.py |
Invalid field.
pixi install -a with pixi 0.40.2.
Hmm, the update worked locally for me on Linux with Pixi 0.40.2 and 0.41.1. I'll push the updates. |
zarr.storage.BaseStore is not available in Zarr Python 3.
Replaces DirectoryStore.
Not available in Zarr Python 3.
This reverts commit bd0bcfc.
18cec5d
to
4e71dd4
Compare
@LucaMarconato sorry I did not look at your original comment more carefully. xarray has integrated xarray-dataclasses in xarray>=2024.10.0. Indeed, we removed the dependency intentionally in #94 and release version 2 of this package accordingly. |
@LucaMarconato one approach would remove the xarray-dataclasses dependency from |
When trying to solve a conda env for
multiscale-spatial-image
I got the following error:We can see indeed from the requirements of
xarray-dataclasses==1.7.0
that the package is not compatible withxarray==2024.10.0
.Instead, we see that
xarray-dataclasses==1.8.0
should not lead to this constraint. For this reason, this PR sets the minimum version ofxarray-dataclasses
to1.8.0
. I will mark this PR as ready for review as soon as I manage to obtain a valid conda-forge build.