CircleCI-Public / CircleCI-Public/python-orb

Feat: command for installing specific Python runtime

Aperta
#69 0 commenti 6 reazioni 0 assegnatari Vedi su GitHub
backlog type: enhancement
Lingua principale
Shell
Stelle
15
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Describe Request:

I am hoping if it is possible to extend this Orb to include a `install` command, [much like the Node Orb's](https://github.com/CircleCI-Public/node-orb/blob/master/src/commands/install.yml).

In our use case, we have a job running on a non-Python executor (e.g., Ruby related). Since multiple executors for supporting multiple language runtime environments are not feasible, I end up having to specifically install a Python runtime in a job's step. If there was something like what the Node Orb's `install` command offers, this would have been great (one-liner or so for me!)

## Examples:

```diff
# job
my_custom_job:
docker:
- image: circleci/ruby:2.7.2
steps:
- checkout
+ - python/install:
+ python-version: '3.8.7'
- run:
command: |
which python3.8
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.