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: I310cb8deafdd85498d3f425257506e11332c298c
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
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Update hacking to version 3.0; remove hacking and friends
from requirements, they are not needed; fix warnings found
- Use unittest.mock
Change-Id: I379c086a15477da4b0223fddd48035c829992c88
Horizon requires pyScss>=1.3.7 [1] but lower-constraints.txt in
blazar-dashboard uses pyScss 1.3.4 which can cause a failure in future.
So this patch updates the pyScss version in lower-constraints.txt to
sync with the change.
[1] https://review.opendev.org/#/c/715241/
Change-Id: I2e1e85d525983bf94dc8eb2748b600e4c9af3ce3
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.
Change-Id: I48967b4e792dccade818389bf43707cde2e15c2b
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 information,
please refer to [1]. This patch also removes py36 from tox.ini.
[1] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin
Change-Id: I9d0784d1a5b5c48414bb08600cae69002433c30b
Depends-On: https://review.opendev.org/#/c/700733/
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.
Babel is dropped from the same reason.
Change-Id: I796942c59d9c8031a0c67261eecd3498d9ef8af8
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.
python-blazarclient 1.0.0 is not available on PyPI,
so the minimum version is bumped to 1.0.1.
Change-Id: Icbecf09ff90d7b5e563df27fe1d8db2438ac6c4a
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>