Hello community,

here is the log from the commit of package python-Automat for openSUSE:Factory 
checked in at 2019-11-29 15:55:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Automat (Old)
 and      /work/SRC/openSUSE:Factory/.python-Automat.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Automat"

Fri Nov 29 15:55:46 2019 rev:3 rq:750658 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Automat/python-Automat.changes    
2019-03-08 11:01:40.516538184 +0100
+++ /work/SRC/openSUSE:Factory/.python-Automat.new.26869/python-Automat.changes 
2019-11-29 15:55:49.853009070 +0100
@@ -1,0 +2,8 @@
+Mon Nov 25 03:40:42 UTC 2019 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to version 0.8.0:
+  * Retrieve the version from the installed distribution.
+  * Add support for Python 3.8
+  * Remove support for 3.4
+
+-------------------------------------------------------------------

Old:
----
  Automat-0.7.0.tar.gz

New:
----
  Automat-0.8.0.tar.gz

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

Other differences:
------------------
++++++ python-Automat.spec ++++++
--- /var/tmp/diff_new_pack.cXF8d8/_old  2019-11-29 15:55:50.649008614 +0100
+++ /var/tmp/diff_new_pack.cXF8d8/_new  2019-11-29 15:55:50.653008611 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Automat
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 %bcond_with test
 %endif
 Name:           python-Automat%{psuffix}
-Version:        0.7.0
+Version:        0.8.0
 Release:        0
 Summary:        Self-service finite-state machines for the programmer on the go
 License:        MIT

++++++ Automat-0.7.0.tar.gz -> Automat-0.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/.travis.yml 
new/Automat-0.8.0/.travis.yml
--- old/Automat-0.7.0/.travis.yml       2018-06-04 07:39:34.000000000 +0200
+++ new/Automat-0.8.0/.travis.yml       2019-10-20 03:23:17.000000000 +0200
@@ -1,4 +1,9 @@
 language: python
+
+branches:
+  only:
+    - master
+
 matrix:
   include:
     - python: 2.7
@@ -11,16 +16,6 @@
     - python: pypy
       env: TOX_ENV=pypy-noextras
 
-#    - python: 3.3
-#      env: TOX_ENV=py33-extras
-#    - python: 3.3
-#      env: TOX_ENV=py33-noextras
-
-    - python: 3.4
-      env: TOX_ENV=py34-extras
-    - python: 3.4
-      env: TOX_ENV=py34-noextras
-
     - python: 3.5
       env: TOX_ENV=py35-extras
     - python: 3.5
@@ -31,6 +26,16 @@
     - python: 3.6
       env: TOX_ENV=py36-noextras
 
+    - python: 3.7
+      env: TOX_ENV=py37-extras
+    - python: 3.7
+      env: TOX_ENV=py37-noextras
+
+    - python: 3.8
+      env: TOX_ENV=py38-extras
+    - python: 3.8
+      env: TOX_ENV=py38-noextras
+
 install:
     - sudo apt-get install graphviz
     - pip install tox coveralls
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/Automat.egg-info/PKG-INFO 
new/Automat-0.8.0/Automat.egg-info/PKG-INFO
--- old/Automat-0.7.0/Automat.egg-info/PKG-INFO 2018-06-14 09:18:20.000000000 
+0200
+++ new/Automat-0.8.0/Automat.egg-info/PKG-INFO 2019-10-20 06:19:02.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Automat
-Version: 0.7.0
+Version: 0.8.0
 Summary: Self-service finite-state machines for the programmer on the go.
 Home-page: https://github.com/glyph/Automat
 Author: Glyph
@@ -11,7 +11,7 @@
         =======
         
         
-        .. image:: 
https://readthedocs.org/projects/automat/badge/?version=stable
+        .. image:: 
https://readthedocs.org/projects/automat/badge/?version=latest
            :target: http://automat.readthedocs.io/en/latest/
            :alt: Documentation Status
         
@@ -474,8 +474,8 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Provides-Extra: visualize
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/PKG-INFO new/Automat-0.8.0/PKG-INFO
--- old/Automat-0.7.0/PKG-INFO  2018-06-14 09:18:21.000000000 +0200
+++ new/Automat-0.8.0/PKG-INFO  2019-10-20 06:19:03.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Automat
-Version: 0.7.0
+Version: 0.8.0
 Summary: Self-service finite-state machines for the programmer on the go.
 Home-page: https://github.com/glyph/Automat
 Author: Glyph
@@ -11,7 +11,7 @@
         =======
         
         
-        .. image:: 
https://readthedocs.org/projects/automat/badge/?version=stable
+        .. image:: 
https://readthedocs.org/projects/automat/badge/?version=latest
            :target: http://automat.readthedocs.io/en/latest/
            :alt: Documentation Status
         
@@ -474,8 +474,8 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Provides-Extra: visualize
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/README.md new/Automat-0.8.0/README.md
--- old/Automat-0.7.0/README.md 2018-06-14 09:09:35.000000000 +0200
+++ new/Automat-0.8.0/README.md 2019-10-20 02:45:12.000000000 +0200
@@ -1,6 +1,6 @@
 # Automat #
 
