CircleCI-Public / CircleCI-Public/python-orb

Feat: command for installing specific Python runtime

Open
#69 0 comments 6 reactions 0 assignees View on GitHub
backlog type: enhancement
Dominant language
Shell
Stars
15
Forks
41
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.