Commit Graph

38 Commits

Author SHA1 Message Date
Dr. Jens Harbott a87d983e88 Add Python 3.10 support to setup.cfg
We have been running tests on Python 3.10 for some time and it is the
default deployment platform for Neutron.

Change-Id: Ic5f2086c958ceb5763c48d5c71ed2d99f757f7dd
2023-08-17 12:03:01 +02:00
Ghanshyam Mann 51d1eed164 Update python testing as per zed cycle teting runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: I46da9a7a84a2f628030206d3ac3f75beeeff46b4
2022-05-11 22:12:20 -05:00
likui 66d6204933 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I9ff2cdf3d1e2d262c53933d8151b982f87f1122c
2021-05-19 09:57:18 +08:00
wu.chunyang 3616b29ccf Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Remove babel.cfg as well, this is the default role and not needed
anymore.

also remove Babel from requirements[1]
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Change-Id: I073d3d7e2f2e8a4f06c17541a0f4d4fedcaed2dc
2020-06-16 00:24:58 +08:00
Sean McGinnis 082988c7c5
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I7eafe056d570417d49e26de61b5c0316d0bf09a6
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:11 -05:00
Rodolfo Alonso Hernandez 3134ffe712 Drop Python2 support and testing
Remove Python2 CI testing and set the minimum Python version required
in setup.cfg.

Change-Id: Ifc65c94c00990bc50a5ae3789b71ae8c24b99e94
2020-01-18 19:29:14 +00:00
Corey Bryant 8f7851a727 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: If9a09aa250139d8585445c3a892f71074e7637c7
Story: #2005924
Task: #34225
2019-07-05 13:55:38 -04:00
Zuul 2ba552d527 Merge "Change openstack-dev to openstack-discuss" 2019-05-28 13:02:19 +00:00
Ghanshyam Mann b9e3c6748b Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I1cc51c618c9a5ad016f506c4fcaf65a7fca001ca
2019-05-08 09:23:11 +02:00
Slawek Kaplonski a74bac9100 Add CLI scripts from osken to be installed via setup.cfg
Instead of keeping hardcoded files in bin/ directory it is
more flexible to install such files using setup.cfg file.
It will for example install files with correct shebang for
python2 and python3.

This patch also removes tools/osken-manager.spec file
as it was used by PyInstaller in Ryu and it isn't used
in os-ken.

Change-Id: Ie85c64d81c86f0059528ad4d8e238a4124d4e5b4
2018-12-12 15:04:37 +01:00
qingszhao f312e12bc7 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I21ffb9d9340365ecd5b27681c9d2427aae4d1230
2018-12-04 17:12:36 +00:00
Doug Hellmann da39949131 build universal wheels
By default setuptools produces a version-specific wheel file so
installation under other versions of Python require extra work at
install time. This change turns on "universal" wheel support, so that
the wheel file will be marked as supporting both Python 2 and 3.

Change-Id: Ifd8c3bc2621cfeb5bab0494db13e9a8023dda486
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-02 18:24:03 -04:00
Hongbin Lu af2e4fcee4 Apply OpenStack Cookiecutter template
Change-Id: I7172220a2b40cb856080e958bd4a340975449181
2018-09-04 17:00:24 +00:00
IWAMOTO Toshihiro 840a348845 Declare support of recent python3 versions
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-01 16:00:12 +09:00
FUJITA Tomonori af5e6b5fb7 drop python2.6 support
The Python core team[*1] stopped supporting python 2.6. Some Python
libraries started following the same path and trying to support 2.6
becomes painful...

For example, most of you already noticed, oslo.config dropped 2.6
support. I tried to work around it with the following commit:

2250171098

