- 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.
This commit was merged in pull request #1.
This commit is contained in:
2026-03-02 13:20:05 +11:00
parent 41c28f6a06
commit 5e413de573
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>

View File

@@ -19,24 +19,23 @@
%{?sle15_python_module_pythons}
Name: python-pytest-mypy-testing
Version: 0.1.3
Version: 0.2.0
Release: 0
Summary: Pytest plugin to check mypy output
License: Apache-2.0 OR MIT
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
# PATCH-FIX-OPENSUSE Support newer mypy
Patch0: support-new-mypy.patch
BuildRequires: %{python_module flit-core >= 2}
Source: https://files.pythonhosted.org/packages/source/p/pytest-mypy-testing/pytest_mypy_testing-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module flit-core >= 3.12}
BuildRequires: %{python_module pip}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module mypy >= 1.0}
BuildRequires: %{python_module pytest >= 7}
BuildRequires: %{python_module pytest >= 8}
# /SECTION
BuildRequires: fdupes
Requires: python-mypy >= 1.0
Requires: python-pytest >= 7
Requires: python-pytest >= 8
BuildArch: noarch
%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.
%prep
%autosetup -p1 -n pytest-mypy-testing-%{version}
%autosetup -p1 -n pytest_mypy_testing-%{version}
%build
%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