diff --git a/python-requre.changes b/python-requre.changes index 33e65e3..6abda4e 100644 --- a/python-requre.changes +++ b/python-requre.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Mon Jun 20 06:04:36 UTC 2022 - Steve Kowalik + +- Update to 0.8.2: + * default decorator if not given + * guess output decorator class + * class shortcut decorators + * python tuple support as base type + * Fix a performance issue when detecting cassettes following the old + naming format. + * New decorators for handling temporary files (MkTemp) and directories + (MkDTemp) in a more transparent way. The old implementation based on + static paths and counter has been deprecated. + * Fix the problem with kwarg decorators that causes the function body + not to be executed. +- Change skipped tests expression due to reorganization. +- Add GitPython to {Build,}Requires + ------------------------------------------------------------------- Wed Nov 18 00:26:30 UTC 2020 - John Vandenberg diff --git a/python-requre.spec b/python-requre.spec index e9912e2..d1e69d3 100644 --- a/python-requre.spec +++ b/python-requre.spec @@ -1,7 +1,7 @@ # # spec file for package python-requre # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,11 +19,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-requre -Version: 0.4.0 +Version: 0.8.2 Release: 0 Summary: Python libray for storing and using objects for testing License: MIT -Group: Development/Languages/Python URL: https://github.com/packit-service/requre Source: https://files.pythonhosted.org/packages/source/r/requre/requre-%{version}.tar.gz BuildRequires: %{python_module setuptools_scm_git_archive} @@ -31,6 +30,7 @@ BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-GitPython Requires: python-PyYAML Requires: python-click Requires: python-requests @@ -38,6 +38,7 @@ Suggests: python-pytest BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module GitPython} BuildRequires: %{python_module click} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} @@ -74,9 +75,11 @@ rm tests/test_E2E_ogr.py %check export LANG=en_US.UTF-8 -# needs network: test_request_response or testWrite or write -# test_enabled_object_model fails intermittently -%pytest -rs -k 'not (test_request_response or testWrite or write or test_enabled_object_model)' +# needs network: test_record_requests, test_online_replacing, StoreAnyRequest +# and TestWrite +# test_a and InstalledCommand fail +# Latency fails randomly on OBS slaves +%pytest -rs -k 'not (test_record_requests or test_online_replacing or StoreAnyRequest or TestWrite or (StoreFunctionOutput and test_a) or InstalledCommand or Latency)' %files %{python_files} %doc README.md diff --git a/requre-0.4.0.tar.gz b/requre-0.4.0.tar.gz deleted file mode 100644 index 6895dd4..0000000 --- a/requre-0.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:496678bc9edce9b1bb927f48d0e93d5b2d5b65cb546bb43ce847ba0e1cbdd254 -size 99281 diff --git a/requre-0.8.2.tar.gz b/requre-0.8.2.tar.gz new file mode 100644 index 0000000..3255573 --- /dev/null +++ b/requre-0.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77000970912650b8ae34daa889fa8edf817dc6c2aa7bb172b813550db2642f12 +size 231880