- 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
This commit is contained in:
Tomáš Chvátal
2019-11-15 10:47:46 +00:00
committed by Git OBS Bridge
parent c493767c5c
commit 0b8655ecdc
4 changed files with 21 additions and 9 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c33dcdeba0294bb209f299d58390f5c0697ada12d253fdc376aa437ce290edb
size 20386

View File

@@ -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> Tue Mar 5 14:24:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-services # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-services Name: python-pytest-services
Version: 1.3.1 Version: 2.0.1
Release: 0 Release: 0
Summary: Services plugin for pytest testing framework Summary: Services plugin for pytest testing framework
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-services URL: https://github.com/pytest-dev/pytest-services
Source: https://github.com/pytest-dev/pytest-services/archive/%{version}.tar.gz Source: https://github.com/pytest-dev/pytest-services/archive/%{version}.tar.gz
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module mysqlclient}
BuildRequires: %{python_module psutil} BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pylibmc}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pylibmc} BuildRequires: %{python_module zc.lockfile >= 2.0}
BuildRequires: %{python_module mysqlclient}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python-subprocess32 BuildRequires: python-subprocess32
@@ -39,6 +39,7 @@ Requires: python-psutil
Requires: python-pytest Requires: python-pytest
Requires: python-requests Requires: python-requests
Requires: python-setuptools Requires: python-setuptools
Requires: python-zc.lockfile >= 2.0
Recommends: python-pylibmc Recommends: python-pylibmc
BuildArch: noarch BuildArch: noarch
%ifpython2 %ifpython2
@@ -62,7 +63,7 @@ processes for your tests with pytest.
%check %check
# test_memcached test_mysql test_xvfb - need running X/mysql/memcache servers # 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} %files %{python_files}
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst