Comments (5)
I've added Docs on how to configure setup-python
on a self hosted runner. actions/runner-images#275
Sometime around mid-January we did a major overhaul in terms of how Python gets installed on our images. All the versions of Python that we use for our VMS now get released as NPM packages that can be found here: https://github.com/actions/virtual-environments-packages
Before these NPM packages it was pretty painful, but now it's a matter of setting up a few env variables + running npm install
from setup-python.
I'm running self hosted runners on AWS, I've been trying to install the tooling from this repo into our runners, but no luck yet, would that be the correct approach? I would be happy to write the documentation for this one I get it working.
from setup-python.
There is some basic info about the cache here: https://github.com/marketplace/actions/setup-python-environment#hosted-tool-cache
Would this script: https://github.com/actions/virtual-environments/blob/master/images/linux/scripts/installers/1804/hosted-tool-cache.sh be the one to setup the runner cache?
It would be very helpful to get an idea of how to do that in our self-hosted
virtual machines.
from setup-python.
I've added Docs on how to configure setup-python on a self hosted runner.
Mmh, ok, sounds good, thanks, but where are the docs? Can't find it ..
The link points to a closed issue relating to TK. I have searched for docs. The only reference in https://github.com/actions/virtual-environments/blob/main/README.md points to https://docs.github.com/en/free-pro-team@latest/actions/hosting-your-own-runners - but that does not talk about Python at all.
So how do I configure Python (eg CPython 3.8 vs PyPy 3.7 available on a self-hosted runner) so that the CI job run will be done in a newly created virtual env?
from setup-python.
@oberstet I dug around and found this https://github.com/actions/setup-python#using-setup-python-with-a-self-hosted-runner
from setup-python.
Related Issues (20)
- Multiple Python versions as a comma-separated list HOT 1
- Non Portable binary, doesn't work with sudo or without LD_LIBRARY_PATH HOT 3
- Custom setuptools version HOT 12
- Cannot load Python modules if they are in a directory named "test" HOT 6
- Python 3.7/8/9/10 on Darwin runners fails: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib HOT 6
- Setups HOT 1
- My pro HOT 1
- Missing support for Python 3.8 on Ubuntu 24.04 runner HOT 2
- Caching doesn't seem to save that much time HOT 6
- Version not found when using new arm-based linux runners (ubuntu 22.04) HOT 4
- Add Python 3.12.4 (released 2 days ago) HOT 6
- [Feature Request] Add Python debug builds with `Py_DEBUG` flag HOT 1
- Python 3.12.4: Extract downloaded archive; gzip: stdin: not in gzip format HOT 22
- is python 3.12.4 download assets broken HOT 7
- Python 3.13 fails to install on windows: Offset to Central Directory cannot be held in an Int64. HOT 6
- Verify checksum of downloaded version archive HOT 1
- Support os-release standard HOT 3
- setup-python CI workflows have been broken for more than 2 months HOT 1
- Sporadically missing patch versions on python-versions for arm64 HOT 5
- `python-version-file` does not support multiple versions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-python.