Commit Graph

84 Commits

Author SHA1 Message Date
Ghanshyam Mann 7b1df2a651 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: I9120adf03e99fe6165e430d42a30e9393da5e8ac
2024-01-08 20:21:24 -08:00
Takashi Kajinami 0752a868bd Remove unused httplib2
The library is no longer imported from any implementations in this
package.

Change-Id: I794b24dbdf9a29dd2542e71c99ece85a510c10bd
2023-11-19 23:58:23 +09:00
Brian Rosmaita ce86bf3823 Update 'extras' for cinder driver
Raise the min version of os-brick to include the fix for
CVE-2023-2088.

Change-Id: If3dba01d5cbb3a3deacdf23ab5290d7bcab4b5c7
Related-bug: #2004555
2023-05-11 12:12:51 -04:00
Ghanshyam Mann aeee48b561 Update python testing as per zed cycle teting runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Moving the py36 job to py3 based so that they run
on latest supported python 3. Updating the python classifier also to reflect the same.

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

Change-Id: Ida582daf7db6fb3cedb3c7e37fc512d094b37c6e
2022-05-10 19:25:24 -05:00
Ghanshyam Mann 8bc3f816a3 Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

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

Change-Id: I2241143bb4936d7258f156b8e9d760607ed61d0e
2021-12-13 21:03:32 -06:00
Zuul 395f792358 Merge "setup.cfg: Replace dashes with underscores" 2021-11-21 14:14:17 +00:00
XinxinShen 5d1598f7c8 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in the metadata section of 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I75fe935a3b154c5eebf9d8b9550f21227e824867
2021-06-24 00:29:04 +00:00
Mike Durnosvystov 83c6fa7f74 vmware: Use cookiejar from oslo.vmware client directly
With changing the SOAP library backing oslo.vmware [1], the cookiejar of
a session must be accessed differently. Therefore, oslo.vmware
introduced a property on the client to abstract this change away. This
commit uses the new place to access the attribute.

[1]
https://specs.openstack.org/openstack/oslo-specs/specs/victoria/oslo-vmware-soap-library-switch.html

Change-Id: Iec6c4be5c61710f2a7a0056168d0c31ade987b1f
2021-04-30 12:08:50 +00:00
Zuul 982313615a Merge "Remove translation sections from setup.cfg" 2020-08-26 09:38:57 +00:00
Abhishek Kekane 3b71ce2d47 Copy data files to glance upon installation
At the moment if you need to configure cinder store of glance in your
environment then you need to mannualy copy rootwrap related files
from glance_store/etc/glance to /etc/glance folder.

Added those rootwrap.* related files as data_files in setup.cfg
which will copies those to /etc/glance on installation.

Change-Id: I9217f4a1379687241d23fe34deecd1f482cbb49c
Closes-Bug: #1890844
2020-08-10 06:16:23 +00:00
wu.chunyang 3e9ecdeead Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Remove babel.cfg as well, this is the default role and not needed
anymore.

also remove Babel from requirements[1]
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Change-Id: I106c408a394ce8018c11560a60fe1a160b898ec3
2020-07-03 22:10:12 +08:00
Zuul 7f654832c3 Merge "Bump cinder/os-brick requirements" 2020-05-04 16:13:29 +00:00
Sean McGinnis 587edd998a
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I68ead345e3f76d068cd778a540fe95a5c61d400d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:22:35 -05:00
Eric Harney 50060a904c Bump cinder/os-brick requirements
Require versions of these libraries that
at least had python 3.6 unit testing.

Change-Id: Idbef3c6b241e7a1b953061a65849879ee78f88ff
2020-04-23 13:58:09 -04:00
Andreas Jaeger 8ba16057db Cleanup py27 support
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:
  * Wheel is not needed for python 3 only repo
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I12ecea6b3cfcca8edd5adedac91f906d77f4ff36
2020-04-05 08:20:21 +02:00
Naohiro Sameshima 261bad3e43 Add S3 store support to glance_store
Revive the S3 driver that was supported up to Mitaka and add multiple
store support to correspond with the features added to glance_store from
Newton to U cycle. In addition, the use of the S3 SDK used by the Mitaka
S3 driver has been deprecated, so this implementation will be changed
to use the new version.

