- Update to 0.2.0 #1

Merged
StevenK merged 1 commits from update-to-0.2.0 into main 2026-03-03 01:11:05 +01:00
5 changed files with 20 additions and 24 deletions

Binary file not shown.

BIN
pytest_mypy_testing-0.2.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Mar 2 02:19:55 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.2.0:
* Require pytest >= 8
* Remove support for Python 3.7, 3.8 and 3.9. Require at least Python 3.10
* Add support for Python 3.13 and Python 3.14
* Switch to original flit build backend
- Drop patch support-new-mypy.patch, no longer required.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 21 09:28:56 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com> Wed Jan 21 09:28:56 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -19,24 +19,23 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pytest-mypy-testing Name: python-pytest-mypy-testing
Version: 0.1.3 Version: 0.2.0
Release: 0 Release: 0
Summary: Pytest plugin to check mypy output 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 BuildRequires: %{python_module base >= 3.10}
Patch0: support-new-mypy.patch BuildRequires: %{python_module flit-core >= 3.12}
BuildRequires: %{python_module flit-core >= 2}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module mypy >= 1.0} BuildRequires: %{python_module mypy >= 1.0}
BuildRequires: %{python_module pytest >= 7} BuildRequires: %{python_module pytest >= 8}
# /SECTION # /SECTION
BuildRequires: fdupes BuildRequires: fdupes
Requires: python-mypy >= 1.0 Requires: python-mypy >= 1.0
Requires: python-pytest >= 7 Requires: python-pytest >= 8
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -48,7 +47,7 @@ mypy produces a given output. As mypy can be told to display the
type of an expression this allows us to check mypys type interference. type of an expression this allows us to check mypys type interference.
%prep %prep
%autosetup -p1 -n pytest-mypy-testing-%{version} %autosetup -p1 -n pytest_mypy_testing-%{version}
%build %build
%pyproject_wheel %pyproject_wheel

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.10
mypy_path = src