Accepting request 812812 from devel:languages:python:pytest
- Update to 3.4.0: * Provide a faker_seed fixture to set the seed for tests using faker's pytest fixtures (as per its docs). OBS-URL: https://build.opensuse.org/request/show/812812 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-randomly?expand=0&rev=9
This commit is contained in:
commit
94bdd4adff
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:631db9ac8d1ac6536e5921d92009c1f1fc79254f4cadc46cc107951d74a6c7e2
|
|
||||||
size 31404
|
|
3
3.4.0.tar.gz
Normal file
3
3.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f6144bfc482874a27c9d1827f4a49b9fc16c0bf4277b8159f44ee549705e7625
|
||||||
|
size 32265
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 9 07:47:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.4.0:
|
||||||
|
* Provide a faker_seed fixture to set the seed for tests using faker's pytest fixtures (as per its docs).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 27 09:33:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Mon Apr 27 09:33:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -19,28 +19,27 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pytest-randomly
|
Name: python-pytest-randomly
|
||||||
Version: 3.3.1
|
Version: 3.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pytest plugin to randomly order tests and control random.seed
|
Summary: Pytest plugin to randomly order tests and control random.seed
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/pytest-dev/pytest-randomly
|
URL: https://github.com/pytest-dev/pytest-randomly
|
||||||
Source: https://github.com/pytest-dev/pytest-randomly/archive/%{version}.tar.gz
|
Source: https://github.com/pytest-dev/pytest-randomly/archive/%{version}.tar.gz
|
||||||
BuildRequires: %{python_module importlib-metadata}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-importlib-metadata
|
Requires: python-importlib-metadata
|
||||||
Requires: python-pytest
|
Requires: python-pytest
|
||||||
Recommends: python-Faker
|
Recommends: python-Faker >= 4.1.0
|
||||||
Suggests: python-numpy
|
Suggests: python-numpy
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module Faker}
|
BuildRequires: %{python_module Faker >= 4.1.0}
|
||||||
BuildRequires: %{python_module factory_boy}
|
BuildRequires: %{python_module factory_boy}
|
||||||
|
BuildRequires: %{python_module importlib-metadata}
|
||||||
BuildRequires: %{python_module numpy}
|
BuildRequires: %{python_module numpy}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -77,7 +76,6 @@ sed -i '/python_requires/d' setup.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export PYTHONDONTWRITEBYTECODE=true
|
|
||||||
# test_entrypoint_injection needs installed module for pytest to use
|
# test_entrypoint_injection needs installed module for pytest to use
|
||||||
%pytest -k 'not test_entrypoint_injection and not test_passing_nonsense_for_randomly_seed'
|
%pytest -k 'not test_entrypoint_injection and not test_passing_nonsense_for_randomly_seed'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user