Commit Graph

21 Commits

Author SHA1 Message Date
Erik Olof Gunnar Andersson 3b121536d2 Remove lower constraints
We are no longer supporting lower constraints.

Change-Id: I45db8edc5fae1018ff0d51254f95f096d2c4d716
2021-03-31 00:21:50 -07:00
Ghanshyam Mann b5edbcbb6e [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: I9028875399b54ab961ae46ca13f9cf6e6fc7ad89
2020-12-25 15:39:08 +00:00
Erik Olof Gunnar Andersson b391859cf9 Fixed lower-constraints job and updated constraints
This patch brings some pip packages up to date
and also introduces changes to tox to make sure
that constraints are always respected.

Change-Id: I7f794386b47ae9fd43db2278ee214e015d5b335b
2020-12-15 21:11:30 -08:00
Zuul 06c8be9861 Merge "Fix hacking min version to 3.0.1" 2020-06-05 17:48:10 +00:00
Hervé Beraud 29aa71dab5 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: Icacc6d338703ec27cb6a867ef5708ee58f949bbe
2020-05-26 22:13:04 +02:00
Zuul d215a7ffc7 Merge "Remove all usage of six library" 2020-05-20 05:01:17 +00:00
Ghanshyam Mann 6ffcd010b1 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Idd108d9575b276f3d78a7c3c6dbc5f3ed3205411
2020-05-15 10:28:41 -05:00
qiufossen 27b7b20903 Remove Babel requirement
Babel is not needed as requirement, remove it.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Change-Id: Iaa5d5922f2d3ae1f77b988db43b10488d3aa2f08
2020-05-08 18:21:53 +08:00
jacky06 a983902460 Remove all usage of six library
Convert all code to not require six library and instead
use python 3.x logic.

Change-Id: I9d3193668769cd6499a8be8d8d19c16e046f4cc6
2020-05-06 23:35:21 +08:00
Andreas Jaeger 30e5a90552 Fix requirements, update hacking
hacking already pins flake8, so do not add it, especially in conflict
with the hacking version. hacking also pins pycodestyle, so remove that
as well.

The repo is Python 3 now, so update hacking for a python3 version.

Blacklist new failures or fix them.

Convert own hacking checks to new flake8 API, update lower-constraints
for this.

Change-Id: I2928b9d764f61a53a549a9eb850c7809bdbb6f74
2020-03-30 10:51:45 +00:00
Adam Harwell 772ab40a9d Bump openstacksdk requirement for Loadbalancers
A recent change to the loadbalancer code requires version 0.42.0 of the
SDK to function.
LB Change:
https://review.opendev.org/#/c/710464/
SDK Patch:
7fbc27e3c0

Change-Id: I02ecf62b17dcfe95142cd7db862e06b26e457593
2020-03-09 10:48:53 -07:00
10241259 c36f93dd95 Upgrade openstacksdk version to solve connections leak
This patch upgrade openstacksdk version equal or greater than 0.27.0.

Change-Id: I66a81ce710394de3403702d0dec8e8ce804268bc
Closes-Bug: #1809691
2019-04-24 06:43:28 +00:00
Zuul e2b2b500ad Merge "Bump openstacksdk to 0.24.0" 2019-02-08 06:25:25 +00:00
Duc Truong 8a1e44dfab Bump openstacksdk to 0.24.0
This is needed to pull in the following bug fixes from openstacksdk:
- https://review.openstack.org/#/c/631362/
- https://review.openstack.org/#/c/629110/

Change-Id: I4c2e72f14fb326b56b029ba8c2a90fc0a5dcb528
2019-02-05 17:45:42 +00:00
Erik Olof Gunnar Andersson 7f01ff75ae Add support for Oslo.Reports
Oslo Reports enables OpenStack projects to dump Guru Meditation
Reports with useful debugging information on live services
to files or stderr.

Change-Id: I901a622c470dc191864e33996986f176d40e439d
2019-01-24 00:05:46 -08:00
whoami-rajat f529ffe610 Add senlin-status upgrade check command framework
This adds basic framework for senlin-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: Ic890a04156abf201ac618ce71ccddcc4544d0acf
Story: 2003657
Task: 26154
2018-11-05 12:20:59 -05:00
Duc Truong 8889c25b64 Bump openstacksdk version to 0.17.2
upper-constraints.txt already has openstacksdk==0.17.2.  This will set
Senlin lower-constraints.txt and requirements.txt to match that version.
The newer version will avoid the unittest failure reported in the bug.

Change-Id: I222f6d05b408656dbbc641d6017ee4ccca5f4379
Closes-Bug: 1789310
2018-09-04 18:39:42 +00:00
Vu Cong Tuan cf0173ff5b Remove testrepository
This commit is a follow-up of "switch to using stestr"
which was merged already [1].
After switch to using stestr, testrepository is unnecessary
and should be removed.

[1] https://review.openstack.org/#/c/570808/

Change-Id: I41e98c69839909727968f98b52905a370d0ea626
2018-07-13 10:53:31 +07:00
Charles Short 1c663223e7 Switch to using stestr from ostestr
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Ia63e48a8ffee765a2d0ae43ff0054e3c5f61c992
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-05-30 15:55:57 -04:00
Doug Hellmann 27c948aeb7 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.

Amend lower constraints according to tools/fix-lower-constraints.py and
removed qpid-python from requirements.txt to fix requirements job.

Change-Id: I47d55fc608ae9890eeb6022aa445b304e0a1b95b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-16 22:50:39 -07:00
Doug Hellmann 84ee579710 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Ia137d8db4e627d431c2dba3d1925faff33cd482f
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 18:16:38 -04:00