Commit Graph

25 Commits

Author SHA1 Message Date
Ghanshyam Mann a17c9184f9 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: If7467b704270d1d98226e5cbaa903d4713e63c1d
2024-01-08 19:28:16 +00:00
likui 5e4314164b Add python3.10 support in testing runtime
In 2023.2 cycle testing runtime, project test in py38 py39 and py10

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

Change-Id: Ieeb025b5069fbd8a1ade1f5241fbd0d7c200afcf
2023-08-02 09:35:51 +08:00
Takashi Kajinami 8a80e65ceb Update python testing as per zed cycle testing 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

Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: I0f9d7f3cd2309bc52ec95ba642b22140ac691654
2022-06-21 22:29:44 +09:00
Takashi Kajinami f6b9189aa8 Add Python 3.9 to supported runtumes
... because it has been part of tested runtimes since Yoga[1].

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

Change-Id: I9c874985b9196cd30c3bac49e084b57802623ec0
2022-06-21 22:29:26 +09:00
wangzihao 2400f6de26 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: I5b94727986da22c5cfc56a939ff3c4a14f009d2a
2021-05-20 13:47:55 +08:00
Zuul b541b1f474 Merge "Add py38 package metadata" 2020-07-31 15:04:24 +00:00
Andreas Jaeger 38585701c7 Remove obsolete setup
The file openstack-common.conf is not used anymore, remove it.

Remove translation sections from setup.cfg, they are not used, see
https://docs.openstack.org/i18n/latest/project_setup.html#django-projects

Change-Id: I2442d3ce325620a56b6fa0591485c0331d9096c7
2020-06-09 10:32:24 +02:00
manchandavishal c2fdace4c0 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: Idfa3b9d4d41a3cb456fe9f24872dd6cdd17299bf
2020-05-15 18:16:02 +00:00
Andreas Jaeger 7bace2a2cd 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
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove Babel from requirements, it's not needed for running.
- Update hacking to 3.0, fix problems found

Change-Id: I9eb22328474f52c2e225ae2a24c895c0e2bb63d7
2020-04-17 18:33:17 +02:00
Ghanshyam Mann 95dbf83346 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

designate-dashboard is ready with python 3 and ok to drop the
python 2.7 support.

Also changing tox path to py3 to fix gate.
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/

Co-Authored-By: Vishal Manchanda <manchandavishal143@gmail.com>
Change-Id: Id734dd4772ee4476ae1cfa8fb3c3e4b81109a113
2019-11-22 17:05:22 +00:00
Corey Bryant 7f9f3a416d 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: If4beb789ca8eaa6edab0014ff23914382034a047
Story: #2005924
Task: #34204
2019-07-15 18:19:53 +00:00
Ghanshyam Mann 0d41b86d53 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: I54fcffef6807fcd0fb7331b79f4b363f676f3a2e
2019-04-14 19:35:41 +00:00
LeopardMa ea6663cc77 Change openstack-dev to openstack-discuss
Change-Id: Ib86709e99c620edc2feddc1f270c4471c5ef9589
2018-12-04 01:53:29 -05:00
Zuul fbc2209569 Merge "Optimize the link address" 2018-03-08 18:29:13 +00:00
lingyongxu 931d0dbe03 Optimize the link address
Use https instead of http to ensure the safety

Change-Id: Ie172d0e11ed00215694bd9320867e8b0917c847a
2017-12-19 06:18:23 +00:00
Doug Hellmann 637a6b4a6e rearrange content using the new standard layout
Also turn on warning-is-error for the sphinx build.

Change-Id: I4a839924212fde7e6ae31a87ea8a0c6cf45313e9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-28 17:44:26 -04:00
Cao Xuan Hoang cd77ca870a Remove support for py33 and update to py35
Python 3.3 is not supported from Mitaka, as per Infra.
This patch removes the support and update to py35
for the same. Updated in venv also.

Change-Id: Ida50a9b6415cfc19bdbe37b3f6a60dc4c7aca73a
2017-01-24 08:08:40 +07:00
sonu.kumar 1a05272976 Update home-page info in the configuration file
Change-Id: I74501e8cfde41d973ddfc0a3d630ea047d74744e
2016-09-06 14:03:06 +05:30
Andreas Jaeger 2f15cd148c Update translation setup
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.

Prepare babel-django.cfg qnd remove babel.cfg.
This repository is django related. So, follow Django repos convention in OpenStack.

This basically renames
designate-dashboard/locale/designate-dashboard.pot to
designatedashboard/locale/django.pot to follow Django POT file convention.

setup.cfg babel entries are kept as this repository has
only python files and it still works, they have been updated for new
setup.

Change-Id: I388c6b92b9e9d7a0c9d7b81b4c495a65088e4856
2016-01-30 19:33:31 +01:00
Graham Hayes 84db094de4 Remove version from setup.cfg
Depends-On: Ic055fb2fa70dff5b9d12c0bb8d9e400a1c4be3b7
Change-Id: Id662695f72f8a0902496323d441c288eb5295754
2015-12-03 15:24:51 +00:00
sonu.kumar 5444a2eea5 Remove py26 support
As of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.

Change-Id: Ia229285086c24bf8e1e52887a0aa513c66e68727
Related-Bug: #1519510
2015-12-03 12:41:36 +05:30
Thierry Carrez 0f141e205c Open Mitaka development
Bump preversion to mark the start of the Mitaka development branch.
The liberty release branch will be cut from the previous commit.

Change-Id: Iff82330e7aa9e493bc294e23302c5c7844183b3e
2015-09-24 11:51:07 +02:00
Kiall Mac Innes 82cf3943e9 Set correct name and version in setup.cfg
Change-Id: I37492da417eef1b5d3097642cf1b6e4b475d53c7
2015-07-28 11:32:00 +01:00
Andreas Jaeger fdfb749d6d Setup for translation
To start translation, we need to initially import the
translation file - and place it at the proper place so that
the usual CI scripts can handle it.

The proper place is for all python projects
$PROJECT/locale/$PROJECT.pot - see setup.cfg.

Further imports will be done by the OpenStack Proposal bot.

Change-Id: I12910da652c462422915bd7090cde5598754ca14
2015-06-18 21:33:09 +02:00
Graham Hayes 561f3590a0 Added designate-dashboard code to contrib/designate-dashboard
Added to devstack as well.

Change-Id: I98eed46a8dd9918ba36c97fe40619ec42136c723
2014-11-26 23:18:15 +00:00