Commit Graph

21 Commits

Author SHA1 Message Date
Ghanshyam Mann 41fb4259d8 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#proposal

Change-Id: I807879cb17f1b5a97d75a5224dd339a0106aaeab
2022-04-30 20:29:15 -05:00
Jens Harbott a0d2c15ccd Fix Mako in lower-constraints
The lc job is currently broken, bump Mako to the same version that
Octavia and Designate are using.

Change-Id: I95bd41a2d0e11cb124d4e586303c57e744b172b0
2021-09-23 19:08:03 +02:00
Nate Johnston aecd71049a Bump SQL Alchemy version to catch ambiguous join fix
Complete the fix for the attached bug by bumping the version of
SQLAlchemy to 1.3.3 or better, which will include the fix for
ambiguous joins [1].  This is lower than the global upper
constraints of 1.3.17 so it should be valid.

[1] https://github.com/sqlalchemy/sqlalchemy/issues/4584

Change-Id: Idf59268acd10d840be31850a1c79ee693dd69204
Closes-Bug: #1898634
2020-12-22 15:29:58 +01:00
Jens Harbott 878e89607d Fix lower constraints
The new pip resolver has uncovered some inconsistencies in our
lower-constraints.txt, this fixes them.

Change-Id: I75abab25c924b070ee08b8c3590db5e62b4da38d
2020-12-15 18:33:38 +01:00
Ghanshyam Mann 4b662c97be Fix l-c and pep8 testing for 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:
- Bump hacking to 3.2.0 in order to work with focal
- Bump the lower constraints for required deps which added python3.8 support
in their later version.

Story: #2007865
Task: #40199

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

Change-Id: Iea345d40b0fbe3bee2f59164df32578acf82312e
2020-09-10 08:42:40 +00:00
Zuul a728d2271d Merge "Switch to newer openstackdocstheme and reno versions" 2020-06-08 13:57:07 +00:00
zhanghao f8f9463cf7 Remove usage of six
With python3.x, classes can use 'metaclass=' instead of
'six.add_metaclass', 'six.integer_type' can be replaced
by 'int', 'six.string_type' and 'six.text_type' are just
'str'.

Change-Id: I40a020aa4a8e69a8dd7e800352dc54a9e694d500
2020-05-27 06:58:27 -04:00
Andreas Jaeger 8f8a4ea4ec Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 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.

Disable openstackdocs_auto_name to use 'project' variable 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.

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.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I9f2636a01516ae757b17d47081c890f855c3eb5d
2020-05-23 17:47:58 +02:00
Sean McGinnis 95cdf705a1
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ic767e59531bc2515cc1c20675792fe88300e3f30
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-13 07:02:49 -05:00
Akihiro Motoki b6d13bdce5 PDF documentation build
Note that toctree_only option [1] is set to True in latex_documents
in doc/source/conf.py to get a better document structure in
the generated PDF file.

The above solution also helps us avoid a filename conflict between
the generated PDF file name and a PDF file converted from an SVG image
of the project badge where both files would be neutron-dynamic-routing.pdf.

Change-Id: I809040e0a4def90451f9a80c02c6f811af330bc9
Story: 2006099
Task: 35128
2019-09-04 13:13:45 +00:00
Ryan Tidwell 9a049dc593
Bump neutron version dependency
This bumps the version of neutron to the first dev release of stein.

Change-Id: I21557ea838aeb19a3bac8f66bc60d0f541320ae4
2019-05-08 10:10:01 -05:00
Zuul ae77563762 Merge "Bump neutron-lib to 1.26.0" 2019-05-08 13:57:06 +00:00
OpenStack Proposal Bot ae63222106 Updated from global requirements
Change-Id: I0666cd7a038a5c319f0009f1d296970cd2624b16
2019-05-08 14:12:25 +09:00
Ryan Tidwell 8082c27335
Bump neutron-lib to 1.26.0
This change bumps neutron-lib to 1.26.0.

Change-Id: Id3ddadc141a9466bec7cf87f9ae651afa80ffcc0
2019-05-06 12:28:03 -05:00
Ryan Tidwell 34655a8e6e
Migrate neutron-dynamic-routing from Ryu to os-ken
This change causes neutron-dynamic-routing to stop consuming Ryu
in favor of os-ken. os-ken becomes the reference implementation
for BGP services and neutron-dynamic-routing no longer has a
dependency on Ryu.

Partially-Implements: blueprint ryu-framework-maintenace-transition
Change-Id: I4a68440809cad5de2d6d191f7211d68b542672e5
2018-12-18 14:03:13 -06:00
Ryan Tidwell a89b332f4b
neutron-lib version bump to 1.21.0
This bumps the required neutron-lib version to 1.21.0

Change-Id: I98510fd91cbbeedb115f2252ec692622924c4b35
2018-12-11 13:52:27 -06:00
Boden R 8170e51adb use neutron-lib for _model_query
The model_query module is in neutron-lib and the CommonDBMixin will
eventually be removed. This patch swiches use of the _model_query
method over to query_with_hooks from neutron-lib.

This patch also bumps the neutron-lib version up to 1.20.0

Change-Id: I3f2711239772a41ccb6a0d7eb19f11326f125e86
2018-12-03 13:30:21 -07:00
Boden R ac63f126c6 update requirements for neutron-lib 1.18.0
Neutron-lib 1.18.0 is our Rocky RC and is already being used by neutron
[1]. This patch updates the neutron-lib required version to match
neutron [1] in prep for the Rocky release.

[1] https://review.openstack.org/#/c/583671/

To work with neutron-lib 1.18.0, we need Rocky version of neutron,
so the minimum version of neutron is bumped to 13.0.0.0b2 (Rocky-2).

We also need to bump the minimum version of SQLAlchemy. Rocky neutron
depends on pending_to_persistent ORM event in SQLAlchemy which was added
in SQLAlchemy 1.1. Rocky neutron now requires SqlAlchemy>=1.2.0,
so the min version of SQLAlchemy is bumped to 1.2.0.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ifa33d7bc000ebbcf5e0f130fe0e0e34207f3361c
2018-07-24 07:51:16 +09:00
Slawek Kaplonski 93a8b15840 Switch to stestr
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.

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

Change-Id: I9fd237292f7da50e60da398b1649001bf1829c66
2018-06-07 13:18:53 +02:00
Gary Kotton 04bcb0853c Fix requirements
1. remove unused requirement: mock-requests. This is due to the fact
   that is is unused.
2. Update sphinx
3. Uncap evenlet: uncap eventlet. We will manage the eventlet
   version using constraints now. See the thread starting at
   http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
   for more details.
4. Update RYU to be 4.24 to sort out issues with pip 10

Co-Authored-By: Doug Hellmann <doug@doughellmann.com>

Change-Id: I855f88ca09a735054c3582f16d8eff977dc53ce1
2018-04-16 07:34:35 +00:00
Doug Hellmann b989411bad 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.

Change-Id: I4d6fc19a8f7983ddb5c02f03cc6bc59fe4fa5b1a
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 16:28:51 -04:00