Commit Graph

6 Commits

Author SHA1 Message Date
Takashi Kajinami 24b77bb643 Fix bindep.txt for python 3.11 job(Debian Bookworm)
Python 3.11 job now run on Debian Bookwarm which does not provide
some of the packages in bindep. This fixes the bindep file so that
it pulls packages actually available.

This also updates a few assertions of log records in unit tests to make
these robust for any warning logs.

Change-Id: Iae3f4da24418530b61b9a0b64390160d194da05b
2023-11-29 12:41:29 +09:00
Grzegorz Grasza 0eba22f331 Fix bindep.txt for current RPM based distributions
Currently rpm based distributions all use python3-devel.
Tested this with centos7 rhel7 rhel8 fedora35.

Change-Id: I9a8e6285edbb3799cf552acf479598b3b6c63b99
2022-02-21 15:53:33 +01:00
Colleen Murphy 9168127c74 Fix bindep for SUSE
In bindep, rpm usually implies both RedHat and SUSE family distros, but
in some cases the package names are slightly different. This patch
corrects the package names that were different between distros. This
will help developers who use SUSE as their development platform of
choice.

Change-Id: If07b3d3291cf3e1bf35eec1e3dd91a13ab65b0ea
2019-02-14 16:50:33 +01:00
Tony Breeds 114cdeb7eb Move use of constraints out of install_cmd
If you have a -c in the install_cmd it gets used with all the deps
supplied this means that the lower-constraints job actually install from
upper-constraints :(

You can see what I mean in [1]
Note both lower-constraints.txt and upper-constraints.txt are used ; and
---
Collecting oslo.log===3.39.0 (from -c /home/zuul/src/git.openstack.org/openstack/requirements/upper-constraints.txt (line 247))
---

With this fixed we find a few minimums that needs to be bumped:

 * oslo.policy >= 1.33.0
   keystone uses the scope_types[2] kwarg to RuleDefault which was
   introduced in 52c82ff9ab04dd78ff7045cb30d2f5de535dd7da which is
   contained in 1.32.0  ; also we need the 'policy-in-code' feature
   which is in 1.33.0
 * oslo.log >= 0.38.0
   keystone used the ROCKY[3] constant for deprecations which was
   introduced in d68a895ee8e61b5c9d4ef368e7f04252e84649e9 which is
   contained in 3.38.0
 * msgpack >= 0.5.0
   the 0.4.x versions have been removed from pypi so we have to bump the
   minimum :(
 * SQLAlchemy >= 1.0.13
   identity_provider_id in token payload is byte in python3 which
   triggers a sqlalchemy bug[4]. The bug has been fixed in 1.0.13
 * keystonemiddleware >= 5.1.0
   unified limit feature uses system scope feature which is supported
   in keystonemiddleware after 5.1.0
   

We also add correct some errors in bindep.txt related to use on Fedora

[1] http://logs.openstack.org/47/599447/2/check/openstack-tox-lower-constraints/bbc912b/tox/lower-constraints-1.log
[2] http://git.openstack.org/cgit/openstack/keystone/tree/keystone/common/policies/access_token.py#n24
[3] http://git.openstack.org/cgit/openstack/keystone/tree/keystone/conf/default.py#n50
[4] http://docs.sqlalchemy.org/en/latest/changelog/changelog_10.html#change-a14dd2e73d889d065acc07a77b1ee7cb

Change-Id: Ic0de6799fddd86a70abae2c87c92d565072ebdb9
2018-09-12 03:54:38 +00:00
Kristi Nikolla 34168ef38b Differentiate between dpkg and rpm for libssl-dev
The libssl-dev package was registered in bindep.txt for both
dpkg and rpm platforms. This patch makes it use:
* libssl-dev [platform:dpkg]
* openssl-devel [platform:rpm]

Change-Id: I4a0982bf2052e193ba48c98f1b38ae569fa41be8
Closes-Bug: 1676497
2017-03-31 11:27:25 -04:00
Andreas Jaeger 9030e6e027 Move other-requirements.txt to bindep.txt
The default filename for documenting binary dependencies has been
changed from "other-requirements.txt" to "bindep.txt" with the release
of bindep 2.1.0. While the previous name is still supported, it will
be deprecated.

Move the file around to follow this change.

Note that this change is self-testing, the OpenStack CI infrastructure
will use a "bindep.txt" file to setup nodes for testing.

For more information about bindep, see also:
http://docs.openstack.org/infra/manual/drivers.html#package-requirements
http://docs.openstack.org/infra/bindep/

As well as this announcement:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101590.html

Change-Id: I6dc1f11be79658451f8752aa6fcf0cd85d78e0f6
2016-08-12 20:53:45 +02:00