Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: use --upgrade rather than --ignore-installed to upgrade pip #268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 8, 2024

Conversation

mayeut
Copy link
Contributor

@mayeut mayeut commented May 4, 2024

This removes left over files when upgrading pip.

See #254 for more information on the issues fixed by this PR:

Extends #254 by adding a test & fixing installers/macos-pkg-setup-template.sh

Closes #254

This removes left over files when upgrading pip.
@mayeut mayeut requested a review from a team as a code owner May 4, 2024 13:32
Comment on lines +108 to +112
- name: Delete macOS /Library/Frameworks/Python.framework
if: matrix.platform == 'darwin'
shell: bash
run: if [ -d /Library/Frameworks/Python.framework ]; then sudo rm -rf /Library/Frameworks/Python.framework; fi

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is required because current macos-11 runners come with 2 outdated pip dist-info.

When installing from pkg, these will be left alone and only one out of the 2 outdated version will be removed by --upgrade thus failing the tests.

Once runners are using fixed installs of Python, this block can removed.

@mayeut mayeut mentioned this pull request May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.