Commit Graph

28 Commits

Author SHA1 Message Date
Ghanshyam Mann 7b30851a92 Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: Ifcbba34f432ffbeffb12ae99039de12af2933329
2024-01-05 03:48:33 +00:00
wu.shiming 0347de164e 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: Ie6843085f789c9c31fe3bacc741bc010b4920609
2021-05-12 09:43:59 +08:00
zhoulinhui 46b1e6edbc bump py37 to py38 in tox.ini
in W cycle, we should test py38 by default.

Change-Id: Icfb3d042ccb29b1879d77671d937c8df56f017e9
2020-09-29 22:35:06 +08:00
Andreas Jaeger c56099e8c3 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
- Update classifiers

Change-Id: I8f0436fe9f23e7b3671c1cf001bfab31b8f985e8
2020-04-04 17:34:28 +02:00
Ghanshyam Mann 9582fadebb [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Kuryr is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I6c14fa3b0c3a19b5f50f5d78a43ba060c10de914
2019-11-16 14:32:07 +00:00
Corey Bryant 88821877be 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: I3c2f26c1199acd5e0dd3663e4b77f3ee1af072c7
Story: #2005924
Task: #34217
2019-07-05 11:39:54 -04:00
Ghanshyam Mann 149cf226a7 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: Id096210bff56c1e8f7cc9f4321beb7c943bd5473
2019-04-15 18:38:25 +00:00
melissaml b3df2c6b5c Change openstack-dev to openstack-discuss
Mailing lists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ida7769da4699da3e25329f21924839211b0f93d1
2018-12-04 18:51:13 +08:00
whoami-rajat d75eaff065 Add kuryr-status upgrade check command framework
This adds basic framework for kuryr-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: I8af38f087672a390ec8b2b78916315b5a646fcbb
Story: 2003657
Task: 26137
2018-10-23 16:51:51 +05:30
Nguyen Van Trung 72e3217e5e Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Ia8a5a4eb2770976ac7b3b99c6d32d8aa37cedac7
2018-07-17 08:12:54 +00:00
Hangdong Zhang c845319679 Update the documentation link for doc migration
Change-Id: I14c768761f468549dfdcb7daa70fe86d709d9a25
2017-07-24 16:23:47 +08:00
Kirill Zaitsev 9872e6a365 Use openstackdocstheme over oslosphinx
This commit is part of general doc-migration effort. It replaces
oslosphinx with openstackdocstheme and marks docs warnings to be treated
as errors.

Kuryr projects do not seem to have any docs in the openstack-manuals, so
there are no docs we need to pull from that repo.
However being the official project kuryr would benefit from unifying
its docs with the rest of openstack projects as well as using
openstackdocstheme, theme intended for official projects
https://docs.openstack.org/openstackdocstheme/latest/

See https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
and https://etherpad.openstack.org/p/doc-migration-tracking for more
information

Change-Id: I4b854a830268beea0e463a1c75f73e8d523f3bfb
2017-07-03 14:26:43 +03:00
Cao Xuan Hoang 10e6cd3f9e Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: Ibdf002a1f66e1cfabf4f5162ba3edd89b196262d
2017-02-08 09:36:50 +07:00
Antoni Segura Puimedon 71ba150709
wheel: build universal wheels
This project is compatible with both py2 and py3, better make use of
universal wheels.

Change-Id: I4d3655bd81cf81f4729c88904faf5b57af96637d
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2016-08-18 04:11:03 +02:00
Antoni Segura Puimedon 2c443e5122
fix python packaging
After the split, it is necessary to make the metadata that is used to
generate the egg name reflect that this repo is housing kuryr-lib and
not kuryr. Also, since the versioning is handled by pbr by checking
tags, I removed that field so the egg has also the good version number.

Change-Id: Ic4cf2aea9f90c68de649f566e0c3d7cd6abaab2c
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2016-08-18 03:47:38 +02:00
zhangyanxian d7ec0d0934 Update info in the configuration file
Since there are so many components in openstack,
by describing the URL info in the configuration file,
it is more convenient to find the developer documentation than from
the unified portal

Change-Id: I2665f0da7c7ab6d425dae4e06dc3c515af47af52
2016-07-27 01:59:39 +00:00
Liping Mao 94bc6c5753 Use a simple file globbing syntax for installing entire directory
This can help people not need to modify setup.cfg when they want
to add new vif type.

Closes-bug: #1605826

Change-Id: I13f7305eaf143f7a91e8095ca3285cde02f77faf
2016-07-23 13:45:54 +08:00
vikaschoudhary16 47490acec9 Refactoring: Drop all the code except common one
Related patchset in kuryr-libnetwork:
https://review.openstack.org/#/c/337350/

Implements blueprint code-refactoring
Change-Id: I91a402a159817462535e77296217a9dd7eb0fd08
2016-07-19 14:56:17 +05:30
PanFengyun f6c8674bdb Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: Idfd9818434481ede85ff8e746893ac7e27fcb333
2016-07-14 09:01:12 +08:00
Neil Jerram f2b9d441b8 Install new 'tap' driver file
Sorry, this should have been included with c97af831, but I forgot it.

Change-Id: I6ff95d273e627b2992c8502d0c3c0954be37d6b7
2016-05-16 18:35:05 +01:00
Antoni Segura Puimedon 7aa20ff639
Add missing files to the install script
In order for Kuryr's libnetwork driver to function, it is essential
that /usr/libexec, the driver specfile and /etc/kuryr get installed.
Up until now, this was manual. This change fixes it.

Change-Id: Ifdb6048a154aa811a0369cbcdb848b19798bc51f
Signed-off-by: Antoni Segura Puimedon <toni@midokura.com>
2016-05-06 19:04:37 +02:00
reedip 4e2b4d483b Remove support for Python 3.3
py33/Python 3.3 is not supported from Mitaka
onwards, as per the Infra Team.
The following patch removes this support from
kuryr's setup.cfg as well.

Change-Id: I23d82bdd8f47f2c259fc14ffc5a5cef9f7f336f7
Closes-Bug: #1526170
2016-02-11 08:47:34 +09:00
venkatamahesh e3f63e8de3 Use uppercase 'S' in word "OpenStack"
Change-Id: I8e0d687c5c833edf6c7d6af4c452913643451f4a
2016-02-04 19:56:34 +05:30
Doug Hellmann 6864eb94e4 remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: I3513466e6f17865ddc0cb748ed0694b4a492ca65
2015-12-23 01:31:10 +00:00
Baohua Yang d63fd9e432 Let all version info be read from the setup.cfg
The Openstack project should follow this style, which forces all
version information being read from the setup.cfg. This helps
keep the version information unique.

Ref can be found at: http://docs.openstack.org/developer/pbr/

Change-Id: Ied7043863b6677487f96fc8f1600ecef0e10818d
Closes-Bug: #1526130
2015-12-14 20:17:41 -06:00
Aaron Rosen 40e2e96eef Add entry point for kuryr-server
Now after running: $ sudo python setup.py develop one can start
kury-server by invoking: $ kuryr-server

Change-Id: I992967400b1b128707df7e79cd594eed5688b90f
2015-09-24 13:45:49 -04:00
Mohammad Banikazemi 7301bf2122 Adding configurations for Kuryr
Partially Implements blueprint kuryr-config

Change-Id: I66738833ce14275f4ca647724bd695a69c7c0380
2015-09-17 02:50:45 -04:00
Gal Sagie c98b0a5cbd Initial template commit
Depends-On: I39db2918ea277b939f67d3c856f52bd53c226f27
Change-Id: Iea544d90ae617abbcc6087d558d3fd38fca61a8c
2015-07-15 10:00:44 +03:00