AutoGPT
AutoGPT copied to clipboard
feat: add .python-version and use it in GHA
Background
In a nutshell, instead of defining the desired Python interpreter version in multiple places, it's possible to make use of the .python-version
file which can be read by pyenv and GitHub Actions.
When detected, the desired interpreter version is set.
Changes
- Add the
.python-version
file, set the value to correspond to the one used in theDockerfile
. - Consume the
.python-version
file in the relevant GitHub Actions workflows. - Remove the
.python-version
from.gitignore
.
Documentation
I added an explanation in the commit message.
Test Plan
CI will fail if this change doesn't work.
PR Quality Checklist
These are likely not applicable.
- [x] My pull request is atomic and focuses on a single change.
- [ ] I have thoroughly tested my changes with multiple different prompts.
- [ ] I have considered potential risks and mitigations for my changes.
- [ ] I have documented my changes clearly and comprehensively.
- [ ] I have not snuck in any "extra" small tweaks changes
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
docs | ⬜️ Ignored (Inspect) | Apr 30, 2023 1:03pm |
Does that solve any issues?
To be honest, not really. This is more of a convenience for e.g. pyenv users.
Feel free to close if you think it's not useful.
This is a mass message from the AutoGPT core team. Our apologies for the ongoing delay in processing PRs. This is because we are re-architecting the AutoGPT core!
For more details (and for infor on joining our Discord), please refer to: https://github.com/Significant-Gravitas/Auto-GPT/wiki/Architecting
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.