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

Fix dockerfile #43

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Fix dockerfile #43

merged 1 commit into from
Dec 8, 2023

Conversation

timhuynh94
Copy link
Contributor

@timhuynh94 timhuynh94 commented Dec 8, 2023

Adding --break-system-packages to pip3 commands
Current deps update broke Dockerfile with following error:
`error: externally-managed-environment

× This environment is externally managed
╰─>
The system-wide python installation should be maintained using the system
package manager (apk) only.

If the package in question is not packaged already (and hence installable via
"apk add py3-somepackage"), please consider installing it inside a virtual
environment, e.g.:

python3 -m venv /path/to/venv
. /path/to/venv/bin/activate
pip install mypackage

To exit the virtual environment, run:

deactivate

The virtual environment is not deleted, and can be re-entered by re-sourcing
the activate file.

To automatically manage virtual environments, consider using pipx (from the
pipx package).

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.`

@timhuynh94 timhuynh94 requested a review from a team as a code owner December 8, 2023 18:53
@timhuynh94 timhuynh94 changed the title fix dockerfile Fix dockerfile Dec 8, 2023
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #43 (2148df6) into main (898a5c7) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage   64.16%   64.16%           
=======================================
  Files          12       12           
  Lines         533      533           
=======================================
  Hits          342      342           
  Misses        191      191           

Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

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

lgtm

@timhuynh94 timhuynh94 merged commit e4fa8ba into main Dec 8, 2023
10 of 12 checks passed
@timhuynh94 timhuynh94 deleted the fix_dockerfile branch December 8, 2023 20:04
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.

3 participants