Commit Graph

21 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
Karthik S 638c9cefd9 Adding Ethernet interface for nmstate provider
Adding support for Ethernet interface with nmstate provider

Co-authored-by: Dan Sneddon <dsneddon@redhat.com>
Co-authored-by: Viji Candappa <vcandapp@redhat.com>

Change-Id: Ia6f6c6e73bf52a741ccf8b354a203a2befb7cf3e
2023-03-17 11:08:43 +05:30
vcandappa 4ed6d471c4 Updates to tox and setup.cfg files
Using upper-constraints when creating tox environments is
currently having an issue. Updated old version for packages
like pbr, oslo.concurrency, oslo.utils.

Change-Id: Icd019e62a045cab05df82421298100a79c2a669f
2022-11-19 00:11:39 +05:30
Hervé Beraud f19c75cacd Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is deprecated and TOX_CONSTRAINTS_FILE is
the new environment variable name that replaces it [1].

This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
[2] https://review.opendev.org/#/c/722814/

Change-Id: I362ea7f5a3064892503b6e8e4d663f72ac23bea3
2020-11-04 11:08:43 +01:00
Hervé Beraud 00b3ae27f9 Add support for python 3.8
Introduce support of python 3.8 [1] and move tox and jobs to py38.

jsonschema 3.2.0 [2] support python 3.8

[1] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
[2] https://github.com/Julian/jsonschema/pull/627

Change-Id: I77dcb2e24a61e72b33b05b1bca36bc7cff6f8500
2020-05-26 14:26:03 +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
xuanyandong 0da4c6158a Stop testing python2.7
Train was the last release supporting python2. Let's rip the bandaid
off.

Change-Id: I5caf8d38f79dee0f80473b8f9b9c6664435aad88
2019-10-28 16:56:17 +08:00
Corey Bryant 6cb25b0bcf Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I3f1de388ff2c734625e5c442d6be198fd6686f4d
Story: #2005924
Task: #34253
2019-07-12 16:19:32 -04: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
Alex Schultz a0612328b3 Add upper constraints to tox
Sphinx has released a version that has dropped python2 support but this
is handled in upper-constraints if we were properly including it in the
tox.ini deps.

Change-Id: I3d0a91ccef9693fd46e19292f4bb21c1ec9a9a19
2019-05-10 08:27:57 +02:00
Vieri a5e9533d26 Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: Ie2263d924e9e4564a8d5c2c8e16499326ac08fdd
2018-11-02 06:57:19 +00:00
Vieri bba39d505f Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: I7ad68ff0d6601762f416f3e0b82377a5f436b9d6
2018-10-09 13:29:08 +00: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
huang.zhiping 247c9c5d72 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Ie92c0edd1acb65a9a73480223b8d70ceabed18a9
2018-06-09 19:10:28 +08:00
Frank A. Zdarsky bb3a4bfce8 Fix 'tox -e cover'
'tox -e cover' fails as --coverage-package-name option for 'testr' is
not recognized. A work-around proposed by Infra team (see
https://bugs.launchpad.net/neutron/+bug/1454772) is to replace 'testr'
with 'test'.

This patch implements this change and adds the cover/ directory to
.gitignore.

Change-Id: I659445ea479ea80a4f21d6ebca896abb4fb104f2
Closes-Bug: #1703177
2017-07-09 11:15:41 +02:00
Ben Nemec 1b83afb07d Fix coverage tox config
By default coverage looks for os-net-config, but since that's not
a valid python package name the actual package is called
os_net_config.  This change correctly specifies that.

Change-Id: I5949ad2380942440f74397c2d74c94bc6ef3c55d
2017-03-31 17:45:11 +00:00
Jenkins 7a65a0de1f Merge "H803 hacking have been deprecated" 2017-03-15 02:35:24 +00:00
xhzhf 4170e3fc56 H803 hacking have been deprecated
H803 hacking have been removed.
https://github.com/openstack-dev/hacking/blob/master/setup.cfg
Closes-Bug: #1650741

Change-Id: I915f80e1ef5a04f627fae9d60644b191e9e1cbed
2016-12-21 22:47:59 +08:00
Tony Xu cb020bd8b7 Drop py33 support and add py35
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL.
https://wiki.openstack.org/wiki/Python3

And already the infra team and the oslo team are dropping py33
support from their projects.

Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.

Change-Id: Ia11cf4c1e7ec2a2c90c4feb75f2530359087210f
2016-12-21 10:38:39 +08:00
janonymous c9cc5cf20d py26 is no longer supported by Infra's CI
Python 2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it too.

Change-Id: Ic7dc4b74d231c47c28e789941cd30897880cb791
2015-12-26 14:21:47 +05:30
Dan Prince 8d3dc89842 Initial commit
Initial commit of the project layout
2014-06-06 12:27:50 -04:00