[release-announce] hacking 2.0.0
no-reply at openstack.org
no-reply at openstack.org
Fri Dec 13 18:26:03 UTC 2019
We are thrilled to announce the release of:
hacking 2.0.0: OpenStack Hacking Guideline Enforcement
The source is available from:
https://opendev.org/openstack/hacking
Download the package from:
https://pypi.org/project/hacking
For more details, please see below.
2.0.0
^^^^^
New Features
************
* *hacking* is now compatible with flake8 3.x, which is a large
rewrite of flake8. flake8 2.x is no longer supported.
Upgrade Notes
*************
* Support for local checks has been removed. This was not compatible
with *flake8* 3.x. Users should migrate to the flake8's native local
plugins support.
(https://flake8.pycqa.org/en/3.7.0/user/configuration.html#using-
local-plugins)
Changes in hacking 1.1.0..2.0.0
-------------------------------
172d348 Bump flake8 version to something modern
b6bca99 Address flake8 3.x violations
51eadb6 General cleanups
4f32840 Fix deprecated escape chars in strings
279f4f0 Add Python 3 Train unit tests
27f2cc3 Dropping the py35 testing
10e58f9 OpenDev Migration Patch
5b2c87e Fix python 3.6 escape char warnings in strings
93cdb6f Replace openstack.org git:// URLs with https://
6615b4b Don't quote {posargs} in tox.ini
f64f9a0 Fix coverage job
e6670f2 Fix 'ref' format errors in README file
e84a4ad Change openstack-dev to openstack-discuss
85cdbdf Add support for detecting SPDX license headers
07b3706 Use templates for cover and lower-constraints
0b1a73e add python 3.6 unit test job
2ec94af switch documentation job to new PTI
ff5a380 import zuul job settings from project-config
800e1be Switch to stestr
6a75b35 fix tox python3 overrides
Diffstat (except docs and test files)
-------------------------------------
.gitignore | 2 +-
.gitreview | 4 +-
.stestr.conf | 4 +
.testr.conf | 8 --
.zuul.yaml | 14 ++-
HACKING.rst | 5 +
README.rst | 6 +-
hacking/checks/comments.py | 25 ++--
hacking/checks/docstrings.py | 2 +-
hacking/checks/imports.py | 2 +-
hacking/checks/python23.py | 4 +-
hacking/core.py | 27 ----
integration-test/test.sh | 2 +-
lower-constraints.txt | 15 +--
.../notes/flake8-3-x-support-cd478de79fe7b63d.yaml | 12 ++
requirements.txt | 7 +-
setup.cfg | 6 +-
test-requirements.txt | 6 +-
tox.ini | 49 +++++---
23 files changed, 271 insertions(+), 176 deletions(-)
Requirements updates
--------------------
diff --git a/requirements.txt b/requirements.txt
index 93ee93b..bd5cd43 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,6 +1 @@
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
-pbr!=2.1.0,>=2.0.0 # Apache-2.0
-
-flake8<2.7.0,>=2.6.0 # MIT
+flake8<4.0.0,>=3.6.0 # MIT
diff --git a/test-requirements.txt b/test-requirements.txt
index 3104ceb..3028635 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -8,3 +8 @@ 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
-testrepository>=0.0.18 # Apache-2.0/BSD
+stestr>=2.0.0 # Apache-2.0
@@ -20,2 +17,0 @@ eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
-
-reno>=2.5.0 # Apache-2.0
More information about the Release-announce
mailing list