diff --git a/0.0.4.tar.gz b/0.0.4.tar.gz deleted file mode 100644 index 43313ef..0000000 --- a/0.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:211b81ce8c71deb00718a3111ee0f7fe4e99d4acfca4aa0126becdd74d84f1e8 -size 3462 diff --git a/0.0.5.tar.gz b/0.0.5.tar.gz new file mode 100644 index 0000000..d0cfb43 --- /dev/null +++ b/0.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13c8d6c7c4c4c384f426cdc4aa69e55270a9a86caa03bfb0e8a12262885a73ca +size 3530 diff --git a/python-pytest-mockito.changes b/python-pytest-mockito.changes index 1362d6b..c5b0e06 100644 --- a/python-pytest-mockito.changes +++ b/python-pytest-mockito.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 18 06:41:09 UTC 2025 - Daniel Garcia + +- 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 diff --git a/python-pytest-mockito.spec b/python-pytest-mockito.spec index afdf01a..eff43a5 100644 --- a/python-pytest-mockito.spec +++ b/python-pytest-mockito.spec @@ -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