FTBFS due to failed assertion in test_nested_env_delimiter_complex_required

Bug #1981341 reported by Nick Rosbrook
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pydantic (Ubuntu)
Fix Released
Undecided
Nick Rosbrook

Bug Description

Failed build log here: https://launchpadlibrarian.net/609965365/buildlog_ubuntu-kinetic-amd64.pydantic_1.9.0-1_BUILDING.txt.gz

This fails because of the `V=1` environment variable set by LP builds [1]:

```
User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-23574084
SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-23574084
SCHROOT_COMMAND=env
SCHROOT_GID=2501
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=build-PACKAGEBUILD-23574084
SCHROOT_UID=2001
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=unknown
USER=buildd
V=1
```

The failing test case expects that `V` is unset in the execution environment, so that the default value is used.

[1] LP: #516208

Nick Rosbrook (enr0n)
tags: added: update-excuse
Revision history for this message
Nick Rosbrook (enr0n) wrote :
Changed in pydantic (Ubuntu):
status: New → In Progress
assignee: nobody → Nick Rosbrook (enr0n)
Revision history for this message
Nick Rosbrook (enr0n) wrote :
Steve Langasek (vorlon)
Changed in pydantic (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pydantic - 1.9.0-1ubuntu1

---------------
pydantic (1.9.0-1ubuntu1) kinetic; urgency=medium

  * debian/rules: undefine V environment variable to avoid breaking unit test
    assumptions (LP: #1981341).

 -- Nick Rosbrook <email address hidden> Mon, 11 Jul 2022 11:43:55 -0400

Changed in pydantic (Ubuntu):
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.