← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1807976] [NEW] In python 3.7 the definition of a printable character is changed so test_flavors fails

 

Public bug reported:

'test_name_with_non_printable_characters' in the 'test_flavors' unit
tests checks to see that a non-printable character cannot be allowed in
a flavor name. This fails in python 3.7.

The reason it fails is because in Python 3.7 the 'unicodedata' package
was updated [1] to Unicode 11 and what's printable has changed.

The fix to the problem is to use a _really_ unprintable unicode char,
according unicode 11.

[1] https://docs.python.org/3/whatsnew/3.7.html#unicodedata

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: testing

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1807976

Title:
  In python 3.7 the definition of a printable character is changed so
  test_flavors fails

Status in OpenStack Compute (nova):
  New

Bug description:
  'test_name_with_non_printable_characters' in the 'test_flavors' unit
  tests checks to see that a non-printable character cannot be allowed
  in a flavor name. This fails in python 3.7.

  The reason it fails is because in Python 3.7 the 'unicodedata' package
  was updated [1] to Unicode 11 and what's printable has changed.

  The fix to the problem is to use a _really_ unprintable unicode char,
  according unicode 11.

  [1] https://docs.python.org/3/whatsnew/3.7.html#unicodedata

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1807976/+subscriptions


Follow ups