Commit Graph

78 Commits

Author SHA1 Message Date
Stephen Finucane 192a27ae5f Remove six
This is no longer necessary since we only support Python 3.x.

A note is removed from requirements.txt since it's no longer relevant:
pip 20.3+ has a real dependency resolver.

Change-Id: Ie3006813a79fef1f128d388b906e4f1752347fa4
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Co-Authored-By: Grzegorz Grasza <xek@redhat.com>
2022-12-14 10:47:25 +00:00
Ghanshyam Mann 7eeda4d9af Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I73718d9f52d11b9a17ab49468743d5237179ada5
2022-04-30 20:20:37 -05:00
Q.hongtao b59ef48a35 Fix misspell word
Change-Id: I485c36b7722fe1738a6fb1d4c5cdea5c65cfc91e
2019-09-06 15:57:40 +08:00
Monty Taylor 79cd91e755
Implement service_type alias lookups
The Service Types Authority has grown support for aliases, and the
os-service-types library exposes the data. Add support for matching
known aliases when matching endpoints for a user.

Change-Id: Ie90c265cb17905981d877abfaaa52354a3e63692
2018-05-03 15:28:50 -05:00
OpenStack Proposal Bot f431ba3981 Updated from global requirements
Change-Id: Ia79679de2b6df43ed8bc806d36a170f72675e757
2017-11-16 11:07:04 +00:00
Morgan Fainberg 335a8cdf03 Remove use of positional decorator
The positional decorator results in poorly maintainable code in
a misguided effort to emulate python3's key-word-arg only notation
and functionality. This patch removes keysteonauth's dependance
on the positional decorator.

Change-Id: I20106345747860365cd0203ba1b33a2900e045b9
2017-08-07 16:37:07 -07:00
Morgan Fainberg c09072ea5d Add note to requirements.txt
Add note regarding dependencies (oslo)
to ensure oslo requirements and other
similar requirements are not added to
keystoneauth.

Change-Id: Ifedf1ed8ac3130b699d14208524612aed999949d
2017-07-20 20:32:37 +00:00
OpenStack Proposal Bot 5ec72ea6e4 Updated from global requirements
Change-Id: I128d2d38d2caf88ca075b46b80645859a769e811
2017-06-14 00:30:22 +00:00
OpenStack Proposal Bot 2c45a1f937 Updated from global requirements
Change-Id: I0b828ab23c92c7b696c456ebf2a681ee26fb4541
2017-04-20 16:18:28 +00:00
OpenStack Proposal Bot c12f070b81 Updated from global requirements
Change-Id: I77d2a6db447269c85582c36b24b6af6694e8d330
2017-03-08 22:46:11 +00:00
OpenStack Proposal Bot 207c348d54 Updated from global requirements
Change-Id: Ibf2b4d1f742b7ea6bda394da7512b544904055a4
2017-02-11 17:43:23 +00:00
OpenStack Proposal Bot 301ecb4bd8 Updated from global requirements
Change-Id: I04aa5807cad2968708fcf9971af1f5e9324e0070
2016-12-02 05:06:05 +00:00
OpenStack Proposal Bot 94eb71c61e Updated from global requirements
Change-Id: I81c138deb1999df1df58f707a59786c95f5b21e0
2016-11-09 04:16:41 +00:00
OpenStack Proposal Bot 811cd1f3e1 Updated from global requirements
Change-Id: I8b0aa4629ac34d2365ad7e700ea1d4b47a6adeac
2016-10-06 16:55:57 +00:00
OpenStack Proposal Bot 4179d36c0b Updated from global requirements
Change-Id: Iea9d70bbe1f18bf3b45b607175e5aea7da2e351b
2016-09-21 19:07:01 +00:00
OpenStack Proposal Bot 76bd9bb00f Updated from global requirements
Change-Id: I2e71c929a360bc7f71b4aef3587ad37461ac0255
2016-07-17 23:53:46 +00:00
OpenStack Proposal Bot c43d9dc75b Updated from global requirements
Change-Id: Ic20e051d28124962733870b52d2f95b1da84360d
2016-05-17 14:04:38 +00:00
OpenStack Proposal Bot e853121185 Updated from global requirements
Change-Id: I389a57f72b8cfb6e75fe0db5e2cca9d9d60b842b
2016-05-10 00:44:53 +00:00
OpenStack Proposal Bot f6e57bc706 Updated from global requirements
Change-Id: I196913d811935729decaa93518c192ae1a290549
2016-04-30 18:04:03 +00:00
OpenStack Proposal Bot 1933a78c7e Updated from global requirements
Change-Id: I10d49af5a4beca7b0941f9198a43ecc3f0308c2b
2016-04-19 12:24:17 +00:00
Jenkins 616e6af05e Merge "Remove argparse from requirements" 2016-02-01 16:08:38 +00:00
Jamie Lennox f21def7061 Use positional library instead of our own copy
The positional library was spun directly out of what keystoneauth1 was
using so this is a fairly trivial change.

