Commit Graph

23 Commits

Author SHA1 Message Date
Ghanshyam Mann 2dc3014640 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: Id4d0ce8d3a24ef912ca286f12078c86465c6084a
2024-01-03 20:22:30 -08:00
songwenping 0e541e856e setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  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: Ie59fc55bdb2f8ac20ac4a7a6718e9cdb27c4ad8a
2022-08-19 10:24:29 +08:00
manchandavishal 731488eaef Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

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

Change-Id: Ieab82b0547f52e435d075de5b771287372ef8f20
2022-01-31 10:42:22 +05:30
manchandavishal a09bcb0623 Update lower-constraints for new pip
This patch bump a series of lower-constraints and
requirements to work with new pip resolver. For
more information please refer [1]. It also fix some
pep8 issues.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019285.html

Change-Id: I0ce1e41b6e064866ef1e5e7cf8c55bb8a2cc5963
2020-12-23 13:24:13 +00:00
Sean McGinnis 3e9a7e9592
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: I5e2e67779182e507dfa3b126ab6cecc86d148137
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-02 07:49:27 -05:00
Ghanshyam Mann a87c42234d [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

magnum-ui 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: I9630d3da80bd79f3886bc82e891e827238925704
2019-11-16 17:05:46 +00:00
Ghanshyam Mann df9fa72abc 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: I21f0837fafd141cd06e8dbda2797f199bcc027da
2019-04-14 23:07:25 +00:00
Vieri 4c0c0aad23 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ic18dd083253d1aa0507afe223de1886bec0b700e
2018-12-04 19:15:47 +00:00
Akihiro Motoki 530ba016ad Follow the new PTI for document build
Comment 7887b3f41a invented a wrong
way which violates the recent PTI. This commit clean them up and
follow the new PTL for documentation build.

The detail is described in the following links:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

pbr autodoc is now converted into sphinxcontrib-autodoc.
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129147.html

Change-Id: I158440ef40426593981774307af982028573042b
2018-05-01 23:18:01 +09:00
Shu Muto 27a566db7f Use pbr autodoc feature rather than custom logic
doc/source/conf.py has a custom logic which prepare index files
for autodoc, but now pbr and sphinx autodoc have a feature to do it
and it is not a good idea to keep the custom logic.

Change-Id: I89a277bde7c7b632c2208110bb9d34cd21f4e815
2017-07-13 14:27:01 +09:00
Shu Muto e965dc233e Improve docs build
Starting in Django 1.7, standalone scripts, such as a sphinx build
require that django.setup() be called first. See:
https://docs.djangoproject.com/en/1.8/releases/1.7/#standalone-scripts
It does not always necessary, but it is needed to avoid warnings
when creating autoindex.
Note that horizon no longer generates the autoindex to avoid warnings.

Drops setenv DJANGO_SETTINGS_MODULE in docs env in tox.ini.
DJANGO_SETTINGS_MODULE is configured in doc/source/conf.py,
so there is no need to pass envvar.

Add warning-is-error sphinx setting to avoid doc build warnings.

Change-Id: I2de87c0df05abf589c90fb3ad691322e1125c310
2017-06-27 17:22:07 +09:00
Jenkins d28b05f894 Merge "Remove support for py34" 2017-03-07 00:42:27 +00:00
Nguyen Van Trung 25bfe6657b Change http into https for home-page
Change-Id: I733f43b0f1ab94beffbc77580f0ac18779803ee4
2017-03-02 08:58:37 +00:00
Cao Xuan Hoang 161a0adbe7 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: I376b2140d7fa9520d976c213bd12dc814c6cf532
2017-02-15 10:48:35 +07:00
Cao Xuan Hoang 1578a7f852 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: Ifaa336eb08c697f022bda17aaf38e39e891a0c72
2017-01-18 13:44:51 +07:00
avnish b265d652fe Update home page link in cfg file
Change-Id: I36452bcf3d3f613ca6dd0fb6e7f48e89a4d24924
2016-09-20 16:27:49 +05:30
Rob Cresswell 1b398928f8 Fix tox and tests
Fixes a bunch of missing __init__.py files to make the docs job pass
without warnings, also cleans up tox (to move away from run_tests)

Change-Id: If305c701b4d601e66f1f9987d2dd70d6634ea624
2016-08-30 14:05:11 +01:00
Andreas Jaeger 538de3ecef Remove version number to fix build
With pbr, we should not set a version number in setup.cfg.
So this patch removes it.

This fixes failing jobs.

Change-Id: I01d69b13692ac6a1682c889b30cf9f68f42c7d0b
2016-04-07 17:13:09 +09:00
shu-mutou e7708854cc Remove py26 and py33 support from setup.cfg
This patch remove py26 and py33 support from setup.cfg.
Horizon doesn't support these version of python.

Change-Id: I0b9b6a7e42cf0ad8caf8879eb5d6b342b76e8abc
Closes-Bug: 1525786
2015-12-14 15:30:35 +09:00
Andreas Jaeger efd404095e Proper translation integration
This reverts Ie518bffe825ae1c6d139a0613c30bc9748b52cd7 and
updates the scripts to properly work with the infra scripts.

It replicates now the current setup done by horizon - thus
moving the babel files to the top-level and adjusting run_tests.sh.

This copies over tools/install_venv_common.py from oslo-incubator so
that the message extraction works with the parameter that the infra
scripts expect.

The infra scripts have been adopted to work with this setup, see
change I09350bfd384f84d132dc03d9bae2a5015acb6b0f.

Change-Id: I6f5c8a4dc8897b27f9f700be42d5dd38f7d278d0
2015-10-31 09:39:07 +01:00
Andreas Jaeger ee98efd101 Translation setup
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.

Note that translations have been setup already on infra side as part of
initial repo setup. This change is necessary so that the scripts
actually do what they should do.

Closes-Bug: #1511306
Change-Id: Ie518bffe825ae1c6d139a0613c30bc9748b52cd7
2015-10-29 09:58:55 +00:00
Bradley Jones 4e92f315e0 Fix setup.cfg
Package should read 'magnum_ui' not 'magnum'

Change-Id: I1d95f9bb0fce4caadaf7a742fddc84c81e68bda6
Closes-bug: 1494629
2015-09-11 09:08:13 +01:00
Bradley Jones c17cc5beb4 Initial skeleton repo
Add the basic structure for the magnum-ui repository to serve as a 
starting point for contributions. The structure is likely to change
as development progresses.

Change-Id: I5458741e2dd4c3409992315efaa60b33824b4ec8
Implements: blueprint repo-skeleton
2015-09-08 23:02:28 +00:00