Commit Graph

33 Commits

Author SHA1 Message Date
Ghanshyam Mann b6119d504d Test python 3.10 and 3.11
As per the current release tested runtime, we
need to test python 3.8 to python 3.11 so using the
generic python testing template which run the python
versions jobs as per the current release runtime.

Also, updating the same in python classifier in setup.cfg

Change-Id: I8db58eb19a9e39067e8102df81a647450b2c1cf9
2024-01-11 15:37:23 -08:00
Stephen Finucane 3e2e0139de Update Python testing per Zed cycle testing runtime
In the Zed cycle, we have dropped the Python 3.6/3.7 [1] testing and its
support. Update the Python classifiers to reflect this.

Change-Id: Ieb80faf01d87e7fa7d717b74de6c5ec518ef9b05
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2022-05-25 17:08:36 +01:00
likui 2fdf358b02 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: Icccc9cc2b3a0d236746c4b58a8815d25d8b0a443
2021-05-13 09:29:53 +08:00
likui 4e35aa4dc1 Add py38 package metadata
Change-Id: I76f87914149dc845ec53ec6a64342ca59f7dc4dc
2020-10-19 20:04:29 +08:00
Monty Taylor f7f25b54ba Remove python3.5
We had it here for stestr which has moved on.

Change-Id: I5739d6b93e47b43ad3ec3726813cc706b8775157
2020-06-06 12:03:35 -05:00
Monty Taylor 5405c3dfd7 Re-add support for python 3.5
cliff is used by stestr which is used by more things than just
openstack projects - one of them being zuul which still supports
python 3.5. Let's keep supporting 3.5 here for now.

Change-Id: I14fca07853677d041215649cb55caf1e0dc49753
2020-03-26 15:38:14 -05:00
Andreas Jaeger 9724108710 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

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

Cleanup setup.cfg, conf.py, and tox.ini from cruft.

Change-Id: Icb08c704cb5d0d8004d0a5408822c9d53ae9c728
2020-02-04 15:05:33 +01:00
Corey Bryant 48d4a0fdf2 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: I5b08ef6ac98eb4650a2f3df5cb559144172fb29c
Story: #2005924
Task: #34232
2019-07-05 14:17:15 -04:00
Zuul b7b9c44053 Merge "Dropping the py35 testing" 2019-05-04 17:31:54 +00:00
Ghanshyam Mann 4465e2501d 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: I56c541c6afda611d10bb6d30af9aa6a86cf948c6
2019-04-22 23:36:49 +00:00
melissaml 122a779eed Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I586425c1e65a9dd1c3a0a82ba7de4cc63e9892d9
2018-12-07 21:11:31 +08:00
Nicola Soranzo 3a90659768 Build universal wheels
See https://packaging.python.org/guides/distributing-packages-using-setuptools/#universal-wheels

Closes-Bug: #1760157
Change-Id: I8c95ff5969e47189269ef44e021a3bb8ac32bb16
2018-06-12 15:58:32 +01:00
Monty Taylor 2f687e3373
Move doc requirements to doc/requirements.txt
Put these in place as a setup for the new versions of the doc build
jobs. Keep using them from the normal dep list until the jobs are
changed.

While we're here, update the docs env to use sphinx-build instead of
python setup.py build_sphinx. Also add python2.7 to the docs env, since
I accidentally tried building it with my python3 tox and it blew up
substantially.

Change-Id: I0fcc50c4c396758e839c329ce786a6f609bb1342
2017-12-01 12:35:37 -06:00
Doug Hellmann 3662d5a809 do not require installing demo app to build docs
Remove the dependency on the demoapp and just add it to the import
path so it is available to be imported. Copy the entry point settings
into the main cliff setup.cfg to ensure they are registered for the
doc build to find.

Change-Id: I390410bc5247e8b6c8d0a8fec8e7ecb223d8d6c1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-12-01 13:18:53 -05:00
OpenStack Proposal Bot 522ae63ebb Updated from global requirements
Change-Id: I7247a2c8565e79c2c6084b5d986568a3f6990778
2017-09-13 12:49:11 +00:00
Jenkins 2111afeb41 Merge "Update and replace http with https for doc links" 2017-08-23 09:53:11 +00:00
Rajath Agasthya a62915cb00 Move comments up in [extras] section of setup.cfg
This ensures requirements bot recognizes existing entries in the
section and doesn't add duplicate requirements as it happened in
https://review.openstack.org/#/c/494775

Change-Id: I33af866e1dea650cd913e08bd3eff4b5bc09bb13
2017-08-18 17:16:54 -07:00
OpenStack Proposal Bot a206c7464a Updated from global requirements
Change-Id: I959c7f944edbdcbe6ee0b43688a3965da6a4d8b0
2017-08-12 11:41:11 +00:00
Thomas Bechtold 5c37935139 Make openstackdocstheme an optional doc dependency
cliff is a library that is used outside of OpenStack, too. Having
a build requirement that needs something OpenStack specific makes
life in cases (eg. for downstream packagers) more difficult.
So let's make openstackdocstheme an optional requirement.

