[Python-apps-team] Bug#945139: pipenv: update to latest pipenv
HAMANO Tsukasa
code at cuspy.org
Thu Nov 21 12:39:31 GMT 2019
additional info:
$ /usr/bin/pipenv --version
pipenv, version 11.9.0
$ /usr/bin/pipenv check
Creating a virtualenv for this project…
Using /usr/bin/python3.7m (3.7.3) to create virtualenv…
⠋/usr/bin/python3: No module named pipenv.pew
Virtualenv location:
Checking PEP 508 requirements…
Traceback (most recent call last):
File "/usr/bin/pipenv", line 11, in <module>
load_entry_point('pipenv==11.9.0', 'console_scripts', 'pipenv')()
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/cli.py", line 642, in check
three=three, python=python, system=system, unused=unused, args=args
File "/usr/lib/python3/dist-packages/pipenv/core.py", line 2275, in do_check
results = simplejson.loads(c.out)
File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Also simply pipenv run does not work:
$ cat Pipfile
[scripts]
hello = "echo hello"
$ /usr/bin/pipenv run hello
Creating a virtualenv for this project…
Using /usr/bin/python3 (3.7.3) to create virtualenv…
⠋/usr/bin/python3: No module named pipenv.pew
Virtualenv location:
Traceback (most recent call last):
File "/usr/bin/pipenv", line 11, in <module>
load_entry_point('pipenv==11.9.0', 'console_scripts', 'pipenv')()
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pipenv/cli.py", line 602, in run
core.do_run(command=command, args=args, three=three, python=python)
File "/usr/lib/python3/dist-packages/pipenv/core.py", line 2200, in do_run
command = ' '.join(project.scripts[command])
File "/usr/lib/python3/dist-packages/pipenv/project.py", line 374, in scripts
scripts[k] = shlex.split(v, posix=True)
File "/usr/lib/python3.7/shlex.py", line 305, in split
return list(lex)
File "/usr/lib/python3.7/shlex.py", line 295, in __next__
token = self.get_token()
File "/usr/lib/python3.7/shlex.py", line 105, in get_token
raw = self.read_token()
File "/usr/lib/python3.7/shlex.py", line 136, in read_token
nextchar = self.instream.read(1)
AttributeError: 'list' object has no attribute 'read'
At Wed, 20 Nov 2019 20:48:43 +0900,
HAMANO Tsukasa wrote:
>
> Package: pipenv
> Version: 11.9.0-1
> Severity: normal
>
> Dear Maintainer,
>
> the pipenv 11.9.0-1 does not work many feature ex:
> pipenv check and pipenv run
> please update latest pipenv
> reguards
>
>
>
> -- System Information:
> Debian Release: 10.2
> APT prefers stable-updates
> APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
> Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages pipenv depends on:
> ii python3 3.7.3-1
> ii python3-certifi 2018.8.24-1
> ii python3-pip 18.1-5
> ii python3-pkg-resources 40.8.0-1
> ii python3-virtualenv 15.1.0+ds-2
> ii python3-virtualenv-clone 0.3.0-1.2
>
> pipenv recommends no packages.
>
> pipenv suggests no packages.
>
> -- no debconf information
>
--
HAMANO Tsukasa <code at cuspy.org>
More information about the Python-apps-team
mailing list