summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Wrap env markers in parens1.3.0Monty Taylor2015-07-103-4/+4
| | | | | | | | If there are boolean conditions in the env marker, the existing join causes the extra tag to only be applied to the first of them, causing carnage. Change-Id: I7b735befae76b330f923276e1c48ef23816774d4
* Updated from global requirementsOpenStack Proposal Bot2015-07-101-1/+2
| | | | Change-Id: If12be720c7057f7014dfb11d4c2a83576cdddfc3
* Add more documentation around building docsMatt Riedemann2015-07-081-2/+23
| | | | | | | | | | | | | | | | | After digging in pbr and sphinx source code for a day to figure out what I was doing wrong, let's update the pbr docs with respect to building docs using the autodoc features in pbr. Specifically, document the autodoc_tree_excludes and warnerrors options and point out that you will probably need to set the exclude_patterns options in your sphinx config when excluding modules from the docs build and warnerrors=True. Also provide some links to the Sphinx docs for more details. Related-Bug: #1260495 Related-Bug: #1472276 Change-Id: Ib43830d08a156f37a3763ad2807d5c1f4cdbe3fe
* Merge "This documents the use of comments that work between 2.6, 2.7 and 3.4"Jenkins2015-07-071-0/+16
|\
| * This documents the use of comments that work between 2.6, 2.7 and 3.4Sachi King2015-06-221-0/+16
| | | | | | | | | | | | | | | | | | | | Comments are not directly handled by PBR, this documents a reasonable working set of comments that can be used in setup.cfg. Comments are parsed out over three locations, configparser, which varies rather significantly between two and three, pkg_resources, and lastly when pip runs. Change-Id: Iedebc5baca4e21081708971540d6eab89e043f05
* | Updated from global requirementsOpenStack Proposal Bot2015-06-301-1/+1
| | | | | | | | Change-Id: I465ea84f82dfed96c27aeea9337cd28c64c73adf
* | Use string for 'OS_TEST_TIMEOUT' defaultThomas Bechtold2015-06-231-1/+2
| | | | | | | | | | | | | | | | | | | | Setting env variables with os.environ needs a string as value. This fixes: TypeError: must be string, not int Closes-Bug: #1467880 Change-Id: Ib0c8bbf24f9d4f8926ad71773eb57c3ff41cbec2
* | Updated from global requirementsOpenStack Proposal Bot2015-06-221-3/+3
| | | | | | | | Change-Id: Iaa3699f8db386a39d55e8c2e0605a8edd146546e
* | Strip markers from test requirements.1.2.0Robert Collins2015-06-193-3/+11
|/ | | | | | | | | | | | | | | Setuptools doesn't [yet] support markeres in tests_require parameters to setup(). While we need to get that fixed, we also need to support syncing marker constrained requirements from global-requirements. Since version constraints are needed to successfully port to Python3 this won't be a long term viable solution: but few of our test-only dependencies require version constraints, so we can do this in the interim. The ones that do - such as python-mysql - we're either moving away from, or centralising them into optional dependencies on other packages where the tests_require limitation shouldn't apply. Change-Id: I31adaf35c8d7b72fe3f8c9242cc356fe34d537e8
* Revert "Remove sphinx_config.init_values() manual call"1.1.1Paul Belanger2015-06-091-4/+5
| | | | | | | | | | | This caused in issue in the gate for tox -edocs builds: http://logs.openstack.org/15/187715/5/check/gate-infra-specs-docs/a8cae26/console.html This reverts commit 1dfe9ef348c777bef67b2c2b1d35e50ebc720333. Change-Id: Ia6cfbfe5b10a5b714fbb9f21ca61380aaf231638 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
* Merge "builddoc: allow to use fnmatch-style exclusion for autodoc"1.1.0Jenkins2015-06-073-7/+17
|\
| * builddoc: allow to use fnmatch-style exclusion for autodocJulien Danjou2015-05-213-7/+17
| | | | | | | | | | | | | | This allows to use patterns such as heat.tests.* to exlude modules from autodoc genereation. Change-Id: Ibfc4161670fd9344da88c4a85a3aea992fcdf519
* | Merge "doc: add some basic doc about pbr doc options"Jenkins2015-06-071-0/+12
|\ \ | |/
| * doc: add some basic doc about pbr doc optionsJulien Danjou2015-05-211-0/+12
| | | | | | | | Change-Id: Iccb0ba35a008596cb63e1d6954bd9cb8fa50ae78
* | Merge "More explicit data_files install location docs"Jenkins2015-06-071-3/+6
|\ \
| * | More explicit data_files install location docsJeremy Stanley2015-06-041-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | Make it obvious to the reader that data_files installation target location translates to the actual system-wide root filesystem tree when installed with sufficient permissions to do so. Change-Id: I67a4dc61ab89b96b4f5e1f99f0199e5a3247412a
* | | Fix test case to be runnable with gnupg 2.1Sachi King2015-06-051-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In gnupg 2.1 %no-ask-passphrase is a no-op. As a result gpg attempts to prompt for a passphrase and as the shell is not interactive it fails. To allow gnupg 2.1 to create passphrase-less keys we enable two options new to gnupg 2.1. %no-protection %transient-key Change-Id: If687ff005cf968133fc1fa12b1259a127c464e5b
* | | Merge "Move CapturedSubprocess fixture to base"Jenkins2015-06-042-54/+53
|\ \ \ | |/ / |/| |
| * | Move CapturedSubprocess fixture to baseJames Polley2015-06-032-54/+53
| | | | | | | | | | | | | | | | | | This fixture is going to be useful in other places as well. Change-Id: Ib321db7f9c1a4656fd9dcd583f5893ef9bee3ca7
* | | Remove sphinx_config.init_values() manual callThomas Bechtold2015-06-021-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function signature for Sphinx's config.init_values() changed since version 1.3. That leads to: TypeError: init_values() takes exactly 2 arguments (1 given) But the function is already correctly called from application.Sphinx()'s constructor. So use the configuration object from the application instead of creating an own config object. Change-Id: I343c26560bfe5116d5348b50b1890b3442ed845a Closes-Bug: #1379998
* | | Updated from global requirementsOpenStack Proposal Bot2015-05-291-2/+5
|/ / | | | | | | Change-Id: Idd9c01966a5b0f6d6950e9a094b9aeabfc127b44
* | Merge "Add home-page into sample setup.cfg"Jenkins2015-05-261-0/+1
|\ \
| * | Add home-page into sample setup.cfgJames Polley2015-05-211-0/+1
| |/ | | | | | | Change-Id: I033cc482f441d59a193b4b1a87ddcbc96fd99885
* | Merge "Add kerberos deps to build the kerberos wheel."Jenkins2015-05-261-1/+1
|\ \
| * | Add kerberos deps to build the kerberos wheel.Robert Collins2015-05-201-1/+1
| | | | | | | | | | | | Change-Id: If9b4db43cd260da731ec5a14599eddedfc33808a
* | | Make setup.py --help-commands work without testrepositoryAkihiro Motoki2015-05-212-18/+33
| |/ |/| | | | | | | | | | | | | | | testr command is registered by pbr.hooks.commands if testrepository is installed, so there is no need to setup the entry point in setup.cfg. Change-Id: I95aae12d1ac810b6d1d09b71f2a0d87be5ccb6ab Closes-Bug: #1375048
* | Remove self.pre_run calls in packaging.py1.0.1Elena Ezhova2015-05-201-2/+0
| | | | | | | | | | | | | | | | pre_run was a method of _PipInstallTestRequires class which was removed by https://review.openstack.org/#/c/181785/. Change-Id: I2118f2a96d0c9984797424e5dda47547c8e24621 Closes-Bug: #1456663
* | Update hacking to 0.10.x seriesClark Boylan2015-05-191-1/+1
|/ | | | | | | | | Get current release of hacking both for new features/rules and to address a problem where older hacking requires and older version of pbr than the version of pbr under test. This will get the pep8 jobs working again for pbr by removing the <1.0 pbr requirement in hacking. Change-Id: I303db998e3aa64468a931f7e8985592b3446a1c8
* Merge "Teach pbr to read extras and env markers"1.0.0Jenkins2015-05-155-0/+235
|\
| * Teach pbr to read extras and env markersJames Polley2015-05-155-0/+235
| | | | | | | | | | | | | | | | | | This adds support for reading extras from setup.cfg. It also adds support for handling environment markers, both in the extras section and in install_requires and in requirements.txt. Change-Id: I6fd8276012e65f82934df9c374613b1ce6856b5a
* | Merge "Finish removing invocations of pip."Jenkins2015-05-154-75/+15
|\ \
| * | Finish removing invocations of pip.Robert Collins2015-05-124-75/+15
| |/ | | | | | | | | | | | | | | We don't depend on recursive installations via pip - and pip certainly doesn't support that. We removed part of it recently, finish removing it all. Change-Id: I29bc4070b355e52124ceae459ea20403d134b60a
* | Bump integration test timeouts.Robert Collins2015-05-142-2/+2
| | | | | | | | | | | | Node load is too variable. Change-Id: If03cd577ea18bfad4b53fcddb7a87e48eefe84c1
* | Advertise support for Python3.4Davanum Srinivas2015-05-081-0/+1
|/ | | | Change-Id: I648f865550069209ffbf63dc05bcba3234b026c0
* Merge "Issue #1451976: handle commits with non-utf8 text"Jenkins2015-05-061-1/+5
|\
| * Issue #1451976: handle commits with non-utf8 textRobert Collins2015-05-061-1/+5
| | | | | | | | | | | | | | | | History may have commits with non utf8 text in them. Rather than forcing users to rebase, handle it gracefully. Change-Id: I6f6302c815b02234e27ee31f7ce87eab101b40ea Closes-Bug: #1451976
* | Merge "Stop re-invoking pip"Jenkins2015-05-041-16/+0
|\ \
| * | Stop re-invoking pipMonty Taylor2015-04-251-16/+0
| | | | | | | | | | | | | | | | | | | | | It turns out we need to just inject into install_requires so that pip's egg_info processing will do the right thing for dependencies. Change-Id: Ia6c4725b153b19c3d7e422b1fa62b70cded686e2
* | | Merge "Allow overwriting sphinx builder from command line"Jenkins2015-05-042-0/+39
|\ \ \ | |_|/ |/| |
| * | Allow overwriting sphinx builder from command lineDarragh Bailey2015-03-042-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | The build_sphinx setuptools command supports selection of a builder. Support the behaviour of being able to explicitely select any builder available to sphinx via "python setup.py build_sphinx -b linkcheck", not just one of the builders specified in the configuration file. Change-Id: I4c7ddcaf413e1bcc72550b3d920f8a777a710c97
* | | Parallelise integration tests.Robert Collins2015-05-026-75/+196
| | | | | | | | | | | | | | | | | | | | | This involves moving the inner loop to python because existing-tooling. Change-Id: Iaad811a0248a3f700e655bd8be656d183deead93
* | | Issue #1450210: Preversioning rc tag handling0.11.0Robert Collins2015-04-303-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were generating versions lower than the last tag when preversioning was in use and pre-release versions had been tagged. Also attempt to run the script without devstack. Change-Id: If984939003ae7c513ee76b52c6808db0c1766050 Closes-Bug: #1450210
* | | Stop testing setup.py easy_install behaviourRobert Collins2015-04-292-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead test pip install more thoroughly. Also document that we don't support setup.py install's easy-install behaviour. Change-Id: I87872a69425f9d4f17047e584c12516508d57b16
* | | Test pip install -e of projects.Robert Collins2015-04-281-0/+5
| | | | | | | | | | | | Change-Id: Ie57d12f32085036079c60edfbe7aecfc7a077f5b
* | | Build all the wheels in one pass rather than many.Robert Collins2015-04-281-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | pip tries to build all wheels, and can avoid re-processing all the requirements over the network N times - basically quadratic down to linear scaling. Change-Id: I69441b2378bf4f165d0b475cd16a9e56797df575
* | | Improve integration.sh.Robert Collins2015-04-281-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add global flags to pip install to see more about what its doing (when set). pip is too verbose to enable -v mode by default as yet. Document the environment variable parameters the script takes. Change the way we enable the wheelhouse: rather than magic environment variables which require action-at-a-distance knowledge, use actual parameters. This means that the easy_install invocation which recurses back into pip won't use the wheel house... but we're removing that reentry anyway. Change-Id: Ie7ed8d60a6dd6b5766a2c7116b860b8e98a1f1f1
* | | Honour new test variable PIPVERSIONRobert Collins2015-04-251-1/+16
| |/ |/| | | | | | | | | | | This allows testing with unreleased pips, which is important to know if something is going to cause us or our users trouble. Change-Id: Icb3a9c1486c76b673d25a3d18792baad3d26c763
* | Be safe, don't let friends use RawConfigParserJeremy Stanley2015-04-232-2/+2
| | | | | | | | | | | | | | Replace uses of ConfigParser() and RawConfigParser() with SafeConfigParser(). Change-Id: I78395eae381e1b911ab6b48c572665f4601ec315
* | Merge "Revert "Support platform-specific requirements files""Jenkins2015-04-213-61/+5
|\ \
| * | Revert "Support platform-specific requirements files"lifeless2015-04-173-61/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8cdb41cf1264e71fd2f479efa7decd38c1f91cfa. https://www.python.org/dev/peps/pep-0426/#environment-markers is the right approach for this, and as we haven't released master its safe to back this out. Change-Id: Ic7298fcbde54c6beda67c3c897efa75f1b60b78f