update fixtures in future
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- numpy, python
- Domain
- testing-qa
Research direction
Locate the geom_array fixture and inspect where it is repeatedly created as a NumPy array and cast to a GeometryArray. Check the minimum xarray version and its extension-array roundtrip behavior before changing the fixture. Done means the fixture is natively a GeometryArray when that xarray support is available and the affected test suite still passes.
Written by the indexing model from the issue text.
Description
I think the whole test suite would benefit from a pass through at some point. The
geom_arrayfixture is used repeatedly as a numpy array and then cast to aGeometryArray, it seems, to make testing for equality easier when xarray didn't handle this extension array stuff natively. So perhaps once the minimum version is bumped to a version of xarray where this geometry array type is preserved on the roundtrip, you can makegeom_arraynatively as a fixture an extension array.
Originally posted by @ilan-gold in https://github.com/xarray-contrib/xvec/issues/112#issuecomment-2845094426
- Dominant language
- Python
- Stars
- 139
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from xarray-contrib/xvec
-
CI
Difficulty 3/5 1-2 days Newbie friendliness 35/100
xarray-contrib/xvec#145 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
xarray-contrib/xvec#141 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
xarray-contrib/xvec#129 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
xarray-contrib/xvec#100 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
xarray-contrib/xvec#91 · 2 comments ·
All issues in xarray-contrib/xvec
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·