Update to 0.0.5

This commit is contained in:
2025-11-18 07:51:24 +01:00
parent 9a731fa902
commit bb8120d20a
4 changed files with 16 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:211b81ce8c71deb00718a3111ee0f7fe4e99d4acfca4aa0126becdd74d84f1e8
size 3462

BIN
0.0.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Nov 18 06:41:09 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 0.0.5:
- Compatibility with python 3.14
- Wrap exception for a clean error message
-------------------------------------------------------------------
Mon Nov 17 09:25:35 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -18,7 +18,7 @@
Name: python-pytest-mockito
Version: 0.0.4
Version: 0.0.5
Release: 0
Summary: Convenience plugin on top of mockito
License: MIT
@@ -27,7 +27,7 @@ Source: https://github.com/kaste/pytest-mockito/archive/refs/tags/%{vers
BuildRequires: %{python_module mockito}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -47,6 +47,9 @@ For example:
%prep
%autosetup -n pytest-mockito-%{version}
# Replace the dynamic version that's calculated with hatch-vcs without
# as git checkout
sed -i 's/dynamic.*/version="%{version}"/' pyproject.toml
%build
%pyproject_wheel
@@ -56,8 +59,7 @@ For example:
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Failing tests in python 3.14, reported upstream: gh#kaste/pytest-mockito#2
%pytest -k "not testFail"
%pytest
%files %python_files
%license LICENSE