| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Zoneinfo was introduced within python 3.9.
The support of pytz will be removed within RHEL 10 [1].
2023.2 (bobcat) will move our testing runtime to py3.9 and py3.10
so we want to see pytz removed within this series.
tzdata is required at runtime in our gates, because, by default,
zoneinfo uses the system’s time zone data if available; if no system
time zone data is available, the library will fall back to using the
first-party tzdata package available on PyPI. Apparently our gates have no
time zone data available nor tzdata installed by default because we get the
following error without tzdata installed [3]:
`ModuleNotFoundError: No module named 'tzdata'
So I prefer to add tzdata in our requirements to avoid runtime failure
related to time zone and ensure that time zone are always available.
[1] https://issues.redhat.com/browse/RHEL-219
[2] https://review.opendev.org/c/openstack/governance/+/872232
[3] https://zuul.opendev.org/t/openstack/build/0a1576775e894b09bc31269fea00ba03/log/job-output.txt#1445`
Depends-on: https://review.opendev.org/c/openstack/requirements/+/875854
Change-Id: I1f88bdadc68bfa726eac1da1c5824c1ed352ad98
|
|
|
|
|
|
|
| |
We don't use this at runtime. No need to install it.
Change-Id: I5d7d526beebc39de2fa0ff8c6b1d2458c6a3d0bb
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
|
|
|
|
|
|
| |
Replace six with Python 3 style code.
Change-Id: I52aa4a0f679b56ffa57cdd2199933e36cf076992
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Importing pkg_resources has a side-effect of scanning the metadata of
every installed python package. That is excessive overhead for a
function that needs to compare two version strings.
This change replaces pkg_resources with the packaging library, which
is also used as the implementation for version parsing within
setuptools and pkg_resources.
Change-Id: Ic9bda0783d3664e1f518d513d81b3271028335fd
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Change-Id: If437786eb8dbba9386dd473b45dab0933812c649
|
|
|
|
|
|
|
|
|
|
|
| |
A change to the global-requirements[1] has limited use of the monotonic
library to Python versions earlier than 3.3 (later versions have
built-in support for a monotonic clock), so no requirements changes can
be merged until we similarly limit it in requirements.txt.
[1] https://review.openstack.org/615441
Change-Id: Ib53d89ea820d21114d10280c9f4ab1b0c2c4a4bc
|
|
|
|
| |
Change-Id: Iec6b77a93b4651695affbe570b2c50f19798c225
|
|
|
|
| |
Change-Id: I6a497f6c3038717eea89f2c9e997f142f7a9657b
|
|
|
|
| |
Change-Id: I6ae50d73178aab40946108e2a2e27fa191e842fa
|
|
|
|
| |
Change-Id: Ia1879d0ef8c8979d903ad71f18b85f8894195870
|
|
|
|
| |
Change-Id: I16ce7840503273a0a1c545123930e2c65ab04276
|
|
|
|
| |
Change-Id: Iec0c73d4e04db26942632649d7bd98769d663c01
|
|
|
|
| |
Change-Id: I1c5feff363af5715e8b905ff7667865e20342013
|
|
|
|
| |
Change-Id: Iac0d856b42f6289fd7d4aa9d332a54e865270e3b
|
|
|
|
| |
Change-Id: Id4a7c043a841cfcfb4927573298213b14cffa0b0
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of a custom build parser and evaluator for
specs use an actual formal parser and evaluation of
that parse result instead, making that custom parser
now be one that follows a more normal way of creating
and evaluating a DSL.
Also removes <all-in> operator, since it is buggy. (It
will be added later when the issue has been resolved.)
Co-authored-by: Alexis Lee <lxsli@hpe.com>
Change-Id: I10f7dff8c83e5b6983515677e80cefa55881a92c
|
|/
|
|
| |
Change-Id: Ib32c3a895d4c23b4603c516f82d092623948c6a6
|
|
|
|
| |
Change-Id: Ia408f1e02c26bbb5d5dd48a0a913e6e233a9d3ae
|
|
|
|
| |
Change-Id: Iac94294cf8d8c41fea31e8e62b2b290d532db729
|
|
|
|
| |
Change-Id: Ie4e04746501a3d9af523ed33295492f448be0e74
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This function is the recommended way to get information
about functions going forward, so all the variations of
getargspec can just use this instead (including the variations
of this used in openstack).
This exposes a 'get_signature' function that correctly aliases
the exposed function in python3.x and the backwards compat
library (funcsigs) that exposes this same information in python2.x
Internally in the other reflection functions we now switch
away from using getargspec as well, and replace it with using
this new signature object/function instead.
Depends-On: I1aa0054089ca57fc2d68779f4ee133a9750fec2a
Change-Id: I910b353f5db290832ef87bf7c5e5bb2e9788e3ec
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For now revert this, at a later date we can reapply
this but we need to order this a little differently to
make it work out.
This reverts commit 2abbe1c3b19490f570c29502cd56ec92daf4ca45.
Change-Id: I20f3c5804caf1af698aa0f6397a9953eb9aba829
|
| |
| |
| |
| |
| |
| | |
There's no need to install Babel to use this library.
Change-Id: I023a8e8e4db8cfadb1a85210ab943310827b0ab8
|
|/
|
|
|
|
|
|
|
|
|
| |
netifaces is a very heavy requirement especially for
python clients, the code that uses netifaces is called
only in exception paths at least now. So let us move
this requirement to extras to reduce the time taken
to install oslo.utils.
Closes-Bug: #1517069
Change-Id: If3430364e49c1c0b1d9f4937bb67900380662728
|
|
|
|
| |
Change-Id: I376a8b8f2148254b7a3c828644b6e5bfbd910f9f
|
|
|
|
| |
Change-Id: I7d30e54d6268b104060563005e63cd1cddeff215
|
|
|
|
| |
Change-Id: Ia26864f6e81771d2867a12b95e271ea2a4dea12d
|
|
|
|
| |
Change-Id: I771d6e143643ee6cd267b752a7e9d7aa4cecc8ad
|
|
|
|
| |
Change-Id: I73a4bd75e4fee956cc16cd48763f0ce7764a8a78
|
|
|
|
|
|
|
|
|
|
|
|
| |
That library already does this same/equivalent search and
ensures that a monotonically increasing time is made available
so we can just avoid looking around for it ourselves.
Depends-On: I0f07858e96ea3baf46f8a453e253b9ed29c7f7e2
Depends-On: I33bd2d9dff9cb7dc1a50177db7286b7317966784
Change-Id: Idd2109c8947d10cdbd62c53998ab2e31382e8633
|
|
|
|
| |
Change-Id: I8a112859b8359a7d0d2f1cfaa4a42ebbcf2e3d48
|
|
|
|
|
|
| |
pytz is used by timeutils, but it's not listed as a requirement.
Change-Id: I701960b4df399e5aed66ff12ed9bf82ee037de6d
|
|
|
|
|
|
|
|
|
|
| |
As Victor Stinner suggested, there is a superior alternative that is
bug-free concerning timezone aware and unaware datetime, and that's the
native datetime.datetime.isoformat() function.
Let's deprecate our local isotime version.
Change-Id: I35ef3205657481f2a49a060ccb199babe582ff7e
|
|
|
|
| |
Change-Id: I1323ff1cabec6d2af7296b77cef4f86e6c0c1233
|
|
|
|
|
| |
Change-Id: I430f638d35ea1c8f8e1bcdf024cd7efe7532dd9b
Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I873cf64c4ea3bf8fd16bfce7da54f153a52b02d1
|
| |
| |
| |
| | |
Change-Id: Id8e1761be8c1beec1f653cf93059451a235ceca7
|
|/
|
|
| |
Change-Id: I44625894bb50404c2f38726111da0b0e4ad6c8b6
|
|
|
|
| |
Change-Id: Idf7ff1d21b0ccf22a16859ec53409c0250c39ee2
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add pbr to the list of installation requirements so that it is installed
via pip before this library is installed, instead of with easy_install.
This avoids issues like Bug #1384919, and ensures that projects that use
this library as a dependency are properly installed.
Change-Id: I6c155370dbd01fe4748d5137bdf288e8d3e1a67e
|
|/
|
|
|
|
|
|
| |
At the moment function _get_my_ip() exists (at least) in Cinder,
Ironic, Neutron, Nova and Tuskar, so there is a sense to keep
it in common code.
Change-Id: I3c37d6ea3e8bef7b8a5e21baedd1b2b94369515f
|
|
|
|
|
|
|
|
| |
There are many projects on OpenStack that use
ip validation. It would be nice to have function
for validation in common module.
Change-Id: Ia723490a02b1816fe96c3a02e069d57f4d97d940
|
|
|
|
| |
Change-Id: I76122c5b62519e90bcd1a39fb0961cb9c3de94d9
|
|
|
|
| |
Change-Id: Ic005fba7c3ec888d2c047ade1d439d09d12ab0e7
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Addresses-Bug: #1365061
|