Commit Graph

48 Commits

Author SHA1 Message Date
Zuul 49b1294cb3 Merge "Update python classifier in setup.cfg" 2024-01-26 16:33:38 +00:00
Zuul c23ecc2640 Merge "Remove deprecated pbr options" 2024-01-26 16:28:00 +00:00
Ghanshyam Mann f9d4c2f96f Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I76d2682e4c3dae9ed9bf0742f9850c84d8b34468
2024-01-03 23:57:01 -08:00
Takashi Kajinami d7ec8cb0f2 Remove deprecated pbr options
The api_doc_dir option and the autodoc_index_modules option were both
deprecated in pbr 4.2.

The required options for the sphinxcontrib-apidoc extension are already
defined in doc/source/conf.py .

Change-Id: Id1f59c0be87ae10e2cf3fc05cd8b6f561eeccd85
2023-12-20 11:42:50 +09:00
Takashi Kajinami cb1be57d38 Declare Python 3.10 support
... and removes the remaining code and dependency for Python < 3.8.

Change-Id: I9aa4b4fa6b73b6fbc792789b4bc63b7fb0370806
2023-10-07 12:08:28 +09:00
Ghanshyam Mann 67aa3b93db Update python testing as per zed cycle teting runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support.

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

Change-Id: Iac9b528727fda29f8e350c3db06fe5c0a2a971bd
2022-05-10 19:47:57 -05:00
wu.chunyang ca66b728ce Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Remove babel.cfg as well, this is the default role and not needed
anymore.

also remove Babel from requirements[1]
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Change-Id: I0de45b0ced44fc0b4110b42912ab7682f243aaa2
2022-04-22 15:46:38 +00:00
Takashi Kajinami b15dfff348 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: I0335bf0e7382597abddc0cadd6fc49775ad1396e
2022-02-05 17:08:39 +00:00
Sean McGinnis 015711745c
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: I49640c50a7b78212a5c2ad03acb43be7adf98305
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:17 -05:00
Andreas Jaeger b58ebe2b7f 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 obsolete section from setup.cfg: Wheel is not needed for
  python 3 only repo
- Update requirements, no need for python_version anymore
- Remove future import from doc/source/conf.py

