commit python-pyudev for openSUSE:Factory

2023-10-31 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2023-10-31 20:24:48

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.17445 (New)


Package is "python-pyudev"

Tue Oct 31 20:24:48 2023 rev:33 rq:1121253 version:0.24.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2023-05-04 17:09:40.232047383 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.17445/python-pyudev.changes   
2023-10-31 20:24:56.620273765 +0100
@@ -1,0 +2,6 @@
+Mon Oct 30 16:58:20 UTC 2023 - Daniel Garcia 
+
+- update hypothesis_settings.patch:
+  * Extend deadline for test_child_of_parents that fails on ppc64le 
(bsc#1216607)
+
+---



Other differences:
--
++ hypothesis_settings.patch ++
--- /var/tmp/diff_new_pack.lnx1lK/_old  2023-10-31 20:24:57.112291837 +0100
+++ /var/tmp/diff_new_pack.lnx1lK/_new  2023-10-31 20:24:57.116291984 +0100
@@ -1,7 +1,7 @@
-Index: pyudev-0.24.0/tests/test_enumerate.py
+Index: pyudev-0.24.1/tests/test_enumerate.py
 ===
 pyudev-0.24.0.orig/tests/test_enumerate.py
-+++ pyudev-0.24.0/tests/test_enumerate.py
+--- pyudev-0.24.1.orig/tests/test_enumerate.py
 pyudev-0.24.1/tests/test_enumerate.py
 @@ -88,7 +88,7 @@ class TestEnumerator(object):
  
  @failed_health_check_wrapper
@@ -74,4 +74,17 @@
  def test_match_passthrough_property(self, enumerator):
  """
  Test that non-special keyword args are treated as properties.
+Index: pyudev-0.24.1/tests/_device_tests/_device_tests.py
+===
+--- pyudev-0.24.1.orig/tests/_device_tests/_device_tests.py
 pyudev-0.24.1/tests/_device_tests/_device_tests.py
+@@ -61,7 +61,7 @@ class TestDevice(object):
+ @pytest.mark.skipif(len(_devices) == 0, reason="no device with a parent")
+ @_UDEV_TEST(172, "test_child_of_parents")
+ @given(strategies.sampled_from(_devices))
+-@settings(max_examples=5)
++@settings(max_examples=5, deadline=2000)
+ def test_child_of_parent(self, a_device):
+ assert a_device in a_device.parent.children
+ 
 


commit python-pyudev for openSUSE:Factory

2023-05-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2023-05-04 17:09:30

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.1533 (New)


Package is "python-pyudev"

Thu May  4 17:09:30 2023 rev:32 rq:1084226 version:0.24.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2023-04-22 21:58:20.460456173 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.1533/python-pyudev.changes
2023-05-04 17:09:40.232047383 +0200
@@ -1,0 +2,9 @@
+Wed May  3 09:11:27 UTC 2023 - Dirk Müller 
+
+- update to 0.24.1:
+  * Recommended development release: Fedora 37
+  * Add support for PySide6
+  * Add missing 'priority' argument for GLib.to_add_watch()
+  * Tidies and Maintenance fixes
+
+---

Old:

  python-pyudev-0.24.0-gh.tar.gz

New:

  python-pyudev-0.24.1-gh.tar.gz



Other differences:
--
++ python-pyudev.spec ++
--- /var/tmp/diff_new_pack.4P4UVw/_old  2023-05-04 17:09:40.780050592 +0200
+++ /var/tmp/diff_new_pack.4P4UVw/_new  2023-05-04 17:09:40.784050615 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %{?sle15_python_module_pythons}
 Name:   python-pyudev
-Version:0.24.0
+Version:0.24.1
 Release:0
 Summary:Udev bindings for Python
 License:LGPL-2.1-or-later

++ pytest_register_mark.patch ++
--- /var/tmp/diff_new_pack.4P4UVw/_old  2023-05-04 17:09:40.812050779 +0200
+++ /var/tmp/diff_new_pack.4P4UVw/_new  2023-05-04 17:09:40.816050803 +0200
@@ -1,7 +1,7 @@
-Index: pyudev-0.24.0/pytest.ini
+Index: pyudev-0.24.1/pytest.ini
 ===
 pyudev-0.24.0.orig/pytest.ini
-+++ pyudev-0.24.0/pytest.ini
+--- pyudev-0.24.1.orig/pytest.ini
 pyudev-0.24.1/pytest.ini
 @@ -1,3 +1,6 @@
 -[tool:pytest]
 +[pytest]
@@ -10,22 +10,10 @@
 +markers =
 +conversion
 +real_udev
-Index: pyudev-0.24.0/tests/_device_tests/_attributes_tests.py
+Index: pyudev-0.24.1/tests/_device_tests/_device_tests.py
 ===
 pyudev-0.24.0.orig/tests/_device_tests/_attributes_tests.py
-+++ pyudev-0.24.0/tests/_device_tests/_attributes_tests.py
-@@ -125,6 +125,7 @@ class TestAttributes(object):
- except KeyError:
- pass
- 
-+@pytest.mark.real_udev
- @_UDEV_TEST(167, "test_available_attributes")
- @given(strategies.sampled_from(_DEVICES))
- @settings(max_examples=5)
-Index: pyudev-0.24.0/tests/_device_tests/_device_tests.py
-===
 pyudev-0.24.0.orig/tests/_device_tests/_device_tests.py
-+++ pyudev-0.24.0/tests/_device_tests/_device_tests.py
+--- pyudev-0.24.1.orig/tests/_device_tests/_device_tests.py
 pyudev-0.24.1/tests/_device_tests/_device_tests.py
 @@ -212,6 +212,7 @@ class TestDevice(object):
  if device.device_node:
  assert is_unicode_string(device.device_node)
@@ -34,10 +22,10 @@
  @given(_CONTEXT_STRATEGY, strategies.sampled_from(_DEVICE_DATA))
  @settings(max_examples=5)
  def test_device_number(self, a_context, device_datum):
-Index: pyudev-0.24.0/tests/_device_tests/_devices_tests.py
+Index: pyudev-0.24.1/tests/_device_tests/_devices_tests.py
 ===
 pyudev-0.24.0.orig/tests/_device_tests/_devices_tests.py
-+++ pyudev-0.24.0/tests/_device_tests/_devices_tests.py
+--- pyudev-0.24.1.orig/tests/_device_tests/_devices_tests.py
 pyudev-0.24.1/tests/_device_tests/_devices_tests.py
 @@ -125,6 +125,7 @@ class TestDevices(object):
  assert error.subsystem == "no_such_subsystem"
  assert error.sys_name == "foobar"
@@ -62,10 +50,10 @@
  @failed_health_check_wrapper
  @given(
  _CONTEXT_STRATEGY,
-Index: pyudev-0.24.0/tests/test_enumerate.py
+Index: pyudev-0.24.1/tests/test_enumerate.py
 ===
 pyudev-0.24.0.orig/tests/test_enumerate.py
-+++ pyudev-0.24.0/tests/test_enumerate.py
+--- pyudev-0.24.1.orig/tests/test_enumerate.py
 pyudev-0.24.1/tests/test_enumerate.py
 @@ -101,7 +101,7 @@ class TestEnumerator(object):
  
  @failed_health_check_wrapper
@@ -75,11 +63,11 @@
  def test_match_subsystem_nomatch_unfulfillable(self, context, subsystem):
  """
  Combining match and no match should give an empty result.
-Index: pyudev-0.24.0/tests/test_util.py
+Index: 

commit python-pyudev for openSUSE:Factory

2023-04-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2023-04-22 21:57:40

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.1533 (New)


Package is "python-pyudev"

Sat Apr 22 21:57:40 2023 rev:31 rq:1081579 version:0.24.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2022-10-15 16:36:08.849964541 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.1533/python-pyudev.changes
2023-04-22 21:58:20.460456173 +0200
@@ -1,0 +2,5 @@
+Fri Apr 21 12:32:30 UTC 2023 - Dirk Müller 
+
+- add sle15_python_module_pythons (jsc#PED-68)
+
+---



Other differences:
--
++ python-pyudev.spec ++
--- /var/tmp/diff_new_pack.QuaWXD/_old  2023-04-22 21:58:21.668463395 +0200
+++ /var/tmp/diff_new_pack.QuaWXD/_new  2023-04-22 21:58:21.672463419 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyudev
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:   python-pyudev
 Version:0.24.0
 Release:0


commit python-pyudev for openSUSE:Factory

2022-10-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2022-10-15 16:34:53

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.2275 (New)


Package is "python-pyudev"

Sat Oct 15 16:34:53 2022 rev:30 rq:1010622 version:0.24.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2022-10-03 13:44:42.321341951 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.2275/python-pyudev.changes
2022-10-15 16:36:08.849964541 +0200
@@ -1,0 +2,6 @@
+Fri Oct 14 08:25:20 UTC 2022 - Dirk M??ller 
+
+- update hypothesis_settings.patch:
+  * extend deadlines to handle qemu emulated arches better 
+
+---



Other differences:
--
++ hypothesis_settings.patch ++
--- /var/tmp/diff_new_pack.97beBQ/_old  2022-10-15 16:36:10.509968530 +0200
+++ /var/tmp/diff_new_pack.97beBQ/_new  2022-10-15 16:36:10.513968540 +0200
@@ -16,7 +16,7 @@
  @failed_health_check_wrapper
  @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY)
 -@settings(max_examples=1)
-+@settings(max_examples=1, deadline=500)
++@settings(max_examples=1, deadline=2000)
  def test_match_subsystem_nomatch_complete(self, context, subsystem):
  """
  Test that w/ respect to the universe of devices returned by
@@ -25,7 +25,7 @@
  @failed_health_check_wrapper
  @given(_CONTEXT_STRATEGY, _MATCH_PROPERTY_STRATEGY.filter(lambda x: 
_is_bool(x[1])))
 -@settings(max_examples=10)
-+@settings(max_examples=10, deadline=500)
++@settings(max_examples=10, deadline=2000)
  def test_match_property_bool(self, context, pair):
  """
  Verify that a probably boolean property lookup works.
@@ -34,7 +34,7 @@
  _CONTEXT_STRATEGY, device_strategy(filter_func=lambda d: d.parent is 
not None)
  )
 -@settings(max_examples=5)
