Commit Graph

34 Commits

Author SHA1 Message Date
Pierre Riteau 7054448382 Sync requirements and lower-constraints with nova
Change-Id: I197b1310c7629ed1f54a5379d7115300a1070f22
2022-03-03 14:00:12 +01:00
Vu Cong Tuan 965f178756 Switch to stestr
According to an Openstack summit session [1], stestr is a maintained
project to which all Openstack projects should migrate. Let's switch to
stestr as other projects have already moved to it.

[1] https://etherpad.opendev.org/p/YVR-python-pti

Change-Id: Ie2169026d93ca85337db429c171ff1f82c2fa0d5
2021-08-16 14:10:45 +00:00
Pierre Riteau 28cca8413c Sync requirements and lower-constraints with nova
Also remove nose from test requirements (unused).

Change-Id: Ibd4ea9511e098000c36b6aa5ecf696b86d5e5a77
2021-03-11 13:33:51 +01:00
Hervé Beraud ae65a5ce2c Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removed specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug however it doesn't
produce any doc or releasenotes, but uniformization can't hurt and help
us in the future.

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: Idec7e542c286e3d9746e58286ffd4ef6561db47b
2021-01-05 22:04:27 +01:00
Pierre Riteau 6434f21c68 Fix lower-constraints job
* Require hacking 4.0.0+ to fix issues with pyflakes dependencies
* Add install_command for the lower-constraints env which uses
  lower-constraints.txt instead of the upper constraints file.
* Update lower constraints and requirements to match nova

Change-Id: Icba57c52c613611311e8ef1838cd94b062b4705b
2021-01-05 21:35:24 +01:00
Pierre Riteau d399fe717b Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Remove hacking and friends from lower-constraints, they are not needed
to be installed at run-time.

Change-Id: I347d6b24bb66bbe9ff11ab9eb3a59a730bcca539
2020-09-15 11:59:24 +02:00
Ghanshyam Mann 349e75a811 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:
- bug#1886296
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.

Story: #2007865
Task: #40178

Closes-Bug: #1886296
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html

Change-Id: Ic67e23f6b3760a6d2ca4a07dd84c9034d85d9b75
2020-07-09 15:13:28 -05:00
Pierre Riteau 7aac164964 Cleanup py27 support
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
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I051224a8a943bc0fe83cc507538d888aeff5af8d
2020-06-22 09:12:17 +02:00
Tetsuro Nakamura 9f030ebc27 Stop testing with py2
Python 2 is no longer supported. Python 3 is required.
This patch stops testing with Python 2 and issues the release note.

Change-Id: Ibed6cf480280dcdde19a8d47982b9e1fa6b96f85
2019-12-06 04:15:35 +00:00
Pierre Riteau 4a8f8927b4 Update sphinx requirements
Following recent changes to global requirements [1], we need
to update sphinx requirements locally. This should fix the
requirements-check job.

[1] If558f184c959e4b63b56dec3ca1571d1034cfe5c

Change-Id: I07b3411044c88c3bf51db2515208902a6857817b
2019-06-07 15:04:21 +01:00
OpenStack Proposal Bot a340bf1b95 Updated from global requirements
Change-Id: Ib8f7f6c83a7543bfae1f94fc57193e28ee8329ba
2018-03-15 06:47:14 +00:00
OpenStack Proposal Bot 6887b8ccd9 Updated from global requirements
Change-Id: I3d76d5ce2ac93ae39a8b247512fb7c20b7cbe654
2018-01-17 20:28:39 +00:00
Zuul a7ee4a8f65 Merge "Updated from global requirements" 2018-01-16 09:30:32 +00:00
OpenStack Proposal Bot fda742a208 Updated from global requirements
Change-Id: Iaaad83351e46285b638b0873e3de0080b6ef27d0
2018-01-16 04:02:53 +00:00
Sean McGinnis f1fd56b9da Remove mox from requirements
Mox was listed in test-requirements, but it is not actually
being used anywhere. Since we want to get rid of this
package in OpenStack, removing from requirements so it does
not look like it is being used.

Change-Id: Ic367c2e4c3dcba7059967394d60b6948f418310a
2018-01-09 16:57:28 -06:00
OpenStack Proposal Bot 32967f0461 Updated from global requirements
Change-Id: Ic3f4cff566c50a9aca7070f8b48167a8ba2e0ffb
2017-11-16 10:59:40 +00:00
OpenStack Proposal Bot d060aa52e6 Updated from global requirements
Change-Id: I685509d553030f91439f8e0c53e2a2cf30364658
2017-09-16 23:10:16 +00:00
OpenStack Proposal Bot 2fba261e1a Updated from global requirements
Change-Id: I2b4787064d30bd7f063b0bd98f7c09a2b4138881
2017-09-11 21:16:36 +00:00
Masahito Muroi b21653b8e1 Follow a change of test-requirements.txt from Nova
blazar-nova relies on the Nova test framework to test its features,
since BlazarFilter works as part of the Nova scheduler. A new package
dependency added to Nova broke the test job for blazar-nova.