Change-Id: Ibf594171cea8f81cc4139b29cbdce54f6d5107a7
2020-04-04 14:15:46 +02:00
Vishakha Agarwal 526350eaee [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

python-keystoneclient 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

Change-Id: Ib6b6f7ca394dfa78cd5c8aeac0941dd625efef3b
2020-01-22 06:24:24 +00:00
Vishakha Agarwal 7569849fbd Drop py35 jobs
Python 3.5 was the target runtime for the Rocky release.
The current target py3 runtime for Stein is Python 3.6,
so there is no reason to keep testing against the older version. Also
correct setup.cfg and tox.ini to reflect the current supported Python
versions.

https://governance.openstack.org/tc/reference/runtimes/stein.html#python-runtime-for-stein

Change-Id: I67c892e0b5afaf8e603a77102e06567a1bfe2eb6
2019-03-01 11:35:16 +01:00
Zuul a69e14e3fc Merge "Change openstack-dev to openstack-discuss" 2018-12-07 12:09:53 +00:00
sunjia 4d466ef31b Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ia14ecbd5f6051b9e391cd2ed0cfbde14913813bf
2018-12-03 22:19:59 -05:00
qingszhao ce447696f7 Add Python 3.6 classifier to setup.cfg
Change-Id: Idd26135eb12bfa4acaed9f42f0a5d6ad9492c7fc
2018-11-30 06:57:04 +00:00
melissaml 956ec88d0a Update URLs in documents according to document migration
Change-Id: Ie0a8594f2dd0554a07111207899e6134affc998e
2017-07-14 09:56:01 +08:00
Gage Hugo cfcf9ef798 Remove pbr warnerrors in favor of sphinx check
This change removes the unused "warnerrors" setting that
was part of [pbr], which was replaced by "warning-is-error"
in sphinx 1.5 and above[0]. This also fixes any warnings
and errors that came up when running `tox -edocs` using
this new feature:

 - Specified correct instance of 'List'

This change also adds the "warning-is-error" setting
to setup.cfg in order to allow for strict doc validation
which will cause doc building to fail if any warnings
are thrown.

[0] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113085.html

Change-Id: I8111193e5a1ae7d063ab4cc37186aea1299964a4
2017-04-24 16:28:06 -05:00
Eric Brown 689729fa35 Use https for *.openstack.org references
The openstack.org pages now support https and our references to
the site should by default be one signed by the organization.

Change-Id: Ia6cdaf7fabd1c355df002aa07b0695610dde9cd1
2017-02-05 20:46:32 -08:00
Eric Brown cfe12a7fe3 Remove references to Python 3.4
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.

Change-Id: Id32fca50f5f1834175b6003be61f2cc4c8b9aeeb
2017-01-05 15:33:23 -08:00
zheng yin 45d85eb3e3 Add Python 3.5 classifier
Now that there is a passing gate job, we can claim support for Python 3.5
in the classifier.

Change-Id: I87c7cd72cdddad4165e1a0b24aec94fbbc61acce
2016-08-05 16:25:02 +08:00
venkatamahesh 07a96d7083 Update the home-page with developer documentation
Change-Id: I13c8602dd26b41a009c3b60b6e56574b391870f9
2016-05-17 10:04:35 +05:30
Steve Martinelli ef13bd8cf6 remove CLI from keystoneclient
the CLI has been deprecated for a long time, and many docs and
install guides recommend using OSC instead of `keystone`.

- removes CLI
- removes man page from docs
- removes CLI tests
- removes `bootstrap` from contrib
- removes entrypoint from setup.cfg

implements bp: remove-cli

Change-Id: Icbe15814bc4faf33f513f9654440068795eae807
2016-03-10 03:51:01 +00:00
Andreas Jaeger 756183fe63 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-keystoneclient/locale/python-keystoneclient.pot to
keystoneclient/locale/keystoneclient.pot. For this we need to update
setup.cfg. The domain name is already correct in keystoneclient/_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: Ie5a0c3e8fcdb485edf05f2188fce64a9fce96b5f
2016-01-28 14:12:39 +00:00
David Stanek f4e6f12a71 Removes py26 support
We are removing Python 2.6 support from the Keystone libraries.

Change-Id: I1c7a79edd41a73946c9d77bfb8cd2075e2500760
Closes-Bug: 1519449
2015-11-25 00:23:17 +00:00
THOMAS J. COCOZZELLO addaf2ac10 Move pot file for traslation
The .pot file was named incorrectly and in the wrong location so the
traslations were not getting generated.

Change-Id: Iafd2b7f06dd840fa0505729a9fc898e7e281c50c
Closes-Bug: 1493484
2015-09-10 11:04:33 -05:00
Jenkins 59f815dd65 Merge "Expose token_endpoint.Token as admin_token" 2015-08-16 03:05:33 +00:00
Monty Taylor 0cb46c9421 Expose token_endpoint.Token as admin_token
When bootstrapping a cloud, using this auth plugin is necessary to be
able to provide an admin token. However, there has been some confusion
as to its officialness and the names of its parameters. Make it clear
why it's exposed, and additionally be clearer about squatting on the
name of the plugin so that things can depend on its interface.

Change-Id: I8e896b28d5879cd4b1372009926c67cde773308f
2015-08-15 07:36:09 +08:00
Eric Brown 3668d9cae2 py34 not py33 is tested and supported
The setup.cfg refers to Programming Language of Python 3.3 whereas
jenkins is setup only to test Python 3.4. This patch updates setup.cfg
and removes py33 from tox.ini.

TrivialFix

Change-Id: I1bc7fae6481c4fef71746ed1c144af37445a81ac
2015-07-13 04:53:17 -07:00
Steve Martinelli 02f07cfb49 Add openid connect client support
This patch allows a federated user to obtain an unscoped token by
providing login credentials for a keystone identity provider.

The current implementation should work with any properly configured
openid connect provider.

partially implements bp openid-connect

Change-Id: Iade52b5c1432d64582cbaa8bac41ac6366c210f9
2015-06-17 11:15:03 -04:00
David Stanek d0ca84c16e Don't autodoc the test suite
Don't build API documentation for the keystoneclient tests.
These are not public functions, pollute the existing docs, and extend
the time required to build docs.

A re-implementation of be1e94f

Change-Id: Ib0e91ebfe4234bc3332b7c3051dba98248312a34
2015-05-07 16:31:09 +00:00
David Stanek 045e47938f Removes temporary fix for doc generation
A temporary fix was added to get around a bug in how pbr handles
its autodoc_tree_index_modules setting. Since this bug is fixed we no
longer need the work around.

Change-Id: Id8274ef5c244bf50a34702ed9b4e50d3b82d8028
Closes-Bug: #1260495
2015-05-07 03:12:18 +00:00
Marek Denis cbe8c0a178 SAML2 federated authentication for ADFS.
Authentication workflow for the Active Directory Federated Services
(ADFS) by Microsoft is different from 'standard' ECP based one.
This plugin allows for authentication and fetching security token with SAML2
assertion inside, sending to the Service Provide and retrieving an
unscoped token.

Change-Id: I588de1967a7fb92c5928686d092895847553923a
Implements: blueprint add-saml2-cli-authentication
2014-09-17 13:52:47 -04:00
Jamie Lennox d070347988 Version independent plugins
A Framework for creating plugins that work across identity versions.
Upon creating a generic plugin the plugin will go and discover what
versions are available on the server and then attemp to construct a
suitable plugin.

Blueprint: version-independant-plugins
Change-Id: If7fed94aaf4636e80a9c3a834cf6c5430f20e489
2014-09-03 21:34:10 +10:00
Jenkins 5a0913383e Merge "Remove cruft from setup.cfg" 2014-08-21 05:46:09 +00:00
Monty Taylor ea9fab0a50 Remove cruft from setup.cfg
We haven't needed to register a setup_hook in about 6 months.

Change-Id: I446e9385e1545a0a4cdfb02d8d3bd4b498fa51cd
2014-08-20 17:09:10 -05:00
Marek Denis f92f49155e Add v3scopedsaml entry to the setup.cfg.
Since Patch https://review.openstack.org/#/c/107231/ was abandoned and
entry ``v3unscopedsaml`` stays in the setup.cfg, there should
also some room for v3scopedsaml entry which lets users scope their
unscoped tokens.

Change-Id: Ie42206c323d287b905b4c5da9c790e544a8b8433
2014-08-20 19:09:26 +00:00
Marek Denis 75ebf09187 SAML2 ECP auth plugin
Auth plugin authenticating against remote SAML based Identity Providers.
Upon successful authentication the plugin retrieves and stores unscoped token.
Plugin object should be later used for scoping the token.

Currently only HTTP BasicAuth Method is supported as
an IdP authn method.

Will not work for ADFS, as that has extensions to the document formats
as well as a different workflow.

Change-Id: Ieea40505a406bedf7219fa6f9e6cf29a45ad6e88
Implements: blueprint add-saml2-cli-authentication
2014-07-15 23:03:12 +02:00
Jamie Lennox 5c91ede447 Plugin loading from config objects
Provide a pattern for auth plugins to load themselves from a config
object. The first user of this will be auth_token middleware however it
is not likely to be the only user.

By doing this in an exportable way we are defining a single config file
format for specifying how to load a plugin for all services. We also
provide a standard way of retrieving a plugins options for loading via
other mechanisms.

Blueprint: standard-client-params
Change-Id: I353b26a1ffc04a20666e76f5bd2f1e6d7c19a22d
2014-07-07 14:15:10 +10:00
Brant Knudson 0a9a8476c7 Doc build fails if warnings
If the docstrings are invalid then the commit should fail the gate.

Change-Id: Iabe506fa914ac5e742c0c5f4682ed0471c4a64ca
2014-06-18 19:12:39 -05:00
Alex Gaynor e0dc22a665 Mark keystoneclient as being a universal wheel
Change-Id: I216b422175dba6e1ca1623c21ff87f4d2fd0a486
2014-05-17 13:48:34 -07:00
Cyril Roelandt aa6c99e879 Add Python 3 classifiers.
This makes sure people know that the client is Python 3 compatible when
browsing PyPI.

Change-Id: Ie97a4de49bafc2184831ca25bc70d8af3c29d34f
2014-02-19 01:47:24 +01:00
Monty Taylor 108b32da42 Migrate to pbr.
Fixes bug 1179007

Change-Id: Iceb63c223faab49be01baa36c035f703ddf59fc0
2013-05-17 14:43:31 -07:00
Monty Taylor 11263ac318 Use testr instead of nose.
Part of blueprint grizzly-testtools

Change-Id: I76dee19781eaac21901b5c0258e83a42180c1702
2013-05-10 15:39:10 -07:00
Joe Heck a8f7879fcf enabling i18n with Babel
Change-Id: I7d5a170f31c2846474b3836a08c6445577613e98
2012-09-29 16:03:23 -07:00
Monty Taylor 5fb1e1f27f Update to latest openstack.common setup code.
Change-Id: I044447b162e97d7464e49ba7fed0d41a757a3210
2012-06-14 14:36:27 -04:00
Clark Boylan 3ba7738323 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: I205e8bb1ddf6dae1d7392b32975319c6a6d98673
2012-06-11 13:33:02 -07:00
Monty Taylor 6d67b4a6a2 Updated tox.ini to work properly with Jenkins.
As part of doing that, fixed a unittest to work with python2.6.
Change-Id: I575a8534bf008077c1a24a25336f1d711f742297
2012-03-21 10:48:51 -04:00
Gabriel Hurley 17f6b83ee6 Initial commit. 2011-10-25 16:50:08 -07:00