Commit Graph

16 Commits

Author SHA1 Message Date
Ghanshyam Mann 750dac7f2a 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: I429e40d21c075de3b8666dc60c878378acfba5e1
2022-04-30 16:03:45 -05:00
manchandavishal 312064be40 Bump pylint version to fix pep8 job
This patch upadte pylint version to 2.6.0 in
test-requirements.txt and wrapt version to 1.11
to fix CI jobs.

Change-Id: Iba2a2321ee2ff459466918150d825c55c2596473
2021-02-04 05:20:40 +00:00
Andreas Jaeger 2a465428ff 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.

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.

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: I420adfab0ff40fffd9a211d72ad6c953a495676e
2020-05-30 16:51:39 +02:00
jacky06 b248f85a1e Update to hacking 3.0
Update to newest hacking version, it has only minimal changes and full
support for Python 3.

Python modules related to coding style checks (listed in blacklist.txt in
openstack/requirements repo) are dropped from lower-constraints.txt
as they are not actually used in tests (other than pep8).

Change-Id: I67f390e6d7b6fb9eeb7522728ba293d3337b3327
2020-05-17 03:14:40 +00:00
jacky06 3e95dbca27 Remove the mock installed
1. Remove the mock installed
2. Remove unittest2 since it not used any more

Change-Id: Ie75cfec3b17dec949a91ce2b401a6220fa90916f
2020-04-30 00:07:52 +08:00
Andreas Jaeger e599248661 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
- Remove unused oslosphinx requirement

Change-Id: I845d02c5fb7cf57beb3628821156bff7310733ca
2020-04-05 08:18:58 +02:00
caihui 7f03af4887 Remove six useage
We don't support python2 anymore so we don't need this compatibility
library.

This patch remove six useage.

Change-Id: Ib2fa617a9c0ea7a21652fee28964fc09600d6d54
2020-02-18 01:03:45 -08:00
manchandavishal 833a40b7b7 Drop Django 1.11 support
Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.

tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.

horizon>=17.1.0 is required to use Django 2.2. requirements.txt and
lower-constraints.txt are updated accordingly. for more info. please
refer [1].
Depends-On: https://review.opendev.org/#/c/700733/
[1] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin

Change-Id: I499c5f2fb06caa70c939b6e503f65c14c2c2e474
2020-01-01 20:21:08 +00:00
caihui f894d59db0 Add py37 and remove py35 in envlst
1. Update tox.ini file, add py37 and remove py35 in envlst for UT.
2. Upgrade pylint,astroid,keystoneauth1  version

Change-Id: Ibb7a5ad85343d0ffe5c50d6c72865bce6657ea36
2019-11-15 02:21:33 -08:00
manchandavishal d939a7892b Bump minimum ksa(3.16.0) to fix gate
Change-Id: I18e8af262e79dd7a7ea24015696736272c1fe131
2019-10-09 16:55:42 +00:00
jacky06 1f06dacd90 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest
3. Bump the keystoneauth1 to 3.14.0 to fix the gate[0]

[0]: http://logs.openstack.org/40/666040/4/check/openstack-tox-lower-constraints/063a064/job-output.txt.gz#_2019-06-18_16_35_28_185448

Change-Id: I5cb981175922df52ae55961109c904f6ecf94d24
2019-07-04 20:47:07 +08:00
Cai Hui 4c43529aff Update keystoneauth1 3.4.0 to 3.11.0 in lower-constraints.txt
The 'python-novaclient' requires keystoneauth1 >=3.5.0
The 'python-glanceclient' requires keystoneauth1 >=3.6.2
The 'osc-lib'  requires keystoneauth1 >=3.7.0
The 'openstacksdk' requires  keystoneauth1 >=3.11.0

Change-Id: I3593008d3bf66a9a2ee36abb104fb3436c82019b
2018-12-17 00:30:27 -05:00
Cai Hui 6763ff9a59 Use freezerclient.client to support v1 or v2
The python-freezerclient 2.0.0 is released now. We can directly use
freezerclinent.client to support api v1 or v2.

Change-Id: I30ad8694d137e0fab081b0f8ded842caa723c86f
2018-11-06 20:33:41 -05:00
Akihiro Motoki 2c76fee688 Drop nose dependencies
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.

The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.

Also drops unnecessary Django dependencies. There is no need to
install Django explicitly as it is a horizon dependency.

The lower bound of oslo.log is added to pass requirements-check job.
The new lower bound is picked up from lower-constraints.txt.

Change-Id: I32978c11b54ba22a64109cfee1167f473d353373
2018-08-17 02:06:15 +09:00
Ivan Kolodyazhny f2feb0f056 Use Horizon UT framework
Let's use Horizon unit-tests framework where it's
possible to have better cross-project integration.

Related blueprint: improve-horizon-testing

Change-Id: Ibfe2c062c54563e2bd35410459be8b5c7b2d550e
2018-04-20 11:52:38 +03:00
Doug Hellmann e68011ed5f 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: Id71e1a71a0f9fa342a286ef62c8dc6ca784ae61a
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-03 10:34:01 +00:00