summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix docs for environment markers in extras1.4.0Brant Knudson2015-07-301-3/+3
| | | | | | | | | | The docs for environment markers in setup.cfg [extras] had a couple of issues. 1) There was a space after the package name. 2) python_environment was used where python_version is the marker. Change-Id: Idbc72c45ae240356ca39eeba6db754f56c6a0f23
* Export ChangeLog and AUTHORS in installRobert Collins2015-07-293-8/+45
| | | | | | | | | | readthedocs uses 'setup.py install' to prepare trees for doc creation, but ChangeLog is not currently created there, and doing so would be nice. This won't affect develop invocations AFAICT, and even if it did, the overheads are ~10% of the time to run 0 tests in Nova today - e.g. quite tolerable. Change-Id: I7bc18fc9ca2dbe852598cc79b2ad6273fc53557d
* Updated from global requirementsOpenStack Proposal Bot2015-07-221-2/+1
| | | | Change-Id: Ic0a09e0ba27e60eecfdcb9eaa589738f97ee8379
* Merge "Show how long the git querying takes"Jenkins2015-07-211-0/+7
|\
| * Show how long the git querying takesRobert Collins2015-07-161-0/+7
| | | | | | | | | | | | We get complaints on timing from time to time. Change-Id: I51bb69f413721197dc37e974b596bae4e8b2bce2
* | Updated from global requirementsOpenStack Proposal Bot2015-07-171-1/+1
|/ | | | Change-Id: I735058e846783cd0ac361645dc2c0f760d15614e
* Add wsgi_scripts support to PBRSean Dague2015-07-144-2/+247
| | | | | | | | | | | | | | | | | | | | | | | | As we attempt to get more of OpenStack API servers to be runnable as a regular WSGI application, we should provide support in PBR for building these base scripts just like the console scripts. This adds a new 'wsgi_scripts' group which builds a base script that will run under mod_wsgi as expected. It also has a CLI fallback mode, so that the application can be brought up as a wsgiref simple_server for quick local testing and development. All wsgiref servers default to binding to port 8000, but that can be overridden. To support this, and possible future expansion of the script types, the group list now iterates over a dictionary of group_name => template mappings. This includes basic testing. It also includes tests which would run an actual wsgi environment. These are currently skipped as they can't be reliably run in the gate for timing reasons on stdout processing. Change-Id: I334639d7ecaad2703d1ff675880a314cc28e2334
* Updated from global requirementsOpenStack Proposal Bot2015-07-121-1/+1
| | | | Change-Id: I126133f8fb2e5824188ad4362f18af45734d3f42
* 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