Change-Id: I0f94a431be083b8b4baec850b1885ba07b5bf5c2
2017-08-07 09:28:04 +02:00
howardlee da463b31fe Update and replace http with https for doc links
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I0af218e58e32a06b7bd9cef661fc75f801689323
2017-07-21 10:55:01 +08:00
Stephen Finucane 64fe476429 Use Sphinx 1.5 warning-is-error
This will ensure doc warnings don't make their way in.

Change-Id: I7ebba63f7d751cfb335cd39c2790250b6aa035dd
2017-03-16 16:54:23 +00:00
gengchc2 4aa2da591c 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: I8fc96da9fcbdebdbd71491b7115e65a1e67bd252
2017-03-13 21:09:38 +00:00
Jenkins 4c367b433b Merge "Add Python 3.5 classifier and venv" 2016-11-15 22:23:34 +00:00
Tony Xu 337610d156 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: Ia67e5efb2deb62942914b31d04f217308d0be304
2016-10-25 22:58:26 +08:00
melissaml ab2ea5aee4 Changed the home-page link
Set the correct link for home-page.

Change-Id: I1af0a819e3015ff00a4048ee783c735a417dbef4
2016-10-17 00:39:12 +08:00
Julien Danjou c490775f1b setup: fix Python versions classifiers
Change-Id: Ib42c3f9421433ad4f06bb7a831ed56bc836b826e
2015-12-31 10:58:04 +01:00
Steve Baker 4e1470d93e Implement a json formatter in cliff
This change replaces the cliff-tablib json formatter with an internal
replacement. It differs from the tablib formatter in the following ways:
- by default outputs with an indent of 2 spaces. The --noindent formatting
  argument outputs with no indentation, to save space or to pipe to tools
  which can't handle multi-line input.
- emit_one serialises a simple dict where the column name is the key
and the data item is the value (rather than a list of dicts with
'Field' and 'Value' keys)

The cliff release which contains this change will need a corresponding
cliff-tablib release which removes the json formatter from its setup.py
entry_points.

Change-Id: I7f9b1f339d96ead347a0c9d95ec7004a78d8c9d5
Related-Bug: #1308744
2015-08-18 09:42:19 +12:00
Steve Baker 0a8daff7bd Implement a yaml formatter in cliff
This change replaces the cliff-tablib yaml formatter with an internal
replacement. It differs from the tablib formatter in the following ways:
- always outputs with block formatting rather than the PyYAML default
  of deciding based on value content
- emit_one serialises a simple dict where the column name is the key
  and the data item is the value (rather than a list of dicts with
  'Field' and 'Value' keys)
- emit_one preserves column order by printing a single-item dict for
  each column_name

The cliff release which contains this change will need a corresponding
cliff-tablib release which removes the yaml formatter from its setup.py
entry_points.

Change-Id: I691dbab3dee7c5ec28b1083f87ab1f5c051d582b
Related-Bug: #1308744
2015-08-18 09:42:19 +12:00
TerryHowe 24120da1df Add value format for list command
The value format for the show command is very handy for shell
scripting and a value format for the list command would be just
as handy.  It will allow command substitution and piping like:

    os container list --format value | grep tmp | while read NAME
    do
      os container delete $NAME
    done

Change-Id: If9784c27d689073e9145b2cb8077ac604025a4c3
2015-05-26 10:18:21 -06:00
Doug Hellmann f8549ff363 fix author contact details
Change-Id: I3e76ee9ea0e251fc672822e3ed510b5b3258b4b1
2015-04-23 15:49:44 +00:00
Doug Hellmann 476c1dcba1 Bring doc build up to standard
Move the requirements definitions and documentation files to the
standard places used by other OpenStack projects so our doc publishing
jobs will work.

Remove the todo extension and all todo items from the documentation.

Change-Id: Iea630d827976fe517afacf4e373b3a125efff9c9
2014-10-26 00:22:44 +00:00
Terry Howe 5503d3d006 Add value only output formattter
It may be useful to have a value only output formatter to perform operationgs like:
   TOKEN=$(openstack token create -c id -f value)
Rather than:
   eval $(openstack token create -c id -f shell)
   TOKEN="${id}"

Change-Id: I7bda3cc1a1d154a05e8e31eed564dae1e82066d6
Closes-Bug: #1292578
2014-03-17 15:07:28 -06:00
Doug Hellmann 82f9a4ad61 move to pbr for packaging
Change-Id: I93e4f54d1b81f53615774aa5f79b3e6a9941a55d
2014-01-03 12:17:56 -05:00