linkedin / linkedin/shiv

use the python interpreter (to set the shebang line) when running pip

Open
#215 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.9k
Forks
114
PR merge metrics
No merged PRs in 30d

Description

To allow to shiv packages for different versions of python (e.g. 3.8, 3.9, 3.10) from a single version of python (e.g. 3.8) in which shiv is installed, it would be practical to use the python interpreter to use in the shebang line as the python interpreter to use in the "python -m pip install --target ..."

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating where shiv runs pip installation and sets the generated shebang, then verify that the requested interpreter is used for both dependency installation and the resulting package across Python versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.