Commit Graph

316 Commits

Author SHA1 Message Date
zhouxinyong 99865a7b03 Use new get_rpc_client API from oslo.messaging
Use the new API that is consistent with
the existing API instead of instantiating the client
class directly.

This was introduced in release 14.1.0 here [1] and
added into oslo.messaging here [2]

[1] https://review.opendev.org/c/openstack/requirements/+/869340
[2] https://review.opendev.org/c/openstack/oslo.messaging/+/862419

Change-Id: I7452e9b8b6ed07d89bac7d0c1dc188ad0ed25ffa
2023-05-18 14:07:06 +08:00
LeopardMa c943f4a510 Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: I9b5f826863fd913241cb803ef479b890f74fbb6c
2022-07-01 00:46:42 +00:00
zhangbailin b3a20e5f02 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], dropping
the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I7351b45dff2754b07ab6f0f8a72263f64307e8b4
2022-06-29 15:33:55 +08:00
zhangbailin 0281a77cda Bump oslo.* and pbr version to support >=py38
In zed cycle, OpenStack projects and oslo lib
has dropped the py3.6 and py3.7 support

- https://governance.openstack.org/tc/reference/runtimes/zed.html

I also decrepated oslo-log < 5.0.0, so we should bump oslo.log>=5.0.0.

Because of oslo.log>=5.0.0 depends on oslo.i18n>=3.20.0 as below, so we
also need to upgrade oslo.i18n.

The conflict is caused by:
    The user requested oslo.i18n>=3.15.3
    python-saharaclient 1.4.0 depends on oslo.i18n>=3.15.3
    castellan 0.16.0 depends on oslo.i18n>=3.15.3
    keystonemiddleware 4.17.0 depends on oslo.i18n!=3.15.2 and >=2.1.0
    oslo-config 6.8.0 depends on oslo.i18n>=3.15.3
    oslo-concurrency 3.26.0 depends on oslo.i18n>=3.15.3
    oslo-db 6.0.0 depends on oslo.i18n>=3.15.3
    oslo-log 5.0.0 depends on oslo.i18n>=3.20.0
    The user requested (constraint) oslo-i18n==3.15.3

The conflict is caused by:
    The user requested pbr!=2.1.0 and >=2.0.0
    bashate 0.5.1 depends on pbr>=1.6
    fixtures 3.0.0 depends on pbr>=0.11
    stestr 1.0.0 depends on pbr!=2.1.0 and >=2.0.0
    testresources 2.0.0 depends on pbr>=1.8
    testtools 2.4.0 depends on pbr>=0.11
    python-saharaclient 1.4.0 depends on pbr!=2.1.0 and >=2.0.0
    castellan 0.16.0 depends on pbr!=2.1.0 and >=2.0.0
    keystoneauth1 3.4.0 depends on pbr!=2.1.0 and >=2.0.0
    keystonemiddleware 4.17.0 depends on pbr!=2.1.0 and >=2.0.0
    oslo-concurrency 3.26.0 depends on pbr!=2.1.0 and >=2.0.0
    oslo-context 2.22.0 depends on pbr!=2.1.0 and >=2.0.0
    oslo-db 6.0.0 depends on pbr!=2.1.0 and >=2.0.0
    oslo-i18n 3.20.0 depends on pbr!=2.1.0 and >=2.0.0
    oslo-log 5.0.0 depends on pbr>=3.1.1
    The user requested (constraint) pbr==2.0.0

The conflict is caused by:
    The user requested oslo.serialization!=2.19.1 and >=2.18.0
    python-saharaclient 1.4.0 depends on oslo.serialization!=2.19.1 and >=2.18.0
    keystonemiddleware 4.17.0 depends on oslo.serialization!=2.19.1 and >=1.10.0
    oslo-log 5.0.0 depends on oslo.serialization>=2.25.0
    The user requested (constraint) oslo-serialization==2.18.0

Change-Id: I117657e9861a55a751522dba3e3b1e75a22f9711
2022-06-10 08:05:01 +00:00
qiufossen 2ce24b6f93 Remove six
Remove six reference in lower-constraints.txt since six package is not
used

