Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-parallel for
openSUSE:Factory checked in at 2021-12-26 13:30:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-parallel (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-parallel.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-parallel"
Sun Dec 26 13:30:24 2021 rev:6 rq:942494 version:0.1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-parallel/python-pytest-parallel.changes
2021-06-01 10:41:30.989227243 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-parallel.new.2520/python-pytest-parallel.changes
2021-12-26 13:30:35.250962778 +0100
@@ -1,0 +2,7 @@
+Sat Dec 18 23:12:54 UTC 2021 - Matej Cepl <[email protected]>
+
+- Update to 0.1.1
+ - upstreams our python39.patch, which is removed from our package
+ then.
+
+-------------------------------------------------------------------
Old:
----
pytest-parallel-0.1.0.tar.gz
python39.patch
New:
----
pytest-parallel-0.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-parallel.spec ++++++
--- /var/tmp/diff_new_pack.8IDSOG/_old 2021-12-26 13:30:35.650963056 +0100
+++ /var/tmp/diff_new_pack.8IDSOG/_new 2021-12-26 13:30:35.654963059 +0100
@@ -19,15 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-parallel
-Version: 0.1.0
+Version: 0.1.1
Release: 0
Summary: Pytest plugin for parallel and concurrent testing
License: MIT
URL: https://github.com/browsertron/pytest-parallel
Source:
https://github.com/browsertron/pytest-parallel/archive/%{version}.tar.gz#/pytest-parallel-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM python39.patch gh#browsertron/pytest-parallel#98
[email protected]
-# os._Environ in py>=3.9 has different parameters
-Patch0: python39.patch
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
++++++ pytest-parallel-0.1.0.tar.gz -> pytest-parallel-0.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-parallel-0.1.0/pytest_parallel/__init__.py
new/pytest-parallel-0.1.1/pytest_parallel/__init__.py
--- old/pytest-parallel-0.1.0/pytest_parallel/__init__.py 2020-04-30
20:19:07.000000000 +0200
+++ new/pytest-parallel-0.1.1/pytest_parallel/__init__.py 2021-10-10
17:36:26.000000000 +0200
@@ -21,7 +21,7 @@
if sys.platform.startswith('darwin'):
multiprocessing.set_start_method('fork')
-__version__ = '0.1.0'
+__version__ = '0.1.1'
def parse_config(config, name):
@@ -113,15 +113,26 @@
class ThreadLocalEnviron(os._Environ):
def __init__(self, env):
- super().__init__(
- env._data,
- env.encodekey,
- env.decodekey,
- env.encodevalue,
- env.decodevalue,
- env.putenv,
- env.unsetenv
- )
+ if sys.version_info >= (3, 9):
+ super().__init__(
+ env._data,
+ env.encodekey,
+ env.decodekey,
+ env.encodevalue,
+ env.decodevalue,
+ )
+ self.putenv = os.putenv
+ self.unsetenv = os.unsetenv
+ else:
+ super().__init__(
+ env._data,
+ env.encodekey,
+ env.decodekey,
+ env.encodevalue,
+ env.decodevalue,
+ env.putenv,
+ env.unsetenv
+ )
if hasattr(env, 'thread_store'):
self.thread_store = env.thread_store
else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-parallel-0.1.0/tests/test_general.py
new/pytest-parallel-0.1.1/tests/test_general.py
--- old/pytest-parallel-0.1.0/tests/test_general.py 2020-04-30
20:19:07.000000000 +0200
+++ new/pytest-parallel-0.1.1/tests/test_general.py 2021-10-10
17:36:26.000000000 +0200
@@ -69,7 +69,6 @@
@pytest.mark.parametrize('cli_args', [
- [],
['--workers=2'],
['--tests-per-worker=2']
])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-parallel-0.1.0/tox.ini
new/pytest-parallel-0.1.1/tox.ini
--- old/pytest-parallel-0.1.0/tox.ini 2020-04-30 20:19:07.000000000 +0200
+++ new/pytest-parallel-0.1.1/tox.ini 2021-10-10 17:36:26.000000000 +0200
@@ -4,10 +4,11 @@
py36
py37
py38
+ py39
[testenv]
deps =
- pytest>=3.0
+ pytest>=3.0,<6.0
pytest-html>=1.19.0
six>=1.11.0
tblib