-+@settings(max_examples=5, deadline=500)
++@settings(max_examples=5, deadline=2000)
  def test_match_parent(self, context, device):
  """
  For a given device, verify that it is in its parent's children.
@@ -43,7 +43,7 @@
  _MATCH_PROPERTY_STRATEGY,
  )
 -@settings(max_examples=10)
-+@settings(max_examples=10, deadline=500)
++@settings(max_examples=10, deadline=2000)
  def test_match(self, context, subsystem, sysname, ppair):
  """
  Test that matches from different categories are a conjunction.
@@ -52,7 +52,7 @@
  
  @given(_ENUMERATOR_STRATEGY)
 -@settings(max_examples=1)
-+@settings(max_examples=1, deadline=500)
++@settings(max_examples=1, deadline=2000)
  def test_match_passthrough_tag(self, enumerator):
  """
  Test that special keyword tag results in a match_tag call.
@@ -61,7 +61,7 @@
  @_UDEV_TEST(172, "test_match_passthrough_parent")
  @given(_ENUMERATOR_STRATEGY)
 -@settings(max_examples=1)
-+@settings(max_examples=1, deadline=500)
++@settings(max_examples=1, deadline=2000)
  def test_match_passthrough_parent(self, enumerator):
  """
  Test that special keyword 'parent' results in a match parent call.