Change-Id: I203134837319080ead96da69048baf90086d2117
Implements: blueprint re-support-s3-driver
2020-03-26 10:53:46 +09:00
Zuul 129bfc837f Merge "Drop python 2.7 support and testing" 2020-01-23 10:21:54 +00:00
Ghanshyam Mann 3bf4d29a0f Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

glance_store is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: I6166a20610f77e0df7da75198e0c8273bb121d1f
2020-01-22 16:27:08 +00:00
Abhishek Kekane 5c9db72a93 Remove sheepdog store driver
Change-Id: I0c202cedb1532b9fe44afbb6553e7353185f6238
2019-11-19 06:17:34 +00:00
Corey Bryant c408c2e97c Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I30e3405b21d6c9100f05fe3141bb30faaa86283e
Story: #2005924
Task: #34208
2019-06-24 10:23:18 -04:00
Ghanshyam Mann ae2ffc34d0 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I7baf4fd7aeef4b012268fd95208019c1fa744fef
2019-05-28 10:57:46 +00:00
yfzhao 4c328e7630 Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Co-authored-by: LeopardMa <mabao@inspur.com>

Change-Id: I06acef3eafe1b9f7842636e9bcb5a637f2d78cc3
Closes-Bug: #1808929
2018-12-21 11:11:48 +08:00
Abhishek Kekane da494d4abb Provision to add new config options in sample config file
In Rocky we have added support for multiple backend as a EXPERIMENTAL
feature. However configuration options related to multiple backend
are not generated in sample config file due to some issue. We have
added below 2 new config options for multiple backend.

1. enabled_backneds (added in glance)
2. default_backend (added in glance_store)

Made provision to add option 2 from above to sample config
file.

Change-Id: I63571e4a8f85003e304f16653d60cbd38e6b6bde
Partial-Bug: #1793057
2018-09-18 10:18:54 +00:00
Nguyen Hai b65459e69d Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
[3] http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: I06d510a44b9e8c0024f5e41f10f4446e18bf86cc
2018-07-16 01:26:52 +00:00
yanghuichan 881b208f31 Fix wrong links in glance_store
Some docs links have changed.
We should update the wrong links in our codes.

