Commit Graph

9 Commits

Author SHA1 Message Date
Brian Rosmaita f165c6ff5e Stop cinderlib development
Remove files from master, as development will no longer occur there.
The stable branches continue to be supported while they are in
Maintained status.

Updated the README to indicate this change.

Depends-on: Ib186ac5830e5920e264d79be946995e63e960426
Depends-on: I081cd363117671eaab6a3193094d5872f9820354
Depends-on: If2b9a82cddb20543b176ee22765049db257c89b9
Depends-on: I1143e5e5ccf8103e386fe1ce614a554e7f152d9a
Change-Id: I4722b869033ad1bd357e36c4a258b6d3ea61f5d6
2024-01-05 16:03:46 +00:00
Brian Rosmaita fb6178197f Add tooz to test-requirements
setUpClass (cinderlib.tests.functional.test_basic.BackendFunctBasic)
is failing with "ModuleNotFoundError: No module named 'etcd3gw'"
from file site-packages/tooz/drivers/etcd3gw.py

Address this by adding tooz with the 'etcd3gw' extra to cinderlib's
test-requirements.txt, using the same minimum currently used by
cinder.

example failures on cinder CI jobs:
cinder-plugin-ceph-tempest on https://review.opendev.org/785099/5
cinder-plugin-ceph-tempest on https://review.opendev.org/868485/9

Change-Id: I341c6be5329487d13a1bdd383b4157105baee368
2023-08-15 16:44:01 -04:00
tushargite96 c770b2a894 Move cinderlib to new hacking 4.0.0
Change-Id: I678ad4c50dfc66870b87f38e3869548c3dc23848
2021-02-23 16:25:51 +00:00
Brian Rosmaita f9b2b76e39 Update requirements and lower-constraints
Changes prompted by the new pip resolver doing stricter dependency
checking:
- req, lc: cinder to 17.0.0 (victoria official release)
- lc: os-brick: 2.7.0 -> 4.0.1 (victoria official release)
- lc: stevedore: 1.20.0 -> 1.31.0 (version in victoria cinder l-c)
- update test-req to match cinder stable/victoria versions
- added some indirect dependencies to test-requirements.txt to help
  speed up dependency resolution

This patch is picking up an updated flake8 that is more strict
about import order checking, so we add a per-file-ignore config
option to tox.ini to turn off E402 detection for the affected
files.  See comment in cinderlib/cinder.py for details.  NOTE:
per-file-ignores requires flake8>=3.7.0, but we don't specify
that here because the flake8 version is controlled by hacking.

Change-Id: I6e7fb6724bb29078b2fa70a38f37238c356e6f48
2021-01-13 11:13:28 -05:00
Ghanshyam Mann 300368114f 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.

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

Remove extra uncapped flake8 requirement from tox.ini, hacking is
already in test-requirements.txt.

Change-Id: Ia50da955879d3eb18ac3ff4eca2ca4c9ae3e030c
2020-05-21 13:56:07 +02:00
Andreas Jaeger 330ff41a3c Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: I46ca7bcc0ca6e3f1a1c859b8a765d955aeb5d650
2020-04-02 14:05:51 +00:00
Gorka Eguileor 1bdc8fa5c1 Fix cinderlib Python package
Setuptools gives 2 errors with the current cinderlib Python package:

- Project's description-file has an unsupported directive.
- test-requirements has a github reference.

We fix the first issue by removing the git repository from the test
requirements and adding it to the Tox file while adding cinder to the
required-projects to allow cross-repo denedencies.

We also add os-brick since we are currently also very dependent on it on
the nos_brick.py code.

For the second issue we create a new DESCRIPTION.rst file that doesn't
include the "raw" directive unsupported by PyPi.

This patch will allow us to add the publish-to-pypi job to the
project-config repository.

Required-By: I9d8d9f7d802a27c3bfe3dbc0ee84cc24eee24ebc
Change-Id: Id029cedef513753700a10bcae761fdc1807964e1
2019-03-15 13:19:12 +01:00
Gorka Eguileor cd5365db2f Add zuul jobs
This patch adds the following Zuul CI jobs:

- Python 2.7 unit tests
- Python 3.6 unit tests
- Functional tests with LVM
- Functional tests with Ceph
- Publis documentation
- Release notes

Change-Id: I2f3f34c1db4716b323c48908f51500898c2c6242
2019-02-26 16:21:34 +01:00
Gorka Eguileor 77f399fd96 Format as a Cinder-related OpenStack project
Since we are going to be importing the project into OpenStack we need it
to follow the same structure as the other projects under the Cinder
umbrella.
2019-02-19 16:28:03 +01:00