bionic python3-invoke breaks on hello world equivalent

Bug #1844074 reported by Brad Walker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-invoke (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Please upgrade to 1.3.0.

[brad@x220 bug]$ mkdir /tmp/eyebrow-raise
mkdir: created directory '/tmp/eyebrow-raise'
[brad@x220 bug]$ cd /tmp/eyebrow-raise
[brad@x220 eyebrow-raise]$ cat > tasks.py
from invoke import task

@task
def build(c):
    print("Building!")
[brad@x220 eyebrow-raise]$ inv build
'build' did not receive all required positional arguments!
[brad@x220 eyebrow-raise]$ mkvirtualenv invoke-bug -p $(which python3)
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/brad/.virtualenvs/invoke-bug/bin/python3
Not overwriting existing python script /home/brad/.virtualenvs/invoke-bug/bin/python (you must use /home/brad/.virtualenvs/invoke-bug/bin/python3)
Installing setuptools, pkg_resources, pip, wheel...done.
(invoke-bug) [brad@x220 eyebrow-raise]$ pip install invoke
Requirement already satisfied: invoke in /home/brad/.virtualenvs/invoke-bug/lib/python3.6/site-packages (1.3.0)
(invoke-bug) [brad@x220 eyebrow-raise]$ inv build
Building!

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python3-invoke 0.11.1+dfsg1-1
ProcVersionSignature: Ubuntu 5.0.0-23.24~18.04.1-generic 5.0.15
Uname: Linux 5.0.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: GNOME-Flashback:GNOME
Date: Sun Sep 15 16:10:16 2019
InstallationDate: Installed on 2019-09-14 (0 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitecture: all
SourcePackage: python-invoke
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Brad Walker (bradmwalker) wrote :
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Released in Focal 20.04

Changed in python-invoke (Ubuntu):
status: New → 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.