Commit Graph

53 Commits

Author SHA1 Message Date
Ghanshyam Mann 2b5a26c470 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
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: Ie267542391366180089979e539c977c8e9f7550f
2022-04-30 15:44:46 -05:00
Ghanshyam Mann e02a492817 [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.

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

Change-Id: I066488c47e1bb6502b27b8677988113f66b9b09b
2021-03-08 19:52:30 -06:00
Ghanshyam Mann d5d279232b [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.

Depends-On: https://review.opendev.org/#/c/743085/

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h>

Change-Id: I482ac98bc56f0e3cfb8b767f47649da11ed1afab
Story: #2007865
Task: #40184
2020-09-22 18:17:32 +00:00
Hervé Beraud 2693844836 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: Ic13321bffe2f7af9324b580bb0e769ce244025a9
2020-05-26 21:48:30 +02:00
caihui 729bcfaf6b Remove six usage from freezer_api package
We don't support Python 2 anymore so we don't need this
compatibility library.
Convert six usage to Python3 code.

Change-Id: Iadf47e805c8d0dd32239456e69d8fdc78f77f30d
2020-01-22 02:14:39 -08:00
pengyuesheng 984defe966 Sync Sphinx requirement
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I9a9da22aef5ff16f9a1ea462e7e1543d5099399b
2019-08-02 15:26:43 +08:00
zhulingjie a350b44b1b Update json module to jsonutils
oslo project provide jsonutils, and the others project use it now,
this PS to update json moudule to oslo jsonutils for consistency.

Change-Id: Ifbf7b16e7c81dc0f85b07b77599ab4e404f2cdd4
2019-02-21 11:00:54 +00:00
whoami-rajat 88ce38ca10 Add freezer-manager-status upgrade check command framework
This adds basic framework for freezer-manager-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: I21d4c7ff5e659b332d6692352d996b3216b56bc9
Story: 2003657
Task: 26129
2018-10-29 01:33:41 +00:00
OpenStack Proposal Bot ff77e58afd Updated from global requirements
Change-Id: Icd51b141bd514456e60a5a48ea90f75a64001719
2018-03-15 06:53:57 +00:00
OpenStack Proposal Bot b63c7f6953 Updated from global requirements
Change-Id: Ia8ba8be9d0899fe8c356edca0e19f935e5299140
2018-01-17 20:31:58 +00:00
OpenStack Proposal Bot 5628ca1953 Updated from global requirements
Change-Id: Iafbe13783e448c5abb18745b5332b41c12d76f36
2017-12-07 13:20:51 +00:00
OpenStack Proposal Bot a32ed42fea Updated from global requirements
Change-Id: I9ab42df7bc9d6668c0ea2372ea8ef43ec50c418c
2017-11-29 08:54:23 +00:00
OpenStack Proposal Bot 5c405b7731 Updated from global requirements
Change-Id: Ic5fda6186f32831734af1b6c881f2ba0b7951648
2017-11-13 21:09:25 +00:00
OpenStack Proposal Bot f2d5d03327 Updated from global requirements
Change-Id: I68b5c58e15f4c375d4e06e6f258e117decec74fb
2017-09-24 12:17:24 +00:00
OpenStack Proposal Bot 0120abce19 Updated from global requirements
Change-Id: I7ef5ea8f46f761f68a6d98426782bbe0b790bc95
2017-09-16 23:11:28 +00:00
OpenStack Proposal Bot 51480352d7 Updated from global requirements
Change-Id: I5f971a28502cd6ae9555627e13327048c11da9b8
2017-09-13 12:49:52 +00:00
OpenStack Proposal Bot 99b9874402 Updated from global requirements
Change-Id: Iac022a4b07fa9c3de41be80a5dc7de7516374ec0
2017-09-11 21:36:01 +00:00
OpenStack Proposal Bot 3d1768978d Updated from global requirements
Change-Id: I29331abc4eac9acc409ee5e216a0e0607ac46691
2017-08-24 05:48:49 +00:00
OpenStack Proposal Bot cf0713bd3f Updated from global requirements
Change-Id: I902ffb1ed27b551899048debb34d8bcd2158c036
2017-07-13 14:13:07 +00:00
OpenStack Proposal Bot ee1e482e59 Updated from global requirements
Change-Id: I8ea16ca4ac0f8835a2839b1a1e22e9c3bb181f2e
2017-06-19 21:02:05 +00:00
OpenStack Proposal Bot bedb9adce0 Updated from global requirements
Change-Id: Ia5542b7acec70c238f3195f093a8d01dbf888e31
2017-06-15 16:22:36 +00:00
OpenStack Proposal Bot 35ee787fc2 Updated from global requirements
Change-Id: I73e55099ea98dc8c0d5aecb151c667ed778dc998
2017-06-09 20:37:05 +00:00
OpenStack Proposal Bot 746dae2f7b Updated from global requirements
Change-Id: Ib23b67126fa336920820748d094d1321b7fca455
2017-06-08 05:59:14 +00:00
Saad Zaher 7ec7d039bf Fix pylint checks
Change-Id: I8140a0b474d6a06e372683523cb5918059a03ae5
Partial-Bug: #1696455
2017-06-07 15:19:32 +00:00
OpenStack Proposal Bot bf08a04b20 Updated from global requirements
Change-Id: I24405b7017c5f573fa3d07536fcc4b9e4d0784bf
2017-06-02 21:54:51 +00:00
OpenStack Proposal Bot bf6b7f8fcc Updated from global requirements
Change-Id: I5100a1e4b8ada3d7ea709e34b05fedc04333e7ff
2017-05-26 17:18:35 +00:00
OpenStack Proposal Bot f8d36a9b49 Updated from global requirements
Change-Id: I83629eaa5ab398e7c542c059d3dc0396ecc7b4b9
2017-05-26 01:47:00 +00:00
OpenStack Proposal Bot 60c6d5584c Updated from global requirements
Change-Id: I45b0d020dd26c90e94fdefd204cecbad9b2381b6
2017-05-23 11:49:06 +00:00
OpenStack Proposal Bot 11ecb4d16b Updated from global requirements
Change-Id: Ic8514b3e070567605b6cc2c00158fe9ba67f31e8
2017-03-28 21:27:44 +00:00
OpenStack Proposal Bot 6300bd0436 Updated from global requirements
Change-Id: I5e8577469ef2198ba155f5c349c0c7150fbdcb97
2017-03-13 19:30:37 +00:00
OpenStack Proposal Bot ae2bec600a Updated from global requirements
Change-Id: I01cf5858c0e5fa60a9b6ff356611ac9295669232
2017-03-02 11:44:04 +00:00
OpenStack Proposal Bot 30040850f7 Updated from global requirements
Change-Id: I547c1b95b8059822a89f70b761696a3791728f68
2017-02-10 09:39:33 +00:00
OpenStack Proposal Bot 7219b6f28f Updated from global requirements
Change-Id: I2c5c95241ecf3e562ae7f2748f762e8e3dbf0ea7
2017-01-26 20:06:16 +00:00
OpenStack Proposal Bot 50089f9f81 Updated from global requirements
Change-Id: I9a9a97f175b00b04f4ce379b6a97970423c398f6
2016-12-05 18:40:09 +00:00
OpenStack Proposal Bot 13e49dcaf2 Updated from global requirements
Change-Id: Iad2560372135603395d6dc6fb83f065ca74f6d29
2016-11-04 05:54:39 +00:00
OpenStack Proposal Bot dccbbf35c9 Updated from global requirements
Change-Id: Ic461e1caeba457b9fbd07dfdfbed2c0c14d60e28
2016-10-17 04:04:54 +00:00
OpenStack Proposal Bot 26b4e0c40f Updated from global requirements
Change-Id: I9cefc7db1294cfc8ab63c08201eeb6c39cb77117
2016-09-29 05:05:53 +00:00
OpenStack Proposal Bot 83041cefb4 Updated from global requirements
Change-Id: Ia06d01a223528917df1de505b31011ec518e090a
2016-08-25 19:13:22 +00:00
Saad Zaher d44c089262 Fixed elasticsearch scroll problem in scan search
Change-Id: I587c366d86462f4e18cbb3ba05f1178ae83f11d4
Closes-Bug: #1616426
2016-08-24 16:28:09 +00:00
Saad Zaher ce09bbfa28 Implemented oslo.policy
Moving freezer-api to oslo.policy and modified freezer context
to be injected through paste configuration

Change-Id: I20b9ac48cf3419015ff54f6c57de5f00c8e6d5f2
Implements: blueprint switch-freezer-api-oslo-policy
2016-08-11 11:10:57 +00:00
OpenStack Proposal Bot 1d0ecea034 Updated from global requirements
Change-Id: I640aee8c9bb3610ad1c8368e9cbe0427b0f28153
2016-07-04 11:35:44 +00:00
Deklan Dieterly 44f86399e5 Add oslo.middleware to requirement.txt
Need oslo.middleware to run a simple instance.
Use oslo.middleware version from openstack/requirements repo
in global-requirements.txt file.

Change-Id: I9f3ed506c6a142580538c5b1e2508382dd13cab1
2016-06-06 12:54:58 -06:00
Saad Zaher 525c7f12cb Move to Paste and Paste-deploy
Start using Paste and Paste deploy for providing some flexability
to system administrator while deploying freezer-api.

Implements blueprint move-to-paste

Change-Id: I3f68a98ae7822495627791edb5be125556ff0b98
2016-05-31 17:19:59 +00:00
Saad Zaher 31558aef47 Using oslo.context
Switch freezer-api to use oslo.context to enhance the logging and
check for admin functions through the FreezerContext

Implements: blueprint use-oslo-context

Change-Id: I4fe9a1abb85a797f9d67d16d60bf11b4b0d342e5
Depends-on: Id3648a67298a680162e1311c1f7953b25e60af77
2016-04-29 10:26:30 +00:00
Saad Zaher d4e727d033 Switch Freezer-api to oslo.config and oslo.log
Switching freezer-api to oslo config opts and oslo logging opts to
follow Openstack standards and benfit from oslo libraries

Change-Id: I1b97db2e02087dccca3be25246c275d4e778094f
Implements: blueprint switch-api-to-oslo-config
2016-04-04 10:52:16 +01:00
Fausto Marzi 8d220b56a7 Switch to testr from pytest
Align to the other Openstack project and
use testr instead of pytest

Includes:
    - pylint and pep8 fixes.
    - py34 compliance
    - requirements updated
    - updated path to dsvm gate job

Change-Id: I10a5ea8d581029eba8f3ab5e016a1dd1919fa117
Depends-On: I4f9050cd551e87d2e398b6f94dc904154d0b1b13
2016-02-28 10:37:21 +00:00
Fausto Marzi cdbf024c56 Align requirements and version to Mitaka
Change-Id: I1a16317fba9cc190c91bc05bcce6b5a4a390e918
2016-01-18 18:35:20 +00:00
Fausto Marzi 07dc3d014e Align requirements to liberty global-requirements
Now requirements.txt and test-requirements.txt are
aligned to global-requirements.txt of stable/Liberty.

Testing requirements are now move to test-requirements.txt
from tox.ini

Also the author, author-email and home-page are now update to
reflect Freezer Team and openstack-dev ml.

Change-Id: I27f2ea875778f19d2ffb542b9b8fbf29d1a740fe
2015-11-24 11:42:34 +00:00
Fabrizio Vanni 933e4e0990 requirement falcon-0.1.10
The latest version of falcon might not be available
in some deployment environment.

The requirement now is limited to falcon version <0.2.0

Change-Id: I9eba7758b73bc67abb7d0d120ac332316b3a1a77
2015-08-19 04:46:10 -07:00
Fausto Marzi 35c5c41924 Aligning requierements to global-requirements
Change-Id: Ia0b05ca6350279cbb3ec76964cd5ada237e49295
2015-08-05 10:33:56 +01:00