Commit Graph

42 Commits

Author SHA1 Message Date
Ghanshyam Mann cd7a79e965 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: Ib4658c25e7f20a0e4bc8fd01e8ebacfb4a27b3e2
2024-01-03 19:21:05 -08:00
Ghanshyam Mann 059398398f Update python classifier for python 3.10
In 2023.1 cycle, we are testing the python 3.10
as voting job so updating the python classifier.

Currently we have py3.8 unit test job running on focal
and python 3.10 job on Jammy.

Change-Id: I4ec8e9663ddf41aa5d3858446e4e382db041ce48
2022-11-22 19:48:27 +00:00
Ghanshyam Mann 81a67ac08a Update python classifier as per testing runtime
In Zed cycle, we ave dropped the python 3.6/3.7[1] testing
and its support. Updating the python classifier also to reflect
the same.

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

Change-Id: I06ef1e3f73ddf6c7a62e0d1aa0ab6eeb220436f6
2022-04-21 14:23:05 -05:00
Ghanshyam Mann 63d368168c 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: Ic6dbe3ae45089f7947d45dc81eb5d1e29b3d0597
2021-12-17 12:37:29 +00:00
YuehuiLei 3dc9ad974e 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: Ia98a366c65321f76394940be0f9ce2a55dd321d4
2021-05-04 10:53:33 +08:00
qiufossen 600384fa3b Remove Babel requirement
Babel is not needed as requirement, remove it.
Remove translation sections from setup.cfg.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Depends-On: https://review.opendev.org/#/c/730427/
Change-Id: I4d82cfc09d255ad574e44ac303fd187c5348ca47
2020-05-23 04:29:18 +00:00
Sean McGinnis cfcc95d6e8
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: I3645bf029ee92e9dc93412c522d7694f6a61fc4f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:18 -05:00
Stephen Finucane 1e05dec589 setup.cfg: Various Python 3 fixes
Now that we've dropped Python 2 support, we shouldn't be stating that we
support universal (Python 2 and 3) wheels. We should also use the proper
setuptools machinery to prevent people accidentally installing
novaclient in a Python 2.7 environment. Resolve both issues, removing an
unused 'upload_sphinx' section in the process.

Change-Id: Icee145f44a42c233008b3328f52a3eec933101e0
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-02-21 09:47:59 +00:00
Eric Fried baccd5bcfa Stop supporting and testing python2
Change-Id: If678d77b8da69121b0075bfbc4216531be25da6a
2019-10-25 18:33:39 +00:00
pengyuesheng 77ad81bde8 Add Python 3 Train unit tests
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I691d7994070012af62d20d15809b7c4f143909a8
2019-07-02 09:35:48 +08:00
zhangyangyang f970589f9b Drop py35 tests
Drop py35 tests because all the integration testing
has been moved to Bionic.

See the following URL for more details.

http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Change-Id: Ied64e92d5833ed11e1213c42994cfebeaa2ace6a
Signed-off-by: zhangyangyang <zhangyangyang@unionpay.com>
2019-04-22 22:28:33 +09:00
sunjia a789bd30ae Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I157626d7aa539e583d20f2f8aa39e06188347573
2018-12-03 21:41:17 -05:00
qingszhao 3f967d9758 Add Python 3.6 classifier to setup.cfg
Change-Id: I091c82f60d9ae984cf61be8c6fe95ec68817cb75
2018-11-30 07:11:18 +00:00
Takashi NATSUME 9d8eda8b82 Follow the new PTI for document build
- Follow new PTI for docs build
- Add sphinxcontrib.apidoc to replace pbr autodoc

REF:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: Ic66fe4d5488c7777439a416fbf86d37af807804d
Closes-Bug: #1792115
2018-09-13 04:57:03 +09:00
Jenkins de8bb757dd Merge "Remove custom autodoc implementation" 2017-08-01 16:33:41 +00:00
Takashi NATSUME 561b35a8a8 Update URLs in docs, comments and setup.cfg
Some URLs are broken, so fix them.
The other URLs are redirect to new URLs,
so replace them with new ones.

