8000 `pex -c` does not work for multiplatform pexes when the target dist is platform specific · Issue #537 · pex-tool/pex · GitHub
[go: up one dir, main page]

Skip to content

pex -c does not work for multiplatform pexes when the target dist is platform specific #537

Closed

Description

@jsirois

If the console script is housed in a dist that is platform-specific and the pex is multiplatform, then the same script is found more than once and pex creation fails with something like:

RuntimeError: Ambiguous script specification pants matches multiple entry points:pants = pants.bin.pants_loader:main pants = pants.bin.pants_loader:main

Pex should probably allow dups from a single requirement key if the found scripts are bytewise identical as they are in this example case.

See pantsbuild/pants#6349 for an example of getting bit by this.

Activity

  1. added 2 commits that reference this issue on Aug 25, 2018
    35991d5
    69c6d6c
  2. self-assigned this
    on Aug 26, 2018
  3. added a commit that references this issue on Aug 28, 2018
    983589a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0