cerc-io / stack-orchestrator

Read-only mirror of https://git.vdb.to/cerc-io/stack-orchestrator
https://git.vdb.to/cerc-io/stack-orchestrator
GNU Affero General Public License v3.0
20 stars 12 forks source link

Fix pip3 error #709

Closed telackey closed 6 months ago

telackey commented 6 months ago

Fix new error:

#15 [builder  7/12] RUN cd /apps/el-gen && pip3 install -r requirements.txt
#15 2.124 error: externally-managed-environment
#15 2.124 
#15 2.124 × This environment is externally managed
#15 2.124 ╰─> 
#15 2.124     The system-wide python installation should be maintained using the system
#15 2.124     package manager (apk) only.
#15 2.124     
#15 2.124     If the package in question is not packaged already (and hence installable via
#15 2.124     "apk add py3-somepackage"), please consider installing it inside a virtual
#15 2.124     environment, e.g.:
dboreham commented 6 months ago

Hmm. Do we know which package it complained about?

telackey commented 6 months ago

Hmm. Do we know which package it complained about?

All/any. It seems there was a change to the underlying container (golang-1.20-alpine), warning that all python packages should be installed via apk unless in a virtualenv. That seemed a bit overkill in this case, so I added the option instead.