Eventlet hasn't actually been a direct os-brick
requirement since Ussuri Change-Id I9684db.
Leave it in test-reqs since we have a unit test
that mocks it. (Used via oslo.service.)
Change-Id: I9a72d41c9bb70ad568e5cd9218730b93b226b202
Automated logging format checking was added to cinder in ussuri
by change I1dedc0b31f78f518c, but it wasn't added to os-brick and
a few infelicities have crept into the code. Enable the extension
and correct the issues.
To be consistent with cinder, we don't enable G200 ("Logging
statement uses exception in arguments").
Change-Id: I650b92bde5509b654d16301ffe50056e1e5ba579
Sync with the max version specified by
openstack dependency constraints.
This brings in a handful of fixes and features
over 0.910.
Change-Id: Ia074945de1003cd88f86018bb8cb5ef02d5c4500
Had to raise min oslo.vmware to 3.10.0 or can't run on py3.9.
So while I was in there, looked at the other requirements.
Updated most of the openstack libraries, left the third party
ones alone (see notes below).
requirements
------------
pbr>=5.5.1 -> >=5.8.0 in u-c for 3 months
oslo.concurrency>=4.4.0 -> >=4.5.0 in u-c for 4 months
oslo.context>=3.1.1 -> >=3.4.0 in u-c for 4 months
oslo.log>=4.4.0 -> >=4.6.1 in u-c for 4 months
oslo.i18n>=5.0.1 -> >=5.1.0 in u-c for 5 months
oslo.privsep>=2.4.0 -> >=2.6.2 in u-c for 6 months
oslo.serialization>=4.1.0 -> >=4.2.0 in u-c for 6 months
oslo.service>=2.5.0 -> >=2.8.0 in u-c for 1 month
oslo.utils>=4.8.0 -> >=4.12.1 in u-c for 3 weeks
os-win>=5.4.0 -> >=5.5.0 in u-c for 6 months
eventlet >=0.30.1 -> >=0.30.1,!=0.32.0
- 0.33.0 has been in u-c for about 3 months
- 0.32.0 breaks ironic
- no reason to raise the min right now
requests >=2.25.1 -> unchanged
- 2.27.1 has been in u-c for 1 month
- 2.26.0 drops py3.5 support
- no reason to raise the min right now
test requirements
-----------------
castellan>=3.7.0 -> >=3.10.0 in u-c for 4 months
oslo.vmware>=3.8.0 -> >=3.10.0 in u-c for 4 months
oslotest>=4.4.1 -> >=4.5.0 in u-c for 5 months
stestr>=3.1.0 -> >=3.2.1 in u-c for 4 months
coverage>=5.5 -> unchanged
- 6.3: stopped supporting py3.6; u-c caps py3.6 at 6.2
- current is 6.3.1 which is also the u-c cap for py3.8
- no reason to raise the min right now
Change-Id: Iec14833ab502b4bb342938d5477c57742068f1b8
This adds the "tox -e mypy" environment which works
the same way we have introduced mypy in Cinder.
Files added to mypy-files.txt are validated with mypy.
Change-Id: I6d09422dbdf5ea58661aad7a63c4d4d7a2839833
This patch adds tox settings for running tox -ebandit
to look at potential security issues.
Current issues:
scaleio connector disables SSL cert verification.
Change-Id: I79bec423a051eb12ab53042840a519bd4a77b4da
Raise the minimum versions in the various requirements files to
reflect what we're actually testing with right now.
Change-Id: Ie7dcc859e1291bd1d50b1ae516be38d8732de836
The latest pip version has a stricter dependency resolver,
which broke the "lower-constraints" job for quite a few openstack
projects, including os-brick and cinder.
This change alings the os-brick dependency version constraints with
the ones used by Cinder, thus fixing the lower constraints job.
Change-Id: I4a6ac7ec0974372dc6f1585a797c7023c2fd8d78
This adds a doc8 check to our pep8 job so both code and docs are lint
checked. This matches what is done in the cinder repo.
Depends-on: https://review.opendev.org/736382
Change-Id: If7b9414b8bbf4a41c0744460f16ff80a1a9cd94c
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This updates lower constraints to versions that will work with py38 so
that when we move to running on focal nodes, which has py38 as its
default py3 runtime, the lower-constraints job will continue to pass.
It also cleans out some secondary requirements that are no longer needed
due to our direct dependencies being updated.
Linters are removed that are kept in the global requirements blacklist
as those are not version tracked and are not relevant for our
lower-constraints unit test runs.
Change-Id: Ic9b2b425a4910809a21bd250a4d9730a30fadf22
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
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: I4ce76439f598b73d0520577bb3b47c7f28ed3663
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.
Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: Icbbd8370dd24882b34e3616030ad4dedd1d565a0
We stopped testing against py2 with commit df2a396, so remove
unsupported python versions from the requirements files.
Change-Id: I2aca65d734d7b6089f0e3ad7836f509f4b968098
We've kept hacking capped for a long time now. This raises the hacking
package version to the latest release and fixes the issues that it
found.
Change-Id: Ib13a3fe3f1a103b5e24a7c5bb7838ffdae2bf198
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Change-Id: I2281904c98f574dc5f42f31a12ebf5d1a4bdb48c
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Remove unncessary "=="
Change-Id: I2c87490faba283c4d4bcb3fbe386955a49601945
This commit is a follow-up of "switch to using stestr"
which was merged already [1].
After switch to using stestr, testrepository is unnecessary
and should be removed.
[1] https://review.openstack.org/571975
Change-Id: I702720f5fcebbd9b0fa0e7e387c7a4d3f1bf4542
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I5bfb3f34c27e393197456edf9b16010875fa9b7c
Signed-off-by: Charles Short <zulcss@gmail.com>
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)
Change-Id: I3f54fdbe876b2dd052d15c90dfafecd8baa03c45