Hello community,

here is the log from the commit of package python-hacking for openSUSE:Factory 
checked in at 2013-07-10 17:31:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hacking (Old)
 and      /work/SRC/openSUSE:Factory/.python-hacking.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hacking"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hacking/python-hacking.changes    
2013-07-03 10:26:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-hacking.new/python-hacking.changes       
2013-07-10 17:31:45.000000000 +0200
@@ -1,0 +2,11 @@
+Tue Jul  9 11:56:05 UTC 2013 - [email protected]
+
+- pyflakes-07x.diff: allow python-pyflakes 0.7.3 as well 
+
+-------------------------------------------------------------------
+Wed Jul  3 15:57:04 UTC 2013 - [email protected]
+
+- update to 0.5.6:
+  * Ignore import lines with noqa
+
+-------------------------------------------------------------------

Old:
----
  hacking-0.5.5.tar.gz

New:
----
  hacking-0.5.6.tar.gz
  pyflakes-07x.diff

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

Other differences:
------------------
++++++ python-hacking.spec ++++++
--- /var/tmp/diff_new_pack.1xo0Ai/_old  2013-07-10 17:31:46.000000000 +0200
+++ /var/tmp/diff_new_pack.1xo0Ai/_new  2013-07-10 17:31:46.000000000 +0200
@@ -17,13 +17,14 @@
 
 
 Name:           python-hacking
-Version:        0.5.5
+Version:        0.5.6
 Release:        0
 Summary:        OpenStack Hacking Guidline Enforcement
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://github.com/openstack-dev/hacking
 Source:         
http://pypi.python.org/packages/source/h/hacking/hacking-%{version}.tar.gz
+Patch0:         pyflakes-07x.diff
 BuildRequires:  python-d2to1
 BuildRequires:  python-devel
 BuildRequires:  python-distribute
@@ -54,6 +55,7 @@
 
 %prep
 %setup -q -n hacking-%{version}
+%patch0
 
 %build
 python setup.py build

++++++ hacking-0.5.5.tar.gz -> hacking-0.5.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hacking-0.5.5/AUTHORS new/hacking-0.5.6/AUTHORS
--- old/hacking-0.5.5/AUTHORS   2013-06-10 20:20:15.000000000 +0200
+++ new/hacking-0.5.6/AUTHORS   2013-06-26 23:52:29.000000000 +0200
@@ -13,6 +13,7 @@
 Asbjørn Sannes <[email protected]>
 Attila Fazekas <[email protected]>
 Bhuvan Arumugam <[email protected]>
+Brant Knudson <[email protected]>
 Brian Elliott <[email protected]>
 Brian Lamar <[email protected]>
 Brian Waldon <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hacking-0.5.5/ChangeLog new/hacking-0.5.6/ChangeLog
--- old/hacking-0.5.5/ChangeLog 2013-06-10 20:20:15.000000000 +0200
+++ new/hacking-0.5.6/ChangeLog 2013-06-26 23:52:29.000000000 +0200
@@ -1,3 +1,44 @@
+commit ce26036d816a4e2bd99c73c23fe794b4fc5a0a67
+Merge: 8bfdeea 8f349ad
+Author: Jenkins <[email protected]>
+Date:   Wed Jun 26 21:44:35 2013 +0000
+
+    Merge "Ignore import lines with noqa" into 0.5.x
+
+commit 8f349ad8cf7db0d1c74005173b7713b301671d9c
+Author: Brant Knudson <[email protected]>
+Date:   Fri Jun 21 12:20:50 2013 -0500
+
+    Ignore import lines with noqa
+    
+    flake8 says that lines with '# noqa' should be ignored, but the
+    import rules checker isn't ignoring those lines.
+    
+    This change makes it so that import lines with # noqa are ignored.
+    
+    Change-Id: Icb2c3eaf0cec87e18bc3c6dcf28f8e2642ec23a2
+    Fixes: bug 1186188
+    (cherry picked from commit d728031755269d352ea43c1ea4fb59fd0eceebd5)
+
+commit 8bfdeea984697e803dcc4973900a077c5ec30632
+Author: Mark McLoughlin <[email protected]>
+Date:   Thu Jun 20 10:18:00 2013 +0100
+
+    Include HACKING.rst in MANIFEST.in
+    
+    Without this, I'm seeing:
+    
+      Running setup.py egg_info for package from 
file:///.../hacking-0.5.5.6.ga6bef44.zip
+        error in setup command: Error parsing ../setup.cfg: IOError: 2
+    
+    This is a "file not found" when it tries to open HACKING.rst.
+    
+    Not sure whether something changed recently to cause this to start
+    happening.
+    
+    Change-Id: I499332181c83a7bb127261efd6354ae4d92f5709
+    (cherry picked from commit 7c4421e470f53bea90a08ea5cb4273b6b43806a5)
+
 commit 87b6b5b7ddbf603817fdbfb751464fa8576a40a4
 Merge: 3ac8ffd 281fa74
 Author: Jenkins <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hacking-0.5.5/MANIFEST.in 
