Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-fixture-config for 
openSUSE:Factory checked in at 2023-01-06 17:04:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-fixture-config (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-fixture-config.new.1563 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-fixture-config"

Fri Jan  6 17:04:35 2023 rev:4 rq:1041840 version:1.7.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-fixture-config/python-pytest-fixture-config.changes
        2021-11-21 23:51:51.930314174 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-fixture-config.new.1563/python-pytest-fixture-config.changes
      2023-01-06 17:05:01.520002660 +0100
@@ -1,0 +2,8 @@
+Thu Dec  8 11:00:15 UTC 2022 - pgaj...@suse.com
+
+- do not require six
+- added patches
+  fix https://github.com/man-group/pytest-plugins/issues/209
+  + python-pytest-fixture-config-no-six.patch
+
+-------------------------------------------------------------------

New:
----
  python-pytest-fixture-config-no-six.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest-fixture-config.spec ++++++
--- /var/tmp/diff_new_pack.qaoyNI/_old  2023-01-06 17:05:02.064005715 +0100
+++ /var/tmp/diff_new_pack.qaoyNI/_new  2023-01-06 17:05:02.068005737 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-fixture-config
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,10 +25,11 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/manahl/pytest-plugins
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-fixture-config/pytest-fixture-config-%{version}.tar.gz
+# https://github.com/man-group/pytest-plugins/issues/209
+Patch0:         python-pytest-fixture-config-no-six.patch
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools-git}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-pytest
@@ -40,6 +41,7 @@
 
 %prep
 %setup -q -n pytest-fixture-config-%{version}
+%patch0 -p1
 
 %build
 %python_build

++++++ python-pytest-fixture-config-no-six.patch ++++++
Index: pytest-fixture-config-1.7.0/tests/unit/test_fixture_config.py
===================================================================
--- pytest-fixture-config-1.7.0.orig/tests/unit/test_fixture_config.py
+++ pytest-fixture-config-1.7.0/tests/unit/test_fixture_config.py
@@ -1,11 +1,11 @@
 import pytest
-from six.moves import reload_module
+from importlib import reload
 
 # HACK: if the plugin is imported before the coverage plugin then all
 # the top-level code will be omitted from coverage, so force it to be
 # reloaded within this unit test under coverage
 import pytest_fixture_config
-reload_module(pytest_fixture_config)
+reload(pytest_fixture_config)
 
 from pytest_fixture_config import Config, requires_config, 
yield_requires_config
 

Reply via email to