Commit Graph

81 Commits

Author SHA1 Message Date
Zuul eabc61a0ba Merge "remove reference to old unittest2" 2024-02-20 06:26:42 +00:00
Takashi Kajinami 6ee6f732ad Bump hacking
hacking 3.0.x is too old.

Change-Id: I5bcfb7faa12f12c340102bda81b0508b37b1711f
2024-01-25 12:39:34 +09:00
Alexandre Detiste 2a7f301f72 remove reference to old unittest2
Change-Id: If97d79d2746dc6ccc5eb0e42102d912e93392259
2024-01-18 21:37:46 +01: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
Ghanshyam Mann 95dbf83346 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

designate-dashboard is ready with python 3 and ok to drop the
python 2.7 support.

Also changing tox path to py3 to fix gate.
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

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

Co-Authored-By: Vishal Manchanda <manchandavishal143@gmail.com>
Change-Id: Id734dd4772ee4476ae1cfa8fb3c3e4b81109a113
2019-11-22 17:05:22 +00:00
ljhuang 9fecedf4df 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. Remove unncessary "=="

Change-Id: I943243704442ae78a0acf8985b1cebe993d97828
2019-07-16 05:13:25 +00:00
jacky06 985dea18d8 Update hacking version to latest
Change-Id: I2312d32b5378d324fa5ca21e57b6c9a5ada710e2
2019-02-18 14:04:51 +00: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
Akihiro Motoki 06922a06e2 Cleanup unnecessary entries in test-requirements.txt
horizon and Django in test-requirements.txt are not required
because horizon is delcared in requirements.txt and Django will
be insstalled by horizon dependency.
Dropping them simplifies requirement maintenance.

Change-Id: I0f6c70200a81391a272f472b94d568c9b51554bf
2018-06-03 09:58:43 +09:00
Zuul e8fb9f75fb Merge "Drop mox3 from test-requirements.txt" 2018-06-03 00:56:05 +00:00
Charles Short 59a354e3bf Drop mox3 from test-requirements.txt
This is part of mox-removal community goal in Rocky.

Story: 2001546
Task: 6431

Change-Id: I1fe5690fcce5976fba24f37757641491a11990db
Depends-On: I9af29e743d81e8cccdb797e8b406e94c3ede2b63
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-05-13 14:00:32 -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
Charles Short 5055fd3d25 Fix horizon install for tox
Install horizon from git in Openstack CI.
Update the tox.ini for this.

Change-Id: I5e6cedf27f06692f7a6c7b75e21b7cff22e061f0
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-04-23 10:35:53 +00: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
OpenStack Proposal Bot 3c677ca8ea Updated from global requirements
Change-Id: I8b0cb386a910e1604b037909575072fee846eea4
2018-03-26 11:55:13 +00:00
OpenStack Proposal Bot 7378a3647d Updated from global requirements
Change-Id: Ia14f732d4e91dd792f3457079f23ed3881150ecf
2018-03-15 06:51:22 +00:00
OpenStack Proposal Bot 0e9fb73777 Updated from global requirements
Change-Id: I3939a1587ec69489ad7d85fc0e3afeb13cd1c5c4
2018-03-14 05:26:08 +00:00
OpenStack Proposal Bot 9b03020077 Updated from global requirements
Change-Id: Ie0a5abdaba278cc2eabef14b14311f387434093d
2018-03-13 06:50:11 +00:00
OpenStack Proposal Bot 677a54e564 Updated from global requirements
Change-Id: Ia4f4765c3da9af2e889d0f46382fcb0bda68b4f5
2018-03-10 13:10:16 +00:00
Graham Hayes b5e84c226b
Remove commented code + unneeded mox
Change-Id: Iaf9022e4ed7939a5bc66afc8255a650aa1350b5e
2018-02-08 18:32:43 +00:00
OpenStack Proposal Bot f42275dc34 Updated from global requirements
Change-Id: Iadcfd080e8a98d1cfcc4e48322160773d9b57b8a
2018-01-24 00:51:35 +00:00
OpenStack Proposal Bot 54d8cde9e5 Updated from global requirements
Change-Id: I2f673bd57bff911e643f4b61819512bd7989c0da
2018-01-17 20:30:43 +00:00
OpenStack Proposal Bot f4c44f7664 Updated from global requirements
Change-Id: I9cd54c1db1f5177b51881a6a2501681254c5cba6
2017-11-29 08:53:23 +00:00
Zuul 6b2d74c5cb Merge "Updated from global requirements" 2017-11-27 17:21:02 +00:00
OpenStack Proposal Bot 529c097161 Updated from global requirements
Change-Id: Id53ec92fd899dd0c06251716420bac620f47000f
2017-11-16 11:01:24 +00:00
Akihiro Motoki 25a797f815 Drop django_openstack_auth from requirements.txt
django_openstack_auth has been merged into horizon tree
as an effort of blueprint merge-openstack-auth.
There is no need to depend on django_openstack_auth any more.