Change-Id: I93463478029f2fa4bdde69f3b90ae7202ed9550f
2018-03-30 18:10:14 +08:00
OpenStack Proposal Bot 7282933298 Updated from global requirements
Change-Id: I9afca3949df136fd608bf402bd70db3b79a3a732
2018-01-12 02:58:36 +00:00
OpenStack Proposal Bot 84a1d8ef37 Updated from global requirements
Change-Id: I2b35a9c14fb78b5082fdec01559b2a9077ee08ae
2017-12-22 02:52:17 +00:00
OpenStack Proposal Bot 013f4de731 Updated from global requirements
Change-Id: Id63aa141797eaba43de75415c6038752c5887016
2017-12-05 03:02:28 +00:00
OpenStack Proposal Bot e076d6122f Updated from global requirements
Change-Id: Id2e6c51f67a1360f1f609d58c0083fa0b0a43752
2017-11-29 08:55:10 +00:00
OpenStack Proposal Bot cb20d7a676 Updated from global requirements
Change-Id: I549a5b935edd60b4a2754e0b4ba00a1353653960
2017-09-13 12:50:11 +00:00
OpenStack Proposal Bot 08bcc43aef Updated from global requirements
Change-Id: I696de06c25a1626839f972d821125fbbdc269e4f
2017-09-02 12:01:56 +00:00
OpenStack Proposal Bot b6c19346d8 Updated from global requirements
Change-Id: I7356c814fcefaefb7cac500b920322ad72ee9e09
2017-08-01 13:27:39 +00:00
OpenStack Proposal Bot aa365092ae Updated from global requirements
Change-Id: Iff6f44f183a0e011c8d1338d3e77f5a60370d2b7
2017-07-28 04:14:10 +00:00
OpenStack Proposal Bot 36fb986434 Updated from global requirements
Change-Id: I621faefd6780f425093fbaa1824004c317e0009f
2017-07-23 18:57:50 +00:00
OpenStack Proposal Bot 599b9b8491 Updated from global requirements
Change-Id: I8425f199c281603e02fc920a4ecf6953604b17f6
2017-07-19 14:42:21 +00:00
Jenkins bad725ecd6 Merge "Add python 3.5 in classifier and envlist" 2017-07-14 07:09:03 +00:00
OpenStack Proposal Bot 814d5cc399 Updated from global requirements
Change-Id: I6e00a441be252892124cd9a74e1dd0603f7ee39c
2017-07-13 19:29:49 +00:00
OpenStack Proposal Bot 3f9233be71 Updated from global requirements
Change-Id: Ie9dfbfccce90a35f09b5c5c8b544e558b521c3c2
2017-06-30 12:14:30 +00:00
Doug Hellmann 23f9d74388 set warning-is-error for documentation build
Change-Id: I285a95b9a2bd9d0f9f02896b44757c582c6d2c56
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-28 10:54:31 -04:00
Doug Hellmann 26a74766f3 rearrange existing documentation according to the new standard layout
Change-Id: I0fb178d0b6ebf7ebafc6e2766c8c5efc5d8cc60e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-28 10:54:14 -04:00
OpenStack Proposal Bot 74ed580ea1 Updated from global requirements
Change-Id: Ib2f5e6051f3205b4994f2f832b501052b402d247
2017-06-15 16:22:56 +00:00
Jenkins 309162a583 Merge "Initialize privsep root_helper command" 2017-06-13 23:21:13 +00:00
Eric Harney d16dff9a08 Initialize privsep root_helper command
Currently, when using the Cinder backend, Glance
tries to execute os-brick commands directly using
"privsep-helper".  They should be launched via
"glance-rootwrap".

Depends-On: Ib7923543862275629d86a0fa76baa88722493bad
Change-Id: I26d9474d4aadcc0e58e2fce746708f148138c71f
2017-05-24 12:50:33 +00:00
OpenStack Proposal Bot cc11b4a903 Updated from global requirements
Change-Id: Ied42fe08ed16523786c5f262e784b374e045c092
2017-04-21 13:06:06 +00:00
Li Wei 963e2a0fd1 Add python 3.5 in classifier and envlist
Now we can support py35 in classifier,and add the convenience
py35 env.

Change-Id: I98ac5543d995dca021fc3aff3993dc07fb2c4b7a
2017-04-06 17:31:50 +00:00
OpenStack Proposal Bot 17b28b5df1 Updated from global requirements
Change-Id: I04142d9e5961b04025d9b6b73684ef5a0f3fca6a
2017-03-16 18:12:10 +00:00
OpenStack Proposal Bot cd86c4304a Updated from global requirements
Change-Id: I3555871b9158d0d7d05cd59b11c567bbc67ab2bc
2017-02-11 17:41:49 +00:00
OpenStack Proposal Bot 042ab6235e Updated from global requirements
Change-Id: I4a35292131d240cde15aa64652afef46f246e6a1
2016-12-15 03:47:08 +00:00
OpenStack Proposal Bot bdad99eabb Updated from global requirements
Change-Id: Ifd9402de4e24c0f50e1681bf37fbf704c4fe08bc
2016-11-08 21:34:48 +00:00
Li Wei 08587a41f2 Update home-page url in setup.cfg
We update home-page url to view the document correctly.

Change-Id: I0c69432c66f1c629a42a83a316c9b27df1bfaa78
Co-Authored-By: Li Wei <wei.li@easystack.cn>
Co-Authored-By: Hemanth Makkapati <hemanth.makkapati@rackspace.com>
2016-09-21 03:00:36 +00:00