CircleCI-Public / CircleCI-Public/python-orb

Feat: command for installing specific Python runtime

Offen
#69 0 Kommentare 6 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
backlog type: enhancement
Vorherrschende Sprache
Shell
Sterne
15
Forks
41
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## 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
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.