1. 19 Apr, 2019 1 commit
  2. 27 Aug, 2018 1 commit
  3. 24 Aug, 2018 1 commit
    • qingszhao's avatar
      import zuul job settings from project-config · ab123df1
      qingszhao authored
      This is a mechanically generated patch to complete step 1 of moving
      the zuul job settings out of project-config and into each project
      repository.
      
      Because there will be a separate patch on each branch, the branch
      specifiers for branch-specific jobs have been removed.
      
      Because this patch is generated by a script, there may be some
      cosmetic changes to the layout of the YAML file(s) as the contents are
      normalized.
      
      See the python3-first goal document for details:
      https://governance.openstack.org/tc/goals/stein/python3-first.html
      
      Change-Id: I5cdecba04be96b18503ea1b31fd541d2fd2374d7
      Story: #2002586
      Task: #24322
      ab123df1
  4. 03 Aug, 2018 1 commit
  5. 03 May, 2018 1 commit
    • eeldill's avatar
      Fix sphinx-docs job for stable branch · 7c0d70e1
      eeldill authored
      build-openstack-sphinx-docs jobs fail on stable branches due to the new
      pip version 10 introduces some previously Warning as Error: in case of
      calling "pip install" without any package name, the command fails.
      tox_install.sh is called during docs job without any package passed to pip.
      
      Change-Id: I65f97f063c7d4460f537d0e85ee117aa629392ca
      7c0d70e1
  6. 05 Sep, 2017 1 commit
    • Ihar Hrachyshka's avatar
      Don't iterate through addresses in netaddr.IPNetwork · be828c35
      Ihar Hrachyshka authored
      Currently, to_primitive tries to iterate through all addresses in the
      network, because the type doesn't have a special handling that would
      short curcuit it, but also has __iter__. This may be detrimental to
      performance, up to the point of node crash due to memory exhaustion if
      the passed network range is too large (think of 0.0.0.0/0 or even
      2001::/64). This behavior also makes it impossible to restore the
      original data format (CIDR).
      
      This patch short curcuits the iteration by handling the IPNetwork type
      as a special case, same as we do for IPAddress.
      
      Change-Id: I6aecd2d057d282a655ff9e4918c164253142b188
      Closes-Bug: #1698355
      (cherry picked from commit 38ac21b5)
      be828c35
  7. 20 Jan, 2017 2 commits
  8. 10 Jan, 2017 1 commit
    • Joshua Harlow's avatar
      Prefer raising the python2.x type error for b64 decode errors · ac5787d0
      Joshua Harlow authored
      The current change made in de68f08d37 breaks cinder and other
      projects that were expecting a TypeError, so for now and to keep
      those projects operating translate the py3.x exception from binascii
      into a type error to prefer consistency with existing code.
      
      Change-Id: I4575ea3dad51be9bb2278eb0bfa31cef54c300d5
      ac5787d0
  9. 02 Jan, 2017 1 commit
  10. 22 Dec, 2016 1 commit
  11. 20 Dec, 2016 1 commit
    • Tony Breeds's avatar
      Add Constraints support · 6aa05a3c
      Tony Breeds authored
      Adding constraints support to libraries is slightly more complex than
      services as the libraries themselves are listed in upper-constraints.txt
      which leads to errors that you can't install a specific version and a
      constrained version.
      
      This change adds constraints support by also adding a helper script to
      edit the constraints to remove oslo.serialization.
      
      Change-Id: If02798738dd0293ede4e3d6939e6d5cf6b0182ec
      6aa05a3c
  12. 14 Dec, 2016 1 commit
  13. 12 Dec, 2016 1 commit
  14. 05 Dec, 2016 1 commit
  15. 25 Nov, 2016 1 commit
  16. 09 Nov, 2016 1 commit
  17. 06 Nov, 2016 1 commit
  18. 03 Nov, 2016 1 commit
    • ChangBo Guo(gcb)'s avatar
      Add reno for release notes management · ba8abbad
      ChangBo Guo(gcb) authored
      The release management team have indicated this is their preferred way
      to collect release notes in future.
      
      Closes-Bug: #1634356
      
      Change-Id: Ia8a357ce4a42176b9bc46a715aef7158310c2cf0
      ba8abbad
  19. 22 Oct, 2016 1 commit
  20. 29 Sep, 2016 2 commits
  21. 28 Sep, 2016 1 commit
  22. 20 Sep, 2016 1 commit
  23. 04 Aug, 2016 1 commit
  24. 03 Aug, 2016 1 commit
  25. 01 Aug, 2016 1 commit
  26. 29 Jul, 2016 1 commit
  27. 23 Jul, 2016 1 commit
    • yanheven's avatar
      Fix parameters of assertEqual are misplaced · 5ae04325
      yanheven authored
      Many assertEqual sentences don't follow assertEqual(expected, actual),
      These misplaces have 2 impacts:
      1, giving confusing messages when some tests failed.
      2, mislead other developers, new test modules may follow these wrong pattern.
      
      This patch fix all of them.
      
      Change-Id: Ice3148685b81bf906672b91159fbb29bd618abb0
      Closes-Bug: #1604213
      5ae04325
  28. 12 Jul, 2016 1 commit
    • ChangBo Guo(gcb)'s avatar
      Add Python 3.5 classifier and venv · aa0e4802
      ChangBo Guo(gcb) authored
      Now that there is a passing gate job, we can claim support for
      Python 3.5 in the classifier. This patch also adds the convenience
      py35 venv.
      
      Change-Id: I6f67834cc0f6f204aba2457f71e788d1fafd2640
      aa0e4802
  29. 09 Jul, 2016 1 commit
  30. 30 Jun, 2016 1 commit
  31. 21 Jun, 2016 1 commit
    • Edan David's avatar
      Use {} instead of dict() · 1ec85e90
      Edan David authored
      There is a performance impact when using dict() instead of {}
      in CPython (up to 6 times longer).
      Considering the to_primitive function is recursive this can
      have quite an effect.
      
      Measuring:
      $ python2.7 -m timeit -n 1000000 -r 5 -v 'dict()'
      raw times: 0.24 0.24 0.24 0.239 0.24
      1000000 loops, best of 5: 0.239 usec per loop
      
      $ python2.7 -m timeit -n 1000000 -r 5 -v '{}'
      raw times: 0.0417 0.0413 0.0407 0.0411 0.042
      1000000 loops, best of 5: 0.0407 usec per loop
      
      For more information:
      https://doughellmann.com/blog/2012/11/12/
      the-performance-impact-of-using-dict-instead-of-in-cpython-2-7-2/
      
      Change-Id: Ia0b5892773a19cbabe40313a3bc788580a943f53
      1ec85e90
  32. 09 Jun, 2016 2 commits
  33. 08 Jun, 2016 1 commit
    • Gevorg Davoian's avatar
      Replace TypeError by ValueError in msgpackutils · 4fdaeff7
      Gevorg Davoian authored
      There are some differences in the behaviour of json and msgpack
      serializers. Msgpack throws TypeError when it doesn't know
      how to handle an object. Json throws ValueError instead. Regarding
      the fact that serialization should be configurable (in particular,
      serializers should have similar behaviour; right now transition from
      json to msgpack leads to errors and fails) this patch proposes to
      raise ValueError instead of TypeError on failures so that libraries
      already using jsonutils would be able to also work with msgpackutils.
      
      Change-Id: I3d21b7d136e5a426a3c4a70a953c82ddcd6ef5af
      4fdaeff7
  34. 07 Jun, 2016 1 commit
    • Jim Baker's avatar
      Support serializing ipaddress objs with jsonutils · 8943c736
      Jim Baker authored
      Fixes jsonutils.to_primitive so that it can serialize ipaddress
      objects, as used by Python 3 or through the backport in
      global-requirements.txt. Current support for netaddr is maintained.
      
      Change-Id: I6aa1ecd5be754f61cdda4e47bc0e0180e232b366
      Closes-bug: 1590076
      8943c736
  35. 01 Jun, 2016 1 commit
  36. 31 May, 2016 1 commit
  37. 26 May, 2016 1 commit