question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Documentation should explain --platform, --abi, --implementation, and --python-version in more detail

See original GitHub issue

Description

on this link https://pip.pypa.io/en/stable/cli/pip_download/

In Example for Windows the platform should not be --platform macosx-10_10_x86_64, instead it should be

–platform win_amd64

Expected behavior

No response

pip version

0

Python version

3.9

OS

Windows

How to Reproduce

  1. Get package from ‘…’
  2. Then run ‘…’
  3. An error occurs.

Output

Nil

Code of Conduct

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
uranusjrcommented, Aug 9, 2021

We can probably list some common values

  • --platform: x86-64 for Windows, some modern-ish Mac, and a couple of manylinux ones.
  • --abi and --implementation: Maybe a couple of CPython and PyPy ones.

That should cover like 99% of packages on PyPI.

0reactions
pradyunsgcommented, Dec 16, 2022

Consolidating into #11664.

Read more comments on GitHub >

github_iconTop Results From Across the Web

C API Stability — Python 3.11.1 documentation
For the purposes of the Stable ABI, these details define a “platform”. They usually depend on the OS type and processor architecture.
Read more >
For downstream package authors — NumPy v1.23 Manual
This document aims to explain some best practices for authoring a package ... to build against for each Python version and platform can...
Read more >
Overview — CFFI 1.15.1 documentation - Read the Docs
The ABI mode accesses libraries at the binary level, whereas the faster API mode accesses them with a C compiler. We explain the...
Read more >
pip download - pip documentation v22.3.1
Generic dependencies (e.g. universal wheels, or dependencies with no platform, abi, or implementation constraints) will still match an over- constrained ...
Read more >
FindPython3 — CMake 3.25.1 Documentation
For a detailed description of version range usage and capabilities, ... The FindPython module can be used if Python version does not matter...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found