Change-Id: Ida2fd70ad0d7b029fadfe91be14d7180b9b5b8d1
Closes-Bug: #1707104
2017-07-28 12:14:12 +09:00
Stephen Finucane 437b08cf38 Remove custom autodoc implementation
pbr provides this functionality for us. Make use of it.

Change-Id: Ide7b2992ac931395b776d39ed4a1a50bded0a881
2017-07-12 15:13:04 +01:00
Stephen Finucane 3512fca87b Explicitly set 'builders' 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: Idfa27bb6b235f8cc4de6d62baf9e9e9a55bae95b
2017-04-19 09:53:03 +01:00
Eric Brown 4746e0bb58 Remove py34 tox env and pypi classifier
Currently only py27 and py35 (not py34) is tested in the gate, so
py34 should no longer be part of the tox environment or part of the
PyPi classifier.

Change-Id: I81058c5df47c4dae3c331d0030141896b6a9f1bb
2017-03-20 19:06:51 +00:00
Stephen Finucane f1d2641396 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.

There are only three related fixes required.

Change-Id: I84b020c18a8a1c7c11a35bacd61523bbb094abe4
2017-03-16 16:56:04 +00:00
Tony Xu 8ae2e4c8a1 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: Ic80a40692726b05f0f9d174f6ba7e7040f30db38
2016-10-26 10:26:48 +08:00
venkatamahesh ba00c1d426 Update the home-page with developer documentation
Change-Id: I18a6b02e8dceafd1008144e53be5817d83698741
2016-05-17 10:13:18 +05:30
Andreas Jaeger e808f328c2 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.

This basically renames
python-novaclient/locale/python-novaclient.pot to
novaclient/locale/novaclient. For this we need to update
setup.cfg. The domain name is already correct in
novaclient/i18n.py.

The project has no translations currently, let's remove the outdated
pot file, the updated scripts work without them. So, we can just
delete the file and once there are translations, an updated pot file
together with translations can be imported automatically.


Change-Id: Ifeabedf157f0338c1e76dc5ab8ab41e2e331ad87
2016-01-28 14:12:20 +00:00
Chuck Carmack 81f8fa655c Remove python 2.6 support from python-novaclient
Since oslo is removing support for python 2.6, nova
needs to also remove support from clients and libraries.
This commit is to remove support from python-novaclient.

-- Python 2.6 compatibilty code was removed.
-- Python 2.6 was removed as a tox environment, install venv,
and from the classifiers in setup.cfg.
-- Release notes have been updated.

UpgradeImpact

Co-Authored-By: Andrey Kurilin <andr.kurilin@gmail.com>

Change-Id: I3f587ff38d478d075af5fd014e2b4b8416e185d4
Closes-bug: 1518390
2015-11-30 16:04:24 +00:00
venkatamahesh e9f1391bf8 Fix the homepage url in setup.cfg
Link for home-page is https://www.openstack.org
but instead of it source tree link is there
So it is changed

Change-Id: Ie788e5a6c66d71b59cdedf5fcf14725181983629
2015-09-13 14:44:56 +05:30
Mark Doffman f7a26601b2 Enable i18n with Babel.
Add Babel commands to setup.cfg. Create the first .pot file with current
translatable strings using `python setup.py extract_messages`.

Co-Authored-By: Matt Riedemann <mriedem@us.ibm.com>

Change-Id: I57804496d1ec67b566b350941e71206903dd8d1d
Closes-Bug: #1492444
2015-09-08 10:10:25 -07:00
Joe Gordon 4e9a2b4c69 Fix all doc warnings and gate on warnings
* Remove releases (File removed in e334096aa3)
* Add link to man page
* Fix some docstring formatting

