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
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
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
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
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
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
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
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>
... 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>
Install horizon from git in Openstack CI.
Update the tox.ini for this.
Change-Id: I5e6cedf27f06692f7a6c7b75e21b7cff22e061f0
Signed-off-by: Charles Short <zulcss@gmail.com>
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
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
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