From 435ea6e83ba9242a2c541deb21baa32b1a62b88e Mon Sep 17 00:00:00 2001 From: tzing_t Date: Mon, 4 Aug 2025 02:59:47 +0000 Subject: [PATCH] fix build error --- python-pytest-mypy.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/python-pytest-mypy.spec b/python-pytest-mypy.spec index 89fe61b..ba50c97 100644 --- a/python-pytest-mypy.spec +++ b/python-pytest-mypy.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-pytest-mypy Version: 0.10.3 -Release: 2 +Release: 3 Summary: Mypy static type checker plugin for Pytest License: MIT URL: https://github.com/dbader/pytest-mypy @@ -28,6 +28,12 @@ BuildRequires: python3-attrs BuildRequires: python3-filelock BuildRequires: python3-pytest BuildRequires: python3-mypy +BuildRequires: python3-pexpect +# Add for check part +BuildRequires: python3-pytest-xdist +BuildRequires: python3-pytest-cov +BuildRequires: python3-hypothesis +BuildRequires: python3-pytest-metadata # General requires Requires: python3-attrs Requires: python3-filelock @@ -75,7 +81,7 @@ popd mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +%pytest %files -n python3-pytest-mypy %{python3_sitelib}/__pycache__/pytest_mypy.* @@ -86,6 +92,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 04 2025 tzing - 0.10.3-3 +- Fix build error + * Thu Jul 6 2023 li-miaomiao_zhr - 0.10.3-2 - Upgrade the installation method to pyproject -- Gitee