Commit Graph

68 Commits

Author SHA1 Message Date
Michal Nasiadka 5a259fdafe Drop docker-py from requirements.txt
Since addition of podman - users need to install only one from docker|podman

Change-Id: I622eefad3b2e93f334028d9c0775a2cca558a39c
2023-11-28 11:08:01 +00:00
Dr. Jens Harbott 0fc8712cac Bump minimum docker-py version
With version 6.0.0 of the docker python module, their implementation of
versioning has changed, making our check for old versions fail. Since
version 3.0.0 is from 2018, we should be safe to assume that as a
minimum version though, so we can just get rid of the special handling
of older versions.

Change-Id: I077b7b5acf2c1f9beb6da06d3555e2ebe30831d1
2022-08-22 14:15:02 +02:00
Marcin Juszkiewicz 16c230fb11 Revert "Revert "Update code to Jinja 3.0 style""
This reverts commit 25e9602845.

Reason for revert: we updated to newer Jinja.

Change-Id: If666bb4aedd7bb4e3041f0672c3b70e1bb5d36b6
2022-03-28 11:39:58 +00:00
Alfredo Moralejo 25e9602845 Revert "Update code to Jinja 3.0 style"
This reverts commit 383364e671.

Reason for revert: Xena stay in jinja 3.0.1 which still provides contextfilter. In RDO, jinja is consumed from CentOS repo which still provides version 2.11, so this change is causing problems.

I'm proposing to revert this change and retake it Y release when jinja is updated to 3.1 which will not provide contextfilter.

Change-Id: I19c2a15fb0917d2a81daf706a4e02fd377e53b3d
2021-08-25 10:50:06 +00:00
Marcin Juszkiewicz 383364e671 Update code to Jinja 3.0 style
Xena cycle uses Jinja 3.0 so let update Kolla's code for it.

From Jinja2 documentation:

jinja2.contextfunction(f: F) → F
    Pass the context as the first argument to the decorated function.
    Deprecated since version 3.0: Will be removed in Jinja 3.1. Use pass_context() instead.

jinja2.contextfilter(f)
    Pass the context as the first argument to the decorated function.
    Deprecated since version 3.0: Will be removed in Jinja 3.1. Use pass_context() instead.

Also bumped version in requirements.txt to same as in openstack/requirements

Change-Id: I51fbb7b9ff7c29cb355437efa4576be9bc035699
2021-07-29 14:19:07 +00:00
Radosław Piliszek 6c480c3d89 Cleanup py27 support
Removes and/or replaces all mentions of py27.

Cleans up obsolete requirements and their lower-constraints.

Change-Id: Id43f1bbd6a454832ab8dbf003a058403f6b34b5d
2020-04-17 18:07:29 +02:00
Ghanshyam Mann b9417cd745 [ussuri][goal] More cleanup for python 2.7 drop
Cleanup requirement and set ignore_basepython_conflict = True
in tox to avoid python version conflict warning which going
to be error in future.

Change-Id: Ia749d558df33f475dfdbe7a1f9dfdb30aeba8da0
2020-02-29 15:23:25 -06:00
Marcin Juszkiewicz ceae02f09d Get rid of Python 2 support
2020 came, everyone should be using Python 3 now.

As per the official python support timeline set forth
by the OpenStack TC [1], OpenStack Train (in our case,
kolla 9.x) is the last release that will support python2.7.

