Update to 3.12.0

This commit is contained in:
Julien Enselme 2023-10-21 13:07:36 +00:00
parent 4ae31c5ae0
commit 37629d013f
3 changed files with 7 additions and 5 deletions

1
.gitignore vendored
View File

@ -24,3 +24,4 @@
/pytest-mock-3.9.0.tar.gz /pytest-mock-3.9.0.tar.gz
/pytest-mock-3.10.0.tar.gz /pytest-mock-3.10.0.tar.gz
/pytest-mock-3.11.1.tar.gz /pytest-mock-3.11.1.tar.gz
/pytest-mock-3.12.0.tar.gz

View File

@ -2,8 +2,8 @@
%global file_name pytest_mock %global file_name pytest_mock
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 3.11.1 Version: 3.12.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: Thin-wrapper around the mock package for easier use with py.test Summary: Thin-wrapper around the mock package for easier use with py.test
License: MIT License: MIT
@ -38,8 +38,6 @@ to worry about undoing patches at the end of a test.
rm -rf *.egg-info rm -rf *.egg-info
# Correct end of line encoding for README # Correct end of line encoding for README
sed -i 's/\r$//' README.rst sed -i 's/\r$//' README.rst
# Backport https://github.com/pytest-dev/pytest-mock/commit/e2016928db1147a2a46de6ee9fa878ca0e9d8fc8
sed -i "s/import py\.code//" tests/test_pytest_mock.py
%build %build
%py3_build %py3_build
@ -62,6 +60,9 @@ sed -i "s/import py\.code//" tests/test_pytest_mock.py
%{python3_sitelib}/%{file_name}-%{version}-py%{python3_version}.egg-info/ %{python3_sitelib}/%{file_name}-%{version}-py%{python3_version}.egg-info/
%changelog %changelog
* Sat Oct 21 2023 Julien Enselme <jujens@jujens.eu> - 3.12.0-1
- Update to 3.12.0
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.1-3 * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pytest-mock-3.11.1.tar.gz) = f52147498657d35f4616ea788b500a68ffcf1c2c066047fb973308b54e11bd7fe5a3961115bab99ae6858000ebb68b35cc489e81221a0bd26afae8426092ff6b SHA512 (pytest-mock-3.12.0.tar.gz) = 6da429e646a4e3a825f699969dbc87033136918bd9aa111ff334fac324e5ac89ef6516e82ffeeb20cb6a857fbbe904d8ee985acefba2d2b7bd0ffe4b9227ad82