[openstack-dev] We need a new version of hacking for Icehouse, or provide compatibility with oslo.sphinx in oslosphinx

Doug Hellmann doug.hellmann at dreamhost.com
Fri Mar 21 15:36:01 UTC 2014


There is quite a list of un-released changes to hacking:

* Make H202 check honor pep8 #noqa comment
* Updated from global requirements
* Updated from global requirements
* Switch over to oslosphinx
* HACKING.rst: Fix odd indentation in an example code
* Remove tox locale overrides
* Updated from global requirements
* Clarify H403 message
* More portable way to detect modules for H302
* Fix python 3 incompatibility in _get_import_type
* Trigger warnings for raw and unicode docstrings
* Enhance H233 rule
* Add check for removed modules in Python 3
* Add Python3 deprecated assert* to HACKING.rst
* Turn Python3 section into a list
* Re-Add section on assertRaises(Exception
* Cleanup HACKING.rst
* Move hacking guide to root directory
* Fix typo in package summary
* Add H904: don't wrap lines using a backslash
* checking for metaclass to be Python 3.x compatible
* Remove unnecessary headers
* Add -U to pip install command in tox.ini
* Fix typos of comment in module core
* Updated from global requirements
* Add a check for file with only comments
* Enforce grouping like imports together
* Add noqa support for H201 (bare except)
* Enforce import grouping
* Clean up how test env variables are parsed
* Fix the escape character
* Remove vim modeline sample
* Add a check for newline after docstring summary

It looks like it might be time for a new release anyway, especially if it
resolves the packaging issue you describe.

As far as the symlink, I think that's a potentially bad idea. It's only
going to encourage the continued use of oslo.sphinx. Since the package is
only needed to build the documentation, and not to actually use the tool, I
don't think we need the symlink in place, do we?

Doug


On Fri, Mar 21, 2014 at 6:17 AM, Thomas Goirand <zigo at debian.org> wrote:

> Hi,
>
> The current version of python-hacking wants python-oslo.sphinx, but
> we're moving to python-oslosphinx. In Debian, I made python-oslo.sphinx
> as a transition empty package that only depends on python-oslosphinx. As
> a consequence, python-hacking needs to be updated to use
> python-oslosphinx, otherwise it wont have available build-dependencies.
>
> I was also thinking about providing a symlink from oslo/sphinx to
> oslosphinx. Maybe it'd be nice to have this directly in oslosphinx?
>
> Thoughts anyone?
>
> Cheers,
>
> Thomas
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140321/e49590b3/attachment.html>


More information about the OpenStack-dev mailing list