new/hacking-0.5.6/MANIFEST.in
--- old/hacking-0.5.5/MANIFEST.in       2013-06-10 20:19:37.000000000 +0200
+++ new/hacking-0.5.6/MANIFEST.in       2013-06-26 23:51:35.000000000 +0200
@@ -1,6 +1,7 @@
 include AUTHORS
 include ChangeLog
 include README.rst
+include HACKING.rst
 include requirements.txt
 include test-requirements.txt
 exclude .gitignore
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hacking-0.5.5/PKG-INFO new/hacking-0.5.6/PKG-INFO
--- old/hacking-0.5.5/PKG-INFO  2013-06-10 20:20:16.000000000 +0200
+++ new/hacking-0.5.6/PKG-INFO  2013-06-26 23:52:31.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: hacking
-Version: 0.5.5
+Version: 0.5.6
 Summary: OpenStack Hacking Guidline Enforcement
 Home-page: http://github.com/openstack-dev/hacking
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hacking-0.5.5/hacking/core.py 
new/hacking-0.5.6/hacking/core.py
--- old/hacking-0.5.5/hacking/core.py   2013-06-10 20:19:38.000000000 +0200
+++ new/hacking-0.5.6/hacking/core.py   2013-06-26 23:51:35.000000000 +0200
@@ -230,7 +230,7 @@
 
 
 @flake8ext
-def hacking_import_rules(logical_line, filename):
+def hacking_import_rules(logical_line, physical_line, filename):
     r"""Check for imports.
 
     OpenStack HACKING guide recommends one import per line:
@@ -252,6 +252,7 @@
     Okay: from os import (path as p)
     Okay: import os.path
     Okay: from nova.compute import rpcapi
+    Okay: from os.path import dirname as dirname2  # noqa
     H302: from os.path import dirname as dirname2
     H302: from os.path import (dirname as dirname2)
     H303: from os.path import *
@@ -264,6 +265,9 @@
     #TODO(mordred: We need to split this into 4 different checks so that they
     # can be disabled by command line switches properly
 
+    if pep8.noqa(physical_line):
+        return
+
     def is_module_for_sure(mod, search_path=sys.path):
         mod = mod.replace('(', '')  # Ignore parentheses
         try:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hacking-0.5.5/hacking.egg-info/PKG-INFO 
new/hacking-0.5.6/hacking.egg-info/PKG-INFO
--- old/hacking-0.5.5/hacking.egg-info/PKG-INFO 2013-06-10 20:20:15.000000000 
+0200
+++ new/hacking-0.5.6/hacking.egg-info/PKG-INFO 2013-06-26 23:52:29.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: hacking
-Version: 0.5.5
+Version: 0.5.6
 Summary: OpenStack Hacking Guidline Enforcement
 Home-page: http://github.com/openstack-dev/hacking
 Author: OpenStack

++++++ pyflakes-07x.diff ++++++
--- hacking.egg-info/requires.txt
+++ hacking.egg-info/requires.txt
@@ -1,5 +1,5 @@
 d2to1>=0.2.10,<0.3
 pbr>=0.5.10,<0.6
 pep8==1.4.5
-pyflakes==0.7.2
-flake8==2.0
\ No newline at end of file
+pyflakes>=0.7.2
+flake8==2.0
--- requirements.txt
+++ requirements.txt
@@ -2,5 +2,5 @@
 pbr>=0.5.10,<0.6
 
 pep8==1.4.5
-pyflakes==0.7.2
+pyflakes>=0.7.2
 flake8==2.0
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to