Change-Id: I7931ed1547d2a05e2d248bc3240a576dc68a0a40
2016-01-25 09:31:48 +11:00
Andreas Jaeger 11503c3795 Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-20 19:16:52 +01:00
OpenStack Proposal Bot f33cb0e280 Updated from global requirements
Change-Id: Ib2ca987bdce9fa8e8cd4b5223aa69be53956a21f
2016-01-18 22:41:31 +00:00
Jenkins 84f61b58f9 Merge "Provide a RFC 7231 compliant user agent string" 2015-12-16 07:59:11 +00:00
briancurtin bbd85fded7 Provide a RFC 7231 compliant user agent string
The current default of "keystoneauth1" doesn't convey enough
information, and additionally when the user of a Session supplies their
own user agent, it stomps on any notion of keystoneauth1 being there.

Per RFC 7231 Section 5.5.3
(https://tools.ietf.org/html/rfc7231#section-5.5.3), user agents should
basically be a space-delimited list of product/version pairs in
decreasing order of importance. This change makes the default user agent
something like the following:

keystoneauth1/2.1.1 python-requests/2.8.1 CPython/3.4.1+

Due to the decreasing order of importance, when a user creates a Session
with something like Session(user_agent="my-product/1.0"),
'my-product/1.0' is then prepended to the above list. The only time this
is not the case is if a user agent is provided directly to
Session.request. In that case, the User-Agent header is set to whatever
the provided argument is, verbatim.

This was a change we had originally made to the Transport class in
python-openstacksdk (I80ca26fff3f2522b8232472676396abb86166f91), but
upon moving to keystoneauth instead of our own implementation, it was
noticed that we lost this, and keystoneauth is a better place for this
than for us to re-implement it inside of python-openstacksdk.

Change-Id: I46f336f25fac5b524547bb13e4f5438ebf1d4320
2015-12-15 16:45:17 -06:00
OpenStack Proposal Bot 498938761c Updated from global requirements
Change-Id: I23ff599bd3d405a65f7818357a18e8e3e673a708
2015-12-15 18:12:59 +00:00
OpenStack Proposal Bot 49e087eee0 Updated from global requirements
Change-Id: I9fb298377b9b207565bbed3da1618da4eb17e9ed
2015-11-29 02:33:55 +00:00
OpenStack Proposal Bot 8f680315d5 Updated from global requirements
Change-Id: I9cc861aac740d6605a370d9540e6e143e22c0d36
2015-10-09 05:00:37 +00:00
Jamie Lennox 5e74fed6b5 Remove oslo_config from auth plugin loading
There is still the possibility of a dependency in session, however this
is the main usage. Defines a new option type schema.

Change-Id: Ie508dff449a92c9ea01c46285c10888135e93a97
2015-08-06 10:08:49 +10:00
OpenStack Proposal Bot 0120a214ab Updated from global requirements
Change-Id: Ie826264fdb2b6eeddbc9c4b888e10c36ecb56ea7
2015-07-22 04:56:05 +00:00
Morgan Fainberg 6256a1be56 Remove oslo.i18n dependency
Remove the oslo.i18n dependency from keystoneauth library. This is
to limite the external dependency graph to ensure there is the minimal
surface area that can/could break due to a library update.

This change simply replaces the translation hint functions with a no-op
lambda. As keystoneauth continues to be developed the use of these no-op
functions can be removed.

Change-Id: Iec422765ab0fdf3c23fdf956be2caacff8e3386d
2015-05-28 01:05:05 -07:00
Jamie Lennox 31c1a93e00 Remove oslo.utils dependency
Remove oslo.utils as it has additional dependencies. We still need to
rely on iso8601 which oslo.utils was using.

Change-Id: Ic7da1e7c39e0e7bfa3470c50ef1f3b6df81ac021
2015-05-28 08:59:51 +10:00
Jamie Lennox 06575d3ca5 Remove oslo serialization dependency
Oslo.serialization has a number of dependencies include msgpack which we
want to avoid. We maintain a couple of conversions for convenience that
oslo serialization did for us.

Change-Id: Iacd08f1d0d5acf4cb15dfaf46b1296aab007879e
2015-05-26 15:13:21 +10:00
Morgan Fainberg 5aee35cf6e Remove un-needed requirements
Change-Id: I302d7bf2008cbb38dca340acbb2f40121329cbaf
2015-05-16 16:23:35 -07:00
Monty Taylor d9ce37a663 Remove pbr as runtime depend
It's neither used nor desired.

Change-Id: Idba1b092054ea435f874374aa94919d103ac3be0
2015-05-14 16:34:46 -07:00
Doug Hellmann ea0bcb5370 Uncap library requirements for liberty
Change-Id: Iedcc83c838ba91de90ab089728e6d0cde371394d
Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
2015-04-16 18:13:09 +00:00
OpenStack Proposal Bot 1f8d47e0bf Updated from global requirements
Change-Id: I499261729a8342a7dd733b3d4ff18cb5b86e946f
2015-03-26 11:01:31 +00:00
OpenStack Proposal Bot 4784c32c9b Updated from global requirements
Change-Id: I750e817d2ff4e464f36584e5fd298f8037bd84db
2015-03-05 04:57:50 +00:00
OpenStack Proposal Bot 358729a84d Updated from global requirements
Change-Id: If749314fbad1c0e1c55614fed10e7211c62559af
2015-02-20 13:59:27 +00:00
OpenStack Proposal Bot e21f436d15 Updated from global requirements
Change-Id: I1056ebd68d5befabcddedf8cc57ef1533a8b9690
2015-01-23 04:38:09 +00:00
OpenStack Proposal Bot 256be42455 Updated from global requirements
Change-Id: Id7bc58452db894450b61d08691f7e043549d43c9
2015-01-13 00:15:29 +00:00
OpenStack Proposal Bot a7fc56e51a Updated from global requirements
Change-Id: Ib2bf83a3157aad2a38bd94bbe85252aed1cba8d6
2015-01-09 14:35:31 +00:00
OpenStack Proposal Bot f002ac0a84 Updated from global requirements
Change-Id: I951b387904be3c4f14fbdfe157ecc1d14a79498a
2014-12-16 19:36:34 +00:00
Jenkins c83c736394 Merge "I18n" 2014-11-07 11:55:14 +00:00
OpenStack Proposal Bot 1f9da2b28f Updated from global requirements
Change-Id: I09acde6af1c49862ed456db9b75e064ef354494e
2014-10-28 22:33:03 +00:00
Brant Knudson 961c1048cd I18n
Keystoneclient didn't provide translated messages. With this
change, the messages are marked for translation.

DocImpact

Implements: blueprint keystoneclient-i18n

Change-Id: I85263a71671a1dffed524185266e6bb7ae559630
2014-10-28 20:33:19 +00:00
OpenStack Proposal Bot 3824554018 Updated from global requirements
Change-Id: Ib34efa77d08998f2c8ee5902623da990262da0e0
2014-10-21 12:15:33 +00:00
Steve Martinelli 6db6946c98 Use oslo.utils and oslo.serialization
Left timeutils and strutils in openstack/common since they are used in
openstack/common/apiclient and memorycache.

Change-Id: Idb5f09c159d907dfba84cd1f7501f650318af7d9
2014-10-15 04:25:50 +00:00
OpenStack Proposal Bot fadf2cabf7 Updated from global requirements
Change-Id: I67a599e362685f7990175fb5668e6909d670a225
2014-09-19 18:22:52 +00:00