Skip to content

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

Open
wants to merge 1 commit into
base: live
Choose a base branch
from

Conversation

jarofgreen
Copy link
Contributor

No description provided.

@jarofgreen jarofgreen requested a review from duncandewhurst May 8, 2025 08:25
@jarofgreen jarofgreen self-assigned this May 8, 2025
@jarofgreen jarofgreen force-pushed the update-readme-python-13 branch from c78486d to be8f874 Compare May 8, 2025 12:05
@jarofgreen jarofgreen force-pushed the update-readme-python-13 branch from be8f874 to 550e29e Compare May 8, 2025 12:06
@@ -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.
Copy link
Contributor

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.

Suggested change
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.
The build requires [Python](https://www.python.org/downloads/) 3.13.

Comment on lines +29 to +31
If you already have 3.13 you can use `python3-venv` or a Python environment manager of your choice.

If not we recommend pyenv.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you already have 3.13 you can use `python3-venv` or a Python environment manager of your choice.
If not we recommend pyenv.
If you already have Python 3.13 installed, you can create a virtual environment using [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv), `python3-venv`, or a Python environment manager of your choice.
If not, we recommend using `pyenv` to install Python 3.13 and `pyenv-virtualenv` to create a virtual environment.

Comment on lines +36 to +42
1. Set up Python 3.13 using pyenv:

```bash
pyenv install 3.13
pyenv local 3.13
```

Copy link
Contributor

Choose a reason for hiding this comment

The 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 pyenv virtualenv 3.13 os4d at the next step, which makes the instructions the same regardless of whether the reader already has Python 3.13 installed or not.

@duncandewhurst
Copy link
Contributor

I think we should also remove the first clause from the following sentence, since anyone reading this bit should have Python 3.13 installed.

os4d/README.md

Line 63 in 550e29e

If you are using Python 3.3 or newer, `venv` is included in the standard Python installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants