Commit Graph

18 Commits

Author SHA1 Message Date
Ghanshyam Mann 08a5e392f1 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: Iac61d4d5c990fbcc3535f9e4d5eab765a3d88aee
2022-04-30 15:58:23 -05:00
Nicolas Bock 9cc36c1ecc Fix lower-constrains job
Applied the same fix as was done for designate.

Change-Id: I6bd42b175e74c9015db803eaaff09d908fae6a10
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2021-03-03 16:38:55 +00:00
Zuul fbe73da59a Merge "Fix hacking min version to 3.0.1" 2020-10-05 12:41:56 +00:00
manchandavishal 7b1adbd7be [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:
Closes-Bug: #1886298
Bump the lower constraints for required deps which added python3.8
support in their later version.

This patch update python version to py38 in package.json and
karma.conf.js as py36 is not available on focal. It also adds
libfontconfig1 in bindep.txt as phantomjs requires libfontconfig[2].

Story: #2007865
Task: #40182

Depends-On: https://review.opendev.org/#/c/744647/

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal
[2] https://www.npmjs.com/package/phantomjs-prebuilt#linux-note

Change-Id: I6d2689cfbe019a5c6ee22ff3f3666981502f2ce4
2020-09-11 11:12:19 +00:00
manchandavishal 987cc594f6 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.

This paatch also update minimum tox version in tox.ini file.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Ia995caec9c4a0217be523c3179bfee85c1b6f7f8
2020-08-04 13:52:22 +00:00
Hervé Beraud 311ae36d6c 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: Iff823437b09ca2905b52271acce63d849f62bc89
2020-06-09 00:07:48 +02:00
Andreas Jaeger db12a8954e Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 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.

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.

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.

Change-Id: If38c88e27f6991c816a272e423ed25b19393815f
2020-05-20 08:16:57 +02:00
Andreas Jaeger 7bace2a2cd Cleanup py27 support
This repo is now testing only with Python 3, so let's 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
- Update classifiers
- Update requirements, no need for python_version anymore
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove Babel from requirements, it's not needed for running.
- Update hacking to 3.0, fix problems found

Change-Id: I9eb22328474f52c2e225ae2a24c895c0e2bb63d7
2020-04-17 18:33:17 +02:00
manchandavishal dd87900ed9 Fix pyScss version in lower-constraints.txt
Horizon requires  pyScss>=1.3.7 [1] but lower-constraints.txt
in designate-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: Icc3fb2c1f24ff8f5e2f9b239694cfb895ddbb5c0
2020-04-01 18:22:06 +00:00
manchandavishal 4609ad1b51 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: I68ab10b4ac0e09b7d850e7c8f855a7e95c22d141
2020-01-01 20:27:59 +00:00
Erik Olof Gunnar Andersson 2d564de586 Set lower-requirements to use stable horizon
Change-Id: If922249d0e4d5d5853e180e712e30ec06aa8095f
2019-01-14 16:08:30 -08:00
Akihiro Motoki 437f9c920c 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.

Change-Id: Iee1ed1d7207bc430ff99179e1af45d9719eef367
2018-08-17 01:21:10 +09:00
Chuck Short 78119f9800 Drop mox - no longer needed
The porting of designate-dashboard is complete.
This fullfills the community goal
"Remove Use of mox/mox3 for Testing" set for Rocky:
https://governance.openstack.org/tc/goals/rocky/mox_removal.html

Raise the requirement to the Rocky #2 release of horizon,
which drops the mox usgae by default (it should be explicitly
enabled) Without a forced import from Horizon the mox dependencies
can be dropped here.
Bump also a dependency needed by this new version of Horizon.

Change-Id: I2ceaf8bae9b20829ec4855cf79635aa805be1984
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-07-19 11:03:06 -04:00
ZhijunWei d4ce27882f Drop python-cinderclient usage
We've switched everything to python-openstackclient and therefore
the usage of python-cinderclient is no longer necessary.

Change-Id: I936228b67c3ae06d868630ec9e06515d78387bc6
2018-06-27 08:58:10 -04:00
Charles Short 47e9606eba 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.

Change-Id: I9af29e743d81e8cccdb797e8b406e94c3ede2b63
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-05-12 10:27:46 -04:00
Ivan Kolodyazhny b7d70684e2 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: Idb5104c500c9c7cb39d4360439981298ae6333e1
2018-04-19 13:02:19 +00:00
Jens Harbott 7c21976f96 Fix lower-constraints.txt
This is the result of running

requirements/tools/fix-lower-constraints.py

and should fix the currently failing requirements-check.

Change-Id: I98540a4cc64d5cf3aa310eba5da4826489475108
2018-04-19 10:47:41 +00:00
Doug Hellmann 8daa5ac7ea 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: Iaceac55505b73a8153f13937598805dd8469fcec
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 11:12:31 -04:00