Change-Id: Iec67a6d32f0365e514394c1e3eb7d8e4ae6aff65
2015-06-04 17:10:50 +09:00
Jenkins 6cbf00db25 Merge "Support building wheels (PEP-427)" 2014-03-28 18:56:47 +00:00
Cyril Roelandt 2f8af3de76 Add classifiers for specific versions of Python
These are used by automated tools, such as caniusepython3
(https://github.com/brettcannon/caniusepython3) to check on what
version of Python the Nova client works.

Change-Id: Ie2a652a8c4797b1e1a69c91673e6009f36772667
2014-03-03 20:09:28 +01:00
Sascha Peilicke 935501b0e4 Support building wheels (PEP-427)
Universal is used to identify pure-Python module(by bdist_wheel). For
these, it is sufficient to build a wheel with _any_ Python ABI version
and publish that to PyPI (by whatever means).

Change-Id: I900a7d2e3777a5c151778679f3049771047855e6
2014-02-07 12:00:28 +01:00
Monty Taylor ce89f7b12a Update pbr usage
We've discovered that having versions in setup_requires leads to evil
and death. Also, the setup-hooks in setup.cfg are completely unnecessary
anymore.

Change-Id: I8878e635e0828bbddb81d9c6321a9f10ad3b89fe
2013-09-20 16:02:57 -07:00
Monty Taylor c7e62d4c57 Clean up a little cruft
OpenStack runs a git service now, so instead of linking to github URLs,
link to git.openstack.org.
Versions for pbr in setup.py actually wind up being an error (and a very
odd one) Remove them.
The setup hook in setup.cfg is no longer needed.

Change-Id: I8f48ac194e6c01e9bb06fa5df6f2b2bf28c01636
2013-09-20 16:02:48 -07:00
Roman Podolyaka f08ac04a27 Migrate to pbr.
openstack.common.setup and openstack.common.version are now in the
standalone library pbr, so all projects using those two should
migrate.

Fixes bug 1179007.

Change-Id: I7ac1c37f0bf148619dffff8f454db05fc192e471
2013-05-19 10:00:38 +03:00
Monty Taylor 7b2097e706 Migrate from nose to testr.
Run tests with testr for parallel execution.

Part of blueprint grizzly-testtools.

Change-Id: I38e8a2df12678002e19264a53bad26e80265c6e4
2013-01-29 14:22:42 -06:00
Clark Boylan ebceca9414 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/source and build results go in project/doc/build.

Change-Id: I868df12e3c15cc30043e782ce0a609b9574295cd
2012-06-11 14:18:48 -07:00
Monty Taylor 73bc2ed038 Turn on verbose test output.
Change-Id: I811e8c2cbbdd107794af3fc8f70757e3b609a479
2012-05-18 08:33:17 -04:00
Monty Taylor f737a8c3bb Add MANIFEST.in and setup.cfg back.
These files are actually needed - without MANIFEST.in, files are missing
from the source tarball which is used in debian packaging. setup.cfg is
needed for configuration of the sphinx doc build commands.

Additionally, I added listings for the other files in the root to
MANIFEST.in so that the source tarball would be complete.

Change-Id: Ia0f281663b58baaf2ee23f627d4b1887d0eddfe9
2011-12-09 13:38:23 -08:00
Josh Kearney 149e00bcf5 Adds bash completion support and cleans up setup.py.
Also removes some unnecessary files and updates the AUTHORS file.

Change-Id: Iefa502ce08cbf34038d2e04d0460ae43468a4255
2011-11-17 10:17:49 -06:00
Brian Waldon 4b5b0b6edf adding unittest 2011-08-10 13:46:34 -04:00
Sandy Walsh bd18c7e429 renamed to novaclient and fixed flavor tests 2011-02-26 05:04:40 -04:00
Sandy Walsh 7e2c002b2a installer fixup 2011-02-08 08:58:26 -04:00
Josh Kearney 7304ed80df Initial commit from fork 2011-01-25 14:01:22 -06:00