** Description changed:

- Fix the patsy autopkg tests, backporting the patch from cosmic.
+ Fix the patsy autopkg tests, backporting the patch from cosmic. This is
+ due to a behavior change in the python 3.6.7 tokenizer module.
+ 
+ Regression potential: Unlikely, but this fix was done on all active
+ Python branches.
+ 
+ 
https://github.com/python/cpython/commit/c4ef4896eac86a6759901c8546e26de4695a1389
+ (not yet in any released version, but it's been backported to all
+ versions of Python in git, even 2.7!) changed the behaviour in the
+ stdlib's tokenize module to emit a synthetic NEWLINE token even if the
+ file does not end with a newline. This was causing a spurious
+ "mixed-line-endings" warning to be emitted, but luckily the synthetic
+ token is easy to test for (the token text is "").

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1800607

Title:
  SRU: Fix patsy autopkg tests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/patsy/+bug/1800607/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to