Your message dated Fri, 27 Mar 2020 05:53:43 +0000
with message-id <[email protected]>
and subject line Bug#954256: fixed in pep517 0.8.1-1
has caused the Debian Bug report #954256,
regarding python-pip-whl: Editable installs broken: can't find __main__ module
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
954256: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954256
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pip-whl
Version: 20.0.2-2
Severity: normal

Dear pip Maintainers,

trying to install a package in a virtualenv with the -e switch fails with the 
following
error:

=================
$ pip install -e . --isolated
Obtaining file:///tmp/pypa2
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: /tmp/venv/bin/python3.8 
/tmp/venv/share/python-wheels/pep517-0.7.0-py2.py3-none-any.whl/pep517/_in_process.py
 get_requires_for_build_wheel /tmp/tmp0hod1rxb
       cwd: /tmp/pypa2
  Complete output (1 lines):
  /tmp/venv/bin/python3.8: can't find '__main__' module in 
'/tmp/venv/share/python-wheels/pep517-0.7.0-py2.py3-none-any.whl/pep517/_in_process.py'
  ----------------------------------------
ERROR: Command errored out with exit status 1: /tmp/venv/bin/python3.8 
/tmp/venv/share/python-wheels/pep517-0.7.0-py2.py3-none-any.whl/pep517/_in_process.py
 get_requires_for_build_wheel /tmp/tmp0hod1rxb Check the logs for full command 
output.
=================

Steps to reproduce:

1) Create virtualenv:

$ python3 -m venv /tmp/venv/
$ source /tmp/venv/bin/activate

2) Create a minimal Python package:

$ mkdir pypa && cd pypa
$ echo "from setuptools import setup; setup()" > setup.py
$ touch pyproject.toml

3) Try to install it:

$ pip install --isolated -e .

(the isolated is needed for me as I have additional indexes in my config)

This fails with the error pasted above. Replacing pip with the upstream package

$ pip install --force pip

makes the editable install work just fine.

Thanks,

Alexander


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-pip-whl depends on:
ii  ca-certificates  20190110

python-pip-whl recommends no packages.

python-pip-whl suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pep517
Source-Version: 0.8.1-1
Done: Scott Kitterman <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pep517, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Kitterman <[email protected]> (supplier of updated pep517 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 27 Mar 2020 01:29:10 -0400
Source: pep517
Architecture: source
Version: 0.8.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Scott Kitterman <[email protected]>
Closes: 954256
Changes:
 pep517 (0.8.1-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #954256)
     - Refresh patches
Checksums-Sha1:
 cef6423a2898edcd824ec9f97bbd156c7443e64d 2147 pep517_0.8.1-1.dsc
 55c5d7bb9df15bb744539448943aa9818519024c 20416 pep517_0.8.1.orig.tar.gz
 9587a1ca86b565892817f16bb4114208cb299a36 3428 pep517_0.8.1-1.debian.tar.xz
 165d9cf49214b25a7019f4d6f9e8b5125a366f58 6016 pep517_0.8.1-1_source.buildinfo
Checksums-Sha256:
 f6acc9edcd1446acd028e50ed55874c97acea0dc6d598e04c07dc86b5965bbbb 2147 
pep517_0.8.1-1.dsc
 5ce351f3be71d01bb094d63253854b6139931fcaba8e2f380c02102136c51e40 20416 
pep517_0.8.1.orig.tar.gz
 721356d188514df4a8c4569a205163c1c49b1f7ea62085bda39a21cbd970e9bd 3428 
pep517_0.8.1-1.debian.tar.xz
 ed95c5367a5332234e723a4e22b0169001409cbbb9153f653db0013ebf73fa63 6016 
pep517_0.8.1-1_source.buildinfo
Files:
 84cecd422164773bd3dc201dcd4204bd 2147 python optional pep517_0.8.1-1.dsc
 d05196bfa400d3b479e8c524d67dfce5 20416 python optional pep517_0.8.1.orig.tar.gz
 5e33e0ad86d3f3e669fe40a74dae2348 3428 python optional 
pep517_0.8.1-1.debian.tar.xz
 8a8bc69f26b7c3b7e49bfe6d9536d83c 6016 python optional 
pep517_0.8.1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE53Kb/76FQA/u7iOxeNfe+5rVmvEFAl59j38ACgkQeNfe+5rV
mvE5HBAAn6V1IDywI9C6rTvqTn2ZqGVIR4dNSiAfGtzYm+FLxLET9jCP0PMyEig4
VUmFbHjRZIah0YM8jv9K2AR+D3MzuE0HRzg4mPLqgcYi2tkpn+wKDyxMsdZI3p09
nmmBBKVZp8UE8EyCK0+fDR97D+uQOGSBx6aH0uLZrHTI70DGmBSMu/ufmMo027qn
2JkWnamYoO6aavGQeUXqPvJUnYXKTAx/lmi3EYVsPbU8gssul4vwT3xxNOxLdo+c
e/XobVe/RI3uClnkDYdAD7WIFimsFTMYYIu/JXlohZCwQeV5HcNv4In99qESe3as
+MWOa+f5KyUlgIpDlR10d3z7s8/mI+PSHTp6D5ht1NdJC8axofzt2UaM+BMoIOuP
iFFiNZpEB5vv5ObSXMyAANCj7b5g4feGi4imOE2/c59xEx2FiQUiTX5c6sUjBhQ+
7gIXDpBuAnecQQAGZFPPdpvs6h6glraimWfAWasdtR4bvuNe42zBzxuiMhOxHoiI
w/HBcj5BthbEVpoUBYyjWdthnO/Yg3Ad+1ZAe4P4zxGUwP2cQFnj9cwam+DGkEyV
MuaDfMZpS+kzCBWp0nQqnprSSAuofaGIaH8dkZx+4bgrLmI3UUnaqoFhe2mf4y0D
ty/qaT/t9D3DOibNG8w49sF/UuQHUcNF8VwrA6DUEZY6bBpFKH4=
=JDhR
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to