39 Commits

Author SHA1 Message Date
Brian Rosmaita
b917248874 Migrate setup configuration to pyproject.toml
Also bump the minimum pbr.

Change-Id: I228713f9444c956f6f6bf9eb4a5b7796e9f76e46
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
2026-02-26 08:38:51 -05:00
Brian Rosmaita
4a193c8aa4 Update classifiers for Gazpacho
Gazpacho supports python 3.10 through 3.13 [0].

[0] https://governance.openstack.org/tc/reference/runtimes/2026.1.html

Change-Id: Id7db3e34dd9e8c7cac3cd0f1b111426ef9fb231d
Signed-off-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
2026-02-25 15:32:56 -05:00
Takashi Kajinami
314bf711a2 Remove Python 3.9 support
Python 3.9 is no longer part of the tested runtimes[1].

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

Change-Id: I6767a26645b8139b60a0ca7960ca4ba391eecc09
2025-06-26 02:14:39 +00:00
Takashi Kajinami
3a5a0411f2 Remove Python 3.8 support
Python 3.8 was removed from the tested runtimes for 2024.2[1] and has
not been tested since then.

Also add Python 3.12 which is part of the tested runtimes for 2025.1.
Now unit tests job with Python 3.12 is voting.

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

Change-Id: I848996fa6d35d0dddb3f9001977637ec4a752eda
2025-01-13 15:32:27 +00:00
Brian Rosmaita
a58bb92b28 Update CI for Dalmatian
Updates:
- added functional py312 testenv to tox.ini (not needed for unit
  tests)