But this forces users of decent distributions (e.g Ubuntu 14.04) to
upgrade pip (old pip versions can't understand version conditions).

[*1]
http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-02-18 06:54:47 +09:00
FUJITA Tomonori 607eeb0c7e declare python3 support
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-07-08 13:02:49 +09:00
Hiroaki KAWAI cf4299457a fix setup.cfg entry
SubmittingPatches.rst was renamed to CONTRIBUTING.rst.
setup.py sdist will check this dependency.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2014-08-15 11:01:26 +09:00
FUJITA Tomonori 95fa2d63d4 delete bin/rpc-cli
This command is available via ryu command.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2014-04-21 19:05:46 +09:00
YAMAMOTO Takashi ce2f39a720 add bin/ryu
this new command takes a sub-command name as its first positional argument
and passes the rest of arguments to the corresponding sub-module.
for example, 'run' sub-command is an equivalent to bin/ryu-manager.

this commit does not replace the existing commands like ryu-manager.
this merely adds new ways to invoke the functionalities.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2014-04-20 21:00:51 +09:00
FUJITA Tomonori 35d5104a3d remove ryu.cmd.ofa_neutron_agent from console_scripts in setup.cfg
unnecessary because neutron's setup.py creates the script for us.

Reviewed-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2014-03-27 19:52:06 +09:00
YAMAMOTO Takashi 2743eb4da5 rename neutron agent from "ofswitch" to "ofagent"
suggested by some openstack folks.
see https://review.openstack.org/#/c/71791

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2014-02-17 22:40:36 +09:00
YAMAMOTO Takashi d175ca6f0d setup.cfg: add neutron-ofswitch-agent to console_scrpits
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2014-02-07 19:53:55 +09:00
YAMAMOTO Takashi 82dafb7300 requires lxml
will be used for OF-Config stuff.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-12-25 12:12:51 +09:00
YAMAMOTO Takashi 3e3cb12c06 a simple command line msgpack-rpc client
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-11-29 09:23:41 +09:00
YAMAMOTO Takashi 03ac8742f4 msgpack-rpc fixes and improvements
- make create_request returns msgid
- fix msgid wrap around
- rename classes
- convenient transport classes for socket-like
- update requirements
- copyright notice, comments, and assertions

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-11-29 09:23:37 +09:00
Satoshi Kobayashi a7416dc3b7 python-oslo-config is necessary for Ryu built by RPM
python-oslo-config is provided by RDO (http://openstack.redhat.com/)

Signed-off-by: Satoshi Kobayashi <satoshi-k@stratosphere.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-10-08 06:43:30 +09:00
YAMAMOTO Takashi a861730cfb revert "stick with pbr 0.5.19" commit
revert the following commit because it doesn't work with
the latest oslo.config which requires newer pbr.

|commit 205485e052
|Author: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
|Date:   Fri Aug 30 14:08:49 2013 +0900
|
|    stick with pbr 0.5.19
|
|    the latest versions of pbr generate scripts which don't support
|    multiversion.  to avoid importing modules from older multiversion-aware
|    installations of ryu, we prefer multiversion-aware scripts.
|
|    Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
|    Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

the problem reported by Satoshi Kobayashi on ryu-devel.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-10-07 18:08:34 +09:00
YAMAMOTO Takashi 205485e052 stick with pbr 0.5.19
the latest versions of pbr generate scripts which don't support
multiversion.  to avoid importing modules from older multiversion-aware
installations of ryu, we prefer multiversion-aware scripts.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-09-02 14:41:27 +09:00
YAMAMOTO Takashi 983aa398e9 new way to use pbr
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-09-02 14:41:27 +09:00
YAMAMOTO Takashi f731bc88e3 move ryu-manager to entrypoints
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-09-02 14:41:27 +09:00
FUJITA Tomonori 193a0496c1 use d2to1 and pbr for packaging
- distutils2-like setup.cfg files for a package's metadata
- avoid absolute '/etc/ryu/' path for our config file

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-08-01 17:47:56 +09:00
YAMAMOTO Takashi ed06fbd397 update requirements
netaddr is used by:
	ryu/app/tunnel_port_updater.py
	ryu/lib/packet/vrrp.py

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-05-13 08:40:34 +09:00
YAMAMOTO Takashi 9e6d3053c0 sweep the tree to change from gevent to ryu.lib.hub
mostly mechanical changes.
also, change the requirement from gevent to eventlet.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-05-01 22:18:39 +09:00
FUJITA Tomonori 8649e9e153 contrib: import ncclient library (NETCONF clients)
NETCONF clients

https://github.com/leopoul/ncclient/

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-03-05 07:37:44 +09:00
YAMAMOTO Takashi eef36671a5 stop requiring gflags
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-02-14 12:34:08 +09:00
Isaku Yamahata e69a8917ec setup: update installation infos
- clean up setup.py and MANIFEST.in
- simplejson isn't needed anymore
- allow webob >= 1.0.8 as openstack quantum uses >= 1.0.8 version
- allow gflags >= 1.3 as Fedora 18 uses gflags 1.5

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-01-08 18:11:37 +09:00
FUJITA Tomonori 61e3df2a9c update setup.py and setup.cfg for better packaging
Note that now ryu uses /etc/ryu/ryu.conf. The previous install path
(/usr/etc/ryu/ryu.conf) doesn't fit to FHS.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-06-06 12:45:46 +09:00
FUJITA Tomonori aa5051a162 initial commit
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2011-12-09 15:56:05 +09:00