Commit Graph

97 Commits

Author SHA1 Message Date
Ghanshyam Mann 7d47b5347b 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: I24fd4700d59b30e4e5b3fed6c892a4f8ade7bb47
2022-04-30 15:32:04 -05:00
Pierre Riteau d14668ba05 Drop unused sqlalchemy-migrate requirement
Change-Id: If625ad10d58f6116f6ebcecc08a46cf91036d98e
2021-02-22 21:50:17 +01:00
Ghanshyam Mann 3f1c1ed312 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file 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 documentation and release notes.

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

Change-Id: I9ca5459a6968d93dee1bf24b3e0012a4cc7020b5
2021-01-28 16:37:30 +01:00
xuanyandong ae43ea3adf Remove six
Replace the following items with Python 3 style code.

- six.next
- six.text_type
- six.add_metaclass
- six.moves

Implements: blueprint six-removal

Change-Id: Id572aec8a6fda7676eb03d17c66fd33f9801f25d
2021-01-05 17:08:14 +01:00
Pierre Riteau 4f642c877f Fix lower-constraints job
* Move upper constraints from install_command to testenv deps, so it
  doesn't get inherited by the lower-constraints job. This was causing
  the wrong set of constraints to be used.
* Update MarkupSafe to 1.1.1 because of an incompatibility with recent
  setuptools: https://github.com/pallets/markupsafe/issues/116
* Update PyYAML to 5.1 to fix build on some platforms such as macOS
* Update oslo.db to 4.40.0 to fix issues with async keyword:
  https://opendev.org/openstack/oslo.db/commit/df6bf34
* Update oslo.utils to 3.37.0 for uuidsentinel:
  https://opendev.org/openstack/oslo.utils/commit/63d7649
* Update kombu to 4.2.0 to fix issues with async:
  https://github.com/celery/kombu/issues/841
* Remove kombu from requirements since we are not using it directly
* Update Flask to 1.0.2 due to various API changes
* Update oslo.service to 1.34.0 for add_timer_args:
  https://opendev.org/openstack/oslo.service/commit/750b51c
* Update oslo.context to 2.21.0 for system_scope:
  https://opendev.org/openstack/oslo.context/commit/1a40b3d
* Move oslo.context from test-requirements to requirements since we are
  also using it in non-test code
* Update keystoneauth1 to 3.13.0 for rate_semaphore:
  https://opendev.org/openstack/keystoneauth/commit/0993471
* Update alembic to 0.9.6: oslo-db 4.40.0 depends on alembic>=0.9.6

Change-Id: I4224c142d7481a79d4cc5e704436a6002b0d884f
2021-01-05 11:06:31 +01:00
wu.shiming 38189e1670 Remove Babel requirement
Babel is no longer a requirement for OpenStack projects. We can remove
it and save some disk space.

Change-Id: I83a8632b004b6b94d5a99e00f9f4e193081eaba9
2020-10-02 10:29:47 +00:00
Andreas Jaeger a98989b2ef Cleanup py27 support
This repo is now testing only with Python 3, so let's 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 obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build; fix build warnings
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Raise oslo.utils version, 3.36.5 introduced uuidsentinel.

Change-Id: I8c81e0c1944c239e460befbf886993270902ee04
2020-04-13 18:18:44 +02:00
asmita singh 520005b13d Add microversion support
This patch adds microversion support so that it is possible to make
minor changes to the APIs as required to fix Launchpad bug #1740091.

Change-Id: I7ea48be72897a77fc8424a57f4ce2d4798daf4eb
Related-Bug: #1740091
2019-09-10 18:59:36 +02:00
pengyuesheng 591ccb264b Blacklist eventlet 0.21.0,0.23.0,0.25.0
More details at https://review.opendev.org/#/c/678078/

Change-Id: Iefa34e0734b9c53a27d0c3eb1c308086682160cc
2019-09-06 09:20:51 +00:00
Masahito Muroi dd3f3e30a9 Add BlazarNeutronClient base class
Partially Implements: blueprint floatingip-reservation
Change-Id: Ie1e41123331bdbcc7c5a8f96ad6ed512d85d4963
2019-03-15 18:26:07 +00:00
Tetsuro Nakamura 1855e059fc Call placement after instance delete
Blazar called placement to delete reservation inventory on reservation
resource provider *before* blazar asks nova to delete the instance.
This caused inventory in use 409 conflict error in placement.

