Python = ❤️, know a little bit about JS and C#.
Contacts:
My personal Telegram channel about investments and finance: @Mindful Investor (Russian)
Use pipenv commands in your GitHub Actions Workflow
License: MIT License
Python = ❤️, know a little bit about JS and C#.
Contacts:
My personal Telegram channel about investments and finance: @Mindful Investor (Russian)
I am using action-pipenv
in conjunction with actions/setup-python, but it seems that the correct python version is not detected. In particular consider the following excerpt of an action workflow file (only responsible parts are indicated):
...
...
steps:
- name: Setup python version
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
uses: VaultVulp/[email protected]
with:
command: install -d
using a Pipfile of the form
[requires]
python_version = "3.7"
This generates the error
Run VaultVulp/[email protected]
with:
command: install --dev --deploy
env:
pythonLocation: /__w/_tool/Python/3.7.12/x64
LD_LIBRARY_PATH: /__w/_tool/Python/3.7.12/x64/lib
...
...
Warning: Python 3.7 was not found on your system...
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path/to/python
However, if instead I manually install pipenv
without making use of action-pipenv
, the correct python version is indeed detected.
Could this be because the actions install pipenv
by making use of a generic python image (and if so, why not installing pipenv
making use of the available python versions already installed on the instances)?
Hello,
It looks like 2 days ago the base python3 image was changed to be associated with python3.9 on docker hub. I'm curious if whether it is possible to pass an argument from a Github action yaml to this action rather than forcing Pipfiles that use this action to specify python3.9.
Thanks in advance for any thoughts you have!
Seems like the dockerfile isnt too specific with the base python image.
Seems like the default 3 container was recently bumped to 3.11.x
https://hub.docker.com/layers/library/python/3/images/sha256-35483f08b07e42d712ba92576c0d09e7a077d33677855d3276190b65dc4aec30?context=explore
Which broke my build that relies on 3.9
https://github.com/daxaxelrod/open_insure/actions/runs/5367821262/jobs/9738271071
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.