1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/community/py3-xarray/fix-pytest-ini-options.patch
mio 51d396ca98 community/py3-xarray: upgrade to 2025.4.0, skip failed tests on 32-bit arches
https://github.com/pydata/xarray/releases/tag/v2025.04.0
https://github.com/pydata/xarray/releases/tag/v2025.03.1
https://github.com/pydata/xarray/releases/tag/v2025.03.0
https://github.com/pydata/xarray/releases/tag/v2025.01.2
https://github.com/pydata/xarray/releases/tag/v2025.01.1
https://github.com/pydata/xarray/releases/tag/v2025.01.0

Also add patch to remove unrecognised pytest options, and skip failed
tests on 32-bit arches.

```
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --mypy-only-local-stub --mypy-pyproject-toml-file=pyproject.toml
  inifile: [...]/py3-xarray/src/xarray-2025.4.0/pyproject.toml
  rootdir: [...]/py3-xarray/src/xarray-2025.4.0
```
2025-05-03 19:10:08 +00:00

11 lines
286 B
Diff

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -296,8 +296,6 @@
addopts = [
"--strict-config",
"--strict-markers",
- "--mypy-only-local-stub",
- "--mypy-pyproject-toml-file=pyproject.toml",
]
# We want to forbid warnings from within xarray in our tests — instead we should