This patch re-orders it to call placement after instance delete and
adds a function to ensure the deletion is completed not to cause the
error.

Change-Id: I3b4a892a783140b4a25810aeed71c79f6207e155
Depends-On: https://review.openstack.org/#/c/633408/
Closes-Bug: #1813252
2019-02-12 13:01:40 +00:00
whoami-rajat 604b71520b Add blazar-status upgrade check command framework
This adds basic framework for blazar-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: I6f40be87eb7e20fb396191e60af023923eb9019a
Story: 2003657
Task: 26121
2018-10-19 16:22:28 +05:30
Tetsuro Nakamura c86e2414b0 Start to make placement client
This patch starts to prepare base methods for placement client
in a new class, ``BlazarPlacementClient``.

Change-Id: I58712bd9dd243daed0e616792e0ba11b80cd680b
Blueprint: placement-api
2018-07-23 20:22:19 +09:00
Hiro Kobayashi 0c65190306 Update pylint
A previous patch [1] changed tox environments to use python3 by default,
which makes the pylint test fail.

This patch updates the pylint package version and fixes pylint errors.

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

Change-Id: I93c4a0c6060960552cc914963f410188eac7f3f4
2018-07-10 09:12:46 +00:00
Doug Hellmann 514d7d087c 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.

Uncap eventlet at the same time to make the requirements match the
global list.

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

Change-Id: I3d4c66be32a7e5f1bae11fcba9491f9e26b59bb6
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-20 16:19:10 -04:00
OpenStack Proposal Bot f34fdd400a Updated from global requirements
Change-Id: I5c68216e528b0690760d50ffe3dc422605efac06
2018-03-26 07:59:14 +00:00
OpenStack Proposal Bot 5fb5d6ec9a Updated from global requirements
Change-Id: I5effeea5ebd6fe0ea0166196a51b5029ce52950b
2018-03-15 06:46:42 +00:00
OpenStack Proposal Bot fa2ea77fa6 Updated from global requirements
Change-Id: Ia8d0e56af168357c0f880c7348ea182688131c09
2018-01-16 12:24:22 +00:00
OpenStack Proposal Bot 95d9e5a971 Updated from global requirements
Change-Id: If9b46831602f912bc4a3a9e579d5f7101fed9829
2017-12-19 01:12:28 +00:00
OpenStack Proposal Bot b93cc9ba4b Updated from global requirements
Change-Id: I77003768a793031433ef13b6d5f7237cb83b1915
2017-12-15 21:22:17 +00:00
OpenStack Proposal Bot 610c09613c Updated from global requirements
Change-Id: I9bde9056247ea0b402d28a299e1c50962f2559ef
2017-12-07 13:18:23 +00:00
OpenStack Proposal Bot 2ae25fdfa1 Updated from global requirements
Change-Id: Id6b387a82da8aa34f098bbbe8e1a3cd239917066
2017-11-29 08:51:29 +00:00
OpenStack Proposal Bot 76e1f979f6 Updated from global requirements
Change-Id: I593bf2aaefdd5115a9929d57ab0b48918d038e39
2017-11-16 10:59:26 +00:00
OpenStack Proposal Bot 2f5e2aa8f1 Updated from global requirements
Change-Id: I885dc75d92d836ac8a4297d957653fcfc4fb2483
2017-11-13 10:17:02 +00:00
OpenStack Proposal Bot d4a1e54e49 Updated from global requirements
Change-Id: I9e42e4c3c4631c90ff40ca8d5a70fd7581ace266
2017-09-26 15:44:33 +00:00
OpenStack Proposal Bot 65a4088b71 Updated from global requirements
Change-Id: I5a2da8b65a18f272c2109381983b14b430b0df2f
2017-09-12 21:46:54 +00:00
OpenStack Proposal Bot b603191503 Updated from global requirements
Change-Id: I6aa4598531ca6d59d58d033de0d0c782a2b78ca2
2017-09-12 04:13:13 +00:00
Jenkins d092cab9cf Merge "Add six to requirements" 2017-08-31 02:09:33 +00:00
Pierre Riteau 5e7de8eece Add six to requirements
Although we use six directly, it was not included in the requirements
list. We never got any installation failure because several of our
requirements have six as a dependency.

This patch adds six to the requirements list to avoid any installation
failure if our dependencies stop requiring six.

