CircleCI-Public / CircleCI-Public/python-orb
Feat: command for installing specific Python runtime
- 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
Research direction
Start by comparing the referenced Node Orb command at src/commands/install.yml with the existing python-orb commands and configuration. Verify the proposed python/install step accepts the shown Python version on a non-Python executor and makes the requested interpreter available to subsequent steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100