| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Python 2 has been deprecated for almost two years, and has not been
guaranteed to work with glance_store for a while. This patch removes all
traces of six, unicode strings and Python 2 tweaks.
Co-Authored-By: Cyril Roelandt <cyril@redhat.com>
Change-Id: Ifa78924d7ecf4f2d9a54c677888ab2926530c487
|
|
|
|
| |
Change-Id: I6c232e80ed5975e156f6ddf34e9a8944ac35f2d6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
md5 is not an approved algorithm in FIPS mode, and trying to
instantiate a hashlib.md5() will fail when the system is running in
FIPS mode.
md5 is allowed when in a non-security context. There is a plan to
add a keyword parameter (usedforsecurity) to hashlib.md5() to annotate
whether or not the instance is being used in a security context.
In the case where it is not, the instantiation of md5 will be allowed.
See https://bugs.python.org/issue9216 for more details.
Some downstream python versions already support this parameter. To
support these versions, a new encapsulation of md5() has been added to
oslo_utils. See https://review.opendev.org/#/c/750031/
This patch is to replace the instances of hashlib.md5() with this new
encapsulation, adding an annotation indicating whether the usage is
a security context or not.
It looks like the uses of the md5 are primarily for checksums and
generation of etags.
With this patch, all the unit and functional tests appear to pass
on a FIPS enabled system.
Change-Id: I0603ba217d6dc19f5c9f73c60c7b365efd28d30b
Depends-On: https://review.opendev.org/#/c/760160
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.
[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
Change-Id: I097b2d0349083cad1908db8dc25a33d9ad492adb
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 sections from setup.cfg:
* Wheel is not needed for python 3 only repo
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: I12ecea6b3cfcca8edd5adedac91f906d77f4ff36
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have jsonschema capped at a fairly old version. Other than some
specific releases, it looks like keeping it below 3.0 was added in
I943fd68b9fab3bce1764305a5058df5339470757 without really any explanation
why.
In order to update to a 3.x release we need to:
1. Remove the cap from global-requirements.txt (see Depends-On), leaving
upper-constraints.txt at a 2.x release
2. Remove the cap from all consumers (this change)
3. Release a new version of consumers that are published to pypi
4. Update upper-constraints.txt with those new releases
5. Update jsonschema in upper-constraints.txt to a 3.X release
(See: https://review.openstack.org/649789)
6. Test consumers with the change from 5.
7. [Optional] fix issues in consumers that arise from 6.
8. Merge the change from 5.
Change-Id: Iaabde1c8e8a9d23952e499810715adac992f67cc
Co-Authored-by: Sean McGinnis <sean.mcginnis@gmail.com>
Depends-On: https://review.openstack.org/649669
|
|
|
|
|
|
|
|
|
|
| |
doc8 is not required to use this module, only for style
checking of RST documentation.
Move from requirements.txt -> test-requirements.txt to avoid
generating a run-time dependency on doc8.
Change-Id: I3ae3909401eb53d4442e6d369228e235e1d5d60e
|
|
|
|
|
|
|
|
|
|
| |
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.
Change-Id: If1bbf13b94f301d3d3330439c9352050ee030ed7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
| |
Change-Id: Ib6a5cae62c27c9cce648665426d2d798835ff76b
|
|
|
|
| |
Change-Id: Ib9ab50dc3f7e526da7511032b5986adbe1585c43
|
|
|
|
| |
Change-Id: Iabcfed5d75d1bf84a4abe27ab750759bfc922715
|
|
|
|
|
|
|
|
| |
This patch adds a doc8 check of .rst files to the current pep8 check.
It includes fixes to the .rst files that didn't pass the check.
Co-authored-By: Nguyen Van Trung <trungnv@vn.fujitsu.com>
Change-Id: If35a7a9ea64c7482306ef6403e9585b78da27fb9
|
|
|
|
| |
Change-Id: Ibedbbbc52723e4ba1bc050322b4d86d5635490bb
|
|
|
|
| |
Change-Id: Iae6c32991d5899441105c2ac5d96a97f0912937f
|
|
|
|
| |
Change-Id: Id63aa141797eaba43de75415c6038752c5887016
|
|
|
|
| |
Change-Id: Id2e6c51f67a1360f1f609d58c0083fa0b0a43752
|
|
|
|
| |
Change-Id: Id3935c9a7294eb02ace95abbe5378b7afd2ee081
|
|
|
|
| |
Change-Id: I11f51a48f51370250f5bb0f724b9b1ebcd2a5af6
|
|
|
|
| |
Change-Id: Ia690fc4881e5aa1a60eebd2d1085e5a5e14eeed4
|
|
|
|
| |
Change-Id: I549a5b935edd60b4a2754e0b4ba00a1353653960
|
|
|
|
| |
Change-Id: I5f5e7f460d6a1eb3dc0e0a22bf5310009728dfdd
|
|
|
|
| |
Change-Id: Iff6f44f183a0e011c8d1338d3e77f5a60370d2b7
|
|
|
|
| |
Change-Id: I5e8336c9102cbf79ab64b7b0cd2eb1832029f779
|
|
|
|
| |
Change-Id: I4760baca3f2bf2bfca4dc02bdc68584740ba211c
|
|
|
|
| |
Change-Id: Ib2f5e6051f3205b4994f2f832b501052b402d247
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
We have not use debtcollector in whole glance_store,
so remove it in requirements.txt.
Change-Id: I6c4f559d896cc9dc632ea5e33ddba20753f1b026
|
| |
| |
| |
| | |
Change-Id: Ia0e03bbf431e0fa984d8ea576c5abee2a33956cc
|
| |
| |
| |
| | |
Change-Id: I5959d1506846b0495987b14655847d800e54ad27
|
| |
| |
| |
| | |
Change-Id: I230fff0bb64be9e3a8485d94c8c3786feab73a50
|
| |
| |
| |
| | |
Change-Id: I3555871b9158d0d7d05cd59b11c567bbc67ab2bc
|
|/
|
|
| |
Change-Id: If9e8f2a842f95ff716338493dc0aaefd367c8618
|
|
|
|
| |
Change-Id: I4a35292131d240cde15aa64652afef46f246e6a1
|
|
|
|
| |
Change-Id: Ifd9402de4e24c0f50e1681bf37fbf704c4fe08bc
|
|
|
|
|
|
|
|
|
|
|
| |
A direct conversion of keystoneclient usage to the newer supported
keystoneauth library. The libraries are largely compatible and there
should be no issues swapping between them.
This doesn't fix any problems of the way auth is used, it just changes
out the library.
Change-Id: Ibe212e17150a3c750e9c2536a4c869d87e9d4e13
|
|
|
|
| |
Change-Id: I3d21acc45dd4bffa217f4429fc4e2542bfd03bc5
|
|
|
|
| |
Change-Id: Ifdf2bb1b074c684570e086d93d508873f12c38b3
|
|
|
|
| |
Change-Id: Ida8c040a68c1e08a285cf0dac1a71f621b8cde9e
|
|
|
|
| |
Change-Id: I47dc6a045691d76856132a4cb68c4f7f2d83845a
|
|
|
|
| |
Change-Id: I4edae05f26c2978d17e3df604dfedb83fc5e8289
|
|
|
|
| |
Change-Id: Id8e6de6a7109156f9b04e833a1f420b919f8c00b
|
|
|
|
| |
Change-Id: I58598d380cc64bbe4ce1aa5af0031875a342c0b0
|
|
|
|
| |
Change-Id: Id7c185ae48531a1f052d70c69cf7f2cfb0640712
|
|
|
|
| |
Change-Id: Icc920b9a7f6a0720aa75acee831e779764f7ad27
|
|
|
|
| |
Change-Id: I9f21e3ad5c7f91749adc8909d548798906d5abd4
|
|
|
|
| |
Change-Id: Idc583c898ae87d58df350aafa46cf443074e366c
|
|
|
|
| |
Change-Id: I9c0a91a100d0f8b0525f2bb8d15e1d1aa32fc2c7
|
|
|
|
| |
Change-Id: I722aaf80e7717fb7ce848d6aafe9c4bb9f1d7e93
|
|
|
|
| |
Change-Id: I63f6b8995624b793e7b1892b5a65b04c020f339c
|
|
|
|
| |
Change-Id: I865ce8cc4270dae57c575ae341f8b7b327c9f7fa
|