@@ -70,7 +70,7 @@
  
  @given(_ENUMERATOR_STRATEGY)
 -@settings(max_examples=1)
-+@settings(max_examples=1, deadline=500)
++@settings(max_examples=1, deadline=2000)
  def test_match_passthrough_property(self, enumerator):
  """
  Test that non-special keyword args are treated as properties.


commit python-pyudev for openSUSE:Factory

2022-10-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2022-10-03 13:44:26

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.2275 (New)


Package is "python-pyudev"

Mon Oct  3 13:44:26 2022 rev:29 rq:1007391 version:0.24.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2022-03-18 16:41:17.345144941 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.2275/python-pyudev.changes
2022-10-03 13:44:42.321341951 +0200
@@ -1,0 +2,8 @@
+Sat Oct  1 07:48:17 UTC 2022 - Dirk M??ller 
+
+- update to 0.24.0:
+  * Remove six dependency
+  * Drop pylint tasks
+  * Support python 3.9 and 3.10 
+
+---

Old:

  _service
  _servicedata
  pyudev-0.23.2+14.obscpio
  pyudev.obsinfo

New:

  python-pyudev-0.24.0-gh.tar.gz



Other differences:
--
++ python-pyudev.spec ++
--- /var/tmp/diff_new_pack.kc6C2y/_old  2022-10-03 13:44:42.969343377 +0200
+++ /var/tmp/diff_new_pack.kc6C2y/_new  2022-10-03 13:44:42.973343385 +0200
@@ -18,13 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pyudev
-Version:0.23.2+14
+Version:0.24.0
 Release:0
 Summary:Udev bindings for Python
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/Python
-URL:http://pyudev.readthedocs.org/
-Source0:pyudev-%{version}.tar.xz
+URL:https://pyudev.readthedocs.io/
+Source0:
https://github.com/pyudev/pyudev/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}-gh.tar.gz
 # PATCH-FIX-UPSTREAM pytest_register_mark.patch gh#pyudev/pyudev#404 
mc...@suse.com
 # Add missing mark registration and register and use another mark
 Patch0: pytest_register_mark.patch

++ hypothesis_settings.patch ++
--- /var/tmp/diff_new_pack.kc6C2y/_old  2022-10-03 13:44:42.993343429 +0200
+++ /var/tmp/diff_new_pack.kc6C2y/_new  2022-10-03 13:44:42.997343438 +0200
@@ -1,8 +1,8 @@
-diff --git a/tests/test_enumerate.py b/tests/test_enumerate.py
-index 83af62d..0c97a18 100644
 a/tests/test_enumerate.py
-+++ b/tests/test_enumerate.py
-@@ -91,7 +91,7 @@ class TestEnumerator(object):
+Index: pyudev-0.24.0/tests/test_enumerate.py
+===
+--- pyudev-0.24.0.orig/tests/test_enumerate.py
 pyudev-0.24.0/tests/test_enumerate.py
+@@ -88,7 +88,7 @@ class TestEnumerator(object):
  
  @failed_health_check_wrapper
  @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY)
@@ -11,7 +11,7 @@
  def test_match_subsystem(self, context, subsystem):
  """
  Subsystem match matches devices w/ correct subsystem.
