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
The new pip resolver has uncovered some inconsistencies in our
lower-constraints.txt, this fixes them.
Change-Id: I75abab25c924b070ee08b8c3590db5e62b4da38d
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
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
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>
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
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
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
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
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
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
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
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
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
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