-
Notifications
You must be signed in to change notification settings - Fork 0
README.md - people should use exactly 3.13, update instructions about pyenv #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: live
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -24,13 +24,22 @@ Subsequent instructions assume that your current working directory is `os4d`, un | |||||||||||||
|
||||||||||||||
#### Create and activate a Python virtual environment | ||||||||||||||
|
||||||||||||||
The following instructions assume you have [Python 3.10](https://www.python.org/downloads/) or newer installed on your machine. | ||||||||||||||
The following instructions assume you have [Python 3.13](https://www.python.org/downloads/) installed on your machine, as we need to use the same version of python the docs are built with. | ||||||||||||||
|
||||||||||||||
You can use either [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv), `python3-venv` or a Python environment manager of your choice: | ||||||||||||||
If you already have 3.13 you can use `python3-venv` or a Python environment manager of your choice. | ||||||||||||||
|
||||||||||||||
If not we recommend pyenv. | ||||||||||||||
Comment on lines
+29
to
+31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
|
||||||||||||||
##### pyenv | ||||||||||||||
|
||||||||||||||
1. Install [pyenv](https://github.com/pyenv/pyenv) and the [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv) plugin. The [pyenv installer](https://github.com/pyenv/pyenv-installer) is recommended. | ||||||||||||||
1. Set up Python 3.13 using pyenv: | ||||||||||||||
|
||||||||||||||
```bash | ||||||||||||||
pyenv install 3.13 | ||||||||||||||
pyenv local 3.13 | ||||||||||||||
``` | ||||||||||||||
|
||||||||||||||
Comment on lines
+36
to
+42
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't have pyenv on my machine any more, but I'm pretty sure that you can just do |
||||||||||||||
1. Create a virtual environment: | ||||||||||||||
|
||||||||||||||
```bash | ||||||||||||||
|
@@ -188,4 +197,5 @@ Read the Docs automatically creates and builds [pull request previews](https://d | |||||||||||||
|
||||||||||||||
#### Credentials | ||||||||||||||
|
||||||||||||||
You can find credentials for Read the Docs in the Open Data Services password database. | ||||||||||||||
You can find credentials for Read the Docs in the Open Data Services password database. | ||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the instructions now include installing Python 3.13, I think it's simpler to state it as a requirement, rather than an assumption followed by a 'need to' clause.