Change-Id: I58cffe0a07f2c850c64795ceb5148daf7fc239f1
2017-08-28 11:36:53 +01:00
OpenStack Proposal Bot 77ae52a548 Updated from global requirements
Change-Id: I706159d14bc731ce6beac5bcf0b6e0632a368009
2017-08-27 19:57:53 +00:00
OpenStack Proposal Bot 08dda112f7 Updated from global requirements
Change-Id: I4a702cf339819db93f4cfdc33d040ed476c48170
2017-07-18 01:44:24 +00:00
Hiroaki Kobayashi 91f916b53e Move sphinx requirements
This patch moves sphinx requirements from the requirements.txt to the
test-requirements.txt.

Change-Id: I0fc5f7f7ecadc66ee4211bcb0098335901529718
2017-07-03 11:36:35 +00:00
OpenStack Proposal Bot c9fa717156 Updated from global requirements
Change-Id: I16f8a3d1cf5118ed45e74447e90404177d9b04b5
2017-06-27 12:08:16 +00:00
OpenStack Proposal Bot f5bcf00e84 Updated from global requirements
Change-Id: I6c82e2b0ea85c39a49f371f5f4ec475dcfb71e40
2017-06-19 21:00:56 +00:00
OpenStack Proposal Bot a8f71ea3db Updated from global requirements
Change-Id: I4e2c8ef6037317e9ffc4cf811bfa1881e248e174
2017-06-15 16:21:16 +00:00
OpenStack Proposal Bot f3a70837e2 Updated from global requirements
Change-Id: I77601f064ff43285f8d2de720bb28f02d47d7b2c
2017-06-10 13:24:35 +00:00
OpenStack Proposal Bot 75775e771d Updated from global requirements
Change-Id: I3b9d626508e6af1faee354aa1922dc43d1425b85
2017-06-08 16:15:40 +00:00
OpenStack Proposal Bot 5db86abf42 Updated from global requirements
Change-Id: I0cc92503325f358d832e2db0bc17948114a3df05
2017-06-07 04:11:16 +00:00
OpenStack Proposal Bot ab87b0e021 Updated from global requirements
Change-Id: Icb0ec1a919a06c048e76689a6b92d4d4bedb90e8
2017-05-26 01:45:59 +00:00
OpenStack Proposal Bot 9769502bd4 Updated from global requirements
Change-Id: Id9e0dc37abe9702698db0dbf40362d05d25ccf51
2017-05-23 12:17:38 +00:00
OpenStack Proposal Bot aaaabad399 Updated from global requirements
Change-Id: I116661c0febcfa6a38bfedf03551a7480b84078f
2017-05-20 04:34:04 +00:00
OpenStack Proposal Bot bc874bd2d0 Updated from global requirements
Change-Id: I495f73bcd1487ed938779d35143f48d3f56948e2
2017-05-17 13:37:33 +00:00
OpenStack Proposal Bot 402a5cf2cb Updated from global requirements
Change-Id: I66ce0833cebc6e3b14e56806cde0cad9d5ac5b5a
2017-05-17 03:46:13 +00:00
OpenStack Proposal Bot 38f1f1ce14 Updated from global requirements
Change-Id: I1d952d47178a9774e31e8f68993b7a07372c9f48
2017-04-12 04:09:58 +00:00
OpenStack Proposal Bot 452115d77a Updated from global requirements
Change-Id: I7d2d0eafd73d74a5dee3259d43238b67f231ba4f
2017-04-07 06:02:40 +00:00
OpenStack Proposal Bot d075886ec3 Updated from global requirements
Change-Id: Ibf1c85529bc90924db8387a6840fcb3544f81b66
2017-04-06 07:09:54 +00:00
OpenStack Proposal Bot d2234bf46d Updated from global requirements
Change-Id: Ic8d5fc197d4a7011f69f65741bc1da1511d85d01
2017-04-01 15:22:10 +00:00
OpenStack Proposal Bot 48d1e9c568 Updated from global requirements
Change-Id: I6aa518503f8e79e8153d00c3bcc1a0d97bcc23b8
2017-03-29 13:30:15 +00:00
OpenStack Proposal Bot e3f9fdb769 Updated from global requirements
Change-Id: I13599f817f7c3e4cb0420106456f5813bd868d72
2017-03-28 21:26:36 +00:00
Pierre Riteau 0c911cd7e0 Updated from global requirements
The kombu update is required to fix conflicts with other projects
installing version 4.0.1.

Change-Id: I38462381f24721197ddbb3a6455439aa23747d5e
2017-03-21 06:35:39 -05:00