-@@ -116,7 +116,7 @@ def test_match_subsystem_nomatch_unfulfillable(self, 
context, subsystem):
+@@ -113,7 +113,7 @@ class TestEnumerator(object):
  
  @failed_health_check_wrapper
  @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY)
@@ -20,7 +20,7 @@
  def test_match_subsystem_nomatch_complete(self, context, subsystem):
  """
  Test that w/ respect to the universe of devices returned by
-@@ -134,7 +134,7 @@ def test_match_subsystem_nomatch_complete(self, context, 
subsystem):
+@@ -131,7 +131,7 @@ class TestEnumerator(object):
  
  @failed_health_check_wrapper
  @given(_CONTEXT_STRATEGY, _MATCH_PROPERTY_STRATEGY.filter(lambda x: 
_is_bool(x[1])))
@@ -29,7 +29,7 @@
  def test_match_property_bool(self, context, pair):
  """
  Verify that a probably boolean property lookup works.
-@@ -152,7 +152,7 @@ def test_match_property_bool(self, context, pair):
+@@ -149,7 +149,7 @@ class TestEnumerator(object):
  @given(
  _CONTEXT_STRATEGY, device_strategy(filter_func=lambda d: d.parent is 
not None)
  )
@@ -38,7 +38,7 @@
  def test_match_parent(self, context, device):
  """
  For a given device, verify that it is in its parent's children.
-@@ -178,7 +178,7 @@ class TestEnumeratorMatchCombinations(object):
+@@ -175,7 +175,7 @@ class TestEnumeratorMatchCombinations(ob
  _SYSNAME_STRATEGY,
  _MATCH_PROPERTY_STRATEGY,
  )
@@ -47,7 +47,7 @@
  def test_match(self, context, subsystem, sysname, ppair):
  """
  Test that matches from different categories are a conjunction.
-@@ -234,7 +234,7 @@ def test_match_passthrough_sys_name(self, enumerator):
+@@ -231,7 +231,7 @@ class TestEnumeratorMatchMethod(object):
  match_sys_name.assert_called_with(mock.sentinel.sys_name)
  
  @given(_ENUMERATOR_STRATEGY)
@@ -56,7 +56,7 @@
  

commit python-pyudev for openSUSE:Factory

2022-03-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2022-03-18 16:41:16

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.25692 (New)


Package is "python-pyudev"

Fri Mar 18 16:41:16 2022 rev:28 rq:962364 version:0.23.2+14

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2022-03-12 17:14:31.490239499 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.25692/python-pyudev.changes   
2022-03-18 16:41:17.345144941 +0100
@@ -1,0 +2,5 @@
+Thu Mar 17 09:06:05 UTC 2022 - Steve Kowalik 
+
+- Skip some unreliable tests. 
+
+---



