summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Skip test for testr hook being installed when testr is not availableDirk Mueller2018-09-141-0/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | pbr only depends on testrepository in the test requirements, so packaging efforts can decide to skip the dependency if they want to. As stestr is going to replace testrepository going forward, it makes sense to make dependencies to testrepository optional. Skip the test that requires testrepository in that scenario. Change-Id: I28c30411a5a6fdb071ebcc35e65ce1f4f1242498
* | | Merge "tox: Suppress output"Zuul2018-10-153-4/+8
|\ \ \
| * | | tox: Suppress outputStephen Finucane2018-10-043-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the switch to stestr in commit 2222dbb47, the tests have taken to spewing a load of noise. This seems to be because we dropped the configuration for OS_STDOUT_CAPTURE and OS_STDERR_CAPTURE, which was previously configured in '.testr.conf'. This is fixed. However, it seems it's also necessary to explicitly pass the '--suppress-attachments' option to 'stestr' to properly silence things. This seems to be necessary because many pbr commands output to stdout by default, while other projects (nova, etc.) use 'logging'. Use of this option requires stestr 2.1.0 [1] so we bump the lower-constraint. As an aside, finding out what caused this output was easier said than done. I tried stestr, testr and fixtures, before finally finding it in subunit. [1] https://github.com/mtreinish/stestr/commit/1316ebd7 Change-Id: I1678bcd26b41fdf09f98c36fc095d6d4c1826deb Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "packaging: Remove support for pyN requirement files"Zuul2018-10-064-35/+14
|\ \ \ \
| * | | | packaging: Remove support for pyN requirement filesStephen Finucane2018-07-234-35/+14
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7f915ecdc819bc4d3c6811949f12bdadb108a1ab Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | Merge "docs: Add docs for reno integration"Zuul2018-10-062-1/+17
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | docs: Add docs for reno integrationStephen Finucane2018-09-242-1/+17
| | |_|/ | |/| | | | | | | | | | | | | | Change-Id: I9a77a4f6397464c33181d8b4bd2a9ae79c058b47 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "Use templates for cover and lower-constraints"Zuul2018-10-062-8/+6
|\ \ \ \
| * | | | Use templates for cover and lower-constraintsAndreas Jaeger2018-10-052-8/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use openstack-tox-cover template, this runs the cover job in the check queue only. Use openstack-lower-constraints-jobs template. Remove jobs that are part of the templates. Sort list of templates. Add coverage to test-requirements, otherwise tox -e cover will fail. Change-Id: I0eff88e5736243291d4777f642bc48c32deafa39
* | | | Special case long_description_content_typeIan Wienand2018-10-053-0/+22
|/ / / | | | | | | | | | | | | | | | | | | | | | As described in the pypa pull request, special-case passing through these fields into the metadata. setuptools will maintain them. Change-Id: I89eb8c6d627790680a61a0a4b7490191b6e8e90c Closes-Bug: #1762494
* | | Support wheel 0.32.0+Stephen Finucane2018-10-043-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wheel 0.32.0 removed the 'wheel install' command [1] and, subsequently, the 'wheel.install' module [2]. It also made 'WheelFile' a subclass of 'zipfile.ZipFile' rather than a wrapper [2] and deprecated the '[wheel]' section of 'setup.cfg' in favour of '[bdist_wheel]'. Handle these changes. [1] https://github.com/pypa/wheel/commit/353217fb4 [2] https://github.com/pypa/wheel/commit/89492505b Change-Id: I2903089a07bdd2dc96437b9f65f2d2bba2741707
* | | Merge "Remove my_ip from generated wsgi script"4.3.0Zuul2018-09-251-2/+0
|\ \ \
| * | | Remove my_ip from generated wsgi scriptChris Dent2018-09-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The variable is not used by the generated script and the socket calls will block in some contexts. Change-Id: Id5f9c14e2bdda434883c24bb05359c0c36a1b569
* | | | Merge "remove pypy jobs"Zuul2018-09-251-1/+0
|\ \ \ \ | |/ / / |/| | |
| * | | remove pypy jobsDoug Hellmann2018-08-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pypy jobs are non-voting, do not work, and we don't really support the tool in other libraries. Let's drop the jobs. Change-Id: I5e75e4efffe927ccd394dc6bb4c0247777d7886b Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | | Fix typo in contribution instructions.Moises Guimaraes de Medeiros2018-09-101-1/+1
| |/ / |/| | | | | | | | | | | Change-Id: Ia514b4baf3f5079547d7c198eac60cab96ba3a0e Signed-off-by: Moises Guimaraes de Medeiros <moguimar@redhat.com>
* | | Add release note for fix to bug 1786306Stephen Finucane2018-08-271-0/+11
| | | | | | | | | | | | | | | | | | | | | This should make the feature more prominent. Change-Id: I49fa0c076837dc142a3374263925116776bb7ca2 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | Merge "Move pbr-installation jobs in-tree"Zuul2018-08-275-10/+420
|\ \ \
| * | | Move pbr-installation jobs in-treeBen Nemec2018-08-255-10/+420
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These jobs are currently broken and to fix them we may need to make changes to the job definitions. Since they're pbr-specific we might as well move them in-tree so we can iterate on them without going through the global repo. Needed-By: https://review.openstack.org/596535 Change-Id: I10313a8a534a64113fa03d7ee3b0ed28e49fbf8e
* | | Merge "add lib-forward-testing-python3 test job"Zuul2018-08-271-0/+1
|\ \ \ | |/ /
| * | add lib-forward-testing-python3 test jobDoug Hellmann2018-08-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a functional test job running under Python 3 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I67c07c2689c3e836a8b0ba3b2daa466af3e71b13 Story: #2002586 Task: #24322
* | | Merge "Support subdirectory in the url"Zuul2018-08-242-4/+13
|\ \ \ | |/ / |/| |
| * | Support subdirectory in the urlWei Tie2018-08-232-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pip supports git+https://foo.com/zipball#egg=bar&subdirectory=baz when setup.py is not at the root directory of the project [1]. This commit keeps pbr function in this case. [1] https://pip.pypa.io/en/latest/reference/pip_install/#vcs-support Change-Id: I70dac755caacc89859a8646c090b69800401bbc0 Closes-Bug: 1786306 Signed-off-by: Wei Tie <nuaafe@gmail.com>
* | | add python 3.6 unit test jobDoug Hellmann2018-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Ib7bd8ec9615b25f000b5473c8a80e2ddf602ec62 Story: #2002586 Task: #24322
* | | switch documentation job to new PTIDoug Hellmann2018-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I8721027b63bc835185251b08c17b0e6ae3911cd8 Story: #2003250
* | | import zuul job settings from project-configDoug Hellmann2018-08-031-0/+13
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I3320148c3757fd711b98024d795bd792c46df310 Story: #2003250
* | Merge "tox: Re-add cover target"Zuul2018-08-011-0/+10
|\ \
| * | tox: Re-add cover targetStephen Finucane2018-07-191-0/+10
| |/ | | | | | | | | | | | | | | This was removed in an earlier patch but should not have been. Re-add it now. Change-Id: I68b785498a1a00f2301f610bbb8cb2e024416515 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Ignore Zuul when generating AUTHORSTim Burke2018-07-301-1/+1
|/ | | | Change-Id: Id1626580dc76e2b2105b549873e88225186cb4fd
* Deprecate 'test' integration4.2.0Stephen Finucane2018-07-181-0/+6
| | | | | | | | | | No one in OpenStack should be using this command any more and it's unlikely that anyone outside it is even using these. We don't want to have to continue supporting this going forward so let's start the deprecation process. Change-Id: I51e8ebb0268ff7ec1e71d66ff59422fcc7377c4c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Deprecate 'build_sphinx' integrationStephen Finucane2018-07-183-0/+80
| | | | | | | | We now have a path away from this feature, so let's deprecate it while we can. Change-Id: Idfc34b9085c6da9b8cac24986be5f3bad142d927 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Add Sphinx extensionStephen Finucane2018-07-183-0/+134
| | | | | | | | This duplicates what already exists in openstackdocstheme but provides a migration path for users outside of the OpenStack ecosystem. Change-Id: I73750b3fe984f9d2f339aac0f435a83ee68c89da Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* doc: Add documentation for missing '[pbr]' optionsStephen Finucane2018-07-182-7/+27
| | | | | | | | There are more that just autodoc options in here. Some formatting issues are also corrected. Change-Id: I075281d97c2fc7981a38ff1ddbb4ec76717ac726 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* doc: Fix formatting of packagers guideStephen Finucane2018-07-181-38/+41
| | | | | | | We're going to be making some changes to this shortly. Change-Id: I07e8421dd8b6598da75348e3d8d3baae3ae457ff Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Switch to stestrStephen Finucane2018-07-188-30/+19
| | | | | | | | | | | | | | According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. While we're at it, we also fix the docs requirements and removed the unused 'pypy' and 'cover' tox targets. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I424068adc9092be2cf40d117c9dc4e92bb51e804 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* trivial: Fix file permissions4.1.1Stephen Finucane2018-07-182-2/+0
| | | | | | | No reason for these to be executable. Change-Id: I9b22f4b9e679a5f618bb3f2a007327bdb0c80305 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* trivial: Remove 'tools/releasenotes_tox.sh'Stephen Finucane2018-07-182-30/+3
| | | | | | | | | This is not needed since reno 2.1.0 (commit f8fc8f97) [1]. [1] https://github.com/openstack/reno/commit/f8fc8f97 Change-Id: I335bba8c8bf4f2d73aba32ae762607e67ee3814c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Add docstring from LocalManifestMaker.add_defaultsStephen Finucane2018-07-051-0/+9
| | | | | | | | | | | | | | | | A not-so-recent change to setuptools [1] has resulted in the inclusion of a docstring from distutils that uses broken rST. docstring of pbr.packaging.LocalManifestMaker.add_defaults:11:Definition list ends without a blank line; unexpected unindent. Resolve the issue by simply redefining the docstring. [1] https://github.com/pypa/setuptools/compare/252ee6f...f1cf491f [2] https://github.com/python/cpython/blob/3.4/Lib/distutils/command/sdist.py#L217-L229 Change-Id: I84b5097bc31af601061a77dfea9d6a6f38b018cc Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Merge "Support python-requires metadata"4.1.0Zuul2018-06-271-0/+1
|\
| * Support python-requires metadataBen Nemec2018-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | Expose the python_require setuptools option via the python-requires metadata item in setup.cfg. Closes-Bug: 1735668 Change-Id: Idf2bb90882121e118f5b7531e027d350c0e4a441 Co-authored-by: Dennis Verspuij <dennisverspuij@users.noreply.github.com>
* | Update python3 versions in tox.ini envlistqingszhao2018-06-121-1/+1
| | | | | | | | | | | | | | | | | | This updates the envlist to include modern versions of python. It doesn't really mean anything except for you run tox without specifying an environment it will now run py35 and py36 instead of py34 (which isn't used anywhere anymore) Change-Id: I935cf6d104fa5b516332cbb587d327dc587d0c32
* | fix tox python3 overridesqingszhao2018-06-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I70b4fb58c7800158907d80f83018e39d1b785668
* | Merge "Add leading 0 on alpha release in semver doc"Zuul2018-06-081-11/+16
|\ \
| * | Add leading 0 on alpha release in semver docGaetan Semet2018-05-241-11/+16
| |/ | | | | | | | | Change-Id: I3c13be99237ff8840f36e21cae684d346defc03d Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
* | Revert "Remove win32/nt checks for wrapper script gen"4.0.4Matthew Treinish2018-05-311-1/+9
|/ | | | | | | | | | | | | | | | | | | | | This reverts commit 07de844615eaec520d817558462cda5f91f9b7b8. The output console_scripts generated after this commit landed are no longer directly callable from windows machines. Prior to the this reverts we wrapped console_script entrypoints in a .exe on windows so you could directly execute them, just like on *nix systems. However, after the commit we are no longer generating callables on windows. Instead PBR generates a txt file, without a suffix, that is not a valid executable on windows. It is exactly the same output as on a *nix system, but this neglects that scripts with shebangs don't work on windows. (For example generated output on windows see [1]) The exe files were needed so that we could directly execute the console scripts on windows. This commit restores this functionality so that PBR will properly generate executable console_scripts on windows machines again. Closes-Bug: #1761134 [1] http://paste.openstack.org/show/722389/ Change-Id: Ifc13879b7f64650d444e3a14df1a53b2172828e4
* Merge "Fix builddoc with sphinx <= 1.6"4.0.3Zuul2018-05-091-1/+1
|\
| * Fix builddoc with sphinx <= 1.6Ian Wienand2018-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I went to build infra-specs which specifies sphinx==1.5.6 and hit Traceback (most recent call last): File "setup.py", line 29, in <module> pbr=True) ... File ".../pbr/builddoc.py", line 235, in run self._sphinx_run() File ".../pbr/builddoc.py", line 162, in _sphinx_run freshenv=self.fresh_env, warningiserror=self.warning_is_error) File ".../sphinx/application.py", line 244, in __init__ self._init_builder(self.buildername) File "...//sphinx/application.py", line 311, in _init_builder raise SphinxError('Builder name %s not registered' % buildername) sphinx.errors.SphinxError: Builder name h not registered It appears to be a typo introduced with I18bbf693bca2f6e49d822ae2940d2170a2b90ce9; make sure we're walking the self.builders list; not the string self.builder. Change-Id: Ic038029c361b3ede48f2b495c74430d3ad1eab82
* | Don't poke in pip for requestsIan Wienand2018-04-301-6/+2
|/ | | | | | | Pip10 has removed the ability to poke inside it for things like requests. Explicitly add it to the venv. Change-Id: Ie12168091dc4c737f3913720c1743bea666b5d9c
* Merge "Better Sem-Ver header handling"4.0.2Zuul2018-04-031-3/+7
|\
| * Better Sem-Ver header handlingClark Boylan2018-03-201-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | This makes Sem-Ver header handling more reliable by ignoring any potential user configured git log output format. Instead PBR supplies its own format string that will output the commit message bodies in their entirety without wrapping and other whitespace formatting done for humans. Change-Id: I957a8c182585119534b4e02c34e7140a3e07d1d6 Related-Bug: 1738685 Fixes-Bug: 1704625