summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Remove use_2to3 backward compat for Setuptools"5.5.1Zuul2020-10-192-2/+10
|\
| * Remove use_2to3 backward compat for SetuptoolsJeremy Stanley2020-09-192-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Odds are this was never used by any PBR-based projects, but was included from the beginning to support a feature of Setuptools for a utility which has been long since discouraged. As of Setuptools 46.2.0 and Python 3.9 it's generating deprecation warnings, and is slated for removal from the Python 3.10 standard library. https://bugs.python.org/issue40360 https://github.com/pypa/setuptools/issues/2086 Change-Id: I6972984f29413d2534d802b142fa9323a7e4a4a3
* | Merge "More easy_install.ScriptWriter.get_header()"Zuul2020-10-181-1/+5
|\ \
| * | More easy_install.ScriptWriter.get_header()Jeremy Stanley2020-09-191-1/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | Setuptools 12.0 deprecated easy_install.get_script_header() when it was released five years ago, and if called with PYTHONWARNINGS=error raises a deprecation exception. Switch to the preferred class method, but keep the original call as a fallback since it won't work on older Setuptools versions (such as the 3.3 shipped with Ubuntu Trusty). This continues 9a219f9a4f47243123d50d30938506bcc792e55d to remove a second call for the same deprecated function. Change-Id: I365075c2cff88283f92298ce2f5e53d263dc7f4b
* | Run tempest-full for stable/trainJeremy Stanley2020-10-161-0/+6
|/ | | | | | | | | | | | The tempest-full job runs Python 2.7 (as opposed to tempest-full-py3) so will want to install Python library packages which have been dropped in Focal in favor of their python3-.* replacements. Switch this job to use stable/train branches of required projects as they still expected 2.7 to work, and as a side effect this will cause the appropriate nodeset to be chosen automatically. Change-Id: Id95eaae9351e8664aa1fa48a7b4bf59e4c463834
* Merge "trivial: Improve logging of run commands"5.5.0Zuul2020-08-281-2/+5
|\
| * trivial: Improve logging of run commandsStephen Finucane2020-08-061-2/+5
| | | | | | | | | | Change-Id: I5ee1f506a162692fe2882651f7ab68afb441aacf Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Remove bdist_wininst supportJeremy Stanley2020-08-272-10/+15
| | | | | | | | | | | | | | | | | | | | | | Odds are this was never used, but as of Python 3.8 and Setuptools 47.2 it's deprecated in favor of just using wheels for Windows platform packaging anyway. https://discuss.python.org/t/deprecate-bdist-wininst/ https://discuss.python.org/t/remove-distutils-bdist-wininst-command/ Change-Id: I3840d9fccb1f87be5c2c03470e156559c01b7cd6
* | Merge "Add Release Notes to documentation"Zuul2020-08-275-1/+11
|\ \
| * | Add Release Notes to documentationJeremy Stanley2020-08-115-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | We're building the sdist to be able to add PBR's changelog in its docs, so may as well publish the Release Notes document it builds too. Change-Id: Icd1b4ae04de8034bc15db87be457751e70e26f6d
* | | Merge "Use easy_install.ScriptWriter.get_header()"Zuul2020-08-271-1/+5
|\ \ \
| * | | Use easy_install.ScriptWriter.get_header()Jeremy Stanley2020-08-061-1/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Setuptools 12.0 deprecated easy_install.get_script_header() when it was released five years ago, and if called with PYTHONWARNINGS=error raises a deprecation exception. Switch to the preferred class method, but keep the original call as a fallback since it won't work on older Setuptools versions (such as the 3.3 shipped with Ubuntu Trusty). Change-Id: I2ba68a47dd3f309e356a6e88bf890ac2f80d99a0
* | | Merge "Cleanup old legacy devstack-gate jobs"Zuul2020-08-175-403/+0
|\ \ \
| * | | Cleanup old legacy devstack-gate jobsClark Boylan2020-08-065-403/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These jobs have been replaced with zuulv3 aware jobs. Change-Id: I36f0156b51301cdf892b980c6e689141a088cdfa Depends-On: https://review.opendev.org/745189
* | | | Increase integration test timeoutClark Boylan2020-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're timing out installing some packages and it seems we're right up against the timeout based on logs. Increase the timeout by 50% to give us a better chance of running these jobs successfully. Change-Id: I33ce50f57af2a1d366148e24b49cae5eda2d3dfb
* | | | Merge "Begin work to modernize pbr's integration testing"Zuul2020-08-104-8/+129
|\ \ \ \ | |/ / /
| * | | Begin work to modernize pbr's integration testingClark Boylan2020-08-064-8/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PBR does integration testing by installing all of openstack's python projects to ensure we can install all of them in a variety of different ways with different pip versions. Unfortunately, these jobs are still using devstack-gate. We can simplify them significantly because zuul is now doing what devstack-gate does and provides repos configured the way we want them to be. This change updates the jobs to drop devstack-gate and simply consume zuul's repo prep. A follow up will remove the old legacy jobs as they need to be removed from project-config first. Needed-By: https://review.opendev.org/745189 Change-Id: I77a38c4611dc28db79d6f25d96ad0de36b224c98
* | | | Merge "Re-add ChangeLog"Zuul2020-08-064-0/+4
|\ \ \ \ | | |_|/ | |/| |
| * | | Re-add ChangeLogJeremy Stanley2020-08-064-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One of PBR's features is ChangeLog generation, so it only makes sense that we would include PBR's ChangeLog in published documentation too. (Also publishing a ChangeLog is helpful.) Change-Id: Ie1561c0852dfc6731c29e9202f74f0e4c4b08786
* | | | Merge "Update some url to use opendev.org"Zuul2020-08-066-9/+8
|\ \ \ \ | |/ / /
| * | | Update some url to use opendev.orgAntoine Musso2020-08-066-9/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The git web URL is now: https://opendev.org/openstack/pbr Also stop linking README.rst to no more existing history/changelog documentation page (removed by 96b84a90141). Change-Id: I56b0e2b86a7fc66c5ae25e06175033a885f500f6
* | | Merge "Support newer openstackdocstheme"Zuul2020-08-062-7/+17
|\ \ \ | |/ / |/| |
| * | Support newer openstackdocsthemeAndreas Jaeger2020-08-062-7/+17
| |/ | | | | | | | | | | | | | | | | | | | | | | openstackdocstheme 2.2.0 introduces new variables, add them here so that both older and newer openstackdocstheme versions are supported. 2.2.0 suport the old settings but in the future those might get removed, so let's be future-proof. Since this repo is still supporting py27, we need support for older openstackdocstheme versions. Change-Id: I6ee389843d1d959cffb126e0cd56ef6ef1e2f5e1
* | Merge "Remove neutron-fwaas from the jobs' required project"Zuul2020-08-063-3/+0
|\ \
| * | Remove neutron-fwaas from the jobs' required projectSlawek Kaplonski2020-08-063-3/+0
| |/ | | | | | | | | | | | | | | Neutron-fwaas is going to be deprecated in master branch with [1]. [1] https://review.opendev.org/#/c/735828/ Change-Id: I968a719258ee9647a7d232f2e60b2054539682ec
* | Merge "Update python requires packaging metadata for package"Zuul2020-08-062-2/+2
|\ \
| * | Update python requires packaging metadata for packageMatthew Treinish2020-08-062-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The metadata field, 'python-requires' was introduced in PEP440 and appears to have superseded 'requires-python'. [1] The metadata that pbr uses for itself and it's test package was using the old incorrect field, this commit updates it to be the proper metadata to show a working example. To a certain extent it probably doesn't matter because it's very unlikely someone will try to install pbr with python 2.5, but it's more about making sure that pbr itself is leading by example and that it's own config actually works. [1] https://github.com/mtreinish/stestr/issues/292 Change-Id: I5eb14d490a3731b6b95d7a1137c33ec2d73f193f
* | Map requires-python to python-requiresMonty Taylor2020-08-061-0/+1
|/ | | | | | | | Apparently requires-python is the old value and isn't valid anymore. What people mean is python-requires. Of course, people are still using the old value. Fix it for them. Change-Id: Id49cf641f2eddac17f1b21b186aa3a150bd863f9
* Update hackingClark Boylan2020-08-054-5/+5
| | | | | | | | This allows us to run tox -epep8 on newer python versions. Fix the issues newer hacking calls out. They were complaints about indentation and ambigious l value variable names. Change-Id: I9552fba791bdf54649fbe25fc26bffdf8186ff0a
* Add support for virtualenv 20.xStephen Finucane2020-08-057-53/+78
| | | | | | | | | | | | | | | | | | | | virtualenv is undergoing a rewrite and has changed how the programmatic API works [1]. Switch to the "new way". While we're here, we also need to get Python 2.7 tests passing again. That requires dropping support for upper-constraints and using our own, limited local constraints based on supported Python versions. We also need to migrate integration tests since those run with Python 3 now. Update the scenarios for pip/setuptools in integration testing similarly. Finally clean up the installation of all devstack repos as requirements are managed different now. Instead of worrying about syncing them we use constraints. [1] https://github.com/pypa/virtualenv/issues/1585#issuecomment-585228492 Change-Id: I493e88985d2c4d09612fea4d20d8ffa20043a0cb Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Depends-On: https://review.opendev.org/739014
* Merge "Switch to Ussuri jobs"5.4.5Zuul2019-12-061-2/+1
|\
| * Switch to Ussuri jobsxuanyandong2019-12-031-2/+1
| | | | | | | | Change-Id: I059ae377aed10e5dcb0e418c6aa427aca88cf9e1
* | trivial: Use 'open' context manager5.4.4Stephen Finucane2019-08-271-5/+5
| | | | | | | | | | | | | | It's a little nicer to look at. Change-Id: If5bc9b7e3927fe3203ba9adadaa1185c4a1cc7ed Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Update to latest hackingStephen Finucane2019-08-2712-148/+141
| | | | | | | | | | Change-Id: If73238a39d0934c6f577fc52132fcbc63e8eb25f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Mark strings as rawStephen Finucane2019-08-275-26/+26
|/ | | | | | | | | Resolves the following deprecation warning: DeprecationWarning: invalid escape sequence \. Change-Id: If0bc30e646a3bb35c02dc73cc31fb146b3ecd6b5 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Merge "Use more verbose logging for test failure"5.4.3Zuul2019-08-121-1/+3
|\
| * Use more verbose logging for test failureStephen Finucane2019-05-211-1/+3
| | | | | | | | | | Change-Id: Iae259fe064b8f88037894247585a8394c8368b22 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "Fix parsing on egg names with dashes from git URLs"5.4.2Zuul2019-07-182-15/+213
|\ \
| * | Fix parsing on egg names with dashes from git URLsHervé Beraud2019-06-262-15/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | repository urls for non editables end up in the `install_requires` list causing setup to fail. In this commit, all usable external urls get inserted into the `dependency_links` list with the corresponding egg fragments parsed into package names and versions (maintaining dashes if any) and added to `install_requires` list. Introduce parsing by using urlparse to extract properly the url fragment. Change-Id: If19576869fdf38e1768190c2d9c33f32504f7c54 Closes-Bug: #1373623
* | | Add Python 3 Train unit testsCorey Bryant2019-07-172-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: Ie9765e198e1204f56976476c8cfc9cc008c23d8f Story: #2005924 Task: #34234
* | | Merge "Resolve some issue with tox.ini, setup.cfg"5.4.1Zuul2019-07-152-26/+17
|\ \ \
| * | | Resolve some issue with tox.ini, setup.cfgStephen Finucane2019-06-132-26/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use constraints for documentation targets - Indicate support for Python 3.6, 3.7 - Fix indentation Change-Id: I486b6f645fa71f0fa519464465bf26411ca4faf4 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | option to print only the version of a package5.4.0Gaetan Semet2019-06-242-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example: $ pbr info -s pkgname 1.2.3 Change-Id: Ic66848dbe44ed946800979fb73776ab6d00869f6 Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
* | | | Merge "Fix Windows support"5.3.1Zuul2019-06-172-4/+21
|\ \ \ \
| * | | | Fix Windows supportLucian Petrut2019-05-312-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent commit [1] broke Windows support by using shlex to unquote paths. The issue with shlex.split is that it doesn't work with Windows paths, treating backslashes as escape characters. We'll just replace backslashes with slashes before using shlex.split, converting them back afterwards. Closes-Bug: #1831242 [1] Id2cc32e4e40c1f834b19756e922118d8526358d3 Change-Id: Icb3abca004a35ab9760db8116fedfa96d012d0d0
* | | | | Merge "Install more dependencies for integration testing"Zuul2019-06-171-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Install more dependencies for integration testingBen Nemec2019-05-211-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | When running this locally I needed to install a few more distro packages to provide build dependencies for pip packages. This change adds them to the list of things installed in tools/integration.sh. Change-Id: I2ae04b893c7dfddcb6d94b724f53ee08436bf577
* | | | Merge "Read description file as utf-8"5.3.0Zuul2019-06-102-1/+22
|\ \ \ \
| * | | | Read description file as utf-8Ben Nemec2019-05-242-1/+22
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently pbr fails if the description file contains unicode characters. To fix this we need to open the description file as utf-8 explicitly. Since open() in Python 2 doesn't support an encoding parameter, use io.open() which works on both 2 and 3. Co-Authored-By: Hervé Beraud<hberaud@redhat.com> Change-Id: I1bee502ac84b474cc9db5523d2437a8c0a861c00 Closes-Bug: 1704472
* | | | Merge "Allow git-tags to be SemVer compliant"Zuul2019-06-102-1/+19
|\ \ \ \