CircleCI-Public / CircleCI-Public/python-orb

Feat: command for installing specific Python runtime

Ouverte
#69 0 commentaires 6 réactions 0 personnes assignées Voir sur GitHub
backlog type: enhancement
Langage dominant
Shell
Étoiles
15
Forks
41
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par comparer la commande Node Orb référencée dans src/commands/install.yml avec les commandes et la configuration existantes de python-orb. Vérifiez que l'étape python/install proposée accepte la version de Python indiquée sur un executor qui n'est pas Python et rend l'interpréteur demandé disponible pour les étapes suivantes.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
ci-cd
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.