Change-Id: Ibc89201d6ef0d0cab3be11ad671f2819f4c1a2cf
2021-09-01 02:44:03 +00:00
Ghanshyam Mann 9a69cc52b6 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: Ib2101f13171940857fe81f64dd9798dfe489743a
2021-03-30 04:02:11 +00:00
Luigi Toscano f576d092b7 Fix lower requirements: bump various packages
= six (and tox): the latest versions of tox (which are
compatible with newer virtualenv[1][2]) require a newer six.

[1] https://tox.readthedocs.io/en/latest/changelog.html#v3-14-4-2020-02-13
[2] https://github.com/tox-dev/tox/pull/1519

= alembic: A newer version is required by oslo-db 6.0.0.

= oslo.service: 1.24.0 (and before 1.31.0) capped eventlet to <0.21.0,
but eventlet>0.26.0 is now required.

= cryptography: paramiko 2.7.1 requires cryptography>=2.5.0

= oslo-messaging: bumped to 10.2.0

= greenlet: bumped to 0.4.16 to be compatible with py3.9

= warlock, amqp, pycodestyle: just drop those indirect dependencies
from l-c (and in fact pycodestyle is only a dependency of a linter
for testing).

Change-Id: I26bd73463a5da9ef947f287610b0a33b73062417
2021-01-27 19:41:26 +01:00
Luigi Toscano 8a026b95bd Focal-related fixes: libguestfs, mysql 8, requirements
- use the the python3 guestfs bindings, not the old python2
  (not availbale anymore on the newer systems);
- fix the compatibility with mysql 8, which unfortunately
  removes the shortend for user creation + password setting;
- bump the values in lower-requirements.txt (also requirements.txt
  and test-requirements.txt when needed) so they they work with
  python 3.8 (inspired by other similar bumps).

Change-Id: Icaa3c008bbe179098244f7bb9d80790068430fe2
2020-09-22 18:10:10 +02:00
Hervé Beraud d441b10cd9 Cap jsonschema 3.2.0 as the minimal version
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I1a69eb4ee6146175a6fc0170ec3ee943d9e66ab8
2020-05-26 22:12:39 +02:00
Andreas Jaeger 7977b49dda Cleanup Python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove ancient pbr section from setup.cfg
- Update requirements
- Use newer openstackdocstheme and setup storyboard support for it
- Remove Babel as requirement, this is not needed here anymore.

Change-Id: I0fd6fbdcbe788b0dfc2b1e20989b0a19ceec59f5
2020-04-22 08:31:22 +02:00
pengyuesheng ee46e8cb7f Blacklist python-cinderclient 4.0.0
This release of the Cinder client broke support for the v3
volume-transfer APIs unless microversion 3.55 or higher was requested.

Change-Id: Ic763c2b52501867aeee2b1d014ab1f9e9c84e145
2019-06-26 09:42:38 +08:00
Luigi Toscano c5aafbc3ed Fix requirements (bandit, sphinx, jsonschema) and jobs
Requirements:
- bandit 1.6.0 contains a regression in the handling of patterns.
  A fix is in place in bandit master, but newer versions introduces
  more checks so they are not working as well.
  The version is excluded there because is not handled by global
  requirements.

  Remove the separate requirement file for bandit, because
  bandit has been part of test-requirements.txt in the last 3 years.
  There is noneed for a separate requirements file anymore.
  Even more, the bandit tox environment could be probably removed.

- synchronize the requirements for sphinx and jsonschema with the
  current values from the requirements repository to make
  the requirements-check job happy.

Jobs:
- temporarily disable the scenario-py3 job until a new stestr
  (>2.3.1) is tagged.

Change-Id: Ief8e392fcd2d66a73593abcfda06fc7dbe2e53a6
2019-06-17 15:43:10 +02:00
Jeremy Freudberg 33489a1f9f Give the illusion of microversion support
Understand and react to microversions in accordance with
http://specs.openstack.org/openstack/api-wg/guidelines/microversion_specification.html

The actual mechanism allowing for new microversions of APIv2 will come
later.

Story: 2002178
Task: 20044