Other differences:
--
++ python-pyudev.spec ++
--- /var/tmp/diff_new_pack.bsNnA4/_old  2022-03-18 16:41:18.081145468 +0100
+++ /var/tmp/diff_new_pack.bsNnA4/_new  2022-03-18 16:41:18.085145471 +0100
@@ -73,7 +73,8 @@
 
 %check
 # We don't have real /dev in osc build chroot gh#pyudev/pyudev#404
-%pytest -k 'not real_udev'
+# ... or apparently, a reliable testsuite gh#pyudev/pyudev#457
+%pytest -k 'not (real_udev or test_as or test_getitem)'
 
 %files %{python_files}
 %license COPYING

++ pyudev-0.23.2+14.obscpio ++


commit python-pyudev for openSUSE:Factory

2022-03-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2022-03-12 17:14:30

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.25692 (New)


Package is "python-pyudev"

Sat Mar 12 17:14:30 2022 rev:27 rq:960945 version:0.23.2+14

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2022-02-03 23:16:26.280632620 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.25692/python-pyudev.changes   
2022-03-12 17:14:31.490239499 +0100
@@ -1,0 +2,18 @@
+Thu Mar 10 14:04:43 UTC 2022 - mc...@cepl.eu
+
+- Update to version 0.23.2+14:
+  * Remove a bunch of python-2 only testing
+  * Bump some Python versions
+  * Get rid of six dependency
+  * Drop all pylint tasks
+  * Remove overly rigorous tests
+  * Make a package target that uses build
+  * Omit PyPy flakey test
+  * Check whether the Context has a "_libudev" attribute
+  * Remove setup.cfg
+  * Remove obsolete egg_info parameter
+  * Delete another flaky test
+- Rebase hypothesis_settings.patch and pytest_register_mark.patch.
+- Drop six (Build)?Requires.
+
+---

Old:

  pyudev-0.22.0+git.1642212208.d5630bf.tar.xz

New:

  pyudev-0.23.2+14.obscpio



Other differences:
--
++ python-pyudev.spec ++
--- /var/tmp/diff_new_pack.betv9x/_old  2022-03-12 17:14:32.322240462 +0100
+++ /var/tmp/diff_new_pack.betv9x/_new  2022-03-12 17:14:32.326240466 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pyudev
-Version:0.22.0+git.1642212208.d5630bf
+Version:0.23.2+14
 Release:0
 Summary:Udev bindings for Python
 License:LGPL-2.1-or-later
@@ -32,20 +32,17 @@
 # tests timeout on OBS
 Patch2: hypothesis_settings.patch
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(udev)
 Requires:   libudev1
-Requires:   python-six
 BuildArch:  noarch
 BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module docutils}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module yapf}
 %if 0%{?suse_version} < 1550
 BuildRequires:  python-mock
@@ -66,7 +63,6 @@
 
 # Disable intersphinx and issuetracker, we don't want to access the web during 
doc build:
 sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e 
"s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py
-sed -i -e 's/tag_date = true/tag_date = false/' setup.cfg
 
 %build
 %python_build

++ _service ++
--- /var/tmp/diff_new_pack.betv9x/_old  2022-03-12 17:14:32.370240517 +0100
+++ /var/tmp/diff_new_pack.betv9x/_new  2022-03-12 17:14:32.374240522 +0100
@@ -1,14 +1,16 @@
 
   
-0.22.0+git
 https://github.com/pyudev/pyudev.git
 git
 .git*
+@PARENT_TAG@+@TAG_OFFSET@
+v(.*)(\+0)?
+\1
 enable
 mc...@cepl.eu
   
-  
-  
+  
+  
 xz
 *.tar
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.betv9x/_old  2022-03-12 17:14:32.394240545 +0100
+++ /var/tmp/diff_new_pack.betv9x/_new  2022-03-12 17:14:32.398240550 +0100
@@ -1,6 +1,6 @@
 
 
 https://github.com/pyudev/pyudev.git
-  e358af68d743a63caa48a2dd1469ad265be39aa9
+  bb199c6c840756301a6dc16c44ae0625b2c930cd
 (No newline at EOF)
 

++ hypothesis_settings.patch ++
--- /var/tmp/diff_new_pack.betv9x/_old  2022-03-12 17:14:32.406240559 +0100
+++ /var/tmp/diff_new_pack.betv9x/_new  2022-03-12 17:14:32.410240564 +0100
@@ -1,7 +1,5 @@

- tests/test_enumerate.py |   10 +-
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
+diff --git a/tests/test_enumerate.py b/tests/test_enumerate.py
+index 83af62d..0c97a18 100644
 --- a/tests/test_enumerate.py
 +++ b/tests/test_enumerate.py
 @@ -91,7 +91,7 @@ class TestEnumerator(object):
