Commit Graph

46 Commits

Author SHA1 Message Date
elajkat d7a66c491e Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver for the release team.
Removed specific doc requirements from test-requirements.txt

Change-Id: I2d3a6e6bb0db372565458ea5eed4d84efdef37d2
2021-01-05 11:38:27 +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
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
Andreas Jaeger 3b546a362b 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
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: Ic5d22bbc3d1ece72a7611e023d54d456f6f1a211
2020-04-05 10:12:02 +02:00
Bernard Cafarelli 777fb1638e
Drop python 2 support and testing
This is part of Ussuri goal tracked for Neutron stadium at:
https://etherpad.openstack.org/p/neutron-train-zuulv3-py27drop

Change-Id: I325e26fb190890d29fba015c5105b9488d71367c
2019-12-17 15:08:25 +01: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
OpenStack Proposal Bot ae63222106 Updated from global requirements
Change-Id: I0666cd7a038a5c319f0009f1d296970cd2624b16
2019-05-08 14:12:25 +09:00
zhulingjie bb7a0fb1cb Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: Iaeebe7f3f76339f0c34c9e0f4db838ec192dbd83
2019-04-29 13:50:34 +08: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
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
OpenStack Proposal Bot 8822789858 Updated from global requirements
Change-Id: If1e15bc92c0d638d0ea7769ecfb0c3bdb28f1e0c
2018-03-23 01:21:20 +00:00
OpenStack Proposal Bot 6aeddaa072 Updated from global requirements
Change-Id: Ib2b6bdbba4d47693d20f2a3539f421cb5b6b2a38
2018-03-10 13:27:36 +00:00
OpenStack Proposal Bot 4115b4972d Updated from global requirements
Change-Id: Ide07fbcae46741be6f6bf76f79beb1339ebdc1d4
2018-01-27 20:09:17 +00:00
OpenStack Proposal Bot a9ac3cc080 Updated from global requirements
Change-Id: Ib4655c7cfd3caada9cee997e853a2074212ea0ed
2018-01-18 03:09:00 +00:00
OpenStack Proposal Bot 0420ae03ec Updated from global requirements
Change-Id: I46a3bfb035a3168b64813a034ba85058c71e04e6
2017-11-16 11:14:03 +00:00
OpenStack Proposal Bot 39bcf9e2a0 Updated from global requirements
Change-Id: I288dd0a39f87a2abf0db54a245fa50f3d08b6076
2017-09-22 12:55:25 +00:00
Brian Haley d13fdaef43 Fix unit tests and test configuration
A recent change in the neutron repository changed the
import statements for external_process, fixing fallout.

Fix post gate hook to accommodate for new os-testr.
New versions now use .stestr instead of previous .testrepository
directory.

Related-bug: #1716746
Change-Id: Iba7579f8de63c6ce87d95167918fc46979702a35
2017-09-13 14:08:41 -06:00
OpenStack Proposal Bot fb06d1d91f Updated from global requirements
Change-Id: If06dd1aea3007975b89888a64e692976609e728f
2017-08-24 05:53:48 +00:00
OpenStack Proposal Bot 931a8d78b5 Updated from global requirements
Change-Id: I8efdcd6f3920f73c11ce5a77a7da1b105af854f7
2017-07-28 12:53:04 +00:00
OpenStack Proposal Bot d8c2c9e562 Updated from global requirements
Change-Id: I451645778b39bc2ff3aeb51489caef5c273fe9ce
2017-07-19 18:37:43 +00:00
Jenkins 928b053c00 Merge "Use "docker network" in scenario test" 2017-07-11 22:33:29 +00:00
Jenkins 56d25dcd35 Merge "Use flake8-import-order plugin" 2017-07-10 18:13:53 +00:00
fumihiko kakuma 6bd61b89b8 Use "docker network" in scenario test
We can use "docker network" on xenial and later.
Currently scenario test uses pipework but it is better to use function
in docker.

Change-Id: I91061e0a2511089730a6b0bc2b3d02bb3dd991a2
2017-07-10 07:43:44 +00:00
Gary Kotton 6a4916e313 Use flake8-import-order plugin
Automate the process

