Run script generate-gitmodules.py to sync with governace repository to
add new repositories and remove retired ones.
Change-Id: Ia42b717ad242958ba4a9689ac814c956f460712f
* Update bindep from branch 'master'
- Merge "Fix test execution failure on Darwin"
- Fix test execution failure on Darwin
Because we forgot to mock platform.system() it was impossible to run
unittests on Darwin.
This also introduces a minimal unittest for Darwin itself, checking
that it recognizes brew.
Change-Id: Iff77e46b8b550d13e825712567266532edb03fa6
* Update bindep from branch 'master'
- Merge "Fix apk handling of warnings/output problems"
- Fix apk handling of warnings/output problems
The parsing is still weak, but we do get around warnings or anything
else on stderr that would trip it up. This required refactoring the
tests which were mocking subprocess.check_output instead of
Popen/communicate which is what we use now.
Change-Id: Ie2d2fdfd27c728508213b4d23d3b58ad81a68ad2
* Update bindep from branch 'master'
- Merge "Fix emerge testcases"
- Fix emerge testcases
During the refactoring of the depends module
I74ebd432d8e1ab8b3433f0f55d5dfe3535019911
it was found that two test cases for emerge
used the wrong type as a return type in the
CalledProcessError (str instead of bytes).
This patch fixes this and also adds a check that the
appropriate operations can be executed also for emerge.
Change-Id: I127e72cbcefaef12f28f5eb986cdcc769d033bf7
Signed-off-by: Andreas Florath <andreas@florath.net>
* Update bindep from branch 'master'
- Merge "Add dependency version examples to README"
- Add dependency version examples to README
The bindep README.rst lacked clarification on using version strings for dependency resolution.
Closes-Bug: #2000955
Change-Id: I92fb0af1a4ae751ec4dc90426a8c4beac6ce4e9f
Signed-off-by: Nick Shobe <nickshobe@gmail.com>
* Update bindep from branch 'master'
- Expose base python version as an atom
Adds two new atoms `base-py2` and `base-py3` that can be used to
identify the primary python version supported by the current operating
system.
This allows bindep file authors to mention correct python package names
without having to hardcode each operating system version, which is
not future proof, as it would break when new versions are released.
New way to use bindep:
python3-lxml [platform:base-py3]
python-lxml [platform:base-py2]
Before this users had to rely on hacks like including the operating
system name and version [platform:centos-7] and negative variants,
something that would being broken as soon a new release is made.
Initial implementation covers RedHat flavored, Ubuntu, Debian and MacOS
which do come with an official Python version but is made in such way
that we could enable it for any other platforms.
Change-Id: I506699fb0c80f8d9ca84e20154d1c282a08708bb
Task: https://tree.taiga.io/project/tripleo-ci-board/task/809
* Update bindep from branch 'master'
- Merge "Add bindep.txt for pypy"
- Add bindep.txt for pypy
Since we do not have a bindep fallback file anymore, pypy is not
installed anymore. Add bindep.txt to install the interpreter.
Change-Id: I3324e6dd00523359e5722867774b51b980b336e3
* Update bindep from branch 'master'
- Replace Trusty with Bionic in the testing
We definitely should test our default Ubuntu LTS
version and can stop test the deprecated one.
Change-Id: Ibf209aa000082be3620dd74da1f910494584174b
* Update bindep from branch 'master'
- Switch to opensuse-15 nodeset for bindep testing
opensuse-150 nodeset is referring to openSUSE 15.0, which is still in
maintenance but openSUSE 15.1 has been released already. "opensuse-15"
is going to refer to the "latest openSUSE 15.x" build released and
working for OpenStack going forward, so add this nodeset and use
it by default going forward.
Remove testing against opensuse 423 which is unmaintained and end of
life.
Depends-On: https://review.opendev.org/#/c/666066/
Change-Id: I8968c39fd0f8e107d0e4046b442e53fa89b1c4c1
* Update bindep from branch 'master'
- Use Python 3.x by default for testing
This requires updating newer hacking which requires
some small fixes for pep8 to pass. Also adjust sphinx
dependencies so that py2.7 environment continues to work.
Change-Id: I576a6c42867a3fed7cc7090bd4a6219de3bced66
- OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.htmlhttp://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
* Update bindep from branch 'master'
- Adds job to test bindep on Fedora
Testing on Fedora in addition to CentOS 7 is important because
it uses dnf instead of yum, python3 intead of python2 and has a good
number of packages renamed.
Change-Id: If2a6502339850c35605d231f500d4ec827ccff4e
* Update bindep from branch 'master'
- Merge "Replace deprecated bindep-fallback testing"
- Replace deprecated bindep-fallback testing
Adopts testing using in-repo bindep.txt testing file instead of
using the deprecated externally hosted bindep-fallback.txt file.
Initial file is the same but in the future we may want to simplify it.
Change-Id: I570fe8686068478a163e4fe597514460b6a69fef
* Update bindep from branch 'master'
- Fix bindep --brief for arch linux
Pacman output has changed and, as of v5.1.2, has a newline after
showing package x was not found.
Without this patch, the bindep --brief would throw an exception
because the stdout is not properly matched.
Change-Id: Ibe2ca0d426d6d8fa69b5c4ee9ccf0f6a07c862a7
* Update bindep from branch 'master'
- Allow mentioning tools paths in bindep
yum/dnf package managers do allow mentioning full path to executable
instead of rpm name for installing it.
This allows users to install needed tool regardless what package name
may provide it (which may depend on what repos they have installed or
enabled).
This allows 'package' names to start with slash as this is a requirement
for triggering this feature in yum/rpm.
Practice use-case scenario: user wants docker to be installed but docker
could be installed from docker rpm or from docker-ce rpm if user added
upstream repositories. Both of them provide the same executable, but
the package manager will pick one based on its priorities.
Command line example: yum install -y /usr/bin/docker
Change-Id: I7e47ee956e9496d9f47a98f9595790797c8d1789