Change-Id: I2b664189e45ac4ffd02c3a176787b4bfb78b3871
2019-01-10 09:54:56 -05:00
akhiljain23 cc41e8621b Add framework for sahara-status upgrade check
This commit adds the functionality of sahara-status CLI for performing
upgrade checks as part of the Stein cycle upgrade-checkers goal.
It only includes a sample check which must be replaced by real checks in
future.

Change-Id: Idcb8d9eaf689800812cf6087e9c5937058c89ea6
Story: 2003657
Task: 26152
2018-10-19 14:08:44 +00:00
Luigi Toscano dd1c265d95 Bump Flask version according requirements
The mimimum requirement of Flask was recently bumped to 1.0.2
(https://review.openstack.org/#/c/577534/) which means that
the requirements-check job used for the sahara gate
is failing with a requirement mismatch errors.

Change-Id: I0fc7e3e8a847917be0877f71128a603d258a85ea
2018-06-25 23:59:42 +02:00
Doug Hellmann 755a808a1f uncap eventlet
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: I6f4802f77fc3b8b1e29321b692e70ccc035f6a21
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-11 11:52:29 -04:00
OpenStack Proposal Bot ab3903a0be Updated from global requirements
Change-Id: Ifcd81e002e4bfe9dbd313040ab285d717b0ced9e
2018-03-26 08:27:18 +00:00
OpenStack Proposal Bot 7c2ce6b361 Updated from global requirements
Change-Id: I4d155bdeb7e9f87610c0cfebcdc1aa9b8bc8f818
2018-03-14 06:06:25 +00:00
OpenStack Proposal Bot c8c42731ff Updated from global requirements
Change-Id: Ibce27ba11d6497a2de2ad49b1bd01c5109ce9c7d
2018-03-06 13:11:09 +00:00
OpenStack Proposal Bot eeee06adb8 Updated from global requirements
Change-Id: Ib4f51660b0a6eb700d4e0fa4c3775ccab12bd8d1
2018-02-17 10:21:53 +00:00
OpenStack Proposal Bot 7c14ebaded Updated from global requirements
Change-Id: I64b289f95f53e5c1ea14d383a6b31cf98d789756
2018-02-14 12:32:25 +00:00
OpenStack Proposal Bot c5a0f47fea Updated from global requirements
Change-Id: I7e19da4d367e89fc983cdb9357ed28890e6df8e8
2018-01-16 12:53:13 +00:00
OpenStack Proposal Bot 4492b1d05c Updated from global requirements
Change-Id: Ib191bc328f8edd688733e267a9cbb62985f69a3e
2018-01-16 04:34:18 +00:00
OpenStack Proposal Bot ac10e2ba78 Updated from global requirements
Change-Id: I3f10824f79cae785fcb30201a1e002ecdf11fead
2018-01-02 07:17:55 +00:00
Zuul 1f3839743a Merge "S3 job binary and binary retriever" 2018-01-01 19:50:31 +00:00
Jeremy Freudberg d05bf66592 S3 job binary and binary retriever
* Create common module for managing S3 job binaries
* Add new dependency on botocore
* Use common S3 library to create S3 job binary type for EDP
* Use common S3 library to create S3 job binary retriever
* Support storing S3 secret key in Castellan
* Document new job binary type (and foreshadow the S3 data source type)
* Unit tests for new code

Change-Id: I6781203d802305446ba1418ed6999186db4dfe9b
Partially-Implements: bp sahara-support-s3
2017-12-28 20:20:37 +00:00
OpenStack Proposal Bot 791c629a6f Updated from global requirements
Change-Id: Ide170fe3e344bc33a34fd86aaa438a72bd00103c
2017-12-23 10:13:35 +00:00
OpenStack Proposal Bot 1318412482 Updated from global requirements
Change-Id: If0aff8fa37bda07b02404340caca01351a9df083
2017-12-19 02:26:39 +00:00
OpenStack Proposal Bot a8d3c48672 Updated from global requirements
Change-Id: Iffdab388b88b1ce35ce34c684255037d64e8f2af
2017-12-15 22:16:47 +00:00
OpenStack Proposal Bot fb3fa4a8e8 Updated from global requirements
Change-Id: I592e97889a38212d2a29a2a47efdc0739a854767
2017-12-07 13:48:46 +00:00
OpenStack Proposal Bot 77d0bf8f7e Updated from global requirements
Change-Id: If0d9ec14f809571816a9a66bfbc27011a9872332
2017-12-05 03:36:34 +00:00
OpenStack Proposal Bot 032110d8c4 Updated from global requirements
Change-Id: I7bc340e96145fe5b3712f8b4ddd1dbc84e098245
2017-11-29 09:21:41 +00:00
OpenStack Proposal Bot f6c217d358 Updated from global requirements
Change-Id: I06f1da2319c28d4adf688a80a36d9b8e1db34069
2017-11-16 11:27:55 +00:00
OpenStack Proposal Bot 530743c865 Updated from global requirements
Change-Id: Id5d8fe9773532cfd2c5587ef2a46b99c232a3a01
2017-11-13 10:29:27 +00:00
OpenStack Proposal Bot 34013543ea Updated from global requirements
Change-Id: Ifb5bf0ef79dd213157e8808973e373b7d5afee10
2017-11-03 18:09:07 +00:00
OpenStack Proposal Bot cf4cf40eab Updated from global requirements
Change-Id: If5f7b2a95f8675e3088953c5b9a4dd6a9b5d9157
2017-10-11 05:54:58 +00:00
OpenStack Proposal Bot 0a4af3f247 Updated from global requirements
Change-Id: I8382128f20c05c2419b227df6c2856d13cffa016
2017-09-22 13:02:37 +00:00
OpenStack Proposal Bot bfd288bf9b Updated from global requirements
Change-Id: I038cd6c324f6738863f9fac7b94098bc16db607b
2017-09-21 13:39:44 +00:00
OpenStack Proposal Bot d5e5f9a359 Updated from global requirements
Change-Id: I012291b7a261d3ba48443c0d0c87cf667af8cac3
2017-09-14 00:43:25 +00:00
OpenStack Proposal Bot 5f89b9b998 Updated from global requirements
Change-Id: If380fe6df9d6113dff57f6a7075ca39fe8e164b1
2017-09-02 12:13:49 +00:00
OpenStack Proposal Bot b9c4deb5ce Updated from global requirements
Change-Id: I6dc56bd2ceed93434f79aacfb55bc94219286586
2017-09-01 12:48:04 +00:00
OpenStack Proposal Bot 1f7c5db057 Updated from global requirements
Change-Id: I3a3cab6d3fd73ed2c9315db39a6bff706646d602
2017-08-24 11:49:33 +00:00
OpenStack Proposal Bot 9747c59fdf Updated from global requirements
Change-Id: Ic17d8014be9bc824e3db93afd66f95b659fed1de
2017-08-24 06:01:16 +00:00
OpenStack Proposal Bot e97e7b9451 Updated from global requirements
Change-Id: Ibc2b730b14efacce752bbcf7d7146166614ed2d5
2017-08-18 04:53:06 +00:00
OpenStack Proposal Bot 8c5b928a6f Updated from global requirements
Change-Id: Id928866010d512a2cd5d4f7f1e828e4d147c3a79
2017-08-08 12:23:03 +00:00
OpenStack Proposal Bot 68cb600d5b Updated from global requirements
Change-Id: Ia40151c823e6d000f82443b23f132a72373d125e
2017-07-28 04:26:45 +00:00
OpenStack Proposal Bot c83983f594 Updated from global requirements
Change-Id: Ic30379618df96295ac4d14ddf07bf61c4faaadba
2017-07-23 19:09:32 +00:00
OpenStack Proposal Bot 0cb4674789 Updated from global requirements
Change-Id: Ia93c8345e81edef60bf733fbcb5099b0b05eb8a4
2017-07-22 16:39:57 +00:00
OpenStack Proposal Bot b565d37a14 Updated from global requirements
Change-Id: Ib0f8f721a2ac3288eaa4486fa6732f40d2c26ecb
2017-07-20 02:42:22 +00:00
OpenStack Proposal Bot d637bf75f4 Updated from global requirements
Change-Id: I3b69fda9d66b11836c657395f9d30462b7e8eb09
2017-07-18 01:57:33 +00:00