Change-Id: Ic2ff59ed8b5e4677117a5fca5ab32c26b2401724
2017-07-07 07:06:10 +00:00
Akihiro Motoki 70c3da917b switch from oslosphinx to openstackdocstheme
Change-Id: Iae3df0dd597cc75f19a2ce792ee0807d858e883e
2017-07-05 06:17:59 +09:00
OpenStack Proposal Bot 9e8f993ca5 Updated from global requirements
Change-Id: Ifc0e7b9f684669de45831bfe4e7e65887ae380bf
2017-06-27 12:14:49 +00:00
OpenStack Proposal Bot 97742c73b6 Updated from global requirements
Change-Id: I93f3a83ef1de38ff3c2b06f8de99269e3ad5449b
2017-06-03 13:08:20 +00:00
OpenStack Proposal Bot e757b7bd7f Updated from global requirements
Change-Id: I84f635c71d0d6e02acd50910bb8bcac6874c860e
2017-05-23 11:53:51 +00:00
OpenStack Proposal Bot 5e57450bf0 Updated from global requirements
Change-Id: Ifd880f0e480961bee487aea3a2a51ae2427f9963
2017-05-15 12:11:55 +00:00
OpenStack Proposal Bot 4d83ae1f37 Updated from global requirements
Change-Id: I7ee51572440542887abb3ab1da4d5e3e63117ad6
2017-04-05 21:05:33 +00:00
OpenStack Proposal Bot 1189b37bd9 Updated from global requirements
Change-Id: I182334af62516839c28e8a26513576c3d1b87228
2017-02-10 05:52:55 +00:00
OpenStack Proposal Bot e73b5d3527 Updated from global requirements
Change-Id: Ie59a702c1ce7270aac18fee531963ef5a6b75d6e
2016-11-04 05:57:57 +00:00
Jenkins e383b7d635 Merge "Add bits to run neutron-lib periodic test successfully" 2016-11-03 01:09:52 +00:00
Armando Migliaccio ec235b038f Add bits to run neutron-lib periodic test successfully
Change-Id: Ie1b565c516e5c1bb9e4c6108b9a57f6912d5a81e
2016-11-02 14:41:28 -07:00
OpenStack Proposal Bot 08bb306e64 Updated from global requirements
Change-Id: I726044d498370acca857b37e3a9985e8ea1ddf73
2016-11-02 15:34:57 +00:00
OpenStack Proposal Bot 3ec9cad79d Updated from global requirements
Change-Id: Ibb1d12e9ad9059441557deb8f0ca533ca7d403bc
2016-10-22 01:22:12 +00:00
OpenStack Proposal Bot e7e66e5484 Updated from global requirements
Change-Id: I182c165c4e65f11c300f98e38925f9c94570ce06
2016-10-12 22:49:12 +00:00
OpenStack Proposal Bot 1ecb20473b Updated from global requirements
Change-Id: I686b39c272b6bacbe9bf38c503361869799dea27
2016-09-28 16:55:46 +00:00
Ryan Tidwell a636af4e30 Clean up API tests for neutron-dynamic-routing
This patch adds the devstack plugin for neutron-dynamic-routing,
allowing the API tests here to be run in check jobs and under the
tempest framework. It also cleans up the API tests so they execute
properly after being spun out of the main repository.

Change-Id: I0ed82282037fa6c571dd73c8d9900d8e5d0c93c7
Implements: blueprint bgp-spinout
2016-07-15 14:45:47 -07:00
OpenStack Proposal Bot 9215057be0 Updated from global requirements
Change-Id: Ie05c2798098941ae2955258e2cfff2226f2b5c57
2016-07-12 16:38:13 +00:00
Ryan Tidwell d706bb0bfc Fix test-requirements.txt to pull correct version of hacking
The commit e0c212222286a9e07613de7f09d227fae40c43b8 in the neutron
repository requires neutron-dynamic-routing to bump the version of
hacking in test-requirements.txt to fix failing pep8 jobs.

Change-Id: I4989d1bd6ffb13eda6608624df39ed6df189eec4
Closes-Bug: #1588502
2016-06-02 11:48:57 -07:00
vikram.choudhary 4ba80f3f1c Prepare initial sandbox for neutron-dynamic-routing
This patch-set prepares the basic code structure with all
the tools required for running static and unit tests.

Note: All the imported code from the seed repo is being removed
      temporarily and will be added after the required re-factoring
      needed as per the new repo in the subsequent patch-sets.

Co-Authored-By: Ryan Tidwell <ryan.tidwell@hpe.com>
Implements: blueprint bgp-spinout
Partial-Bug: #1560003

Change-Id: I9bff3d916279c4f335b309e7a2c2e943ac6f6cde
2016-04-23 04:11:57 +00:00