From 0b8655ecdc5d1a3db52fdae8054c5a0b8b9fc7a995386c9105b7f7a4d042f079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 15 Nov 2019 10:47:46 +0000 Subject: [PATCH] - Update to 2.0.1: * #23: Rely on zc.lockfile for lockfile behavior. * #28: Fixtures now supports later versions of mysql and no longer support versions of mysql prior to mysql --initialize support. * #29: Fix issues with later versions of mysql where mysql_defaults_file fixture would prevent startup of mysql. * Fixed issue in test suite where mysql fixture was not tested. * Removed pytest_services.locks.lock_file. * #20: Added workaround for issue with SysLogHandler. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-services?expand=0&rev=3 --- 1.3.1.tar.gz | 3 --- 2.0.1.tar.gz | 3 +++ python-pytest-services.changes | 11 +++++++++++ python-pytest-services.spec | 13 +++++++------ 4 files changed, 21 insertions(+), 9 deletions(-) delete mode 100644 1.3.1.tar.gz create mode 100644 2.0.1.tar.gz diff --git a/1.3.1.tar.gz b/1.3.1.tar.gz deleted file mode 100644 index 4587286..0000000 --- a/1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb4374137742b05bf17feb618f13da79041f8853489b17286a9c0fc071dbb3ee -size 20417 diff --git a/2.0.1.tar.gz b/2.0.1.tar.gz new file mode 100644 index 0000000..e639fab --- /dev/null +++ b/2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c33dcdeba0294bb209f299d58390f5c0697ada12d253fdc376aa437ce290edb +size 20386 diff --git a/python-pytest-services.changes b/python-pytest-services.changes index 805333f..d38e3b9 100644 --- a/python-pytest-services.changes +++ b/python-pytest-services.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Nov 15 10:37:18 UTC 2019 - Tomáš Chvátal + +- Update to 2.0.1: + * #23: Rely on zc.lockfile for lockfile behavior. + * #28: Fixtures now supports later versions of mysql and no longer support versions of mysql prior to mysql --initialize support. + * #29: Fix issues with later versions of mysql where mysql_defaults_file fixture would prevent startup of mysql. + * Fixed issue in test suite where mysql fixture was not tested. + * Removed pytest_services.locks.lock_file. + * #20: Added workaround for issue with SysLogHandler. + ------------------------------------------------------------------- Tue Mar 5 14:24:09 UTC 2019 - Tomáš Chvátal diff --git a/python-pytest-services.spec b/python-pytest-services.spec index 159cd4b..8dc0457 100644 --- a/python-pytest-services.spec +++ b/python-pytest-services.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-services # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-services -Version: 1.3.1 +Version: 2.0.1 Release: 0 Summary: Services plugin for pytest testing framework License: MIT -Group: Development/Languages/Python URL: https://github.com/pytest-dev/pytest-services Source: https://github.com/pytest-dev/pytest-services/archive/%{version}.tar.gz BuildRequires: %{python_module mock} +BuildRequires: %{python_module mysqlclient} BuildRequires: %{python_module psutil} +BuildRequires: %{python_module pylibmc} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pylibmc} -BuildRequires: %{python_module mysqlclient} +BuildRequires: %{python_module zc.lockfile >= 2.0} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python-subprocess32 @@ -39,6 +39,7 @@ Requires: python-psutil Requires: python-pytest Requires: python-requests Requires: python-setuptools +Requires: python-zc.lockfile >= 2.0 Recommends: python-pylibmc BuildArch: noarch %ifpython2 @@ -62,7 +63,7 @@ processes for your tests with pytest. %check # test_memcached test_mysql test_xvfb - need running X/mysql/memcache servers -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not (test_memcached or test_mysql or test_xvfb)' +%pytest -k 'not (test_memcached or test_mysql or test_xvfb)' %files %{python_files} %doc CHANGES.rst README.rst