- add no-mypy-test-plugin.patch: skip pytest-mypy dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=112
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
--- xarray-2024.11.0/xarray/tutorial.py 2024-11-22 21:58:55.000000000 +0100
|
||||
+++ xarray-2024.11.0/xarray/tutorial.py.new 2024-11-24 14:18:51.684909924 +0100
|
||||
@@ -162,9 +162,11 @@
|
||||
Index: xarray-2025.03.0/xarray/tutorial.py
|
||||
===================================================================
|
||||
--- xarray-2025.03.0.orig/xarray/tutorial.py
|
||||
+++ xarray-2025.03.0/xarray/tutorial.py
|
||||
@@ -164,9 +164,11 @@ def open_dataset(
|
||||
downloader = pooch.HTTPDownloader(headers=headers)
|
||||
|
||||
# retrieve the file
|
||||
|
13
no-mypy-test-plugin.patch
Normal file
13
no-mypy-test-plugin.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: xarray-2025.03.0/pyproject.toml
|
||||
===================================================================
|
||||
--- xarray-2025.03.0.orig/pyproject.toml
|
||||
+++ xarray-2025.03.0/pyproject.toml
|
||||
@@ -296,8 +296,6 @@ ban-relative-imports = "all"
|
||||
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
|
@@ -120,6 +120,7 @@ Sun Mar 30 08:19:37 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
* Enhance and move ISO-8601 parser to coding.times
|
||||
* fix warning from scipy backend guess_can_open on directory
|
||||
* time coding refactor
|
||||
- add no-mypy-test-plugin.patch: skip pytest-mypy dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 12:27:55 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
@@ -36,6 +36,8 @@ Source: https://github.com/pydata/xarray/archive/refs/tags/v%{version}.t
|
||||
# PATCH-FEATURE-UPSTREAM local_dataset.patch gh#pydata/xarray#5377 mcepl@suse.com
|
||||
# fix xr.tutorial.open_dataset to work with the preloaded cache.
|
||||
Patch0: local_dataset.patch
|
||||
# PATCH-FIX-OPENSUSE: skip dependency on pytest-mypy
|
||||
Patch1: no-mypy-test-plugin.patch
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
@@ -133,6 +135,8 @@ The [io] extra for xarray, N-D labeled arrays and datasets in Python
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#%%package parallel
|
||||
#Summary: The python xarray[parallel] extra
|
||||
#Requires: python-dask-complete >= 2023.11
|
||||
@@ -140,7 +144,6 @@ The [io] extra for xarray, N-D labeled arrays and datasets in Python
|
||||
#
|
||||
#%description parallel
|
||||
#The [parallel] extra for xarray, N-D labeled arrays and datasets in Python
|
||||
|
||||
%package viz
|
||||
Summary: The python xarray[viz] extra
|
||||
Requires: python-matplotlib
|
||||
|
Reference in New Issue
Block a user