Hello community,

here is the log from the commit of package python-DataProperty for 
openSUSE:Factory checked in at 2020-05-04 18:41:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-DataProperty (Old)
 and      /work/SRC/openSUSE:Factory/.python-DataProperty.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-DataProperty"

Mon May  4 18:41:13 2020 rev:5 rq:799991 version:0.48.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-DataProperty/python-DataProperty.changes  
2020-04-18 00:32:52.482355997 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-DataProperty.new.2738/python-DataProperty.changes
        2020-05-04 18:42:36.365309476 +0200
@@ -1,0 +2,7 @@
+Mon May  4 07:49:14 UTC 2020 - Johannes Grassler <johannes.grass...@suse.com>
+
+- Update to version 0.48.2
+  * Update testenv:build.commands
+  * Make max_workers to 1 when executed from pytest
+
+-------------------------------------------------------------------

Old:
----
  DataProperty-0.48.1.tar.gz

New:
----
  DataProperty-0.48.2.tar.gz

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

Other differences:
------------------
++++++ python-DataProperty.spec ++++++
--- /var/tmp/diff_new_pack.XbbXlC/_old  2020-05-04 18:42:38.605314095 +0200
+++ /var/tmp/diff_new_pack.XbbXlC/_new  2020-05-04 18:42:38.605314095 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-DataProperty
-Version:        0.48.1
+Version:        0.48.2
 Release:        0
 Summary:        Python library for extract property from data
 License:        MIT

++++++ DataProperty-0.48.1.tar.gz -> DataProperty-0.48.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DataProperty-0.48.1/DataProperty.egg-info/PKG-INFO 
new/DataProperty-0.48.2/DataProperty.egg-info/PKG-INFO
--- old/DataProperty-0.48.1/DataProperty.egg-info/PKG-INFO      2020-04-15 
18:28:37.000000000 +0200
+++ new/DataProperty-0.48.2/DataProperty.egg-info/PKG-INFO      2020-04-23 
11:25:36.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: DataProperty
-Version: 0.48.1
+Version: 0.48.2
 Summary: Python library for extract property from data.
 Home-page: https://github.com/thombashi/DataProperty
 Author: Tsuyoshi Hombashi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DataProperty-0.48.1/PKG-INFO 
new/DataProperty-0.48.2/PKG-INFO
--- old/DataProperty-0.48.1/PKG-INFO    2020-04-15 18:28:37.645112300 +0200
+++ new/DataProperty-0.48.2/PKG-INFO    2020-04-23 11:25:36.159341300 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: DataProperty
-Version: 0.48.1
+Version: 0.48.2
 Summary: Python library for extract property from data.
 Home-page: https://github.com/thombashi/DataProperty
 Author: Tsuyoshi Hombashi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DataProperty-0.48.1/dataproperty/__version__.py 
new/DataProperty-0.48.2/dataproperty/__version__.py
--- old/DataProperty-0.48.1/dataproperty/__version__.py 2020-04-15 
18:28:27.000000000 +0200
+++ new/DataProperty-0.48.2/dataproperty/__version__.py 2020-04-23 
11:25:20.000000000 +0200
@@ -1,6 +1,6 @@
 __author__ = "Tsuyoshi Hombashi"
 __copyright__ = "Copyright 2016, {}".format(__author__)
 __license__ = "MIT License"
-__version__ = "0.48.1"
+__version__ = "0.48.2"
 __maintainer__ = __author__
 __email__ = "tsuyoshi.homba...@gmail.com"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DataProperty-0.48.1/dataproperty/_extractor.py 
new/DataProperty-0.48.2/dataproperty/_extractor.py
--- old/DataProperty-0.48.1/dataproperty/_extractor.py  2020-04-15 
18:28:27.000000000 +0200
+++ new/DataProperty-0.48.2/dataproperty/_extractor.py  2020-04-23 
11:25:20.000000000 +0200
@@ -5,6 +5,7 @@
 import copy
 import enum
 import multiprocessing
+import sys
 import typing
 from collections import Counter
 from datetime import datetime
@@ -348,6 +349,10 @@
             logger.debug("This platform lacks a functioning sem_open 
implementation")
             value = 1
 
+        if "pytest" in sys.modules and value != 1:
+            logger.debug("set max_workers to 1 to avoid deadlock when executed 
from pytest")
+            value = 1
+
         self.__max_workers = value
         if not self.__max_workers:
             self.__max_workers = multiprocessing.cpu_count()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DataProperty-0.48.1/tox.ini 
new/DataProperty-0.48.2/tox.ini
--- old/DataProperty-0.48.1/tox.ini     2020-04-15 18:28:27.000000000 +0200
+++ new/DataProperty-0.48.2/tox.ini     2020-04-23 11:25:20.000000000 +0200
@@ -22,7 +22,7 @@
     wheel
 commands =
     python setup.py sdist bdist_wheel
-    twine check dist/*
+    twine check dist/*.whl dist/*.tar.gz
     python setup.py clean --all
 
 [testenv:clean]
@@ -55,10 +55,12 @@
 deps =
     codespell
     pylama
+    pytype
 commands =
     python setup.py check
     codespell -q2 dataproperty examples test README.rst
     pylama
+    pytype --keep-going --jobs 4 --disable import-error,pyi-error dataproperty
 
 [testenv:release]
 deps =


Reply via email to