Accepting request 828541 from home:mcalabkova:branches:devel:languages:python:pytest

- Update to version 0.4.2
  * Work with pre-release pytest versions, by [chandlernine](https://github.com/chandlernine), 
    with a different implementation proposed by [Aly Sivji](https://github.com/alysivji).
  * Marking a test with `freeze_time` should freeze time in fixtures, even if the `freezer` 
    fixture is also used explicitly late in the fixture list. Thanks to 
    [Christian Grossmüller](https://github.com/chgad) for pointing out the problem.

OBS-URL: https://build.opensuse.org/request/show/828541
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-freezegun?expand=0&rev=3
This commit is contained in:
2020-08-22 05:12:50 +00:00
committed by Git OBS Bridge
parent 7426313f2c
commit 15baea83c5
4 changed files with 25 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02ae2729cf44f8aacbb5ff0f655d64b8fe47957591fc7ef0808b57b7d34292f9
size 6809

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

Binary file not shown.

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Aug 21 15:01:49 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to version 0.4.2
* Work with pre-release pytest versions, by [chandlernine](https://github.com/chandlernine),
with a different implementation proposed by [Aly Sivji](https://github.com/alysivji).
* Marking a test with `freeze_time` should freeze time in fixtures, even if the `freezer`
fixture is also used explicitly late in the fixture list. Thanks to
[Christian Grossmüller](https://github.com/chgad) for pointing out the problem.
-------------------------------------------------------------------
Wed Mar 11 12:42:02 UTC 2020 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-freezegun
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,32 +12,31 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-freezegun
Version: 0.4.1
Version: 0.4.2
Release: 0
License: MIT
Summary: Fixtures in freeze_time
Url: https://github.com/ktosiek/pytest-freezegun
License: MIT
Group: Development/Languages/Python
#Source: https://files.pythonhosted.org/packages/source/p/pytest-freezegun/pytest-freezegun-%{version}.zip
URL: https://github.com/ktosiek/pytest-freezegun
Source: https://github.com/ktosiek/pytest-freezegun/archive/%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-freezegun > 0.3
Requires: python-pytest >= 3.0.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module freezegun > 0.3}
BuildRequires: %{python_module pytest >= 3.0.0}
# /SECTION
BuildRequires: unzip
BuildRequires: fdupes
Requires: python-freezegun > 0.3
Requires: python-pytest >= 3.0.0
BuildArch: noarch
%python_subpackages
%description