| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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.
(cherry-picked from 946cf80b750f3735a5d3b0c2173f4eaa7fad4a81)
Change-Id: I95aae12d1ac810b6d1d09b71f2a0d87be5ccb6ab
Closes-Bug: #1375048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add kerberos deps to build the kerberos wheel.
(cherry picked from commit e2ac0e00982ebcc772e75d2beb3a7896864c8be4)
--
Add python-qpid-proton deps to build the python-qpid-proton wheel.
--
Install openstack_requirements into venv for update.py
--
Don't test against non-kilo repos, as we are applying kilo requirements
Change-Id: I30fb4d816e050606c6bdde720adae4519e75167c
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Instead test pip install more thoroughly.
Also document that we don't support setup.py install's easy-install
behaviour.
Change-Id: I87872a69425f9d4f17047e584c12516508d57b16
|
|
|
|
| |
Change-Id: Ie57d12f32085036079c60edfbe7aecfc7a077f5b
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Replace uses of ConfigParser() and RawConfigParser() with
SafeConfigParser().
Change-Id: I78395eae381e1b911ab6b48c572665f4601ec315
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we removed output support for git hashes we also removed parsing
support for them. This would be ok (but rough on users), except that
we also removed the test that a pure git hash is an illegal version,
which should have stayed.
Change-Id: Idd8bc470fab1711d8555a793b1294b0977ba106d
|
|/
|
|
|
|
|
|
|
|
| |
Previously we were accepting many string tags to be release
tags for versions. This change enforces tags that are
considered to start with a digit, and ignore if not.
Change-Id: Ib1ca0eda62e375cdee70d35ed7c82a544082ef0a
Closes-bug: 1403124
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
|
|
|
|
|
|
|
| |
We were not testing that MANIFEST.in excludes work.
Change-Id: Id6e1d1651a930379b18e4d9efe2e3a8baa03dc12
Closes-Bug: #1373152
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The semver doc that Monty wrote was great, but doesn't work in the
real world. Specifically because 1.dev1 < 1.a1, we're unable to
depend on alphas without our testing getting locked down to the alpha
on PyPI rather than the revision we're trying to test.
This update fixes that by allowing 1.a1.dev1, audits for consistency
with PEP-440, fixes up the contact details now that this is team
maintained and notes that its as much Python specific as Linux
specific. We also remove the never-in-a-release
SemanticVersion.to_release method, as YAGNI.
Change-Id: I005a2386842633e9fcda76adfc523196c8c2c95d
Sem-Ver: feature
|
|
|
|
|
|
|
|
| |
I was tracking down some test failures, which turned out to be a
missing Python.h, but this was hard to figure out without the stderr
output.
Change-Id: I0d0cf2440f5cd8b6ba3c0278fe7be5006a602a34
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: I2da74726cd56f9d29123e8ee3ed79b97d312a27e
Closes-Bug: #1428211
|
|/
|
|
|
|
|
|
| |
There are times when we need to run egg-info more frequently than we
had before.
Change-Id: Ie6ec39f7db28ec7807f1a74bc724f0781380c6cc
Closes-Bug: 1433681
|
|
|
|
|
|
|
| |
Treat each of the separately when searching for packages in there..
Change-Id: Icb2e2cf2a9cac3d15141aeb8ffad0e38f76cf2e7
Closes-Bug: #1426449
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When installing packages on Windows, generated scripts based on entry
points have wrong Python executable paths in the header. For this
reason, generated executables fail with 'fail to create proccess'.
For example, if the Python executable path is
'C:\Program Files\Python27\python.exe', the scripts will contain
'#!C:ProgramFilesPython27python.exe'
A simple fix is to wrap the Python executable in brackets on Windows.
Change-Id: Id017073c58c162c3e0c546b1ab76a7bea9a9f04e
Closes-Bug: #1416342
|
|/
|
|
|
|
|
|
| |
setuptools > 12 has a new flow for writing out generated script text.
It's nicer, actually, because it means we can just subclass and extend
one method instead of monekypatching.
Change-Id: I56e7bea60df8a59d859575d426ce93c45ffee314
|
|
|
|
|
|
|
|
| |
The Oslo release notes script expects to find the bug tracker link in a
particular format. Update the end of the the README to match those
expectations.
Change-Id: I55e1ef68683e8003624b715e98fef0bc4202df64
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* pbr/tests/test_packaging.py(GPGKeyFixture.setUp): Testing signed
tags requires an OpenPGP key, but doesn't actually require one
entropic enough for safe production use. When generating a test key
with gpg add the little-known --quick-random/--debug-quick-random
option used by GnuPG's own testsuite. You can find it by searching
the source code, or in the NEWS file entry for the rather ancient
GnuPG 0.2.3 release, or in the debug option summary for 2.x.
Change-Id: I589f5c7db04b8e715c7a53cfa2fa18d37e20c66d
Closes-Bug:#1369768
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When "pip wheel" hits a package where building the egg-info metadata
fails, it completely falls over and stops trying to build more wheels.
Loop over our requirements one by one, so we can ignore the packages
that fail to build wheels, and build any that come in the list after
those.
Change-Id: Ia23672b851d50af38c61823936f19b8572a78c4f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The integration test can take >2 hours running into a timeout. Much of
the time spent in this test is consumed by recompiling dependencies like
lxml. Reduce this overhead by compiling these items once in a
wheelhouse then installing all dependencies from that wheelhouse
preventing recompilation.
Change-Id: I40cd7587ff32f1a4cf881939069dde015dc9589d
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Id6ac57a5fd2ab9089bdf6865c1e203fcf591f08d
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | | |
tag 0.10.7
Change-Id: I26f907a29ce94b10fe27c1365d99736d5180ded5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* pbr/packaging.py(_get_revno): The _get_revno_and_last_tag method
always returns the same number of elements, so don't try to treat it
as an iterable and also rename it to something sensible.
Change-Id: I8a83135b979a13f8cd129126a29159e93c147467
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
tag 0.10.6
Change-Id: I8eee890e579c40b00a4a9b504584c307772f9cbf
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* pbr/packaging.py(_get_version_from_git): Correct a bug which is
causing install failures for PBR-based projects with no Git tags.
This slipped through because integration testing was using the most
recent PBR release rather than the commit being proposed.
* tools/integration.sh: Make sure that if a PBR commit is being
tested then we install and use that source rather than the latest
PBR release.
* tox.ini(testenv:pep8): Get rid of the custom deps list for pep8
and inherit the one from testenv which is already fixed with the
self-dependency. Without this, pep8 jobs fail when run with
Setuptools 8.
Change-Id: Icc7275261e8fc0df8b0ae99184437ca50b89c13a
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
tag 0.10.5
Change-Id: I2c7c4ffdf853c352101b804447d7e4ba69f74ee0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Put write_pbr_json in pbr.pbr_json so that you do not need to import
pbr.packaging to use it. This avoids python3 errors with nose where nose
is imported by pbr before it is converted to python3 by 2to3 under
python3.
Also port the pbr.git refactor from the master branch.
Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
Change-Id: I1c420fed609bc60bbfdf78eb219e067ccab1a61e
(cherry picked from commit 3550e89db42002e226ea70b1d0314a319b2ecd10)
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
Releasing 0.10.4
Change-Id: I048cd25bf21eacd39883801ab79c4b91832fb395
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We cannot get the git dir if git is not installed. Check that git is
installed before querying for the git dir. Return None if the git dir
cannot be found or if git is not installed.
Change-Id: Ic8e0c74a779b23842369a8cf01fcbf37885202ef
Fixes-bug: 1326682
|
| | |
| | |
| | |
| | |
| | |
| | | |
PEP440 is unhappy about revcounts after pre-release tags.
Change-Id: I553a0bf9f522d50bcbdb16756c994058bd27da77
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When pbr is imported to handle writing the egg_info file because of
the entry point, it's causing sphinx to get imported. This has a
cascading effect once docutils is trying to be installed on a
system with pbr installed. If some of the imports fail along the way,
allow pbr to continue usefully but without the Sphinx extensions
available. Eventually, when everything is installed, those extensions
will work again when the commands for build_sphinx, etc. are run
separately.
Also slip in a change to reorder the default list of environments run by
tox so the testr database is created using a dbm format available to all
python versions.
Change-Id: I79d67bf41a09d7e5aad8ed32eaf107f139167eb8
Closes-bug: #1403510
|
|\ \ \
| |/ /
| | /
| |/
|/|
| | |
Releasing 0.10.3
Change-Id: If8dd160585172a09064413305123eb2d1079d5b6
|
| |
| |
| |
| |
| |
| |
| |
| | |
We include it in pbr.json now. Including it is contentious in the world
of python, and it's up for debate as to whether or not it provides
value.
Change-Id: Ie2ca34f59e9b42a3126c95edf36640fef32feed8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of encoding the git sha into the version string, add it to
a metadata file. This will allow us to get out of the business of
arguing with pip and setuptools about version info. In order to make
this really nice, provide a command line utility called "pbr" that has
subcommands to print out the metadata that we're now including in the
egg-info dir.
Change-Id: I35a1489c9ab637769218d1e6a26d1115a52a7051
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Put write_pbr_json in pbr.pbr_json so that you do not need to import
pbr.packaging to use it. This avoids python3 errors with nose where nose
is imported by pbr before it is converted to python3 by 2to3 under
python3.
Change-Id: I1c420fed609bc60bbfdf78eb219e067ccab1a61e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We cannot get the git dir if git is not installed. Check that git is
installed before querying for the git dir. Return None if the git dir
cannot be found or if git is not installed.
Change-Id: Ic8e0c74a779b23842369a8cf01fcbf37885202ef
Fixes-bug: 1326682
(cherry picked from commit e7d2825d39fce2111d0d413e63e553603a0e56fb)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Stop including git sha in version strings
We include it in pbr.json now. Including it is contentious in the world
of python, and it's up for debate as to whether or not it provides value.
Write and read more complex git sha info
Instead of encoding the git sha into the version string, add it to
a metadata file. This will allow us to get out of the business of
arguing with pip and setuptools about version info. In order to make
this really nice, provide a command line utility called "pbr" that has
subcommands to print out the metadata that we're now including in the
egg-info dir.
Only import sphinx during hook processing
When pbr is imported to handle writing the egg_info file because of
the entry point, it's causing sphinx to get imported. This has a
cascading effect once docutils is trying to be installed on a system
with pbr installed. If some of the imports fail along the way, allow
pbr to continue usefully but without the Sphinx extensions
available. Eventually, when everything is installed, those
extensions will work again when the commands for build_sphinx, etc.
are run separately.
Also slip in a change to reorder the default list of environments
run by tox so the testr database is created using a dbm format
available to all python versions.
Integration test PBR commits
Make sure that if a PBR commit is being tested then we install and
use that source rather than the latest PBR release.
Change-Id: Ie121e795be2eef30822daaa5fe8ab1c2315577ae
(cherry picked from commit 65f4fafd907a16ea1952ab7072676db2e9e0c51d)
(cherry picked from commit cd7da23937b66fea3ec42fa2f5a128f363a97e7e)
Closes-Bug: #1403510
Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
Co-Authored-By: Doug Hellmann <doug@doughellmann.com>
Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
|
|\ \
| |/
| |
| |
| |
| | |
Release 0.10.1 for PEP 440/setuptools 8 fix
Change-Id: If325b220b3eaa546c0339d1152c09b74fa45b9ad
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
setuptools 8.0 enforces the accepted version of PEP440, which means
that 1.2.3.g123456 is now sorted before 1.0. Forget for a second that
under no obvious human inspection this makes sense, it is now the law of
the land and we must comply.
I swear to god I'm going to start coding in Go.
Change-Id: I2a5072d73e19ce77fa29ba5d8aa6e9649859a551
(cherry picked from commit fafd6c4db07789b2d378fdb5ceda89115d2abe30)
|
| |
| |
| |
| |
| |
| |
| | |
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.
Change-Id: Idd9d4e59ccd3af51364e79df7fd67e6cb3c8689c
|
|\ \ |
|