- removed py38 classifier from setup.cfg, but did not change
  python_requires (currently it's >=3.8)
- run py311 func job in gate (was py310)

Change-Id: I661e397e597582404dcb33044844b7af7c64de5f
2024-04-10 17:33:52 -04:00
Ghanshyam Mann
ba5e68e36b 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: Iecc91f97afea4916a0ee619362b1a5eebd966f24
2024-01-08 20:20:59 -08:00
Eric Harney
a75c5bfbc4 Add Python 3.10 to setup.cfg metadata
We support 3.10 as of Antelope.

Change-Id: Ia32f0488f4fe90527b1fbd0cb663e33e8537a458
2023-03-09 11:29:12 -05:00
Ghanshyam Mann
2c7d463f37 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. Moving the py36 job to py38 based but to run on
ubuntu focal as c8s does not seems to have py38.
Also updating the python classifier also to reflect the same.

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

Change-Id: Ic26a360d2bb09fa6622d1acaa5021c5afbc70240
2022-05-19 18:24:31 +00:00
Zuul
b0ddcb2406 Merge "Add Python 3 only classifier" 2022-02-11 16:02:45 +00:00
Takashi Kajinami
ef4991dc7a Add Python 3 only classifier
Python 2 support was removed during Ussuri cycle. This change adds
the classifier to clearly state that only Python 3 is supported.

This allows us to keep the setup.cfg file in cinder and the one in
cinderclient more consistent.

Change-Id: I5ad342f2b60348a0ba79c95415fdf1ae39714558
2022-02-08 23:16:05 +09:00
tushargite96
6afd886cdd Updating python testing as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting and as we are testing py3.6 and py3.9
we do not need to test py3.7|8 explicitly. 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 makes other required changes in zuul.yaml and
update the classifier in setup.cfg file.

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

Change-Id: Ib5b93ca7863fcc0b6d00fb4d52a5f299d1903056
2021-12-15 13:28:01 +05:30
YuehuiLei
8d8d4575b9 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: I77d52471fea255982ad677e9d4bc318f24a9ace7
2021-04-28 11:13:54 +08:00
zhangboye
67d992b07f Add py38 package metadata
Change-Id: I3a0df4c9886465238bb62c1c24b3cafb9bc5aeb1
2020-05-22 15:21:12 +08:00
Andreas Jaeger
c0edaade97 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 old sections from setup.cfg: Wheel is not needed for python
  3 only repo

Change-Id: I92d21453d610ba7f90ae9b150e6a245ce0e709e6
2020-04-04 11:25:22 +02:00
xuanyandong
658de38c20 Drop support for python 2
Also adds support for py3.6 and py3.7 check and gate jobs.

Co-authored-by: xuanyandong <xuanyandong@inspur.com>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Closes-bug: #1853372

Change-Id: Ia978b692ade23ee6482957f41b17cb879c96fea7
2020-01-16 08:34:30 -05:00
whoami-rajat
6c55e38fe5 Remove py35 from setup.cfg
This is a followup to Drop py35 jobs from gate and tox env[1].

[1] https://review.openstack.org/#/c/639388/

Change-Id: Ie6d897db48013b8b845cb5068da76a7c68e0e666
2019-02-28 11:05:39 +05:30
Zuul
4382c1cde9 Merge "Add Python 3.6 classifier to setup.cfg" 2019-02-15 17:52:01 +00:00
sunjia
c6fdd2a67d Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Iee7d2087d7015f49e96345d96217a150bb1c23e2
2018-12-03 21:50:20 -05:00
qingszhao
75bc7e50f4 Add Python 3.6 classifier to setup.cfg
Change-Id: I8eb981871397e1d9ae84e775d4e68915c06ecef7
2018-11-29 09:10:26 +00:00
liuyamin
a45faf0f47 Follow the new PTI for document build
This review already follows the new PTI
https://review.openstack.org/#/c/528997/

but we also should remove [build_sphinx] section as described
in: http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: I6cf9f2fb59502acb4166faa5c3946dc24eeceee0
2018-05-11 11:09:32 +08:00
Stephen Finucane
b95a20d005 Explicitly set 'builder' option
An upcoming release of pbr will require explicitly stating which
builders are requested, rather than defaulting to html and man. Head off
any potential impact this may cause by explicitly setting this
configuration now.

Change-Id: Iabdcfaef48af2b4a8f82444b122902c3187d56e6
2017-08-22 11:43:41 +01:00
Stephen Finucane
5d0b4bdc6e Use Sphinx 1.5 warning-is-error
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate the
setting from the old warnerrors one.

Change-Id: Ifd411ead74497a43ab22c57090ece2e1c7cfddb5
2017-08-22 11:41:50 +01:00
yfzhao
09a6506dda Fix wrong links
Some docs links have changed. We should update the wrong links in our codes.

Change-Id: I2e43cd26e10e5be0452d611064e199f784ea0d34
2017-08-11 17:02:16 +08:00
Jenkins
6719308c8f Merge "Replace http with https" 2017-05-02 17:34:41 +00:00
Jenkins
1e468c519a Merge "Update tox to delete py34" 2017-05-02 17:34:19 +00:00
yfzhao
650dc13610 Replace http with https
Use https instead of http to ensure the safety without containing our
account/password information

Change-Id: I40d748c6044cc10eadd24eedc2d1753aa0323caf
2017-04-26 10:27:37 +08:00
Ivan Kolodyazhny
60f92db704 Fix noauth support
This patch includes several improvements:
1. Use keystoneauth1 plugin mechanism for auth plugins.
2. Implements CinderNoAuthPlugin.
3. Deletes non-working cinderclient.auth_plugin module.
4. Deprecates --bypass-url in flavor of --os-endpoint to be consistent
with keystoneauth1 plugins.
5. Deprecates in --os-auth-system in falvor of --os-auth-type to be
consistent with keystoneauth1 plugins.

Both bypass_url and os_auth_system params are not changed for client
objects to not break backward compatibility for Python API.

How to use noauth with cinderclient CLI:
OS_USER_ID=userid OS_PROJECT_ID=projectis cinder --os-auth-type noauth
--os-endpoint=http://localhost:8776/v2 list

Change-Id: I3be59a5a39235acbc3334e0a0b797081507a5c88
Closes-Bug: #1657156
2017-03-24 13:24:50 +02:00
yanjun.fu
7b5a91a7b8 Update tox to delete py34
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: I04e036521c902d846b6341ce1fd7fc2662bff8df
2017-02-17 21:20:57 +08:00
venkatamahesh
d3c0d22405 Update the home-page with developer documentation
Change-Id: I22e1e72077d1fe277678f85592dcf1bfb798edfe
2016-08-18 01:47:12 +00:00
zheng yin
8517a3963b Add Python3.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: I29cab82225675fbb4e2f1701067b26e4a632b851
2016-07-12 07:30:49 +08:00
shu-mutou
614e6a380c Drop py33 support
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL.
https://wiki.openstack.org/wiki/Python3

And already the infra team and the oslo team are dropping py33
support from their projects.

Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.

Change-Id: Iea4db590139e1a611a5dca72ef3adca187eb541e
Closes-Bug: #1526170
2015-12-15 16:17:57 +09:00
shu-mutou
98b4a3d32f 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: Icf1b13b044de03705688df929ed74429879c6dd8
Closes-Bug: 1519510
2015-12-02 16:45:02 +09:00
Alex Gaynor
339bf0c39a Mark cinderclient as being a universal wheel
Change-Id: Ifcf9abc5d9e0cdb46596f5a05103c46235eb379a
2014-05-17 14:05:27 -07:00
Alex Gaynor
ad75082270 Include the Python 3/3.3 trove classifiers
These are often used by automated tools to check for Python 3 support.

Change-Id: I29fae2c0b80d28a865cc0972272e470da720ca11
2014-03-23 21:10:50 -07:00
Monty Taylor
aa2808337b Migrate to pbr.
Fixes bug 1179007.

Change-Id: I66b78ec4b5ba70a1bf1e375a5d1b7575a1879730
2013-05-20 14:32:22 -04:00
Monty Taylor
02eb985124 Move from nose to testr.
Granted - this takes the test suite from 3 seconds to 1 second... but there
are a bunch of other ways (correctness) that testr is better than nose.

Removed tests/v1/utils - it was not being used anywhere.

Part of blueprint grizzly-testtools.

Change-Id: I54d9a0b7dc22305ec60d779d6f19025a0b5dc785
2013-01-17 14:42:52 -05:00
Clark Boylan
7547dadf87 Move docs to doc.
To better facilitate the building and publishing of sphinx
documentation by Jenkins we are moving all openstack projects with
sphinx documentation to a common doc tree structure. Documentation
goes in project/doc and build results go in project/doc/build.

Change-Id: I3ae14ac735d9b4c0b534eac9a9c142f8ccaac1b9
2012-06-15 16:28:14 -04:00
Monty Taylor
1711f1f9bb Align setup.py and tox with standards.
Change-Id: Ic63c6fd4d770303ae5f295c58e43213e88e34b57
2012-05-21 16:44:06 -04:00
Jenkins
471704df64 Initial split from python-novaclient. 2012-05-21 16:32:35 -04:00