Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

support for virtual environments

Aperta
#95 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@sciabarracom ci sta già lavorando.

Dal 8/1/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Why you need it?

Currently there is only one global environment so you can be logged into one system at a time, and you have only one ~/.ops with its plugins

I want to add support to have multiple virtual environments

How it could be?

A virtual environent is (or should be) entirely defined by 2 variables

  • OPS_HOME that sets the location of ~/.ops
  • WSK_CONFIG_FILE that sets the location of the ~/.wskprops

It could be as simple as to check if in current directlry there is a .ops and in such a case to set OPS_HOME to the current directory and WSK_CONFIG_FILE to $OPS_HOME/.wskprops

Also it is useful to add a simple: ops -venv that will create a .ops and execute an update downloading in it task and prereqs.

Other related information

Check there are not somewhere implicit assumptions of ~/.ops in the task and the code that can break this new logic.
Update documentation.

Lingua principale
Python
Stelle
576
Fork
29
Merge medio
51m
PR unite (30g)
14

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/openserverless

Tutte le issue di apache/openserverless

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.