Commit Graph

11 Commits

Author SHA1 Message Date
songwenping 83b2d7ec4e Dropping lower constraints testing
We facing errors related to the new pip resolver, this
topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].

I propose to drop this test because the complexity and recurring pain needed
to maintain that now exceeds the benefits provided by this mechanismes.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html

Change-Id: Iccaf7cfb8051ec1b01fde0786489855013297703
2021-04-25 03:03:36 +00:00
Hervé Beraud 01ab65208b drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: I7f0cc935291e5c0c4f905ad2aa0fb03e6192abb0
2020-06-09 01:23:17 +02:00
Andreas Jaeger d137023727 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.

Disable openstackdocs_auto_name to use 'project' variable 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.

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: I8e00e8863e8c3d86bebeec87e80fc26ad1f66323
2020-05-31 19:39:18 +02:00
cuiweibo 62403af7e0 Remove six
Change-Id: I7977cdc6cad3d80e5239f65b0f2b6a120b05e341
2020-05-21 22:37:39 +08:00
Renat Akhmerov 44a2738460 Add a utility for JSON serialization
* This patch adds a utility that helps serialize data into a JSON
  string that might contain some non-standard data types like
  generators iterators and frozen dicts coming from YAQL. The
  utility uses oslo.serialization project that already takes care
  of iterators and any kinds of custom dicts. And in addition, it
  handles generators (assuming a generator represents an iterable
  similar to an iterator).
* Unit tests.
* Added YAQL into requirements and bumped the version of
  oslo.serialization to make sure to have the "fallback" parameter
  in "jsonutils.to_primitive"

Change-Id: I2fe891525bc86beb92aecf9ac2d8a490837c47d3
2020-03-31 18:33:05 +07:00
Andreas Jaeger b97e383918 [ussuri][goal] Cleanup python 2.7 removal
OpenStack is dropping the py2.7 support in ussuri cycle.

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://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

This removes some cruft from Python 2.7 support.
Raise requests lower-constraint to satisfy oslo.config.

Change-Id: I47cc8ab5b348af28062ab3ff5329b96d2cbccdbb
2020-02-05 17:22:45 +01:00
Eyal a2fed6c34a Fix requirements, doc
Change-Id: I0384a421fca057f66365e6fdb0b1efdb1a1c49f2
2020-01-15 17:06:49 +02:00
caoyuan 98f8ad448d tox: Keeping going with docs
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Change-Id: I2f1d5655e661188d8809fb2522bd5a10b385e8d2
2019-10-24 21:23:49 +08:00
ali 070080bd1b moved generic util functions from mistral to mistral-lib
Change-Id: I780c270e4b1a184d7d4dcc580d23697ba75edab1
Closes-bug: #1815183
2019-08-08 07:35:45 +00:00
Brad P. Crochet de6805b3fa Switch to using stestr
When the TC merged I2637dd714cbb6d38ef8b8dc1083e359207118284 we're
supposed to invoke stestr rather than testr so lets do that

Change-Id: I219b3c448aae6df010cdccced1b9072dc6db0729
2018-05-22 13:18:29 -07:00
Doug Hellmann ef3482eace 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: I14210959ffc1488a6422c6f254f92298bbcaab4b
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-05 07:25:04 -04:00