Comments (9)
Thx for fixing the issue and reconsidering. I did not manage to find the time to write a MR.
from semaphore.
My pending pr for the docker refactoring resolves that problem.
from semaphore.
After #1963 have been merged, could you give that develop
container tag another try? I guess this issue should be solved.
from semaphore.
I think watchtower automatically pulled it.
I'm now running into this:
No additional system dependencies to install
Installing additional python dependencies
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.
And semaphore no longer starts
from semaphore.
I assume this happens because the pip install --user
is called and that has been disabled by the maintainers of alpine, because system packages rely on certain python packages. And running pip upgrade on those might break them
from semaphore.
Looks like I got to add more flags similar to the dockerfile.
from semaphore.
I assume you mean --break-system-packages
?
I would advise against as it simply might break the container in unexpected ways, as the flag suggests
I'm currently busy with other things, but maybe I can find some time over the weekend to see if I can create a PR that follows a more distro approved way. Maybe just adding /home/semaphore/.local/bin
to the PATH
, which was the issue that started this, might be a better solution.
from semaphore.
That's just required because of the restrictions set by alpine devs. The container won't be managed by the alone package manager. Beside that the python deps are only installed in the user space.
from semaphore.
Even if I don't like it, the docker images are using a venev again.
from semaphore.
Related Issues (20)
- Feature: Playbook to update requirements.yml HOT 4
- Problem: Task numbers count backwards from max int HOT 1
- Feature: private survey variables, or don't store the value of a variable HOT 5
- Problem: Non-compliant Role Paths Result in Role Not Found Error HOT 4
- Question: Could I define Inventory as variables. HOT 1
- Problem: Retry and delay task are not displayed correctly
- Question: Clarification of Task option 'Allow CLI args in Task'
- Problem: Alerts for Deploy task shows Build Task ID instead of Build Version HOT 1
- Problem: Triggering task when monitoring git repo broken in v2.9.75
- Problem: cert_file issue with get_url and python 3.12 HOT 5
- Problem: Semaphore checking out wrong git repo when trying to run a playbook HOT 1
- Problem: Boltdb host in config file is not loaded HOT 3
- Problem: Container is not starting after getting v2.9.109 with Error Messages HOT 8
- Problem: Integration endpoint not triggering task template HOT 3
- Problem: Unable to authenticate with LDAP in v2.9.109 HOT 5
- Feature: show current cli arg task run screen
- Problem: Zombie processes on host after in update 2.9.109 HOT 2
- Problem: Authentik OIDC HOT 2
- Error cloning http repository HOT 4
- Problem: ssh-agent 'bind: address already in use' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semaphore.