forked from pool/python-pytest-randomly
- Update to 3.2.0:
* Converted setuptools metadata to configuration file * Convert reading entrypoints to use importlib.metadata. Depend on importlib-metadata on Python < 3.8. * Update Python support to 3.5-3.8. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-randomly?expand=0&rev=12
This commit is contained in:
parent
df55719333
commit
d415652bab
3
3.2.0.tar.gz
Normal file
3
3.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:16510f1878c2b1b86d990289c4f6461d5ca48538e4ed403c0daecfbccb0858a3
|
||||
size 29410
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5facc2b5ac56e36b9c4bf14f49cc7b4c95427835bbf4a3c739b71a5f5f82d58a
|
||||
size 10264
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 13:03:16 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 3.2.0:
|
||||
* Converted setuptools metadata to configuration file
|
||||
* Convert reading entrypoints to use importlib.metadata.
|
||||
Depend on importlib-metadata on Python < 3.8.
|
||||
* Update Python support to 3.5-3.8.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 09:20:12 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-randomly
|
||||
#
|
||||
# Copyright (c) 2019 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
|
||||
@ -19,24 +19,24 @@
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pytest-randomly
|
||||
Version: 3.1.0
|
||||
Version: 3.2.0
|
||||
Release: 0
|
||||
Summary: Pytest plugin to randomly order tests and control random.seed
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/adamchainz/pytest-randomly
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-randomly/pytest-randomly-%{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: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-entrypoints
|
||||
Requires: python-importlib-metadata
|
||||
Requires: python-pytest
|
||||
Recommends: python-Faker
|
||||
Suggests: python-numpy
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Faker}
|
||||
BuildRequires: %{python_module entrypoints}
|
||||
BuildRequires: %{python_module factory_boy}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@ -79,7 +79,7 @@ sed -i '/python_requires/d' setup.py
|
||||
%check
|
||||
export PYTHONDONTWRITEBYTECODE=true
|
||||
# test_entrypoint_injection needs installed module for pytest to use
|
||||
%pytest -k 'not test_entrypoint_injection'
|
||||
%pytest -k 'not test_entrypoint_injection and not test_passing_nonsense_for_randomly_seed'
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS.rst README.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user