commit python-pytest-services for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-services for openSUSE:Factory checked in at 2020-11-09 13:56:20 Comparing /work/SRC/openSUSE:Factory/python-pytest-services (Old) and /work/SRC/openSUSE:Factory/.python-pytest-services.new.11331 (New) Package is "python-pytest-services" Mon Nov 9 13:56:20 2020 rev:6 rq:846346 version:2.2.1 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-services/python-pytest-services.changes 2020-06-30 21:54:36.974415581 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-services.new.11331/python-pytest-services.changes 2020-11-09 13:56:46.628047106 +0100 @@ -1,0 +2,9 @@ +Thu Nov 5 15:53:37 UTC 2020 - Marketa Machova + +- Update to 2.2.1 + * #38: Retry to lock resource if zc.lockfile.LockError is raised. +Fix needed for pytest-xdist. (StabbarN) + * #42: Retry on zc.lockfile.LockError in file_lock, use existing +timeout kwarg (mshriver) + +--- Old: 2.1.0.tar.gz New: 2.2.1.tar.gz Other differences: -- ++ python-pytest-services.spec ++ --- /var/tmp/diff_new_pack.PUgjRw/_old 2020-11-09 13:56:47.172045920 +0100 +++ /var/tmp/diff_new_pack.PUgjRw/_new 2020-11-09 13:56:47.176045911 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-pytest-services -Version:2.1.0 +Version:2.2.1 Release:0 Summary:Services plugin for pytest testing framework License:MIT @@ -30,6 +30,7 @@ BuildRequires: %{python_module pylibmc} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zc.lockfile >= 2.0} BuildRequires: fdupes ++ 2.1.0.tar.gz -> 2.2.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-2.1.0/.gitignore new/pytest-services-2.2.1/.gitignore --- old/pytest-services-2.1.0/.gitignore2020-06-17 00:45:26.0 +0200 +++ new/pytest-services-2.2.1/.gitignore2020-10-30 13:07:22.0 +0100 @@ -47,3 +47,4 @@ /include /src /.env +/.eggs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-2.1.0/AUTHORS.rst new/pytest-services-2.2.1/AUTHORS.rst --- old/pytest-services-2.1.0/AUTHORS.rst 2020-06-17 00:45:26.0 +0200 +++ new/pytest-services-2.2.1/AUTHORS.rst 2020-10-30 13:07:22.0 +0100 @@ -10,5 +10,7 @@ * `Dmitrijs Milajevs `_ * `Jason R. Coombs `_ * `Joep van Dijken `_ +* `Magnus Staberg `_ +* `Michael Shriver `_ * `Oleg Pidsadnyi `_ * `Zac Hatfield-Dodds `_ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-2.1.0/CHANGES.rst new/pytest-services-2.2.1/CHANGES.rst --- old/pytest-services-2.1.0/CHANGES.rst 2020-06-17 00:45:26.0 +0200 +++ new/pytest-services-2.2.1/CHANGES.rst 2020-10-30 13:07:22.0 +0100 @@ -1,6 +1,16 @@ Changelog = +2.2.1 +- + +- #42: Retry on ``zc.lockfile.LockError`` in ``file_lock``, use existing timeout kwarg (mshriver) + +2.2.0 +- + +- #38: Retry to lock resource if zc.lockfile.LockError is raised. Fix needed for pytest-xdist. (StabbarN) + 2.1.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-2.1.0/README.rst new/pytest-services-2.2.1/README.rst --- old/pytest-services-2.1.0/README.rst2020-06-17 00:45:26.0 +0200 +++ new/pytest-services-2.2.1/README.rst2020-10-30 13:07:22.0 +0100 @@ -115,7 +115,9 @@ * display_getter Function to get unallocated display. Automatically ensures locking and un-locking of it on application level via flock. - +* lock_resource_timeout +Used in function lock_resource. +A maximum of total sleep between attempts to lock resource. Service fixtures diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-2.1.0/pyproject.toml new/pytest-services-2.2.1/pyproject.toml --- old/pytest-services-2.1.0/pyproject.toml1970-01-01 01:00:00.0 +0100 +++ new/pytest-services-2.2.1/pyproject.toml2020-10-30 13:07:22.0 +0100 @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.1"] +build-backend = "setuptools.build_meta" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit python-pytest-services for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-services for openSUSE:Factory checked in at 2020-06-30 21:54:34 Comparing /work/SRC/openSUSE:Factory/python-pytest-services (Old) and /work/SRC/openSUSE:Factory/.python-pytest-services.new.3060 (New) Package is "python-pytest-services" Tue Jun 30 21:54:34 2020 rev:5 rq:817715 version:2.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-services/python-pytest-services.changes 2020-03-27 00:22:38.056175864 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-services.new.3060/python-pytest-services.changes 2020-06-30 21:54:36.974415581 +0200 @@ -1,0 +2,7 @@ +Mon Jun 29 12:05:26 UTC 2020 - Marketa Calabkova + +- Update to version 2.1.0 + * #34: Deprecated slave_id fixture in favor of worker_id, +for compatibility with pytest-xdist 2. + +--- Old: 2.0.1.tar.gz New: 2.1.0.tar.gz Other differences: -- ++ python-pytest-services.spec ++ --- /var/tmp/diff_new_pack.UyJrum/_old 2020-06-30 21:54:37.650417673 +0200 +++ /var/tmp/diff_new_pack.UyJrum/_new 2020-06-30 21:54:37.654417685 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-pytest-services -Version:2.0.1 +Version:2.1.0 Release:0 Summary:Services plugin for pytest testing framework License:MIT ++ 2.0.1.tar.gz -> 2.1.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-2.0.1/AUTHORS.rst new/pytest-services-2.1.0/AUTHORS.rst --- old/pytest-services-2.0.1/AUTHORS.rst 2019-11-12 22:04:01.0 +0100 +++ new/pytest-services-2.1.0/AUTHORS.rst 2020-06-17 00:45:26.0 +0200 @@ -11,3 +11,4 @@ * `Jason R. Coombs `_ * `Joep van Dijken `_ * `Oleg Pidsadnyi `_ +* `Zac Hatfield-Dodds `_ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-2.0.1/CHANGES.rst new/pytest-services-2.1.0/CHANGES.rst --- old/pytest-services-2.0.1/CHANGES.rst 2019-11-12 22:04:01.0 +0100 +++ new/pytest-services-2.1.0/CHANGES.rst 2020-06-17 00:45:26.0 +0200 @@ -1,6 +1,12 @@ Changelog = +2.1.0 +- + +- #34: Deprecated ``slave_id`` fixture in favor of ``worker_id``, + for compatibility with ``pytest-xdist`` 2. + 2.0.1 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-2.0.1/README.rst new/pytest-services-2.1.0/README.rst --- old/pytest-services-2.0.1/README.rst2019-11-12 22:04:01.0 +0100 +++ new/pytest-services-2.1.0/README.rst2020-06-17 00:45:26.0 +0200 @@ -48,9 +48,10 @@ Infrastructure fixtures *** -* slave_id -Id of the slave if tests are run using pytest-xdist_. It is set to `local` if tests are not run using +* worker_id +Id of the worker if tests are run using pytest-xdist_. It is set to `local` if tests are not run using pytest-xdist_ (with `--dist` command line option set to `load`). +Has a deprecated alias ``slave_id`` which will be removed in a future version. * session_id Test session id. Globally unique, and of course also guaranteed to be different for potentially multiple test sessions running on same test node via pytest-xdist_. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-2.0.1/pytest_services/__init__.py new/pytest-services-2.1.0/pytest_services/__init__.py --- old/pytest-services-2.0.1/pytest_services/__init__.py 2019-11-12 22:04:01.0 +0100 +++ new/pytest-services-2.1.0/pytest_services/__init__.py 2020-06-17 00:45:26.0 +0200 @@ -1,2 +1,2 @@ """pytest-services package.""" -__version__ = '2.0.1' +__version__ = '2.1.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-2.0.1/pytest_services/log.py new/pytest-services-2.1.0/pytest_services/log.py --- old/pytest-services-2.0.1/pytest_services/log.py2019-11-12 22:04:01.0 +0100 +++ new/pytest-services-2.1.0/pytest_services/log.py2020-06-17 00:45:26.0 +0200 @@ -8,8 +8,8 @@ @pytest.fixture(scope='session') -def services_log(slave_id): -"""A services_logger with the slave id.""" +def services_log(worker_id): +"""A services_logger with the worker id.""" handler = None for kwargs in (dict(socktype=socket.SOCK_RAW), dict(socktype=socket.SOCK_STREAM), dict()): try: @@ -18,7 +18,7 @@ break
commit python-pytest-services for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-services for openSUSE:Factory checked in at 2020-03-27 00:22:27 Comparing /work/SRC/openSUSE:Factory/python-pytest-services (Old) and /work/SRC/openSUSE:Factory/.python-pytest-services.new.3160 (New) Package is "python-pytest-services" Fri Mar 27 00:22:27 2020 rev:4 rq:784625 version:2.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-services/python-pytest-services.changes 2020-02-26 15:02:14.584855584 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-services.new.3160/python-pytest-services.changes 2020-03-27 00:22:38.056175864 +0100 @@ -1,0 +2,5 @@ +Fri Mar 13 12:39:49 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + +--- Other differences: -- ++ python-pytest-services.spec ++ --- /var/tmp/diff_new_pack.pAYE7S/_old 2020-03-27 00:22:40.596177150 +0100 +++ /var/tmp/diff_new_pack.pAYE7S/_new 2020-03-27 00:22:40.604177154 +0100 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-pytest-services Version:2.0.1 Release:0 @@ -33,7 +34,9 @@ BuildRequires: %{python_module zc.lockfile >= 2.0} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with python2} BuildRequires: python-subprocess32 +%endif Requires: python-psutil Requires: python-pytest Requires: python-requests
commit python-pytest-services for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-services for openSUSE:Factory checked in at 2020-02-26 15:02:13 Comparing /work/SRC/openSUSE:Factory/python-pytest-services (Old) and /work/SRC/openSUSE:Factory/.python-pytest-services.new.26092 (New) Package is "python-pytest-services" Wed Feb 26 15:02:13 2020 rev:3 rq:778734 version:2.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-services/python-pytest-services.changes 2019-11-18 20:06:16.821716748 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-services.new.26092/python-pytest-services.changes 2020-02-26 15:02:14.584855584 +0100 @@ -1,0 +2,5 @@ +Mon Feb 24 11:37:28 UTC 2020 - Tomáš Chvátal + +- Do not pull in mysql for tests we actually skip anyway + +--- Other differences: -- ++ python-pytest-services.spec ++ --- /var/tmp/diff_new_pack.HT0sOD/_old 2020-02-26 15:02:15.352857117 +0100 +++ /var/tmp/diff_new_pack.HT0sOD/_new 2020-02-26 15:02:15.352857117 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-services # -# Copyright (c) 2019 SUSE LLC. +# 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 @@ -25,7 +25,6 @@ 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} @@ -53,6 +52,8 @@ %prep %setup -q -n pytest-services-%{version} +# we don't test mysql anway +sed -i -e '/import MySQLdb/d' tests/test_plugin.py %build %python_build
commit python-pytest-services for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-services for openSUSE:Factory checked in at 2019-11-18 20:06:14 Comparing /work/SRC/openSUSE:Factory/python-pytest-services (Old) and /work/SRC/openSUSE:Factory/.python-pytest-services.new.26869 (New) Package is "python-pytest-services" Mon Nov 18 20:06:14 2019 rev:2 rq:748853 version:2.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-services/python-pytest-services.changes 2019-03-19 09:57:51.100115992 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-services.new.26869/python-pytest-services.changes 2019-11-18 20:06:16.821716748 +0100 @@ -1,0 +2,11 @@ +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. + +--- Old: 1.3.1.tar.gz New: 2.0.1.tar.gz Other differences: -- ++ python-pytest-services.spec ++ --- /var/tmp/diff_new_pack.gXtgZj/_old 2019-11-18 20:06:17.837716238 +0100 +++ /var/tmp/diff_new_pack.gXtgZj/_new 2019-11-18 20:06:17.845716235 +0100 @@ -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-pytest Requires: python-requests Requires: python-setuptools +Requires: python-zc.lockfile >= 2.0 Recommends: python-pylibmc BuildArch: noarch %ifpython2 @@ -62,7 +63,7 @@ %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 ++ 1.3.1.tar.gz -> 2.0.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-services-1.3.1/.travis.yml new/pytest-services-2.0.1/.travis.yml --- old/pytest-services-1.3.1/.travis.yml 2018-10-24 14:07:03.0 +0200 +++ new/pytest-services-2.0.1/.travis.yml 2019-11-12 22:04:01.0 +0100 @@ -1,20 +1,28 @@ sudo: false language: python -python: "3.4" -env: - matrix: -- TESTENV=linters -- TESTENV=py27 -- TESTENV=py27-xdist -- TESTENV=py27-pytest-latest -- TESTENV=py34 -- TESTENV=coveralls -install: - - pip install tox -script: tox -e $TESTENV +python: "2.7" + +matrix: + include: + - env: TOXENV=linters + - env: TOXENV=py27-pytest39 + - env: TOXENV=py27-pytest310 + - env: TOXENV=py27-pytestlatest + - env: TOXENV=py27-pytestlatest-xdist + - env: TOXENV=py34-pytestlatest +python: "3.4" + - env: TOXENV=py35-pytestlatest +python: "3.5" + - env: TOXENV=py36-pytestlatest +python: "3.6" + - env: TOXENV=py27-pytestlatest-coveralls +install: pip install tox +# mysql_install_db will not work if it can't find the my-default.cnf file +before_script: sudo cp /etc/mysql/my.cnf /usr/share/mysql/my-default.cnf +script: tox branches: