Commit Graph

58 Commits

Author SHA1 Message Date
Takashi Kajinami ef0c3f1186 Bump hacking
hacking 3.0.x is too old.

Change-Id: I33cd4c78c4f6c4ba8e09db7b6f175b8da2cc5f64
2024-01-26 01:14:08 +09:00
Ghanshyam Mann b015f45fb5 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.


Story: #2007865
Task: #40207

Closes-Bug: #1886298

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h>

Change-Id: Ic7b25781fad8868665f445bd7bef4f51284be192
2020-08-04 03:45:01 +00:00
Rodolfo Alonso Hernandez 1dc378c76f Undo the eventlet monkey patch for the privileged daemon
Change-Id: I422125b137a3beadb0a79f5944a19fce62f093d6
Closes-Bug: #1887506
2020-07-15 14:48:08 +00:00
Ben Nemec d18643ada7 Bring sanity to lower-constraints
This is all necessary to bump the lower-constraint on msgpack so we
can support msgpack 1.0 without version-specific logic in our code.

The reasons for the changes are as follows:

* greenlet and PyYAML bumped because the previous lower-constraints
  for those didn't install on python 3.7, which is a supported Python
  version.
* msgpack-python is removed. It was replaced by msgpack and there is
  no new enough release of it to satisfy the needed minimum version bump.
* oslo.serialization is bumped because the old version was pulling in
  msgpack-python, which overwrote our new needed version of msgpack.
* I went ahead and included the msgpack bump to 0.6.0 so we can move
  forward in the subsequent patch with supporting msgpack 1.0.0.

It could be argued that this should be included in the msgpack 1.0.0
change, but it ended up being complex enough that I thought it was
worth it to split it out.

Change-Id: I69dae65d3e0a40bb2304d74de078ab84fc778d58
2020-03-18 21:02:38 +00:00
Hervé Beraud c4d72cfcdf [ussuri][goal] Drop python 2.7 support and testing
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: Ia01dfa4bc5d7224bb0f753116cd23bdcc22df146
Sem-Ver: api-break
2020-02-06 10:25:13 +01:00
Javier Pena a25a652d89 Add futures as a requirement for Python 2
[1] added futures as a requirement for Python 2, but did not include
it as part of the requirements.txt and lower-requirements.txt files.

[1]- https://review.openstack.org/593556

Change-Id: I741f406ac348a09dc0ea08396a1f7242652fde6f
2018-12-17 08:58:31 +01:00
Doug Hellmann d5d486faed fix lower constraints and uncap eventlet
Fix the lower constraints values to match the expected values.

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.

Update msgpack to >=0.5.0 because 0.4.0 is no longer available on PyPI
and we need the lower bound to match the lower constraint.

Change-Id: Ic692cc024bc60b1913fb9eac60be92f7dd353a89
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-12 14:33:57 -04:00
OpenStack Proposal Bot e89c12fbb4 Updated from global requirements
Change-Id: Id9bfc06b7d977f2b4b331eac203670cce8680b2e
2018-03-15 07:50:02 +00:00
Zuul e9e4187a74 Merge "msgpack-python has been renamed to msgpack" 2018-01-19 12:48:22 +00:00
OpenStack Proposal Bot 77cb054076 Updated from global requirements
Change-Id: I7cb9b92c7769b7f53807b00557a6f746e3a7c1a5
2018-01-16 04:27:27 +00:00
Dirk Mueller af266d1762 msgpack-python has been renamed to msgpack
Change-Id: I4d7247a7914240732a9c6c6b8ca965bcdae0323b
Related-Bug: #1743445
2018-01-15 20:42:49 +01:00
OpenStack Proposal Bot e264b1f9d0 Updated from global requirements
Change-Id: I9c732f335fa019ae8c198df2e6f7723a2813fa20
2017-12-19 01:39:09 +00:00
OpenStack Proposal Bot 8d26b3c7e7 Updated from global requirements
Change-Id: I972c99eeef3fd73da197ec2a1e0a40c8b9cfeb7e
2017-11-29 09:15:33 +00:00
OpenStack Proposal Bot 0ad37089bf Updated from global requirements
Change-Id: I669700d731ff6d9a361ba4e5e5362f162dd51a14
2017-11-15 18:25:48 +00:00
OpenStack Proposal Bot a6b8335a70 Updated from global requirements
Change-Id: Ia1639aa58a476486e95bd261ccd731940767e226
2017-11-12 21:14:06 +00:00
OpenStack Proposal Bot f80e5cdd1a Updated from global requirements
Change-Id: I1d9134d9ec4ebddc0d4511fcbf1a50fcd5bd13fb
2017-09-20 16:23:12 +00:00
OpenStack Proposal Bot 4bd503f3fa Updated from global requirements
Change-Id: Iea86b55df8a94f52902cdd43b474df8f4a3e14be
2017-09-11 21:47:16 +00:00
OpenStack Proposal Bot 8b0d620880 Updated from global requirements
Change-Id: Iee33616457fb221e419f3448ee36c10f0ab7348d
2017-08-24 05:58:42 +00:00
OpenStack Proposal Bot 9c3ba1ee59 Updated from global requirements
Change-Id: I5147fa0ea70beba33c785be95020a0e5725eec06
2017-06-15 16:33:06 +00:00
OpenStack Proposal Bot fea89e6133 Updated from global requirements
Change-Id: I1e68f24929c9a4a39b0de355172a4ba589f1e767
2017-06-10 13:35:32 +00:00
OpenStack Proposal Bot e167ec4dd2 Updated from global requirements
Change-Id: I227008c1dc614fc2a377b79e9be21952b36474cf
2017-06-02 02:35:11 +00:00
OpenStack Proposal Bot d38970ae0e Updated from global requirements
Change-Id: I8cb285dabbe23a4b8cda1d2d7deb6993e09dcb61
2017-05-23 11:58:08 +00:00
OpenStack Proposal Bot 1974564d9a Updated from global requirements
Change-Id: I44b83eaa132cc250c4d904295b9e5d7bbf11bc91
2017-05-20 04:43:17 +00:00
OpenStack Proposal Bot fc61029a74 Updated from global requirements
Change-Id: I8d5ac2881b580545b80e6102a6a9c202bb271b7a
2017-03-28 21:36:26 +00:00
OpenStack Proposal Bot ad15e556c3 Updated from global requirements
Change-Id: I442959d3fb54782c3add27617f5f699c6664f14f
2017-03-13 19:40:11 +00:00
OpenStack Proposal Bot 575eea12f8 Updated from global requirements
Change-Id: I70e81b9d047bd6c4e223ab6ebe1ed07ec49aad5e
2017-03-03 00:03:13 +00:00
OpenStack Proposal Bot 8c2c6b254a Updated from global requirements
Change-Id: I08d6b8793aa36da91c1f127df35432220dde2279
2016-11-06 02:05:55 +00:00
OpenStack Proposal Bot b7cac15e7c Updated from global requirements
Change-Id: Icf35c54adc91b4ec91307aba157a104b8d42deb9
2016-11-02 15:39:21 +00:00
OpenStack Proposal Bot 2d6deb87e6 Updated from global requirements
Change-Id: I8aa1faf0221e04595092c4fab9d2ab626386d42a
2016-10-21 00:49:20 +00:00
OpenStack Proposal Bot e891746a16 Updated from global requirements
Change-Id: I779bcc5675793e8088cf1471e4a1169051f19bdc
2016-09-22 10:46:36 +00:00
OpenStack Proposal Bot a029855495 Updated from global requirements
Change-Id: Idc40c5476f5901a3d36abeda6ccb3f6775b99d35
2016-08-18 12:39:34 +00:00
OpenStack Proposal Bot 108b2016a9 Updated from global requirements
Change-Id: I6c2663aa86430efa6dba6eb6ad6a6254cf597e10
2016-07-29 02:33:59 +00:00
OpenStack Proposal Bot e46eebfebe Updated from global requirements
Change-Id: I8732b615f3947d5c0ae8160478964ceece73385c
2016-07-09 19:26:00 +00:00
OpenStack Proposal Bot b5e1c13884 Updated from global requirements
Change-Id: Iac37d82a5bbfcf289ca13bf957b513f938c4e8e7
2016-06-30 18:48:32 +00:00
OpenStack Proposal Bot 6bcde24765 Updated from global requirements
Change-Id: Ib8ad8485602c2cf46c9dfce64191c7647bd56f6b
2016-06-03 18:18:08 +00:00
Joshua Harlow 54e2d2f7f5 Remove direct dependency on babel
The dependency on oslo.i18n already forces this requirement.

Change-Id: I8c17d04110c23b30d569baf7c40ce0ee7d1046b0
2016-04-18 14:16:00 -07:00
OpenStack Proposal Bot 0e5d1c922b Updated from global requirements
Change-Id: I9cd5384ef594651f2eac3a68b1eee931f744337d
2016-04-13 12:47:36 +00:00
OpenStack Proposal Bot 8b2563fdf0 Updated from global requirements
Change-Id: Ibb670a4e75ccce58f03971f2e7a963736c191c2b
2016-04-07 17:13:21 +00:00
Angus Lees 030f36f556 Switch to msgpack for serialization
This change switches from JSON to msgpack for encoding messages on the
privileged channel.  The binary encoding is faster(*) and msgpack's
primitives are a better fit for Python's.  In particular, bytes and
non-string dict keys are supported without an additional layer of
encoding.

Note that lists are now converted to tuples across
serialization/deserialization, and this is the opposite of the previous
behaviour.  There is no point modifying arguments to privsep
entrypoints, and this makes the values hashable (if desired) without an
additional conversion step.

(*) Since you asked: For a trivial arg/return value, this version is
about 1.5x faster than the previous json version - and many times faster
for non-trivial cases.  Please focus on the "better fit for python's
datatypes" aspect however.

Change-Id: I4299c2fc059807610f83e12a2d470e020930c64c
2016-03-22 15:16:23 +11:00
OpenStack Proposal Bot bd0baf506c Updated from global requirements
Change-Id: Ia731a3f36c25a715d6eec79ceeb557512ba6ef0a
2016-02-26 01:52:32 +00:00
OpenStack Proposal Bot b6f64b1971 Updated from global requirements
Change-Id: I57f2b7ff133721e6167ccc872db518c7c614338d
2016-02-20 21:59:40 +00:00
OpenStack Proposal Bot 693213039f Updated from global requirements
Change-Id: I84ccc7390d0fc72dea41a422a877e22824710296
2016-02-19 18:55:41 +00:00
Angus Lees 4fba8f505b Ensure fdopen uses greenio object under eventlet
The _fd_logger function works around a regular Unix pipe, with a python
file object wrapped around both pipe file descriptors.  This would be
stupidly simple and obvious, except eventlet.

We need to use the fdopen from io.open(), and not os.fdopen() (on py2;
on py3 they're the same), because the older python file objects have
broken behaviour regarding blocking reads.  Eventlet doesn't monkey
patch os.pipe, nor anything in io.* - so none of the existing eventlet
monkey_patching will "just work" for our case.

This change adds a custom `fdopen` function that explicitly uses
greenio.GreenPipe or io.open as appropriate - and uses this to always
return an eventlet-safe file object.

Change-Id: I4a6c0d4247aca17536316fb0ab163241ad545b20
2016-02-18 09:57:33 +11:00
OpenStack Proposal Bot c97dd6d432 Updated from global requirements
Change-Id: Ic70dbecf1c90dbda471cd724731b2ccad3b86914
2016-01-26 23:28:02 +00:00
OpenStack Proposal Bot 874fd1aed3 Updated from global requirements
Change-Id: I0b43df64aca9fefbafc6d7c8da7f19560ff931cb
2016-01-23 10:34:56 +00:00
OpenStack Proposal Bot 8874899999 Updated from global requirements
Change-Id: I3637d444f7b41730ac880763834a7a0117aaedd2
2016-01-18 22:45:05 +00:00
OpenStack Proposal Bot 6a0a42de36 Updated from global requirements
Change-Id: I57d45c101c8ba8b2975c3df5c25a541d7827cc06
2016-01-17 01:14:54 +00:00
OpenStack Proposal Bot 4962e83a31 Updated from global requirements
Change-Id: I40607b5bca9f43ccd34760a70c2ec216865cd984
2016-01-07 06:56:30 +00:00
OpenStack Proposal Bot f7af9e76fc Updated from global requirements
Change-Id: If3aa807d69defa1e76ec33d6ce4e615492eee657
2016-01-04 20:14:44 +00:00
OpenStack Proposal Bot b364f7704a Updated from global requirements
Change-Id: I881852330f0c4d4f857bc7fc2ecc1ff30fe18a68
2015-12-15 18:59:16 +00:00