17
0

2 Commits

3 changed files with 1 additions and 23 deletions

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
Mon Aug 4 02:27:17 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-new-mypy.patch:
* Support newer mypy than upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 20 11:03:41 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de> Fri Sep 20 11:03:41 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -1,8 +1,7 @@
# #
# spec file for package python-pytest-mypy-testing # spec file for package python-pytest-mypy-testing
# #
# Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -25,8 +24,6 @@ Summary: Pytest plugin to check mypy output
License: Apache-2.0 OR MIT License: Apache-2.0 OR MIT
URL: https://github.com/davidfritzsche/pytest-mypy-testing URL: https://github.com/davidfritzsche/pytest-mypy-testing
Source: https://files.pythonhosted.org/packages/source/p/pytest-mypy-testing/pytest-mypy-testing-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytest-mypy-testing/pytest-mypy-testing-%{version}.tar.gz
# PATCH-FIX-OPENSUSE Support newer mypy
Patch0: support-new-mypy.patch
BuildRequires: %{python_module flit-core >= 2} BuildRequires: %{python_module flit-core >= 2}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros

View File

@@ -1,13 +0,0 @@
Index: pytest-mypy-testing-0.1.3/mypy.ini
===================================================================
--- pytest-mypy-testing-0.1.3.orig/mypy.ini
+++ pytest-mypy-testing-0.1.3/mypy.ini
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: CC0-1.0
[mypy]
-python_version = 3.8
+python_version = 3.9
mypy_path = src