Commit Graph

14 Commits

Author SHA1 Message Date
Ghanshyam Mann b84ed0927b 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: I23a4ca2630bf841a011931b794b04ca3e2fefa03
2024-01-04 01:08:45 -08:00
Tom Weininger e7b57a1210 Move to Python 3.8
Update Python base version from 3.6 to 3.8. For Zed the minimum
Python runtime versions are Python 3.8 and 3.9 [1]. As a third
Python version I also added 3.10 already.

Removed ThreadedHTTPServer and replaced it with ThreadingHTTPServer from
standard library, which is new in Python 3.7.

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

Depends-on: https://review.opendev.org/c/openstack/octavia/+/839604

Change-Id: I4f0d640879da5afaa4694484ad4c52f25445a8ae
2022-05-06 10:53:51 +02:00
likui aa03b89ae4 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: Ica2651a3d83008e9637dedc20aa4a7d015ed76c3
2021-05-13 09:47:39 +08:00
likui 80b7aed09b Remove babel.cfg
Remove babel.cfg and the translation bits from setup.cfg, those are not
needed anymore.

Change-Id: Ie90f09c3c557f9bc3e72afbc957898d17d3b1b1e
2020-11-25 17:39:53 +08:00
wu.chunyang 0ce11e8773 Add py38 classifier
add py38 classifier

Change-Id: Ia931aeaf6cda38dbca022b7c17760b2ff77b858c
2020-07-04 00:05:27 +08:00
Brian Haley c5f9385b6c Complete dropping py27 support goal
This takes care of the last details for dropping py27
support by adding a proper min version of python in setup.cfg.

Change-Id: Ia4e3519f99d9d1bc68d70b1f21173b0b2ec187c1
2020-01-20 15:38:00 -05:00
Brian Haley c9a1c39eee Stop testing python 2
Since it's no longer supported past Train, let's stop
running the tests.

Co-authored-by: Ajay Kumar <ajay.k@india.nec.com>

Change-Id: If81d0a45c423c173aa3c40dd2cfce37462dbf900
2019-12-09 18:09:13 -05:00
Zuul 59faa1f718 Merge "Do not install README.rst and LICENSE" 2019-05-14 14:20:30 +00:00
Michael Johnson effa28ac20 Add python 3.7 testing
This patch sets up octavia-lib to run the python 3.7 unit tests.

Change-Id: I65ad2a4b418da9ee198551aa6e2928ef3984d91b
2019-04-28 20:42:35 +00:00
Michael Johnson 1215103717 Remove python3.5 jobs for Train
The TC has decided that python 3.5 tests are not required for Train
forward[1]. This patch removes the python 3.5 jobs from octavia-lib.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/ \
    005097.html

Change-Id: Ice875dde4eeb82962f3c635cb312f157d9a8331a
2019-04-15 06:55:16 -07:00
Thomas Bechtold c9ae679d64 Do not install README.rst and LICENSE
Both files are already in the sdist tarball. There is no need to
install the files into (possibly) wrong locations for different distros.

Change-Id: I0c6e985d08acb96043b4cbb59fe964f5cd67480a
2019-03-20 15:21:24 +01:00
Michael Johnson 544d05f24b Fix some driver library bugs
This patch corrects some python3 byte string issues in the driver
library callbacks.
It also corrects an issue where multiple update calls may cause a
bad file descriptor error.

Change-Id: I3a03f2d8e65d48fe3791611486cb5da4961335b6
2019-02-07 16:22:04 -08:00
melissaml 96df205ed6 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I38cfb4902769646ef52ac0f64eb5ab75c906a31e
2018-12-05 01:17:04 +08:00
Michael Johnson 5f833c77d2 Initial cookie-cutter commit for octavia-lib
Setting up the base repository for octavia-lib.

Change-Id: I023fe839b39d9d826425aeca5e0fd39dc9c38275
2018-10-12 14:03:43 -07:00