Commit Graph

21 Commits

Author SHA1 Message Date
Ghanshyam Mann 99138f186a 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: I8109360770f3dd69bbc90aedf52be985cd87fb56
2024-01-03 20:22:25 -08:00
dengzhaosen 99c0be8e7f Update python testing classifier
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: I9c7aa6b17073677d15c2b0c6e1e59e73b918fc0f
2021-12-24 08:58:13 +08:00
wu.shiming cc3cfad82d 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: I430301474e2294eb6f2d71fc521c73d23c6f8a55
2021-05-13 03:07:51 +00:00
wu.shiming 3b8d685dd7 Add py38 package metadata
Change-Id: Idd367d2cbd7be08540b6a2ed95bc7e98e568eaef
2020-11-24 05:26:46 +00:00
Andreas Jaeger 4d19dcd9ea 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
- Switch to using sphinx-build
- 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 lower-constraints for osprofiler as required by
  other dependencies.

Change-Id: I84ec7cae5b051bb9c69969d8ccaa28b053914840
2020-04-17 22:28:25 +02:00
Goutham Pacha Ravi 3cd2fec230 Drop python2.7 support
As per the official python support timeline
set forth by the OpenStack TC [1], OpenStack
Train (in our case, manila-ui 2.19.x
series) is the last release that will support
python2.7.

Depends-On: https://review.opendev.org/#/c/688997/
[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html

Change-Id: I5b4dc1853d7e4f8f736dd2a22eb08bcfdeac3411
2019-11-07 18:15:32 +00:00
Ivan Kolodyazhny b6924ccf4a Add Python 3.6 and Python 3.7 jobs
According to 'Tested Runtimes for Train' [1] we need to support
Python 2.7, Python 3.7 and Python 3.6 runtimes.

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

Change-Id: I75f56a0fe753bcc1250c4aaf8f191f4bad7d0028
2019-04-15 20:17:12 +03:00
Ghanshyam Mann 628cb22b09 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: I449af10676f087ec75d2ca014045e33dc2a0fa4b
2019-04-14 23:11:09 +00:00
Vieri 82d991d2fa Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I589e5b5c33e9c928ed384c7270110dd253a88d59
2018-12-04 19:10:49 +00:00
melissaml 54fd03906e Update the home-page link
Change-Id: I2b4f35bc2c332767639a78b34de5ebda786cff01
2018-07-24 20:46:10 +08:00
Victoria Martinez de la Cruz 39d9896c47 Make manila-ui python3 compatible
In order to make manila-ui python3 compatible,
this patch set:
- replace dict.iteritems() with six.iteritems(dict)
- replace print msg with print(msg)
- replace dict.viewkeys() with error.keys()
- python 3 getting the keys() of a dict returns
  a dict_keys object instead of a list and hence
  sort() fails
- in python 2.x calling keys makes a copy of the key
  that you can iterate over while modifying the dict.
  This doesn't work in python 3.x because keys
  returns an iterator instead of a list.
  Another way is to use list to force a copy of the keys
  to be made.
- use getattr instead of relying on overriden __getattr__
  in the client to get params that not neccesarily need to
  be available (share_group_id and supports_share_migration)
- refactor ShareGroupTypeTests

Plus, enable py35 and py35dj20 jobs in tox and drop
old oslo-incubator files (install_venv.py)

Also add openstack-tox-py35 job to check python3 env.
openstack-tox-py35 should be defined in project-config later
but it is added to check python3 UT status.

Change-Id: I30582184904dc19e9cb4ca171b1fd2d161e09c48
2018-05-07 02:03:21 +09:00
Tom Barron 09e3e800ac doc migration: warning-is-error
Enabled warning-is-error in setup.cfg

Closes-Bug: #1706181
Change-Id: Iac9a0180a8b1a45f6f1d84020c6d15f457ad92bf
Depends-On: I9c378a188f9009a82100f5488a936d43536bd5b6
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
2017-08-22 08:47:29 +00:00
Sharat Sharma 4717a3211e Changed the home-page of manila-ui
Change-Id: I5a494f34f375958dd25dd737641ac880a4967e28
2017-01-17 05:38:06 +00:00
Sergey Gotliv 12018a6749 Enable translation for manila-ui
This patch follows instructions described here [1] to setup
translations for manila-ui.

[1] http://docs.openstack.org/infra/manual/creators.html#django-projects

Change-Id: Iafcb4e86e86a6d10b56cad79ead543366ea8129e
2016-05-11 21:36:40 +00:00
reedip 3b3c1c0f2f remove python 3.3 trove classifier
OpenStack projects are no longer being tested under Python 3.3,
so remove the trove classifier implying that this project supports 3.3.

Change-Id: I1aceffbb01f4208de7f0761dd1a6f835edf42ab1
2016-01-07 15:16:25 +09:00
Doug Hellmann 02f1866d36 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: I843d274a003b82f5b8bf02d8249635ac2ce5fcab
2015-12-23 01:31:11 +00:00
Ben Swartzlander f6723b5a16 Switch to post-versioning
Remove the version setting from setup.cfg to rely on git tags to produce
the version information. pbr will update the package metadata properly
based on the tag and the current commit, so there is no need to be
explicit about post-versioning versions in setup.cfg.

Change-Id: I007a6206951aff09d2358ac97cf1b060c42bb7ad
2015-07-09 15:51:55 -04:00
Gary W. Smith a31ec8d725 Set version number to 1.1.0
Setting the version number of master to reflect the new numbering
scheme.

Change-Id: I288b3eeba2ac283925af5053353dd3aad2a981b2
2015-04-30 10:05:07 -07:00
Gary W. Smith dae881de79 Open Liberty development
Bump pre-version in setup.cfg to formally open Liberty development.
2015-04-14 09:24:20 -07:00
Gary W. Smith dde351785e Add version into setup.cfg 2015-04-14 09:21:19 -07:00
Gary W. Smith 95dfd941cb Initial project creation 2015-03-13 14:01:16 -07:00