Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-fixtures for openSUSE:Factory checked in at 2022-10-10 18:43:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-fixtures (Old) and /work/SRC/openSUSE:Factory/.python-fixtures.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fixtures" Mon Oct 10 18:43:16 2022 rev:23 rq:1008416 version:4.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-fixtures/python-fixtures.changes 2022-05-12 22:58:19.364632656 +0200 +++ /work/SRC/openSUSE:Factory/.python-fixtures.new.2275/python-fixtures.changes 2022-10-10 18:43:22.050714323 +0200 @@ -1,0 +2,12 @@ +Thu Oct 6 14:21:21 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 4.0.1: + * Remove testtools from requirements.txt as well + * github: Add all pypy3 versions to test matrix + * github: Add Python 3.11 betas to test matrix + * tox: Add py311 + * Support Popen's process\_group argument from Python 3.11 + * Update classmethod expectations (again) for Python 3.11 + * Revert to the previous classmethod expectations for PyPy3.9 + +------------------------------------------------------------------- Old: ---- fixtures-4.0.0.tar.gz New: ---- fixtures-4.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-fixtures.spec ++++++ --- /var/tmp/diff_new_pack.HfxpsM/_old 2022-10-10 18:43:22.690715701 +0200 +++ /var/tmp/diff_new_pack.HfxpsM/_new 2022-10-10 18:43:22.694715709 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-fixtures -Version: 4.0.0 +Version: 4.0.1 Release: 0 Summary: Fixtures, reusable state for writing clean tests and more License: Apache-2.0 OR BSD-3-Clause ++++++ fixtures-4.0.0.tar.gz -> fixtures-4.0.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/.github/workflows/ci.yaml new/fixtures-4.0.1/.github/workflows/ci.yaml --- old/fixtures-4.0.0/.github/workflows/ci.yaml 2022-02-09 11:46:09.000000000 +0100 +++ new/fixtures-4.0.1/.github/workflows/ci.yaml 2022-07-01 20:40:30.000000000 +0200 @@ -9,7 +9,7 @@ runs-on: ubuntu-latest strategy: matrix: - python: ["3.6", "3.7", "3.8", "3.9", "3.10"] + python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11.0-beta - 3.11", "pypy-3.7", "pypy-3.8", "pypy-3.9"] steps: - name: Checkout source code uses: actions/checkout@v2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/AUTHORS new/fixtures-4.0.1/AUTHORS --- old/fixtures-4.0.0/AUTHORS 2022-04-25 13:37:25.000000000 +0200 +++ new/fixtures-4.0.1/AUTHORS 2022-07-01 20:41:56.000000000 +0200 @@ -22,6 +22,7 @@ Julien Danjou <jul...@danjou.info> J??rgen Gmach <juergen.gm...@googlemail.com> Martin Pool <m...@canonical.com> +Micha?? G??rny <mgo...@gentoo.org> Robert Collins <robe...@robertcollins.net> Sean Dague <s...@dague.net> Stephen Finucane <stephen...@redhat.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/ChangeLog new/fixtures-4.0.1/ChangeLog --- old/fixtures-4.0.0/ChangeLog 2022-04-25 13:37:25.000000000 +0200 +++ new/fixtures-4.0.1/ChangeLog 2022-07-01 20:41:56.000000000 +0200 @@ -1,6 +1,18 @@ CHANGES ======= +4.0.1 +----- + +* Release 4.0.1 +* Remove testtools from requirements.txt as well +* github: Add all pypy3 versions to test matrix +* github: Add Python 3.11 betas to test matrix +* tox: Add py311 +* Support Popen's process\_group argument from Python 3.11 +* Update classmethod expectations (again) for Python 3.11 +* Revert to the previous classmethod expectations for PyPy3.9 + 4.0.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/NEWS new/fixtures-4.0.1/NEWS --- old/fixtures-4.0.0/NEWS 2022-04-25 13:36:06.000000000 +0200 +++ new/fixtures-4.0.1/NEWS 2022-07-01 20:40:30.000000000 +0200 @@ -5,6 +5,12 @@ NEXT ~~~~ +4.0.1 +~~~~~ + +* Remove ``testtools`` from ``requirements.txt`` as well. + (Colin Watson) + 4.0.0 ~~~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/PKG-INFO new/fixtures-4.0.1/PKG-INFO --- old/fixtures-4.0.0/PKG-INFO 2022-04-25 13:37:28.659384000 +0200 +++ new/fixtures-4.0.1/PKG-INFO 2022-07-01 20:41:56.253736000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: fixtures -Version: 4.0.0 +Version: 4.0.1 Summary: Fixtures, reusable state for writing clean tests and more. Home-page: https://github.com/testing-cabal/fixtures Author: Robert Collins @@ -25,11 +25,10 @@ Classifier: Topic :: Software Development :: Testing Requires-Python: >=3.6 Description-Content-Type: text/x-rst; charset=UTF-8 +Provides-Extra: docs Provides-Extra: streams Provides-Extra: test -Provides-Extra: docs License-File: COPYING -License-File: AUTHORS ************************************************************* fixtures: Fixtures with cleanups for testing and convenience. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/fixtures/_fixtures/popen.py new/fixtures-4.0.1/fixtures/_fixtures/popen.py --- old/fixtures-4.0.0/fixtures/_fixtures/popen.py 2022-04-23 19:06:41.000000000 +0200 +++ new/fixtures-4.0.1/fixtures/_fixtures/popen.py 2022-07-01 20:40:30.000000000 +0200 @@ -131,7 +131,8 @@ restore_signals=_unpassed, start_new_session=_unpassed, pass_fds=_unpassed, *, group=_unpassed, extra_groups=_unpassed, user=_unpassed, umask=_unpassed, encoding=_unpassed, - errors=_unpassed, text=_unpassed, pipesize=_unpassed): + errors=_unpassed, text=_unpassed, pipesize=_unpassed, + process_group=_unpassed): # Reject arguments introduced by newer versions of Python in older # versions; this makes it harder to accidentally hide compatibility # problems using test doubles. @@ -149,6 +150,10 @@ raise TypeError( "FakePopen.__call__() got an unexpected keyword argument " "'pipesize'") + if sys.version_info < (3, 11) and process_group is not FakePopen._unpassed: + raise TypeError( + "FakePopen.__call__() got an unexpected keyword argument " + "'process_group'") proc_args = dict(args=args) local = locals() @@ -158,7 +163,7 @@ "universal_newlines", "startupinfo", "creationflags", "restore_signals", "start_new_session", "pass_fds", "group", "extra_groups", "user", "umask", "encoding", "errors", "text", - "pipesize"]: + "pipesize", "process_group"]: if local[param] is not FakePopen._unpassed: proc_args[param] = local[param] proc_info = self.get_info(proc_args) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/fixtures/tests/_fixtures/test_monkeypatch.py new/fixtures-4.0.1/fixtures/tests/_fixtures/test_monkeypatch.py --- old/fixtures-4.0.0/fixtures/tests/_fixtures/test_monkeypatch.py 2022-02-05 23:04:40.000000000 +0100 +++ new/fixtures-4.0.1/fixtures/tests/_fixtures/test_monkeypatch.py 2022-07-01 20:40:30.000000000 +0200 @@ -23,6 +23,10 @@ reference = 23 +NEW_PY39_CLASSMETHOD = ( + sys.version_info[:2] in ((3, 9), (3,10)) + and not hasattr(sys, "pypy_version_info")) + class C(object): def foo(self, arg): return arg @@ -196,7 +200,7 @@ # with the class # # https://bugs.python.org/issue19072 - if sys.version_info >= (3, 9): + if NEW_PY39_CLASSMETHOD: cls, = C.foo_cls() self.expectThat(cls, Is(D)) cls, = C().foo_cls() @@ -238,13 +242,13 @@ self.expectThat(slf, Is(d)) # See note in test_patch_classmethod_with_classmethod on changes in # Python 3.9 - if sys.version_info >= (3, 9): + if NEW_PY39_CLASSMETHOD: self.expectThat(cls, Is(None)) else: self.expectThat(cls, Is(C)) slf, cls = C().foo_cls() self.expectThat(slf, Is(d)) - if sys.version_info >= (3, 9): + if NEW_PY39_CLASSMETHOD: self.expectThat(cls, Is(None)) else: self.expectThat(cls, Is(C)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/fixtures/tests/_fixtures/test_popen.py new/fixtures-4.0.1/fixtures/tests/_fixtures/test_popen.py --- old/fixtures-4.0.0/fixtures/tests/_fixtures/test_popen.py 2022-04-23 19:06:41.000000000 +0200 +++ new/fixtures-4.0.1/fixtures/tests/_fixtures/test_popen.py 2022-07-01 20:40:30.000000000 +0200 @@ -74,6 +74,8 @@ all_args["umask"] = "umask" if sys.version_info >= (3, 10): all_args["pipesize"] = "pipesize" + if sys.version_info >= (3, 11): + all_args["process_group"] = "process_group" def get_info(proc_args): self.assertEqual(all_args, proc_args) @@ -110,6 +112,15 @@ r".* got an unexpected keyword argument 'pipesize'"): fixture(args="args", pipesize=1024) + @testtools.skipUnless( + sys.version_info < (3, 11), "only relevant on Python <3.11") + def test_rejects_3_11_args_on_older_versions(self): + fixture = self.useFixture(FakePopen(lambda proc_args: {})) + with testtools.ExpectedException( + TypeError, + r".* got an unexpected keyword argument 'process_group'"): + fixture(args="args", process_group=42) + def test_function_signature(self): fake_signature = inspect.getfullargspec(FakePopen.__call__) real_signature = inspect.getfullargspec(subprocess.Popen) @@ -130,6 +141,9 @@ fake_kwargs = set(fake_signature.kwonlyargs) real_kwargs = set(real_signature.kwonlyargs) + if sys.version_info < (3, 11): + fake_kwargs.remove('process_group') + if sys.version_info < (3, 10): fake_kwargs.remove('pipesize') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/fixtures.egg-info/PKG-INFO new/fixtures-4.0.1/fixtures.egg-info/PKG-INFO --- old/fixtures-4.0.0/fixtures.egg-info/PKG-INFO 2022-04-25 13:37:25.000000000 +0200 +++ new/fixtures-4.0.1/fixtures.egg-info/PKG-INFO 2022-07-01 20:41:56.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: fixtures -Version: 4.0.0 +Version: 4.0.1 Summary: Fixtures, reusable state for writing clean tests and more. Home-page: https://github.com/testing-cabal/fixtures Author: Robert Collins @@ -25,11 +25,10 @@ Classifier: Topic :: Software Development :: Testing Requires-Python: >=3.6 Description-Content-Type: text/x-rst; charset=UTF-8 +Provides-Extra: docs Provides-Extra: streams Provides-Extra: test -Provides-Extra: docs License-File: COPYING -License-File: AUTHORS ************************************************************* fixtures: Fixtures with cleanups for testing and convenience. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/fixtures.egg-info/pbr.json new/fixtures-4.0.1/fixtures.egg-info/pbr.json --- old/fixtures-4.0.0/fixtures.egg-info/pbr.json 2022-04-25 13:37:26.000000000 +0200 +++ new/fixtures-4.0.1/fixtures.egg-info/pbr.json 2022-07-01 20:41:56.000000000 +0200 @@ -1 +1 @@ -{"git_version": "9dfd65a", "is_release": true} \ No newline at end of file +{"git_version": "631b557", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/fixtures.egg-info/requires.txt new/fixtures-4.0.1/fixtures.egg-info/requires.txt --- old/fixtures-4.0.0/fixtures.egg-info/requires.txt 2022-04-25 13:37:26.000000000 +0200 +++ new/fixtures-4.0.1/fixtures.egg-info/requires.txt 2022-07-01 20:41:56.000000000 +0200 @@ -1,5 +1,4 @@ pbr>=5.7.0 -testtools>=2.5.0 [docs] docutils diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/requirements.txt new/fixtures-4.0.1/requirements.txt --- old/fixtures-4.0.0/requirements.txt 2022-02-09 11:46:09.000000000 +0100 +++ new/fixtures-4.0.1/requirements.txt 2022-07-01 20:40:30.000000000 +0200 @@ -1,2 +1 @@ pbr>=5.7.0 -testtools>=2.5.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fixtures-4.0.0/tox.ini new/fixtures-4.0.1/tox.ini --- old/fixtures-4.0.0/tox.ini 2022-02-09 11:46:09.000000000 +0100 +++ new/fixtures-4.0.1/tox.ini 2022-07-01 20:40:30.000000000 +0200 @@ -1,5 +1,5 @@ [tox] -envlist = py36,py37,py38,py39,py310,pypy3 +envlist = py36,py37,py38,py39,py310,py311,pypy3 minversion = 3.1 [testenv]