@@ -13,7 +11,7 @@
  def test_match_subsystem(self, context, subsystem):
  """
  Subsystem match matches devices w/ correct subsystem.
-@@ -129,7 +129,7 @@ class TestEnumerator(object):
+@@ -116,7 +116,7 @@ def test_match_subsystem_nomatch_unfulfillable(self, 
context, subsystem):
  
  @failed_health_check_wrapper
  @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY)
@@ -22,25 +20,25 @@
  def test_match_subsystem_nomatch_complete(self, context, subsystem):
  """
  Test that w/ respect to the universe of devices 

commit python-pyudev for openSUSE:Factory

2022-02-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2022-02-03 23:15:59

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.1898 (New)


Package is "python-pyudev"

Thu Feb  3 23:15:59 2022 rev:26 rq:948962 version:0.22.0+git.1642212208.d5630bf

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2022-01-20 00:12:20.342579380 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.1898/python-pyudev.changes
2022-02-03 23:16:26.280632620 +0100
@@ -1,0 +2,5 @@
+Tue Jan 25 08:54:16 UTC 2022 - Bernhard Wiedemann 
+
+- Don't add date to version for reproducible builds (boo#1047218)
+
+---



Other differences:
--
++ python-pyudev.spec ++
--- /var/tmp/diff_new_pack.AkVx5Z/_old  2022-02-03 23:16:28.380618286 +0100
+++ /var/tmp/diff_new_pack.AkVx5Z/_new  2022-02-03 23:16:28.384618258 +0100
@@ -66,6 +66,7 @@
 
 # Disable intersphinx and issuetracker, we don't want to access the web during 
doc build:
 sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e 
"s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py
+sed -i -e 's/tag_date = true/tag_date = false/' setup.cfg
 
 %build
 %python_build


commit python-pyudev for openSUSE:Factory

2022-01-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2022-01-20 00:11:57

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.1892 (New)


Package is "python-pyudev"

Thu Jan 20 00:11:57 2022 rev:25 rq:946891 version:0.22.0+git.1642212208.d5630bf

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2021-08-16 10:13:19.402976192 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.1892/python-pyudev.changes
2022-01-20 00:12:20.342579380 +0100
@@ -1,0 +2,17 @@
+Sun Jan 16 22:53:34 UTC 2022 - mc...@cepl.eu
+
+- Update to version 0.22.0+git.1642212208.d5630bf (bsc#1194613):
+  * Remove another flakey test
+  * Remove all traces of tox
+  * Update next Fedora to 35
+  * Delete a test which is probably flakey for real
+  * Bump recommended development environment to fedora 34
+  * Use yamllint on all the configuration files
+  * Add annotations to GitHub workflows
+  * No longer use --recursive for isort
+  * Update formatting for new black
+  * Establish a weekly task for future fedora
+- Remove upstreamed patches:
+  - remove_mock.patch
+
+---

Old:

  pyudev-0.22.0.tar.gz
  remove_mock.patch

New:

  _service
  _servicedata
  pyudev-0.22.0+git.1642212208.d5630bf.tar.xz
  pyudev.obsinfo



Other differences:
--
++ python-pyudev.spec ++
--- /var/tmp/diff_new_pack.TrXJqg/_old  2022-01-20 00:12:24.738582929 +0100
+++ /var/tmp/diff_new_pack.TrXJqg/_new  2022-01-20 00:12:24.746582936 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyudev
 #
-# 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
@@ -18,18 +18,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pyudev
-Version:0.22.0
+Version:0.22.0+git.1642212208.d5630bf
 Release:0
 Summary:Udev bindings for Python
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/Python
 URL:http://pyudev.readthedocs.org/
-Source0:
https://files.pythonhosted.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz
+Source0:pyudev-%{version}.tar.xz
 # PATCH-FIX-UPSTREAM pytest_register_mark.patch gh#pyudev/pyudev#404 
mc...@suse.com
 # Add missing mark registration and register and use another mark
 Patch0: pytest_register_mark.patch
-# PATCH-FEATURE_UPSTREAM remove_mock.patch gh#pyudev/pyudev#409
-Patch1: remove_mock.patch
 # PATCH-FIX-OPENSUSE hypothesis_settings.patch mc...@suse.com
 # tests timeout on OBS
 Patch2: hypothesis_settings.patch

++ _service ++

  
0.22.0+git
https://github.com/pyudev/pyudev.git
git
.git*
enable
mc...@cepl.eu
  
  
  
xz
*.tar
  
  


++ _servicedata ++


https://github.com/pyudev/pyudev.git
  e358af68d743a63caa48a2dd1469ad265be39aa9
(No newline at EOF)

++ hypothesis_settings.patch ++
--- /var/tmp/diff_new_pack.TrXJqg/_old  2022-01-20 00:12:24.806582984 +0100
+++ /var/tmp/diff_new_pack.TrXJqg/_new  2022-01-20 00:12:24.810582988 +0100
@@ -1,10 +1,10 @@
 ---
- tests/test_enumerate.py |4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ tests/test_enumerate.py |   10 +-
+ 1 file changed, 5 insertions(+), 5 deletions(-)
 
 --- a/tests/test_enumerate.py
 +++ b/tests/test_enumerate.py
-@@ -90,7 +90,7 @@ class TestEnumerator(object):
+@@ -91,7 +91,7 @@ class TestEnumerator(object):
  
  @failed_health_check_wrapper
  @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY)
