forked from pool/python-pytest-mockito
Update to 0.0.5
This commit is contained in:
@@ -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
BIN
0.0.5.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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>
|
Mon Nov 17 09:25:35 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-pytest-mockito
|
Name: python-pytest-mockito
|
||||||
Version: 0.0.4
|
Version: 0.0.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Convenience plugin on top of mockito
|
Summary: Convenience plugin on top of mockito
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -27,7 +27,7 @@ Source: https://github.com/kaste/pytest-mockito/archive/refs/tags/%{vers
|
|||||||
BuildRequires: %{python_module mockito}
|
BuildRequires: %{python_module mockito}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -47,6 +47,9 @@ For example:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pytest-mockito-%{version}
|
%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
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@@ -56,8 +59,7 @@ For example:
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Failing tests in python 3.14, reported upstream: gh#kaste/pytest-mockito#2
|
%pytest
|
||||||
%pytest -k "not testFail"
|
|
||||||
|
|
||||||
%files %python_files
|
%files %python_files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user