summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "builddoc: Treat '[pbr] autodoc_tree_excludes' as a multi-line opt"4.0.0Zuul2018-03-262-3/+5
|\
| * builddoc: Treat '[pbr] autodoc_tree_excludes' as a multi-line optStephen Finucane2018-03-262-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | We were treating this a single line, comma- or space-delimited option. This was incorrect and was causing issues for projects like neutron-lib when Sphinx 1.7, which switches from optparse to the stricter argparse was used. In addition, this project was including comments in the multi-line opt. These were being passed through but Sphinx < 1.7 was simply ignoring them. These are now filtered out. Change-Id: I177edf0f44714175da220cf3a960b8f23aa4ab09 Closes-Bug: #1753082
* | Merge "update parse test to use reliable comparison"Zuul2018-03-261-2/+15
|\ \ | |/
| * update parse test to use reliable comparisonDoug Hellmann2018-03-261-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | Different versions of setuptools seem to produce different representations of the version specifiers, so use pkg_resources to parse the values again and then compare the resulting objects so we aren't tripped up by rendering differences. Change-Id: Ic67cc936208dbd96b6d811c6aa284fd87df5b118 Signed-off-by: Doug Hellmann <doug@doughellmann.com> Closes-Bug: #1758877
* | Make docs on env vars a little clearerClark Boylan2018-03-201-4/+4
|/ | | | | | | | | | It was pointed out that the packager docs don't make it super obvious that the env var settings that packagers can set are env vars. Add export statements to the docs to imply it a bit more that we are talking about env vars here. Change-Id: I9e9eefa661994237a63b59dcefab11961ef339e1 Fixes-bug: 1724425
* Updated from global requirementsOpenStack Proposal Bot2018-03-151-1/+1
| | | | Change-Id: I7d0c896273f4de46e7d9dd494902adf5c1e19b30
* Merge "future-proof invocation of apidoc"Zuul2018-01-311-2/+15
|\
| * future-proof invocation of apidocDoug Hellmann2018-01-171-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | Newer versions of Sphinx have moved the apidoc module into sphinx.ext and the API is slightly different (the function expects sys.argv[1:] instead of sys.argv[:]. So, figure out where we can import it from and set a flag so we can invoke it properly. See this change in sphinx for details: https://github.com/sphinx-doc/sphinx/commit/87630c8ae8bff8c0e23187676e6343d8903003a6 Change-Id: I8235968f8a474c9e6088d935d0868570b2917c07 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | Updated from global requirementsOpenStack Proposal Bot2018-01-241-1/+1
| | | | | | | | Change-Id: I0f72806130503a47a3caf737e2cea082d42fed55
* | Merge "Updated from global requirements"Zuul2018-01-181-1/+1
|\ \ | |/ |/|
| * Updated from global requirementsOpenStack Proposal Bot2018-01-171-1/+1
| | | | | | | | Change-Id: I7eb765dc83e6983b5b52e518db5039a71efb036c
* | emit warning correctlyDoug Hellmann2018-01-171-9/+9
|/ | | | | | | distutils.log has a warn() function but not a warning() function. Change-Id: Iebfdb9e4d062d188ef9c73b66007a70f9c289ed2 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* deprecations: Deprecate support for '-py{N}' requirementsStephen Finucane2018-01-093-6/+29
| | | | | | | | This has been marked as deprecated for a long time in the docs but we've done nothing to indicate this from a code perspective. Fix this. Change-Id: I916bf16773a2a2cffa3c352d5dba52e3fbc298c2 Fixes-Bug: #431529
* Merge "doc: Minor rework of usage doc"Zuul2018-01-092-167/+166
|\
| * doc: Minor rework of usage docStephen Finucane2018-01-082-167/+166
| | | | | | | | | | | | | | | | Reorder some section to highlight those that are totally unique to pbr rather than simply modified. Change-Id: I8cea0ae7d85409573dc6cf1a5d2b7a8ebc5fe8b8 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "doc: Rework features doc"Zuul2018-01-093-87/+271
|\ \ | |/
| * doc: Rework features docStephen Finucane2018-01-083-87/+271
| | | | | | | | | | | | | | Break this document into sections and expand upon some of these. Change-Id: Ia6a3eed984ce4257cce9df0997e6be2d8d3bc683 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "Support PEP 345 Project-URL metadata"Zuul2018-01-084-0/+22
|\ \ | |/ |/|
| * Support PEP 345 Project-URL metadataJeremy Stanley2017-11-224-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By including one or more Project-URL entries in PKG-INFO metadata, PyPI can display helpful hyperlinks in a generic manner. Add support here to be able to pass it through setup.cfg with a project_urls dict. See the corresponding section of the Core Metadata Specifications from the Python Packaging User Guide for details: https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use Setuptools implementation is underway here: https://github.com/pypa/setuptools/pull/1210 Change-Id: I14e580c654b619cab7eb24e31f736056d6cf9bd4
* | Support v<semver> versionGaetan Semet2018-01-054-0/+25
| | | | | | | | | | | | | | Allow protect tag (in gitlab, github) using "v*" regex. Change-Id: I3e6eb1031ae92349c5a9531b143b6470482664e7 Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
* | Merge "Deprecate testr and nose integration"Zuul2018-01-043-1/+24
|\ \
| * | Deprecate testr and nose integrationStephen Finucane2018-01-033-1/+24
| |/ | | | | | | | | | | | | | | | | | | These are not recommended for use in OpenStack anymore and both nose and testr offer native setuptools commands that can be manually aliased to 'test' on a per-project basis if necessary. Deprecate with an eye to removal in the future. Change-Id: I753f2ffe8b223b180b8ed813d879b3a28b47a1ab Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "tests: Increase coverage of requirements parsing"Zuul2017-12-151-40/+45
|\ \
| * | tests: Increase coverage of requirements parsingStephen Finucane2017-12-061-40/+45
| | | | | | | | | | | | | | | | | | | | | | | | This is mostly an exercise in refactoring, moving tests into a single test case. An additional test is added, however, verifying that default requirement files are indeed used if nothing else is provided. Change-Id: I8dc6cc8c50f1280f24731480501fab61fc401809
* | | Merge "trivial: Move packaging tests to test_packaging"Zuul2017-12-112-115/+114
|\ \ \ | |/ /
| * | trivial: Move packaging tests to test_packagingStephen Finucane2017-12-062-115/+114
| | | | | | | | | | | | | | | | | | | | | There's a little bit of duplication going on here. Resolve this by moving tests that predominantly focus on FILE to tests/test_FILE. Change-Id: I29355155853e543d017db00c936bcdc88c1c97ad
* | | Put test-requirements into an extra named 'test'Monty Taylor2017-12-063-2/+14
|/ / | | | | | | | | | | | | | | | | In bindep files we use a 'test' environment to indicate dependencies that are needed for testing. Make the same thing available for our python dependencies, allowing things like "pip install .[test]" or "pip install shade[test]" to work. Change-Id: If3ad8b6a79a8cab2f7434b73207f35384e8516ba
* | Merge "Support Description-Content-Type metadata"Zuul2017-12-054-1/+5
|\ \
| * | Support Description-Content-Type metadataJeremy Stanley2017-12-044-1/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | As of setuptools 36.4.0, support for Description-Content-Type metadata was added via the long_description_content_type variable. Add a metadata.description-content-type option for setup.cfg so it can be provided through PBR. This makes it possible to instruct PyPI and potentially other frontends to know an explicit RFC 1341 content type, along with character set and variant, for the accompanying long description. Change-Id: I852f603d9ca4e4cd469eab4cae9933ef2581e3af
* | Avoid tox_install.sh for constraints supportAndreas Jaeger2017-12-022-35/+4
| | | | | | | | | | | | | | | | | | | | | | We do not need tox_install.sh, pip can handle constraints itself and install the project correctly. Thus update tox.ini and remove the now obsolete tools/tox_install.sh file. This follows https://review.openstack.org/#/c/508061 to remove tools/tox_install.sh. Change-Id: I0a80865a8a18c49b4d883850488cc0c73fe1bfcd
* | Test on Python 3.6Gaetan Semet2017-12-011-1/+1
|/ | | | | Change-Id: Ifbea05bd0c3ee014d97fb1633cabed348f9ce9ec Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
* Merge "Updated from global requirements"Zuul2017-11-201-4/+4
|\
| * Updated from global requirementsOpenStack Proposal Bot2017-11-161-4/+4
| | | | | | | | Change-Id: I4ac147dac42058983ab10387c3b3338500a7334c
* | Remove setting of version/release from releasenotesAndreas Jaeger2017-11-161-9/+3
|/ | | | | | | | | | | | | | | | | | Release notes are version independent, so remove version/release values. We've found that projects now require the service package to be installed in order to build release notes, and this is entirely due to the current convention of pulling in the version information. Release notes should not need installation in order to build, so this unnecessary version setting needs to be removed. This is needed for new release notes publishing, see I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting at http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html . Change-Id: I10847bca5bb081466807355c88a105f4e4c6564e
* Merge "Remove unnecessary 'if True'"Zuul2017-10-201-48/+47
|\
| * Remove unnecessary 'if True'Stephen Finucane2017-10-121-48/+47
| | | | | | | | | | | | | | | | | | This was done in change I7418cc3ab36823d029a93f86df9c8b25aa7b0c5f to keep the diff clean [1]. If can be removed now. [1] https://bugs.launchpad.net/pbr/+bug/1620153/comments/1 Change-Id: Id66ca0522cc4c5601714e1e9ba9379492edc5905
* | Merge "Discover Distribution through the class hierarchy"Zuul2017-10-201-18/+8
|\ \ | |/
| * Discover Distribution through the class hierarchyJason R. Coombs2017-10-121-18/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discovering the underlying Distribution class through the class hierarchy saves unpatching and repatching. Based on commits ed579a5dbb2a1843874969a58bb2b6f1eca2e50d and 10b87cc1eb92f50906ff645d0221c74f03de94b9 from [1]. [1] https://github.com/jaraco/pbr/commits/issue-1620153-signoff Closes-Bug: #1620153. Change-Id: I7418cc3ab36823d029a93f86df9c8b25aa7b0c5f Signed-off-by: Jason R. Coombs <jaraco@jaraco.com> Signed-off-by: Monty Taylor <mordred@inaugust.com> Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "Use 'build_reno' setuptools extension if available"Zuul2017-10-191-0/+46
|\ \
| * | Use 'build_reno' setuptools extension if availableStephen Finucane2017-10-181-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | reno recently gained a 'build_reno' command that could be used to build a reno cache file via setuptools. Integrate this and start including that file as part of the final distribution. Change-Id: I54cb7a894770040165cc918469cb0ed486518789
* | | Add reno for release notes managementStephen Finucane2017-10-107-2/+109
| |/ |/| | | | | Change-Id: I36b8193b22123a409b729c7b9f4309507379f1ad
* | Merge "Deprecate support for Sphinx < 1.6"Jenkins2017-10-092-14/+26
|\ \
| * | Deprecate support for Sphinx < 1.6Stephen Finucane2017-09-252-14/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't want to support older versions of Sphinx forever. While OpenStack's global requirements have been bumped to Sphinx 1.6, there are non-OpenStack users in the wild. Give them a chance to upgrade to the newer version before we completely remove support. This also gives us a chance to deprecate the '[sphinx_build] builders' setuptools option, which is no longer necessary with Sphinx 1.6+. Do this. The documentation is updated to reflect this (and some references to a "custom" 'source_dir' option removed, as it's not at all specific to pbr). Change-Id: I18bbf693bca2f6e49d822ae2940d2170a2b90ce9 Related-Bug: #1702872
* | | Merge "Remove support for command hooks"Jenkins2017-10-095-159/+6
|\ \ \
| * | | Remove support for command hooksStephen Finucane2017-10-095-159/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | distutils2 is long dead and many of its best ideas have been incorporated into setuptools. One of the ideas that *has not* been incorporated is the idea of command hooks, of either the pre or post kind. pbr is still carrying the code for this, and there are several issues with this: - No one is using this functionality in OpenStack and, given the complete lack of documentation on the matter, it's very doubtful that it's being used anywhere else [1] - It's causing issues for projects attempting to hook into the 'distutils.commands' entry point on Python 2.7, which it seems no else must have attempted yet [2]. - distutils2 is dead and advanced features like this that we don't explicitly need should not be retained We could attempt to fix this but why bother? Good riddance, I say. [1] http://codesearch.openstack.org/?q=pre_hook%5C.&i=nope&files=&repos= [2] http://codesearch.openstack.org/?q=distutils.commands&i=nope&files=&repos= Change-Id: I01f657034cffbf55ce830b7e8dbb6b3d94c1fd18
* | | | Merge "builddoc: Use '[sphinx_build] builders' with Sphinx < 1.6"Jenkins2017-10-091-4/+14
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | builddoc: Use '[sphinx_build] builders' with Sphinx < 1.6Stephen Finucane2017-09-251-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 'c024066', we resolved an issue with pbr and Sphinx 1.6+ and implicitly started using Sphinx 1.6's support for declaring multiple builders as part of the setuptools plugin. However, in doing so, we neglected to provide a migration path for folks who were using the older option. This meant folks using the '[sphinx_build] builders' option would see a breaking change in behavior when upgrading to a pbr release including the above change. Resolve this issue now. Note that we want to deprecate support for this option in the future, but doing so is not a backportable change and will be done separately. Change-Id: Ic2fe67f932ba26b665110ae66431a5359fc50016 Closes-Bug: #1702872 Related-Bug: #1691129
* | | Remove dead codeStephen Finucane2017-10-061-15/+0
|/ / | | | | | | | | | | | | | | The 'monkeypatch_method' function no longer has any callers and can be removed. Change-Id: I402eb482d2c1db7331bd872c5169db8e59c9a34f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Remove win32/nt checks for wrapper script genJoe D'Andrea2017-09-211-9/+1
| | | | | | | | | | | | | | | | | | | | It now appears safe to remove the Windows conditions that skip executing override_get_script_args() and install_wrapper_scripts(). Having demonstrated that bdist_wheel works, it should now work for sdist too, and experiments do indeed appear to bear that out. Change-Id: Ic243a3ccd3aee0dcb17d6419bc44271f5ebe5551 Closes-Bug: 1521407
* | Merge "Updated from global requirements"Jenkins2017-09-201-1/+1
|\ \