This patch adds the wsgi-intercept package to test-requirements.txt
following its addition in the Nova test framework.

Change-Id: Ia8e852bf9612c386a398f7e5282999f7b6b894de
2017-08-10 14:23:23 +01:00
OpenStack Proposal Bot 9b7362b341 Updated from global requirements
Change-Id: I296b73c0125e52c8f598ffd5500e5846ed48fb5b
2017-06-27 12:08:18 +00:00
OpenStack Proposal Bot 50484cb489 Updated from global requirements
Change-Id: Ie3b23fa2d6bff971d0e62dee1511ade8fa97256a
2017-05-17 03:46:15 +00:00
OpenStack Proposal Bot abf6c0fabc Updated from global requirements
Change-Id: I3f3d855a9d1f4b00952edb75277d4904dd260915
2017-05-15 00:42:05 +00:00
OpenStack Proposal Bot 5b808ecb58 Updated from global requirements
Change-Id: I2cff3afda0205bd1eaee78b2f2374df7b15befd1
2017-02-11 00:27:31 +00:00
Pierre Riteau dd08b76fc9 Remove nova tarball from test-requirements
Using test-requirements to get a specific version of nova for tests is
preventing DevStack from installing blazar-nova, because nova is already
added to upper-constraints.txt as "-e file:///opt/stack/nova#egg=nova".
DevStack shows the following error message:

    Could not satisfy constraints for 'nova': installation from path or url cannot be constrained to a version

Import tools/tox_install.sh from Neutron repos and adapt it to install
Nova in tox environments used for unit tests. Minimal modifications were
made to this script in order to easily track changes from Neutron repos.

tox.ini is modified to use this script instead of pip. For pep8 checks,
we exclude the .tmp directory where nova is cloned in gate jobs,
otherwise the nova source is checked as well and triggers failures.

See [1] and [2] for more details about the issue fixed by this commit.

[1] https://bugs.launchpad.net/devstack/+bug/1540328/comments/13
[2] https://review.openstack.org/#/c/405630/1

Closes-Bug: #1641577
Change-Id: I542461e609866b21f597b0c4a2954807c5b8f8b7
2017-01-23 10:23:01 +00:00
Tony Breeds 9b1d1579c9 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported.

Change-Id: I2ad4f9e3ce5910a24d73dbb1121f53931f81f8b5
2017-01-16 13:10:32 +09:00
Tony Breeds 6b2774ad2d Manual sync with global-requirements
Change-Id: I83bb05325bfc5b85d8c38d5936db37bbc62ad9d3
2017-01-16 02:48:17 +00:00
Ildiko Vancsa cde2b3bbdf Fix oslo import issues
Change-Id: Ib21c85380795826656fd1c1fe3a3f959e32fab07
2015-09-29 21:38:01 +02:00
James E. Blair 96498a5343 Remove docutils pin
This was added to work around bug 1091333.  A new sphinx has been
released and so this is no longer necessary.

Add PYTHONHASHSEED to tox.ini so that testsuite passes.

Change-Id: I6ea61a3cc441dd1ca2ced7e2fd837a55b917f76d
2014-08-26 06:51:31 +02:00
OpenStack Proposal Bot 079c9f251a Updated from global requirements
Change-Id: Ic04913d69efc27750bae323dcd2b848ed9ee3c14
2014-06-18 00:48:28 +00:00
OpenStack Proposal Bot 399a1e8b78 Updated from global requirements
Change-Id: I43ebb5c913f5937fc2bc219d15c7380e269b59a5
2014-05-28 21:01:21 +00:00
Diego Pamio 720413876e Fixed Coverage Test Automation in climate-nova
Added coverage plugin requirement for test and the required
env variable to make tox -e cover work.

Change-Id: Ifac7597ce342257ec8630a2ee27361e3ee085db1
Closes-Bug: #1290498
2014-03-18 23:45:21 -07:00
OpenStack Jenkins ed2573a8aa Updated from global requirements
Change-Id: I1fd1942d417aadc00fbfa3c7bc6286c421aa38de
2014-02-23 09:33:21 +00:00
Dina Belova 7a6bca02c3 Reservation extensions to Nova API
* ReservationController: sends lease creation request to Climate
  if instance should be reserved.
* DefaultReservationController: adds hints to server creation request
  if every VM should be reserved for some amount of time.

Implements: blueprint nova-api-extensions

Change-Id: I4aee23c5d8c76ee6f1cb0fee1bc54e784a83345d
2014-02-03 13:15:29 +04:00
Swann Croiset bf05bc1876 Bootstrap climate-nova with nova filter 2013-11-26 16:25:34 +01:00