[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html

Related bug: https://bugs.launchpad.net/tripleo/+bug/1856678

Merging depends on TripleO team - once they move CI job to CentOS 8 we
can merge.

Implements: blueprint drop-py2-support

Change-Id: Ic459561ab6ab8c62993c044c7a82d887839da289
2020-02-17 18:01:41 +00:00
Mark Goddard 20a5957a41 Fix GitPython entry in requirements.txt
This now has different requirements in global-requirements for py2 and
py3.

TrivialFix

Change-Id: Ie7073e034641276f47c113de945971e8ed4b87ab
2019-09-17 14:25:32 +01:00
Radosław Piliszek 39a2cf066c Fix lower-constraints test fail due to failing dep build
Ubuntu Bionic updated OpenSSL package to new release:
from 1.1.0 to 1.1.1
It caused cryptography in version from lower-constraints
to fail to build in Zuul.
Additionally, constrained cryptography version did not
match the requirement for constrained PyOpenSSL.
This commit bumps the version to the minimum required
by constrained PyOpenSSL.
It works because manylinux1 (binary) wheel exists.
This version agrees also with upper-constraints for Queens.

Dependency on cryptography is removed as it is not used directly
by kolla (and requirements checker requires lower-constraints
matching version - let's not create an illusion of usage).

Change-Id: I8ae19f212049cae5dfb4e8dd6ec6cd14a8c46e0e
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-11 21:52:10 +02:00
Mark Goddard cdcd5610e9 Fix lower-constraints and kolla CI jobs
Multiple fixes to fix multiple problems.

1. Bump setuptools requirement to 21.0.0

The 16.0.0 requirement breaks the lower-constraints job on Ubuntu
bionic. We see the following error:

AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

2. ubuntu-binary horizon image needs to use python3 for django
manage.py

3. ubuntu-binary nova-placement-api image needs to use python3 for
apache mod wsgi.

4. nova-libvirt needs exact qemu dependencies due to packaging change

5. OracleLinux repos definition was changed in official image.

6. Fetch InfluxDB gpg key for Ubuntu base image from influx server.

Change-Id: Ic797d41f53a5f146d112619f1683cbfbf3a85dc2
2019-03-15 12:01:25 +01:00
Surya Prakash Singh 14307e0fe0 Update lower-constraints to match local requirements
lower constraints list do not match the local requirements.
This commit is to update the same.

please follow:
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129056.html

Change-Id: Ic617e22e0e1118cb40e471608b0250bf77b2a26c
2018-04-13 11:32:54 +09:00
OpenStack Proposal Bot 4d081674f4 Updated from global requirements
Change-Id: Id2f0441f65f87fc4a7fdecd1504797d6ca7d9ffc
2017-12-19 01:20:33 +00:00
OpenStack Proposal Bot 53847f8c93 Updated from global requirements
Change-Id: I4403b3d97910fa146973cb1b3a0e2a914b11ca3c
2017-11-29 08:58:49 +00:00
OpenStack Proposal Bot d06fa08c28 Updated from global requirements
Change-Id: I8ddf63c86759397d57f2065784f072012715ab1c
2017-11-14 03:59:42 +00:00
OpenStack Proposal Bot ef375a140e Updated from global requirements
Change-Id: I27c911cd7910a24f6141c0b99b67805d2875d3a5
2017-09-11 21:38:17 +00:00
OpenStack Proposal Bot 0d5a5830f1 Updated from global requirements
Change-Id: I613cd9e6105be5c4a13d7798eb4a52fa699a1f73
2017-09-06 03:06:32 +00:00
OpenStack Proposal Bot 0bc56c7781 Updated from global requirements
Change-Id: I7cd2fe45bd60cee818c17269734f00876dc64a5c
2017-07-26 17:34:35 +00:00
OpenStack Proposal Bot 26db5abb70 Updated from global requirements
Change-Id: I8cceed7246e8b1247947e32f673c763590d5a69c
2017-07-16 21:22:23 +00:00
ZhongShengping ffe02c59d7 Switch to Cryptography over pycrypto
The keystonemiddleware library recently switched to using the
cryptography library over pycrypto, which was unmaintained. See
Iced7f5115e49ccf4f7f5bf6813cb5988b95c248b

Change-Id: I77b5210cd6e63aa3b01aa2b5b3372dd50009b9ad
2017-07-07 08:33:53 +08:00
Hongbin Lu 7e2486c3d9 Upgrade from docker-py to docker
The pypi package 'docker-py' [1] has been renamed to 'docker' [2].
It is better to move to the new 'docker' package because the old
package will be deprecated and all the new features will go into
the new package only.

Package 'docker' has been added to requirements [3]. The old
package 'docker-py' is still allowed to be in the global requirements
during the transition period but it should be removed after all or
most of the projects finsih the migration.

[1] https://pypi.python.org/pypi/docker-py
[2] https://pypi.python.org/pypi/docker
[3] https://review.openstack.org/#/c/423715/

Change-Id: I3ffd8bb6461e8b7edacc5e833754f00c4249b854
2017-06-21 19:20:35 +00:00
OpenStack Proposal Bot ecc68f1b41 Updated from global requirements
Change-Id: Id961bc5e8a740150dd0a405fb0fc11397b9c49bf
2017-06-15 16:24:54 +00:00
OpenStack Proposal Bot 65cbbfb049 Updated from global requirements
Change-Id: Ifa7aca86ca96afbdf0ff708bfd6f7ed510d74871
2017-06-06 12:16:00 +00:00
OpenStack Proposal Bot cb6631f9e4 Updated from global requirements
Change-Id: Ie253c6c4790b1bc92081b851342048b4dcda8ef0
2017-04-17 17:14:08 +00:00
OpenStack Proposal Bot 67f3aeac51 Updated from global requirements
Change-Id: If26c494e15250ce03be5102214aa1d98fc01638d
2017-03-23 15:26:25 +00:00
OpenStack Proposal Bot 4362d23da1 Updated from global requirements
Change-Id: If2d5394cd4e0a90638ff277d569200a2dc5fdce7
2017-03-15 12:44:02 +00:00
OpenStack Proposal Bot 52bde69b9d Updated from global requirements
Change-Id: I32561d598cd3748c6b660c95bb8ef8090e8cf23c
2017-03-08 23:24:24 +00:00
OpenStack Proposal Bot d04cba2d60 Updated from global requirements
Change-Id: Ib5f2e9c54ed4e5c4fbecc9e13f9bb7972a687b8d
2017-03-02 11:46:10 +00:00
OpenStack Proposal Bot 85abee13ba Updated from global requirements
Change-Id: I4eced03962192f41f002cc2a1d78c337506a53f1
2017-01-13 22:22:42 +00:00
OpenStack Proposal Bot 6d14b90539 Updated from global requirements
Change-Id: Ic0db90f56044b9ba48a21519f70a84eb0a70fb58
2017-01-12 09:37:13 +00:00
caoyuan cee89ee8be Replaces uuid.uuid4 with uuidutils.generate_uuid()
Openstack common has a wrapper for generating uuids.
We should only use that function when generating uuids for consistency.

Fixed bug #1082248

Change-Id: I9db4da4fb774109720abb0852fad30cc8e17aafb
2016-11-30 07:28:00 +08:00
OpenStack Proposal Bot 31af52fb77 Updated from global requirements
Change-Id: Idaf310f809f9b2c8859ec3bdacf6a6645dae405c
2016-11-29 01:43:50 +00:00
OpenStack Proposal Bot 2f50beb452 Updated from global requirements
Change-Id: Ide3d614c0afd45fd029c229a37e235278c724a83
2016-11-10 10:15:50 +00:00
OpenStack Proposal Bot 198e8d2d6f Updated from global requirements
Change-Id: Iabb29ce10b346d7ef24747e957d701d80b64468d
2016-10-27 12:15:09 +00:00
Jenkins 77ab69cead Merge "Move graphviz dependency to test stage" 2016-10-19 12:20:46 +00:00
Jeffrey Zhang c0fd4389c6 Move graphviz dependency to test stage
Graphviz is only helpful and used for developer. It is useless for
deployment. So move it to test-requirements.txt file and warning users
when he wants to save dependency feature.

TrivialFix

Change-Id: Id8de76baa6f1455ad032abe4738d9779cf0cc5a6
2016-10-13 02:14:31 +08:00
OpenStack Proposal Bot a6ec0af4e1 Updated from global requirements
Change-Id: I1ee817b23e40e0c1d14fdcfc441b28516b4d480a
2016-10-12 16:26:40 +00:00
Christian Berendt a286be1966 Add netaddr to requirements file
netaddr is required by the ipaddr filter used in
ansible/roles/prechecks/tasks/port_checks.yml.

Change-Id: I766d87949553fb46ef2c0480e7706ee1ef2d26d0
Closes-bug: #1631921
2016-10-10 13:25:45 +02:00
OpenStack Proposal Bot 6f3d8aa242 Updated from global requirements
Change-Id: Ia6cc6c3d60c861e1051a6b4204d8d9ba962f08aa
2016-09-09 10:19:39 +00:00
Christian Berendt 4b69671a49 Improve script to check used source versions
* rename version_check.py to version-check.py
* move requirement beautifulsoup4 from requirements to test-requirements
* add new requirement PrettyTable to test-requirements
* add debug logging messages (can be enabled with --debug parameter)
* add support to load configured versions from a kolla-build.conf
  file (can be used with --config-file parameter)
* use PrettyTable to print out a nice result table

---snip---
+---------+-----------------+----------------+------------------...
| Project | Current version | Latest version | Comparing changes...
+---------+-----------------+----------------+------------------...
| aodh    | 2.0.3           | 2.0.4          | https://github.co...
| cinder  | 8.0.0           | 8.1.0          | https://github.co...
| ironic  | 5.1.1           | 5.1.2          | https://github.co...
| murano  | 2.0.0           | 2.0.1          | https://github.co...
| nova    | 13.1.0          | 13.1.1         | https://github.co...
+---------+-----------------+----------------+------------------...
---snap---

TrivialFix

Change-Id: I5b5d3db34396b2fc95714273612563ea14e78cf8
2016-09-06 09:11:40 +02:00
OpenStack Proposal Bot dee6f4f10c Updated from global requirements
Change-Id: I492ce6c1add8001f5efdef2c6cd99299807b4755
2016-08-04 02:36:01 +00:00
OpenStack Proposal Bot d4c0eecbd1 Updated from global requirements
Change-Id: Ibf2ba6e78edc9800185a983cf4d974b022914a51
2016-07-09 03:11:47 +00:00
OpenStack Proposal Bot 379de151b2 Updated from global requirements
Change-Id: I9b0fc0ebb2afd2afd958bfee4588ca45c889626c
2016-07-04 17:23:14 +00:00
OpenStack Proposal Bot 6994bb943a Updated from global requirements
Change-Id: I7742cbd0797d7a3773de004c61aacf5b4397c614
2016-06-03 18:13:44 +00:00
OpenStack Proposal Bot 352df065eb Updated from global requirements
Change-Id: Ia463de2f882a9fdf741f8418d7aca8c2ebf0afb8
2016-04-14 02:33:41 +00:00
OpenStack Proposal Bot c71eed1fb6 Updated from global requirements
Change-Id: I0605f406b5c03f0a6cdba9de2a180ed877f7dfa6
2016-04-08 00:10:41 +00:00
OpenStack Proposal Bot 1dc48d72b3 Updated from global requirements
Change-Id: I79a6c2925a8b056d60312f3ed69d78173b9ca95f
2016-04-04 23:17:30 +00:00
Jeffrey Zhang 42420830f6 Implement nova-ssh container
Add a nova-ssh container to handle the `nova migrate` and
`nova resize` case, in which the nova will use ssh to copy
files between machines.

Change-Id: Ie6675943f3aeabfbba8589d308d55b9c89d732db
Closes-Bug: #1562141
2016-04-03 07:21:17 +00:00
Sam Yaple 99db1e9193 Add a new tool to help find the latest versions
As we will be switching to pinning versions in Kolla this tool will
help remove the 'manual' part of that equation by looking up the
versions we want.

The idea would be to eventually turn this into an autoproposal bot so
we only ever need to approve changes.

More work can be done here like automatically updating the
kolla-build.conf

Co-Authored-By: Martin André <m.andre@redhat.com>
Partially-Implements: blueprint upgrade-kolla

Change-Id: I052159850b2579ca6db79be71672be382be8a3a3
2016-03-08 11:45:47 +09:00
OpenStack Proposal Bot acf1bd1f92 Updated from global requirements
Change-Id: I4bc9c24870317189858e66d8e4393199f03c497d
2016-02-26 01:48:31 +00:00