SRU: Fix patsy autopkg tests

Bug #1800607 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
patsy (Ubuntu)
New
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned

Bug Description

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.

[Test Case]

patsy autopkgtests passing

[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 "").

Matthias Klose (doko)
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Matthias, or anyone else affected,

Accepted patsy into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/patsy/0.4.1+git34-ga5b54c2-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in patsy (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
description: updated
Revision history for this message
Matthias Klose (doko) wrote :

autopkg tests are fixed, for both python3-defaults and patsy triggers.

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for patsy has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package patsy - 0.4.1+git34-ga5b54c2-1ubuntu0.1

---------------
patsy (0.4.1+git34-ga5b54c2-1ubuntu0.1) bionic-proposed; urgency=medium

  * SRU: LP: #1800607.

 -- Matthias Klose <email address hidden> Tue, 30 Oct 2018 09:47:22 +0100

Changed in patsy (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.