Commit Graph

15 Commits

Author SHA1 Message Date
Ghanshyam Mann 6ed93f8448 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: I9da248ee774c038c99bf452898ac8658aa337aad
2024-02-24 11:41:53 -08:00
wangzihao 933aaf80b1 Bump hacking min version to 3.0.1
hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new
version with new checks.

bumping the min version for hacking so that any older hacking versions
which auto adopt the new checks are not used.

Change-Id: I8d00d1e6617e556511430b8ed546a525e7e22d37
2020-09-18 10:07:18 +08:00
Andreas Jaeger e662da0d57 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.

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: I13e5de067ad381d058060bc5e297a0360804e119
2020-06-03 20:27:18 +02:00
Andreas Jaeger 4363f45062 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
- Cleanup releasenotes/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine
- Update to hacking 3.0 for Sphinx 3 support, fix problems found

Change-Id: Id7cab423584af9280da54f12a29daa1f60a3ca35
2020-04-17 16:47:33 +02:00
Sean McGinnis 3b3bd43def
Use unittest.mock instead of third part 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: I7590895d9812f61fcf57c956a26f27d0d567613e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-13 11:51:49 -05:00
Andreas Jaeger 8465e5c9cb Update docs testing
Use doc/requirements for documentation requirements, this avoids pulling
in sphinx into the python environments and thus solves the problem that triggered
https://review.opendev.org/658224 as well.

Note that both changes are needed in general, while the problem is solved
with either.

Switch to openstackdocstheme instead of oslosphinx, update sphinx
requirements for this and sync with global requirements.

Change-Id: I360c185af8740a71ebc0f5f49debd5b6032161ec
2019-05-24 11:49:57 +02:00
ZhijunWei 1204fc5239 Update hacking version to latest
Change-Id: I9ac95b6d6d6c0fbd6417575a6c44309e857c1b25
2019-01-05 00:42:57 +08:00
Vu Cong Tuan 2c1f24270a Switch to stestr
According to Openstack summit session [1],
stestr is 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.openstack.org/p/YVR-python-pti

Change-Id: I49de3c0afde9bf3be15b02017031f44bbefcb1e7
2018-07-17 08:29:14 +07:00
Charles Short 68e5bfdbf5 Remove mox usage
Introduce ''stub_out'' method to base test class

We would like to fully remove mox from the test tree.
Even for tests that don't use mox's validation, many of
them are using the symbol patching with self.stubs.Set. We can
do the same thing with the monkeypatch fixture instead.

This introduces self.stub_out to os_net_config/tests/base.py
and modifies the self.stubs.Set usage to self.stub_out.

We also remove the mox dependency.

Change-Id: Ib2fba5ecbbca5526bce2a4405704efb69ab7b5f0
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-03-08 14:58:32 -05:00
Ian Wienand 0b7f528b96 Add releasenotes configuration
Add releasenotes build config for job

Change-Id: Ibcfd80fd2bdd8e576ab20630401fcc5c0a471b9f
2018-01-29 16:32:01 +11:00
Ben Nemec 8d8f96ac1a Updated from global requirements
It appears os-net-config is not in the sync list for g-r.  We should
add it, but in the meantime this will get us up to date.

Change-Id: I828a394ce72824eaabe904b563f73734a88c21f8
2017-03-31 17:45:11 +00:00
Swapnil Kulkarni (coolsvap) 07c4a0b00a Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: Ic14fdc7c95ef5c270b13e73bbd57007eb1d258e8
2016-07-22 06:44:12 +00:00
Dan Prince 876107d89f Bump hacking in test-requirements.txt
Bumps the version of hacking to match that in global-requirements.txt.

Change-Id: I7bb98dc773ce821b025d534f537f1a1704a50f9e
Closes-bug: #1566463
2016-04-06 12:41:49 -04:00
Dan Prince 846e00d007 Add interface, address, and route objects
Add some initial objects for interfaces, routes and addresses.
2014-06-09 10:42:19 -04:00
Dan Prince 8d3dc89842 Initial commit
Initial commit of the project layout
2014-06-06 12:27:50 -04:00