@@ -13,7 +13,7 @@
  def test_match_subsystem(self, context, subsystem):
  """
  Subsystem match matches devices w/ correct subsystem.
-@@ -126,7 +126,7 @@ class TestEnumerator(object):
+@@ -129,7 +129,7 @@ class TestEnumerator(object):
  
  @failed_health_check_wrapper
  @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY)
@@ -22,4 +22,31 @@
  def test_match_subsystem_nomatch_complete(self, context, subsystem):
  """
  Test that w/ respect to the universe of devices returned by
+@@ -147,7 +147,7 @@ class TestEnumerator(object):
+ 
+ @failed_health_check_wrapper
+ @given(_CONTEXT_STRATEGY, _SYSNAME_STRATEGY)
+-@settings(max_examples=5)
++@settings(max_examples=5, deadline=500)
+ def test_match_sys_name(self, context, sysname):
+ """
+ A sysname lookup only gives devices with that sysname.

commit python-pyudev for openSUSE:Factory

2021-08-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2021-08-16 10:08:44

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.1899 (New)


Package is "python-pyudev"

Mon Aug 16 10:08:44 2021 rev:24 rq:911336 version:0.22.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2020-12-16 10:59:24.235506028 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.1899/python-pyudev.changes
2021-08-16 10:13:19.402976192 +0200
@@ -1,0 +2,5 @@
+Tue Aug 10 12:49:04 UTC 2021 - Matej Cepl 
+
+- Add hypothesis_settings.patch to allow longer timeouts in OBS.
+
+---

New:

  hypothesis_settings.patch



Other differences:
--
++ python-pyudev.spec ++
--- /var/tmp/diff_new_pack.q8sE8J/_old  2021-08-16 10:13:19.798975726 +0200
+++ /var/tmp/diff_new_pack.q8sE8J/_new  2021-08-16 10:13:19.798975726 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyudev
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,9 @@
 Patch0: pytest_register_mark.patch
 # PATCH-FEATURE_UPSTREAM remove_mock.patch gh#pyudev/pyudev#409
 Patch1: remove_mock.patch
+# PATCH-FIX-OPENSUSE hypothesis_settings.patch mc...@suse.com
+# tests timeout on OBS
+Patch2: hypothesis_settings.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes

++ hypothesis_settings.patch ++
---
 tests/test_enumerate.py |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/tests/test_enumerate.py
+++ b/tests/test_enumerate.py
@@ -90,7 +90,7 @@ class TestEnumerator(object):
 
 @failed_health_check_wrapper
 @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY)
-@settings(max_examples=10)
+@settings(max_examples=10, deadline=None)
 def test_match_subsystem(self, context, subsystem):
 """
 Subsystem match matches devices w/ correct subsystem.
@@ -126,7 +126,7 @@ class TestEnumerator(object):
 
 @failed_health_check_wrapper
 @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY)
