Commit Graph

10 Commits

Author SHA1 Message Date
Pierre Riteau fa1a31a448 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

Change-Id: Ib425c4791477803224460b536fe88c506e36d623
2023-09-14 18:49:00 +02:00
manchandavishal 99d7832230 Fix lower-constraints job
This patch bumps PyYAML version to 3.13 to fix the lower-constraints
job.

Change-Id: Ibf10dcc2a4551762d68ed47f3ec6cf8635225a15
2021-02-16 14:43:37 +01:00
Hervé Beraud 1bc2c223b1 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: I310cb8deafdd85498d3f425257506e11332c298c
2020-06-08 22:24:24 +02:00
Andreas Jaeger 26fda6b697 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
- 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
2020-04-16 15:23:47 +02:00
manchandavishal da3ecf43eb Fix pyScss version in lower-constraints.txt
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
2020-04-16 15:21:18 +02:00
Tetsuro Nakamura ab1da46b99 Add pytest requirement
Fix py36 and py37 tests, they are failing since pytest is not installed.

Change-Id: I03a384b5dd0e8cf977d08237472fa1a6e15452d3
2020-04-16 02:52:01 +00:00
Andreas Jaeger d4136cf024 Remove six usage
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
2020-01-16 10:22:08 +00:00
manchandavishal 6e4429a7e3 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 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/
2020-01-06 14:11:19 +00:00
Akihiro Motoki aef0a30ba9 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.

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
2018-08-17 01:08:24 +09:00
Doug Hellmann 13d2964e2d 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.

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>
2018-04-26 02:59:34 +00:00