Commit Graph

11 Commits

Author SHA1 Message Date
Ghanshyam Mann bb7d4b67cb 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: I4c4ec3ef3f6016206cab1ae697985eaef8e95293
2022-04-30 20:30:48 -05:00
OpenStack Release Bot 46c852b254 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

- Bump decorator in lower-constraints

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ifbaf90732e367e0156b6832f8c4ab4e88d2abc31
2022-04-04 18:29:54 +02:00
wangzihao 43203ea025 Update doc8 version
The doc8 lib supports Py36 starting from version 0.8.1

Change-Id: Ifcff34d4432771ae9401f97d9abeb9b609fb0c6a
2021-01-06 16:54:19 +08:00
wangzihao feb22145a1 Remove six
Remove all usages of six

Change-Id: I3a5dedade263337aeef12eac1c4daf2f7e82e306
Story: 2008305
Task: 41190
2020-11-03 03:27:56 +00:00
Andreas Jaeger 30fdf5ff21 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.

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.

Set openstackdocs_auto_name to use 'project' as name.

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.

Depends-On: https://review.opendev.org/729744
Change-Id: Ia2c49cfc3a933a04d6ee4aea6c827935bebd3c41
2020-05-20 21:47:56 +02:00
Zuul 1571a1a3e4 Merge "Fix mock import statements" 2020-04-21 12:44:24 +00:00
Witek Bedyk 78569fec5b Fix mock import statements
As we dropped Python 2 support we don't have to use the third party
mock library with Python 2 compatibility and can move to Python 3
standard library. The change updates the import statements to reflect
that.

Change-Id: I39d9410ae43a2d9e6f6d6eaf74d06a82f2c33524
2020-04-16 18:44:52 +02:00
Andreas Jaeger a09afa37b0 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

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

Change-Id: I14aee6250d80b7485c5c582a20abf4efafcc28c2
2020-03-31 22:07:59 +02:00
ZhijunWei 7939777a15 Update hacking version
1. Use latest release 1.1.0 and compatible changes w.r.t pep8
2. cleanup of .keys() from dict_object.keys() *in* operator

Story: 2004930
Task: 29772
Change-Id: I5c41100494efee5f0d29d094ccb4d85a6f64bcec
2019-03-01 16:07:52 +00:00
Vu Cong Tuan 1b4d88af33 Remove testrepository and .testr.conf
This commit is a follow-up of "switch to using stestr"
which was merged already [1].
After switch to using stestr, testrepository and .testr.conf
are unnecessary and should be removed.

This patch also switch from "test" to "stestr" for coverage job .

[1] https://review.openstack.org/571716

Change-Id: I6b506a19edf06a5bc40472f84a51eaae98583a62
2018-07-12 08:41:56 +07:00
Doug Hellmann 9dffe7bf93 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.

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

Change-Id: Ic9951e7a4ca88dc5138560d44942d4e6d5851480
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 17:55:26 -04:00