Skip to content

Squeeze fill value.#583

Merged
martindurant merged 6 commits intofsspec:mainfrom
groutr:squeeze_v
Jan 21, 2026
Merged

Squeeze fill value.#583
martindurant merged 6 commits intofsspec:mainfrom
groutr:squeeze_v

Conversation

@groutr
Copy link
Copy Markdown
Contributor

@groutr groutr commented Jan 20, 2026

Resolves a TypeError where int/float/str/bool care called on v and v is a 1D array of 1 element.

Addresses #582

@martindurant
Copy link
Copy Markdown
Member

martindurant commented Jan 20, 2026

Please update from main. I don't know how a syntax typo got in there!

(NM: did it for you :) )

@martindurant
Copy link
Copy Markdown
Member

The set of failing tests, all relying on custom codecs that don't work in zarr 3, could be gated to only run on zarr 2.

@groutr
Copy link
Copy Markdown
Contributor Author

groutr commented Jan 20, 2026

Should probably add a test where v is a 1D array with a single element.

@groutr
Copy link
Copy Markdown
Contributor Author

groutr commented Jan 21, 2026

The set of failing tests, all relying on custom codecs that don't work in zarr 3, could be gated to only run on zarr 2.

I'm not sure how to fix that.

@martindurant
Copy link
Copy Markdown
Member

OK, don't worry about it.

@martindurant martindurant merged commit 3cd5ddc into fsspec:main Jan 21, 2026
2 of 4 checks passed
@juntyr
Copy link
Copy Markdown

juntyr commented Mar 30, 2026

@martindurant Could you please publish a release with this fix? Thank you so much for your help!

@martindurant
Copy link
Copy Markdown
Member

0.2.10 is out

@juntyr
Copy link
Copy Markdown

juntyr commented Mar 30, 2026

0.2.10 is out

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants