[release-announce] hacking 1.1.0

no-reply at openstack.org no-reply at openstack.org
Tue May 8 13:26:58 UTC 2018


We are tickled pink to announce the release of:

hacking 1.1.0: OpenStack Hacking Guideline Enforcement

Download the package from:

    https://pypi.org/project/hacking

For more details, please see below.

1.1.0
^^^^^

Prelude

This release includes below changes:

* Transition to flake8 2.6.x:

  * flake8 2.6.x performed the conversion to pycodestyle (which is
    the new name of pep8). Remove the explicit dependencies of hacking
    as flake8 is going to pull in mccabe, pyflakes and pycodestyle in
    the versions that are needed.

* Allow 'wraps' to be an alternative to autospec:

  * Don't cause an H210 error if the mock.patch/mock.patch.object
    call uses the 'wraps' keyword. As that serves the same purpose in
    catching wrong attributes.

Changes in hacking 1.0.0..1.1.0
-------------------------------

19e5463 Import integration test
61cfa10 Release notes for 1.1.0
368757b uncap eventlet
fc27b2f add lower-constraints job
ece27ea Updated from global requirements
928d458 Drop py34 target in tox.ini
3d67c8e Updated from global requirements
24d7eb6 Transition to flake8 2.6.x
0f47b10 Avoid tox_install.sh for constraints support
c3b8008 Remove setting of version/release from releasenotes
c878b26 autospec check: Allow 'wraps' to be an alternative to autospec
59c9c41 Updated from global requirements
e51e8aa Fix broken releasenotes
d62d6e0 Fix python 3.6 escape char warnings in strings
f5b1731 Disambiguate the hacking rules for third party imports


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         | 20 ++++++++++++
HACKING.rst                                        |  7 ++++-
hacking/checks/localization.py                     | 16 +++++-----
hacking/checks/mock_checks.py                      |  6 +++-
hacking/core.py                                    | 12 ++++----
integration-test/test.sh                           | 12 ++++++++
lower-constraints.txt                              | 36 ++++++++++++++++++++++
releasenotes/notes/.placeholder                    |  0
...ocky-intermediate-release-60db6e8f66539e4b.yaml | 16 ++++++++++
.../notes/start-of-queens-c3024ebbb49aef6f.yaml    | 12 +++++---
releasenotes/source/conf.py                        | 12 ++------
requirements.txt                                   | 10 ++----
setup.cfg                                          |  1 -
setup.py                                           |  2 +-
test-requirements.txt                              | 16 +++++-----
tools/tox_install.sh                               | 30 ------------------
tox.ini                                            | 19 +++++++-----
19 files changed, 153 insertions(+), 93 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 3fd3f6a..93ee93b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4 +4 @@
-pbr>=1.8 # Apache-2.0
+pbr!=2.1.0,>=2.0.0 # Apache-2.0
@@ -6,6 +6,2 @@ pbr>=1.8 # Apache-2.0
-pep8==1.5.7 # MIT
-pyflakes==0.8.1 # MIT
-flake8<2.6.0,>=2.5.4 # MIT
-mccabe==0.2.1 # MIT License
-
-six>=1.9.0 # MIT
+flake8<2.7.0,>=2.6.0 # MIT
+six>=1.10.0 # MIT
diff --git a/test-requirements.txt b/test-requirements.txt
index 53f7da5..3104ceb 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4 +4 @@
-coverage>=4.0 # Apache-2.0
+coverage!=4.4,>=4.0 # Apache-2.0
@@ -6,4 +6,4 @@ fixtures>=3.0.0 # Apache-2.0/BSD
-mock>=2.0 # BSD
-python-subunit>=0.0.18 # Apache-2.0/BSD
-sphinx>=1.6.2 # BSD
-openstackdocstheme>=1.11.0 # Apache-2.0
+mock>=2.0.0 # BSD
+python-subunit>=1.0.0 # Apache-2.0/BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
+openstackdocstheme>=1.18.1 # Apache-2.0
@@ -12 +12 @@ testscenarios>=0.4 # Apache-2.0/BSD
-testtools>=1.4.0 # MIT
+testtools>=2.2.0 # MIT
@@ -19 +19 @@ testtools>=1.4.0 # MIT
-eventlet!=0.18.3,>=0.18.2 # MIT
+eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
@@ -21 +21 @@ eventlet!=0.18.3,>=0.18.2 # MIT
-reno>=1.8.0 # Apache-2.0
+reno>=2.5.0 # Apache-2.0






More information about the Release-announce mailing list