-@settings(max_examples=1)
+@settings(max_examples=1, deadline=500)
 def test_match_subsystem_nomatch_complete(self, context, subsystem):
 """
 Test that w/ respect to the universe of devices returned by


commit python-pyudev for openSUSE:Factory

2020-12-16 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package python-pyudev for openSUSE:Factory 
checked in at 2020-12-16 10:59:23

Comparing /work/SRC/openSUSE:Factory/python-pyudev (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyudev.new.2328 (New)


Package is "python-pyudev"

Wed Dec 16 10:59:23 2020 rev:23 rq:88 version:0.22.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pyudev/python-pyudev.changes  
2020-10-29 09:47:17.616111230 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyudev.new.2328/python-pyudev.changes
2020-12-16 10:59:24.235506028 +0100
@@ -1,0 +2,6 @@
+Sat Dec 12 13:12:21 UTC 2020 - Benjamin Greiner 
+
+- Add remove_mock.patch gh#pyudev/pyudev#409
+- Static linting with pylint is not needed for unit tests or build
+
+---

New:

  remove_mock.patch



Other differences:
--
++ python-pyudev.spec ++
--- /var/tmp/diff_new_pack.8YYCUv/_old  2020-12-16 10:59:24.931506712 +0100
+++ /var/tmp/diff_new_pack.8YYCUv/_new  2020-12-16 10:59:24.931506712 +0100
@@ -28,6 +28,8 @@
 # PATCH-FIX-UPSTREAM pytest_register_mark.patch gh#pyudev/pyudev#404 
mc...@suse.com
 # Add missing mark registration and register and use another mark
 Patch0: pytest_register_mark.patch
+# PATCH-FEATURE_UPSTREAM remove_mock.patch gh#pyudev/pyudev#409
+Patch1: remove_mock.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
@@ -41,11 +43,12 @@
 BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module docutils}
 BuildRequires:  %{python_module hypothesis}
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pylint}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module yapf}
+%if 0%{?suse_version} < 1550
+BuildRequires:  python-mock
+%endif
 %ifpython2
 # pyudev was last used in KDE:Unstable:Playground (pyudev-0.8)
 Provides:   pyudev = %{version}

++ remove_mock.patch ++
Index: pyudev-0.22.0/tests/_device_tests/_device_tests.py
===
--- pyudev-0.22.0.orig/tests/_device_tests/_device_tests.py
+++ pyudev-0.22.0/tests/_device_tests/_device_tests.py
@@ -36,7 +36,10 @@ from hypothesis import settings
 from hypothesis import strategies
 
 import pytest
-import mock
+try:
+from unittest import mock
+except ImportError:
+import mock
 
 from pyudev import Device
 from pyudev import Devices
Index: pyudev-0.22.0/tests/_device_tests/_tags_tests.py
===
--- pyudev-0.22.0.orig/tests/_device_tests/_tags_tests.py
+++ pyudev-0.22.0/tests/_device_tests/_tags_tests.py
@@ -30,7 +30,10 @@ from hypothesis import settings
 from hypothesis import strategies
 
 import pytest
-import mock
+try:
+from unittest import mock
+except ImportError:
+import mock
 
 from pyudev import Devices
 
Index: pyudev-0.22.0/tests/plugins/mock_libudev.py
===
--- pyudev-0.22.0.orig/tests/plugins/mock_libudev.py
+++ pyudev-0.22.0/tests/plugins/mock_libudev.py
@@ -33,7 +33,10 @@ from contextlib import contextmanager
 from collections import namedtuple
 
 import pytest
-import mock
+try:
+from unittest import mock
+except ImportError:
+import mock
 
 Node = namedtuple('Node', 'name value next')
 
Index: pyudev-0.22.0/tests/test_core.py
===
--- pyudev-0.22.0.orig/tests/test_core.py
+++ pyudev-0.22.0/tests/test_core.py
@@ -21,7 +21,10 @@ from __future__ import (print_function,
 import random
 import syslog
 
-import mock
+try:
+from unittest import mock
+except ImportError:
+import mock
 
 from pyudev import udev_version
 
Index: pyudev-0.22.0/tests/test_enumerate.py
===
--- pyudev-0.22.0.orig/tests/test_enumerate.py
+++ pyudev-0.22.0/tests/test_enumerate.py
@@ -18,7 +18,10 @@
 from __future__ import (print_function, division, unicode_literals,
 absolute_import)
 
-import mock
+try:
+from unittest import mock
+except ImportError:
+import mock
 import pytest
 
 from hypothesis import given
Index: pyudev-0.22.0/tests/test_monitor.py
===
--- pyudev-0.22.0.orig/tests/test_monitor.py
+++ pyudev-0.22.0/tests/test_monitor.py
@@ -24,7 +24,10 @@ from contextlib import contextmanager
 from select import select
 
 import pytest
-import mock
+try:
+from unittest import mock
+except ImportError:
+import mock
 
 from pyudev import Monitor,