Skip to content
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

Backport of Use venv in CI (#916) to humble #990

Closed
wants to merge 8 commits into from

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Nov 17, 2024

Description

Fix this error:

 error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.12/README.venv for more information.

This should make CI pass the "Install Python Dependencies" step.


This is an automatic backport of pull request #916 done by [Mergify](https://mergify.com).

* Use venv in CI

* Update htmlproofer instructions

* Add a comment about venv

* Reference which script "the script" means

* Format

(cherry picked from commit 1709ece)

# Conflicts:
#	.github/workflows/deploy.yml
@mergify mergify bot added conflicts humble Humble branch labels Nov 17, 2024
Copy link
Author

mergify bot commented Nov 17, 2024

Cherry-pick of 1709ece has failed:

On branch mergify/bp/humble/pr-916
Your branch is up to date with 'origin/humble'.

You are currently cherry-picking commit 1709ece.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   doc/how_to_contribute/how_to_contribute_to_site.rst
	modified:   htmlproofer.sh

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   .github/workflows/deploy.yml

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
humble Humble branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants