From d415652babd97624d5ec4667f7884b1a162ff24e0047458c1f55d7b564e2e54f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 6 Jan 2020 13:09:04 +0000 Subject: [PATCH] - 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 --- 3.2.0.tar.gz | 3 +++ pytest-randomly-3.1.0.tar.gz | 3 --- python-pytest-randomly.changes | 9 +++++++++ python-pytest-randomly.spec | 12 ++++++------ 4 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 3.2.0.tar.gz delete mode 100644 pytest-randomly-3.1.0.tar.gz diff --git a/3.2.0.tar.gz b/3.2.0.tar.gz new file mode 100644 index 0000000..d4262ea --- /dev/null +++ b/3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16510f1878c2b1b86d990289c4f6461d5ca48538e4ed403c0daecfbccb0858a3 +size 29410 diff --git a/pytest-randomly-3.1.0.tar.gz b/pytest-randomly-3.1.0.tar.gz deleted file mode 100644 index 19f6b98..0000000 --- a/pytest-randomly-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5facc2b5ac56e36b9c4bf14f49cc7b4c95427835bbf4a3c739b71a5f5f82d58a -size 10264 diff --git a/python-pytest-randomly.changes b/python-pytest-randomly.changes index 774a2ab..3a14bbb 100644 --- a/python-pytest-randomly.changes +++ b/python-pytest-randomly.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jan 6 13:03:16 UTC 2020 - Tomáš Chvátal + +- 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 diff --git a/python-pytest-randomly.spec b/python-pytest-randomly.spec index 69595d0..0f65c98 100644 --- a/python-pytest-randomly.spec +++ b/python-pytest-randomly.spec @@ -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