GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pip installer: fix installed script executable by abn · Pull Request #3835 · python-poetry/poetry

Conversation

@abn

@abn abn commented Mar 25, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

When pip installs into an alternate prefix, it uses the current executable
when writing package scripts during install (eg: black, pytest etc.).

With this change, we:

  1. Use the active environment to trigger pip embedded virtual environment.
  2. Enforcing the use of --pep-517 when installing non-wheel packages.
  3. Handle zip-unsafe bug in pip's vendored pep517 under python3.6.

Relates-to: #2826

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@abn
abn force-pushed the fix/embedded-pip branch 2 times, most recently from 0bf898c to 7afb79f Compare March 25, 2021 23:07
abn added 3 commits March 26, 2021 00:14
@abn
pip installer: fix installed script executable
0b73c06
@abn
ci: turn off fail fast
5fe6baf
@abn
deps: update virtualenv to 20.4.3
af6ffc9
@abn
abn force-pushed the fix/embedded-pip branch from 7afb79f to af6ffc9 Compare March 25, 2021 23:15
apollo13
apollo13 approved these changes Mar 26, 2021
View reviewed changes

@apollo13 apollo13 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and will ship it as part of our CI poetry to provide more testing.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

abn reacted with hooray emoji
All reactions
  • 🎉 1 reaction
kasteph
kasteph approved these changes Mar 26, 2021
View reviewed changes
@kasteph
kasteph merged commit cdfcd14 into python-poetry:master Mar 26, 2021
@abn
abn deleted the fix/embedded-pip branch March 26, 2021 11:38
@abn abn mentioned this pull request Nov 18, 2021
Poetry tries to remove setuptools and then complains it can't find it #4242
Closed
3 tasks done
tony added a commit to tony/poetry that referenced this pull request Jan 22, 2022
@tony
chore(pip): Remove zip-unsafe workaround for python 3.6
94d9c66
Originally from cb14c70, part of python-poetry#3835
@dimbleby dimbleby mentioned this pull request Aug 4, 2022
Regression in 1.2.x when installing fasttext - can't compile due to not finding pybind and/or pip #6113
Closed
3 tasks done
@github-actions

github-actions Bot commented Mar 1, 2024

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@kasteph kasteph kasteph approved these changes
+1 more reviewer
@apollo13 apollo13 apollo13 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@abn @apollo13 @kasteph
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.