Change-Id: Idc7ce5451ce5eb42ff53fc7d84066a7b10fd9f16
2017-11-16 06:46:21 +00:00
OpenStack Proposal Bot d948bd6977 Updated from global requirements
Change-Id: I633760d2e0170b47ca90ec74e63657539f2be9fe
2017-09-20 01:05:49 +00:00
OpenStack Proposal Bot 2a96ade71e Updated from global requirements
Change-Id: Ic6f15d6a1570b9f9cdcdaa4bc82076970413a2b8
2017-09-13 12:49:27 +00:00
OpenStack Proposal Bot 8a5db29dd2 Updated from global requirements
Change-Id: Icfbe60be01d0fb4f89b8683f6ee242d64397437e
2017-09-11 21:35:37 +00:00
OpenStack Proposal Bot 4d114aef22 Updated from global requirements
Change-Id: Icd1acf6fba4ee16d048c388654bb0a7c581443ad
2017-08-23 12:09:31 +00:00
OpenStack Proposal Bot 8169c4b876 Updated from global requirements
Change-Id: Ie862b401ccd81b81731f3adbc805dabdc01c7864
2017-07-28 00:03:43 +00:00
Jenkins 19b1f1c421 Merge "switch from oslosphinx to openstackdocstheme" 2017-07-08 07:38:04 +00:00
OpenStack Proposal Bot da97e33392 Updated from global requirements
Change-Id: I9130b87f4d13061054e009211c672da2b79de809
2017-07-08 00:44:56 +00:00
Doug Hellmann 05221ff437 switch from oslosphinx to openstackdocstheme
Change-Id: Ia5066e9f356caad378e4ddaffa49dcea44b60c70
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-28 17:48:52 -04:00
OpenStack Proposal Bot 4af4f5f7cf Updated from global requirements
Change-Id: I9542a32364dc54d448839827ffe30e1a5c9b62cc
2017-06-27 12:09:05 +00:00
OpenStack Proposal Bot 0be7050fea Updated from global requirements
Change-Id: I987568e72ad2dc42e060bc4e3294e98017623e94
2017-05-18 23:00:43 +00:00
OpenStack Proposal Bot bb779119c8 Updated from global requirements
Change-Id: Ia3ff653f81e8fd0e6f2c96a7806e94f895323981
2017-04-18 16:46:14 +00:00
OpenStack Proposal Bot 8113ea0add Updated from global requirements
Change-Id: I259ffcf2f54cd46ba34b0811f2655704996456eb
2017-03-08 22:44:11 +00:00
ricolin ce70a45eae [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: I5a3edd93326b4b926b99fa5f5aa60b4213267e01
2017-03-02 20:34:32 +08:00
OpenStack Proposal Bot de7f488887 Updated from global requirements
Change-Id: Ieb2abdbe0d8bd299daa94bfb8dde3d48a4b1dc40
2017-02-10 05:47:56 +00:00
OpenStack Proposal Bot 5d6095faab Updated from global requirements
Change-Id: I3779eb8472497062e1cca9e9fd583ab5b49437cd
2017-01-25 20:19:39 +00:00
OpenStack Proposal Bot 04e4a22841 Updated from global requirements
Change-Id: Ie72db9b94d097e2ec4d110288e012be8278701ed
2016-12-12 23:27:52 +00:00
Jenkins 017d9f7b27 Merge "Added release notes for Designate-dashboard" 2016-12-12 17:07:22 +00:00
shashi.kant d46095071b Added release notes for Designate-dashboard
Change-Id: I6a27785e25c738ea8a3a3730a8691bdf2eb724a7
Implements: blueprint maintain-releasenote
2016-12-12 15:14:58 +00:00
OpenStack Proposal Bot 0310887f45 Updated from global requirements
Change-Id: I06e7955e2e5c7912281a79cd1200b94cbd3871f2
2016-10-27 12:12:55 +00:00
OpenStack Proposal Bot 6edc942ff4 Updated from global requirements
Change-Id: If4b7537ec98bf95250aaad5ce265a5a45b75b05c
2016-09-28 16:52:07 +00:00
OpenStack Proposal Bot 39aa6e40bb Updated from global requirements
Change-Id: Id1745f9294fbd29c39bbef8e9dbfa8cd23fc14b8
2016-09-27 09:58:55 +00:00