Commit Graph

13 Commits

Author SHA1 Message Date
Ghanshyam Mann 106f64aaef 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: I083dd5453c6ec0d6d7f35159a8caee053166f860
2022-07-30 01:13:24 +09:00
Elod Illes 7f951c364b Fix lower constraints
To make the lower-constraints job pass the following changes need to be
made:
* bump decorator version, as newer setuptools removed use_2to3
  parameter support
* bump horizon version, as third party mock was removed and pytest was
  introduced. new horizon version involves need for newer XStatic-mdi
  as well

Change-Id: I046ea04f80f73405a33e3d24cbb809e0449b00fd
2022-03-31 16:10:57 +02:00
Akihiro Motoki ac9bb60797 Fix lower-constraints
hacking min version does not match test-requirements, so lower-constraints
job fails. lower-constraints job does not need linters, so we can drop
linters from lower-constraints.txt.

Change-Id: I49f66cb09c3fc1dbcbea9085611574f9caac1389
2021-02-16 15:34:45 +09:00
manchandavishal f15f0869bd [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.

Story: #2007865
Task: #40199

Closes-Bug: #1886298

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal

Change-Id: I5b9054a25f2892c158fa2e0855fc32bd4d3c0bd6
2020-08-05 16:48:04 +00:00
Hervé Beraud 2fa5af2c2b drop mock from lower-constraints and requirements
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 and requirements.

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

Change-Id: I1a31c6c5a04e0e883cf956a5ae74f444b1673332
2020-06-09 10:46:06 +02:00
Andreas Jaeger 854a1c008c 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.

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.

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: Ia039d70c66d05ee0ca64bb8e85920bc36d16831a
2020-05-23 17:50:35 +02:00
manchandavishal bcfc417258 Fix pyScss version in lower-constraints.txt
Horizon requires  pyScss>=1.3.7 [1] but lower-constraints.txt
in neutron-vpnaas-dashboard 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: I44a0110105400b4734ef0d8fe724169bf80b2273
2020-04-01 18:22:13 +00:00
manchandavishal d409f50aaa 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: If78d9ce4206dae403f0cc03eb3c8601ba3bab752
2020-01-02 19:56:04 +00:00
Akihiro Motoki d26d936248 Remove use_mox usage
As of horizon 14.0.0.0b2 or later the use_mox directive is unecessary
because use_mox defaults to False, so we can remove it.

Change-Id: If7109c998b791bca0c3a19e0ff7a65a086d510f4
2019-01-13 03:41:01 +09:00
Akihiro Motoki f0c89106fd Bump horizon lower-constraints
Change-Id: I2476c965605dc50373e5d17d6743dd4edf6f6bef
2018-12-17 05:57:10 +09:00
Akihiro Motoki eebb9946b1 Switch test runner to django default runner
nose is not actively maintained now and Django default test runner
seems to have enough features.

Also drops unnecessary python dependencies so that
the maintenance of requirements files easily.
There is no need to install Django explicitly as it is a horizon dependency.
testscenarios, testrepository, testtools are not used actually.

Depends-On: https://review.openstack.org/#/c/544296/
Change-Id: Ic360c181d1f3278957007fc7188560893cc5ed03
2018-06-11 08:37:50 +09:00
Akihiro Motoki f9f43f1a8f Follow the new PTI for document build
The detail is described in the following links:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Our documentation build actually does not depends on Django
as we don't create source code reference.
It is a good chance to drop Django dependencies from the doc build.

Change-Id: I7323187a40dbd41848cee983a90dfcf29d74a77d
2018-05-08 07:19:13 +09:00
Doug Hellmann 80b5dd2959 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.

--
neutron-vpnaas-dashboard specific:
horizon needs to install horizon master via tox-siblings,
so horizon needs to be specified as required-projects.

Change-Id: I1fc69c9809d408fdf1fb825bef58189d72fda716
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Signed-off-by: Akihiro Motoki <amotoki@gmail.com>
2018-03-27 17:34:11 +09:00