-[![Documentation 
Status](https://readthedocs.org/projects/automat/badge/?version=stable)](http://automat.readthedocs.io/en/latest/)
+[![Documentation 
Status](https://readthedocs.org/projects/automat/badge/?version=latest)](http://automat.readthedocs.io/en/latest/)
 [![Build 
Status](https://travis-ci.org/glyph/automat.svg?branch=master)](https://travis-ci.org/glyph/automat)
 [![Coverage 
Status](https://coveralls.io/repos/glyph/automat/badge.png)](https://coveralls.io/r/glyph/automat)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/automat/_core.py 
new/Automat-0.8.0/automat/_core.py
--- old/Automat-0.7.0/automat/_core.py  2018-01-11 10:16:33.000000000 +0100
+++ new/Automat-0.8.0/automat/_core.py  2019-10-19 23:36:21.000000000 +0200
@@ -94,8 +94,8 @@
         """
         The full set of symbols acceptable to this automaton.
         """
-        return set(inputSymbol for (inState, inputSymbol, outState,
-                                    outputSymbol) in self._transitions)
+        return {inputSymbol for (inState, inputSymbol, outState,
+                                 outputSymbol) in self._transitions}
 
 
     def outputAlphabet(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/automat/_introspection.py 
new/Automat-0.8.0/automat/_introspection.py
--- old/Automat-0.7.0/automat/_introspection.py 2018-01-11 10:16:33.000000000 
+0100
+++ new/Automat-0.8.0/automat/_introspection.py 2019-10-20 03:23:17.000000000 
+0200
@@ -13,6 +13,9 @@
     ]
     if hasattr(code, "co_kwonlyargcount"):
         names.insert(1, "kwonlyargcount")
+    if hasattr(code, "co_posonlyargcount"):
+        # PEP 570 added "positional only arguments"
+        names.insert(1, "posonlyargcount")
     values = [
         changes.get(name, getattr(template, "co_" + name))
         for name in names
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/automat/_test/test_core.py 
new/Automat-0.8.0/automat/_test/test_core.py
--- old/Automat-0.7.0/automat/_test/test_core.py        2018-01-11 
10:16:33.000000000 +0100
+++ new/Automat-0.8.0/automat/_test/test_core.py        2019-10-19 
23:36:21.000000000 +0200
@@ -46,11 +46,11 @@
         """
         a = Automaton()
         a.addTransition("beginning", "begin", "ending", ["end"])
-        self.assertEqual(a.inputAlphabet(), set(["begin"]))
-        self.assertEqual(a.outputAlphabet(), set(["end"]))
+        self.assertEqual(a.inputAlphabet(), {"begin"})
+        self.assertEqual(a.outputAlphabet(), {"end"})
         self.assertEqual(a.outputForInput("beginning", "begin"),
                          ("ending", ["end"]))
-        self.assertEqual(a.states(), set(["beginning", "ending"]))
+        self.assertEqual(a.states(), {"beginning", "ending"})
 
 
     def test_oneTransition_nonIterableOutputs(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/docs/conf.py 
new/Automat-0.8.0/docs/conf.py
--- old/Automat-0.7.0/docs/conf.py      2018-01-11 10:16:33.000000000 +0100
+++ new/Automat-0.8.0/docs/conf.py      2019-10-20 06:08:58.000000000 +0200
@@ -55,11 +55,23 @@
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
-#
-# The short X.Y version.
-version = '0.6.0'
+
+def _get_release():
+    import pkg_resources
+    try:
+        distribution = pkg_resources.get_distribution(project)
+    except pkg_resources.DistributionNotFound:
+        raise Exception(
+            "You must install Automat to build the documentation."
+        )
+    else:
+        return distribution.version
+
 # The full version, including alpha/beta/rc tags.
-release = '0.6.0'
+release = _get_release()
+
+# The short X.Y version.
+version = '.'.join(release.split('.')[:2])
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/docs/visualize.rst 
new/Automat-0.8.0/docs/visualize.rst
--- old/Automat-0.7.0/docs/visualize.rst        2018-01-11 10:16:33.000000000 
+0100
+++ new/Automat-0.8.0/docs/visualize.rst        2019-10-20 02:45:12.000000000 
+0200
@@ -52,7 +52,7 @@
             Change state
             """
 
-        @_machine.input()
+        @_machine.output()
         def output_on_change_state(self):
             """
             Change state
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/setup.py new/Automat-0.8.0/setup.py
--- old/Automat-0.7.0/setup.py  2018-01-11 10:16:33.000000000 +0100
+++ new/Automat-0.8.0/setup.py  2019-10-20 06:18:47.000000000 +0200
@@ -52,9 +52,9 @@
         'Programming Language :: Python :: 2',
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.3',
-        'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
     ],
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Automat-0.7.0/tox.ini new/Automat-0.8.0/tox.ini
--- old/Automat-0.7.0/tox.ini   2018-01-11 10:16:33.000000000 +0100
+++ new/Automat-0.8.0/tox.ini   2019-10-20 02:45:12.000000000 +0200
@@ -1,5 +1,5 @@
 [tox]
-envlist = 
coverage-clean,{py27,pypy,py33,py34,py35,py36}-{extras,noextras},coverage-report
+envlist = 
coverage-clean,{py27,pypy,py35,py36,py38}-{extras,noextras},coverage-report
 
 [testenv]
 deps =
@@ -31,14 +31,6 @@
 deps = {[testenv:benchmark]deps}
 commands = {[testenv:benchmark]commands}
 
-[testenv:py33-benchmark]
-deps = {[testenv:benchmark]deps}
-commands = {[testenv:benchmark]commands}
-
-[testenv:py34-benchmark]
-deps = {[testenv:benchmark]deps}
-commands = {[testenv:benchmark]commands}
-
 [testenv:py35-benchmark]
 deps = {[testenv:benchmark]deps}
 commands = {[testenv:benchmark]commands}


Reply via email to