Hello community,
here is the log from the commit of package python-automaton for openSUSE:Factory checked in at 2015-10-30 13:42:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-automaton (Old)
and /work/SRC/openSUSE:Factory/.python-automaton.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-automaton"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-automaton/python-automaton.changes 2015-08-27 08:55:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-automaton.new/python-automaton.changes 2015-10-30 13:42:33.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Sep 9 06:37:10 UTC 2015 - tbechtold@suse.com
+
+- update to 0.7.0:
+ * Updated from global requirements
+ * Activate pep8 check that _ is imported
+
+-------------------------------------------------------------------
Old:
----
automaton-0.5.0.tar.gz
New:
----
automaton-0.7.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-automaton.spec ++++++
--- /var/tmp/diff_new_pack.x1d5jl/_old 2015-10-30 13:42:33.000000000 +0100
+++ /var/tmp/diff_new_pack.x1d5jl/_new 2015-10-30 13:42:33.000000000 +0100
@@ -17,7 +17,7 @@
Name: python-automaton
-Version: 0.5.0
+Version: 0.7.0
Release: 0
Summary: Friendly state machines for python
License: Apache-2.0
++++++ automaton-0.5.0.tar.gz -> automaton-0.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/AUTHORS new/automaton-0.7.0/AUTHORS
--- old/automaton-0.5.0/AUTHORS 2015-07-27 21:56:01.000000000 +0200
+++ new/automaton-0.7.0/AUTHORS 2015-09-08 17:30:24.000000000 +0200
@@ -1,3 +1,4 @@
Joshua Harlow
Joshua Harlow
Ruby Loo
+Tom Cocozzello
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/ChangeLog new/automaton-0.7.0/ChangeLog
--- old/automaton-0.5.0/ChangeLog 2015-07-27 21:56:01.000000000 +0200
+++ new/automaton-0.7.0/ChangeLog 2015-09-08 17:30:24.000000000 +0200
@@ -1,6 +1,19 @@
CHANGES
=======
+0.7.0
+-----
+
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+
+0.6.0
+-----
+
+* Activate pep8 check that _ is imported
+* Updated from global requirements
+
0.5.0
-----
@@ -9,6 +22,7 @@
* Remove setup.cfg 'requires-python' incorrect entry
* Document `process_event` return and expose return namedtuple type
* Allow providing and using a 'nested_start_state_fetcher'
+* Allow providing a state-name translation dict
0.4.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/PKG-INFO new/automaton-0.7.0/PKG-INFO
--- old/automaton-0.5.0/PKG-INFO 2015-07-27 21:56:01.000000000 +0200
+++ new/automaton-0.7.0/PKG-INFO 2015-09-08 17:30:25.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: automaton
-Version: 0.5.0
+Version: 0.7.0
Summary: Friendly state machines for python.
Home-page: http://www.openstack.org/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/automaton/converters/pydot.py new/automaton-0.7.0/automaton/converters/pydot.py
--- old/automaton-0.5.0/automaton/converters/pydot.py 2015-07-27 21:55:33.000000000 +0200
+++ new/automaton-0.7.0/automaton/converters/pydot.py 2015-09-08 17:29:47.000000000 +0200
@@ -25,7 +25,7 @@
def convert(machine, graph_name,
graph_attrs=None, node_attrs_cb=None, edge_attrs_cb=None,
- add_start_state=True):
+ add_start_state=True, name_translations=None):
"""Translates the state machine into a pydot graph.
:param machine: state machine to convert
@@ -55,11 +55,16 @@
``default_start_state`` then this does nothing,
even if enabled)
:type add_start_state: bool
+ :param name_translations: a dict that provides alternative ``state``
+ string names for each state
+ :type name_translations: dict
"""
if not PYDOT_AVAILABLE:
raise RuntimeError("pydot (or pydot2 or equivalent) is required"
" to convert a state machine into a pydot"
" graph")
+ if not name_translations:
+ name_translations = {}
graph_kwargs = {
'rankdir': 'LR',
'nodesep': '0.25',
@@ -82,14 +87,17 @@
start_node_attrs = node_attrs.copy()
if node_attrs_cb is not None:
start_node_attrs.update(node_attrs_cb(start_state))
- nodes[start_state] = pydot.Node(start_state,
+ pretty_start_state = name_translations.get(start_state,
+ start_state)
+ nodes[start_state] = pydot.Node(pretty_start_state,
**start_node_attrs)
g.add_node(nodes[start_state])
if end_state not in nodes:
end_node_attrs = node_attrs.copy()
if node_attrs_cb is not None:
end_node_attrs.update(node_attrs_cb(end_state))
- nodes[end_state] = pydot.Node(end_state, **end_node_attrs)
+ pretty_end_state = name_translations.get(end_state, end_state)
+ nodes[end_state] = pydot.Node(pretty_end_state, **end_node_attrs)
g.add_node(nodes[end_state])
edge_attrs = {}
if edge_attrs_cb is not None:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/automaton.egg-info/PKG-INFO new/automaton-0.7.0/automaton.egg-info/PKG-INFO
--- old/automaton-0.5.0/automaton.egg-info/PKG-INFO 2015-07-27 21:56:01.000000000 +0200
+++ new/automaton-0.7.0/automaton.egg-info/PKG-INFO 2015-09-08 17:30:24.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: automaton
-Version: 0.5.0
+Version: 0.7.0
Summary: Friendly state machines for python.
Home-page: http://www.openstack.org/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/automaton.egg-info/pbr.json new/automaton-0.7.0/automaton.egg-info/pbr.json
--- old/automaton-0.5.0/automaton.egg-info/pbr.json 2015-07-27 21:56:01.000000000 +0200
+++ new/automaton-0.7.0/automaton.egg-info/pbr.json 2015-09-08 17:30:24.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "d434212"}
\ No newline at end of file
+{"git_version": "e5d9c91", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/automaton.egg-info/requires.txt new/automaton-0.7.0/automaton.egg-info/requires.txt
--- old/automaton-0.5.0/automaton.egg-info/requires.txt 2015-07-27 21:56:01.000000000 +0200
+++ new/automaton-0.7.0/automaton.egg-info/requires.txt 2015-09-08 17:30:24.000000000 +0200
@@ -1,4 +1,4 @@
-pbr<2.0,>=1.3
+pbr<2.0,>=1.6
six>=1.9.0
-debtcollector>=0.3.0 # Apache-2.0
+debtcollector>=0.3.0
PrettyTable<0.8,>=0.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/requirements.txt new/automaton-0.7.0/requirements.txt
--- old/automaton-0.5.0/requirements.txt 2015-07-27 21:55:34.000000000 +0200
+++ new/automaton-0.7.0/requirements.txt 2015-09-08 17:29:47.000000000 +0200
@@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later.
# See: https://bugs.launchpad.net/pbr/+bug/1384919 for why this is here...
-pbr<2.0,>=1.3
+pbr<2.0,>=1.6
# Python 2->3 compatibility library.
six>=1.9.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/setup.cfg new/automaton-0.7.0/setup.cfg
--- old/automaton-0.5.0/setup.cfg 2015-07-27 21:56:01.000000000 +0200
+++ new/automaton-0.7.0/setup.cfg 2015-09-08 17:30:25.000000000 +0200
@@ -41,7 +41,7 @@
upload-dir = doc/build/html
[egg_info]
-tag_build =
tag_date = 0
tag_svn_revision = 0
+tag_build =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/test-requirements.txt new/automaton-0.7.0/test-requirements.txt
--- old/automaton-0.5.0/test-requirements.txt 2015-07-27 21:55:34.000000000 +0200
+++ new/automaton-0.7.0/test-requirements.txt 2015-09-08 17:29:47.000000000 +0200
@@ -10,7 +10,7 @@
python-subunit>=0.0.18
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
oslosphinx>=2.5.0 # Apache-2.0
-oslotest>=1.7.0 # Apache-2.0
+oslotest>=1.10.0 # Apache-2.0
testrepository>=0.0.18
testscenarios>=0.4
testtools>=1.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/automaton-0.5.0/tox.ini new/automaton-0.7.0/tox.ini
--- old/automaton-0.5.0/tox.ini 2015-07-27 21:55:34.000000000 +0200
+++ new/automaton-0.7.0/tox.ini 2015-09-08 17:29:47.000000000 +0200
@@ -33,5 +33,4 @@
[flake8]
show-source = True
-builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build