Commit Graph

8 Commits

Author SHA1 Message Date
Brian Rosmaita e5518c56bc Drop lower-constraints file
We're not actually using it anywhere, and we should be consistent
with the other cinder deliverables that are dropping the lower
constraints file, jobs, and tox testenv.

Change-Id: I7814c08f5697406d15ecbc6a8c4e40966d8a8fda
2021-07-07 16:48:03 -04:00
Brian Rosmaita cd0ae51c93 Continue wallaby development
The master branches of cinder and os-brick are now in xena development,
so while cinderlib is still in wallaby development, we want to use
stable/wallaby cinder and stable/wallaby os-brick for testing cinderlib.
Also use stable/wallaby upper constraints.

Change-Id: I9d76b380d18f5a15fb26496b209b3dd8342e4364
2021-04-19 22:13:48 -04: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
Andreas Jaeger c0641a1cb7 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I69fc009dd2ba86c47a9e113212e8c79b8afcb008
2020-05-21 12:56:25 +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
Sean McGinnis 2f55c3ae2e
Drop use of unittest2
unittest2 was needed for Python versions <= 2.6, so it has not been
needed for quite awhile (ever in this project). See unittest2 note on:

https://docs.python.org/2.7/library/unittest.html

This drops unittest2 in favor of the standard unittest module.

Change-Id: I21264290d783d582dfb886b799781380dbf5757d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-01-12 02:48:30 -06:00
xuanyandong 8974ba2529 Bump openstackdocstheme to 1.20.0
Change-Id: Ia4cf0044c23665e715ff45a4fc6d0e6e472b6c4e
2019-07-16 16:57:55 +08: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