Commit Graph

14 Commits

Author SHA1 Message Date
zhangboye 126e8e2414 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: I16f5e1dd04ce1d863912dab11e765efb8c85c724
2021-05-03 09:04:21 +08:00
manchandavishal 046cb42279 Run npm nodejs job with Firefox browser
This patch update browser from Chrome to Firefox
in karma.conf.js because nodejs fails with Chrome
browser as not able to access some URL.
So let's switch to Firefox browser now then we can
use Chrome browser in future once this issue is resolved.

It also updates few packages in 'lower-constraints.txt'
to fix lower-constraints job.

Change-Id: I1467fd00f3746c5c84233f31c8d41609d0345303
2020-12-23 08:04:36 +00:00
Ghanshyam Mann a5816d9b87 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.
- bug#1886296
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.

Story: #2007865
Task: #40229

Change-Id: Ia8f69313be9b5b329773ce4a77168cbd44dc300b
2020-08-16 17:42:28 +00:00
Hervé Beraud 60f3442e13 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: Ia50cc4538bf4e148f3870dafb414109d4ca9ccc1
2020-06-09 12:20:48 +02:00
Andreas Jaeger ab4c0cf4e4 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: I064ba67b95e217426e687b5e3055cc4e5288fb5d
2020-06-01 16:23:34 +02:00
manchandavishal ad407989fb Fix pyScss version in lower-constraints.txt
Horizon requires  pyScss>=1.3.7 [1] but lower-constraints.txt
in zaqar-ui uses pyScss 1.3.4 which can cause the
failure in future. So this patch update pyScss version in
lower-constraints.txt to sync the change.

[1] https://review.opendev.org/#/c/715241/

Change-Id: I8f4ec2e969b30e3e389a891abae5c848a829bb0c
2020-04-01 18:22:05 +00:00
manchandavishal 5da321328d 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: Iaf36098ce77cc633fa4a39804441a36060fa0934
2020-01-02 21:06:55 +00:00
jacky06 e6db2ff4fa Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I2d95fd234f89ea0c377a2dc287459bade6c893e4
2019-01-09 10:10:44 +08:00
Shu Muto c03bcc8bf7 Bump horizon for Stein
Change-Id: Id60daf859eefeaca74e196e1ba0bf476ab6d71d8
2018-12-21 10:32:26 +09:00
Shu Muto b5709b73b9 Remove mox3 from doc/requirements.txt
Dependency for mox3 is fully removed. So this patch removes mox3
dependency from doc/requirements.txt

This should be cherry-picked into stable/rocky branch.

Change-Id: I7643c2a4647aa76f4feba9fbe762a019d002aac0
2018-08-22 10:34:03 +09:00
Akihiro Motoki 7f361343c8 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.

Change-Id: I4c27c5a330976637b43831b6748465c518926bb5
2018-08-17 01:05:17 +09:00
Shu Muto f14cacdd9a Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:

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

For more details information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I08cfd42af407e6ee2c4aa88df461eb757e1243b2
2018-05-15 23:45:49 +00:00
Charles Short cf4db8e789 Require the (soon-to-be) Rocky version of Horizon
... or at least the first published tarball which will lead to Rocky.
On the other side this means forcing the usage of mox as long as
there are tests that depends on it (the switch was already flipped
in Horizon, so it needs to be enabled here).

This allows us to depend on newer Horizon features, including changes
to the test suite that are useful for the mox removal effort.

Also fixes lower-constants.txt

Change-Id: I3908c6d212b9d1df7e4490128b6a0a3f751e8276
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-05-12 09:47:24 -04:00
Doug Hellmann a8ff93fdac 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: Idcb6356429f6ccab190e2a6b799694dfccace00b
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 19:16:34 -04:00