Package: python-pex
Version: 1.0.0-1
Severity: important

Hello,
it seems pex fails with all the extensions:

$ pex numpy==1.6.2 -o /tmp/test.pex
Traceback (most recent call last):
  File "/usr/bin/pex", line 9, in <module>
    load_entry_point('pex==1.0.0', 'console_scripts', 'pex')()
  File "/usr/lib/python3/dist-packages/pex/bin/pex.py", line 509, in main
    pex_builder = build_pex(reqs, options, resolver_options_builder)
  File "/usr/lib/python3/dist-packages/pex/bin/pex.py", line 471, in build_pex
    resolveds = resolver.resolve(resolvables)
  File "/usr/lib/python3/dist-packages/pex/resolver.py", line 177, in resolve
    distributions[package] = self.build(package, resolvable.options)
  File "/usr/lib/python3/dist-packages/pex/resolver.py", line 228, in build
    dist = super(CachingResolver, self).build(package, options)
  File "/usr/lib/python3/dist-packages/pex/resolver.py", line 147, in build
    raise Untranslateable('Package %s is not translateable by %s' % (package, 
translator))
pex.resolver.Untranslateable: Package 
SourcePackage('file:///home/morph/.pex/build/numpy-1.6.2.zip') is not 
translateable by ChainedTranslator(WheelTranslator, EggTranslator, 
SourceTranslator)

but with pure python modules it works fine:

$ pex sortedcontainers -o /tmp/test.pex
$ echo $?
0

Could be related to https://github.com/pantsbuild/pex/issues/36

Regards,
Sandro

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-pex depends on:
ii  python-pkg-resources  17.0-1
pn  python:any            <none>

python-pex recommends no packages.

Versions of packages python-pex suggests:
pn  python-pex-doc  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to