Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyscard for openSUSE:Factory checked in at 2024-06-04 12:51:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyscard (Old)
and /work/SRC/openSUSE:Factory/.python-pyscard.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyscard"
Tue Jun 4 12:51:32 2024 rev:19 rq:1178369 version:2.0.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyscard/python-pyscard.changes 2024-04-08 17:53:18.795991325 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyscard.new.24587/python-pyscard.changes 2024-06-04 12:52:11.982153160 +0200
@@ -1,0 +2,6 @@
+Mon Jun 3 17:20:29 UTC 2024 - Martin Hauke
+
+- Update to version 2.0.10
+ * CardMonitoringThread(): do not catch unexpected exceptions
+
+-------------------------------------------------------------------
Old:
----
pyscard-2.0.9.tar.gz
New:
----
pyscard-2.0.10.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyscard.spec ++++++
--- /var/tmp/diff_new_pack.8PpacR/_old 2024-06-04 12:52:12.722180014 +0200
+++ /var/tmp/diff_new_pack.8PpacR/_new 2024-06-04 12:52:12.722180014 +0200
@@ -19,7 +19,7 @@
%define modname pyscard
Name: python-pyscard
-Version: 2.0.9
+Version: 2.0.10
Release: 0
Summary: Python module adding smart card support
License: LGPL-2.0-or-later
++++++ pyscard-2.0.9.tar.gz -> pyscard-2.0.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyscard-2.0.9/ChangeLog new/pyscard-2.0.10/ChangeLog
--- old/pyscard-2.0.9/ChangeLog 2024-04-05 22:30:03.000000000 +0200
+++ new/pyscard-2.0.10/ChangeLog 2024-06-01 11:15:52.000000000 +0200
@@ -1,3 +1,8 @@
+2.0.10 (June 2024)
+==================
+ * add 'swig' in pyproject.toml build requires
+ * CardMonitoringThread(): do not catch unexpected exceptions
+
2.0.9 (April 2024)
==================
* fix a bug with CardRequestTimeoutException introduced in 2.0.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyscard-2.0.9/Makefile new/pyscard-2.0.10/Makefile
--- old/pyscard-2.0.9/Makefile 2023-12-24 13:13:32.000000000 +0100
+++ new/pyscard-2.0.10/Makefile 2024-06-01 11:22:03.000000000 +0200
@@ -1,9 +1,12 @@
PYTHON ?= python3
-COVERAGE ?= python3-coverage
+COVERAGE ?= coverage
build:
$(PYTHON) -m build
+install: clean
+ $(PYTHON) -m pip install --editable .
+
clean:
$(PYTHON) setup.py clean
rm -rf build
@@ -21,8 +24,7 @@
$(PYTHON) -m build
python3 -m twine upload dist/*
-test:
- $(PYTHON) -m pip install --editable .
+test: install
pytest
coverage:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyscard-2.0.9/PKG-INFO new/pyscard-2.0.10/PKG-INFO
--- old/pyscard-2.0.9/PKG-INFO 2024-04-06 15:11:10.804715400 +0200
+++ new/pyscard-2.0.10/PKG-INFO 2024-06-01 11:48:06.619062400 +0200
@@ -1,9 +1,9 @@
Metadata-Version: 2.1
Name: pyscard
-Version: 2.0.9
+Version: 2.0.10
Summary: Smartcard module for Python.
Home-page: https://github.com/LudovicRousseau/pyscard
-Download-URL: http://sourceforge.net/projects/pyscard/files/pyscard/pyscard%202.0.9/pyscar...
+Download-URL: http://sourceforge.net/projects/pyscard/files/pyscard/pyscard%202.0.10/pysca...
Author: Ludovic Rousseau
Author-email: ludovic.rousseau@free.fr
Platform: linux
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyscard-2.0.9/pyproject.toml new/pyscard-2.0.10/pyproject.toml
--- old/pyscard-2.0.9/pyproject.toml 2023-12-24 13:13:32.000000000 +0100
+++ new/pyscard-2.0.10/pyproject.toml 2024-05-16 19:12:54.000000000 +0200
@@ -1,3 +1,3 @@
[build-system]
-requires = ["setuptools"]
+requires = ["setuptools","swig"]
build-backend = "setuptools.build_meta"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyscard-2.0.9/pyscard.egg-info/PKG-INFO new/pyscard-2.0.10/pyscard.egg-info/PKG-INFO
--- old/pyscard-2.0.9/pyscard.egg-info/PKG-INFO 2024-04-06 15:11:10.000000000 +0200
+++ new/pyscard-2.0.10/pyscard.egg-info/PKG-INFO 2024-06-01 11:48:06.000000000 +0200
@@ -1,9 +1,9 @@
Metadata-Version: 2.1
Name: pyscard
-Version: 2.0.9
+Version: 2.0.10
Summary: Smartcard module for Python.
Home-page: https://github.com/LudovicRousseau/pyscard
-Download-URL: http://sourceforge.net/projects/pyscard/files/pyscard/pyscard%202.0.9/pyscar...
+Download-URL: http://sourceforge.net/projects/pyscard/files/pyscard/pyscard%202.0.10/pysca...
Author: Ludovic Rousseau
Author-email: ludovic.rousseau@free.fr
Platform: linux
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyscard-2.0.9/setup.py new/pyscard-2.0.10/setup.py
--- old/pyscard-2.0.9/setup.py 2024-04-05 22:30:24.000000000 +0200
+++ new/pyscard-2.0.10/setup.py 2024-06-01 11:16:03.000000000 +0200
@@ -64,7 +64,7 @@
except:
platform_include_dirs = ['/usr/include/PCSC', '/usr/local/include/PCSC']
-VERSION_INFO = (2, 0, 9, 0)
+VERSION_INFO = (2, 0, 10, 0)
VERSION_STR = '%i.%i.%i' % VERSION_INFO[:3]
VERSION_ALT = '%i,%01i,%01i,%04i' % VERSION_INFO
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyscard-2.0.9/smartcard/CardMonitoring.py new/pyscard-2.0.10/smartcard/CardMonitoring.py
--- old/pyscard-2.0.9/smartcard/CardMonitoring.py 2024-03-04 18:44:32.000000000 +0100
+++ new/pyscard-2.0.10/smartcard/CardMonitoring.py 2024-05-08 22:37:07.000000000 +0200
@@ -180,17 +180,6 @@
self.observable.notifyObservers(
(addedcards, removedcards))
- # when CardMonitoringThread.__del__() is invoked in
- # response to shutdown, e.g., when execution of the
- # program is done, other globals referenced by the
- # __del__() method may already have been deleted.
- # this causes ReaderMonitoringThread.run() to except
- # with a TypeError or AttributeError
- except TypeError:
- pass
- except AttributeError:
- pass
-
except SmartcardException as exc:
# FIXME Tighten the exceptions caught by this block
traceback.print_exc()
@@ -223,13 +212,6 @@
if self.instance:
return getattr(self.instance, name)
- # commented to avoid bad clean-up sequence of python where __del__
- # is called when some objects it uses are already gargabe collected
- # def __del__(self):
- # if CardMonitoringThread.instance!=None:
- # CardMonitoringThread.instance.stop()
- # CardMonitoringThread.instance = None
-
if __name__ == "__main__":
print('insert or remove cards in the next 10 seconds')