forked from pool/python-pytest-services
Accepting request 748853 from devel:languages:python:pytest
- 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/request/show/748853 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-services?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb4374137742b05bf17feb618f13da79041f8853489b17286a9c0fc071dbb3ee
|
||||
size 20417
|
||||
3
2.0.1.tar.gz
Normal file
3
2.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c33dcdeba0294bb209f299d58390f5c0697ada12d253fdc376aa437ce290edb
|
||||
size 20386
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 15 10:37:18 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- 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 <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user