Skip to content
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

(doc:) update python version from 3.7 to 3.10 #14300

Merged
merged 5 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ You will need the following tools installed to develop on the Opentrons platform
- git
- curl
- ssh
- Python v3.7
- Python v3.10
- Node.js v16
- [Yarn 1][yarn]

Expand Down
12 changes: 6 additions & 6 deletions DEV_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You will need the following tools installed to develop on the Opentrons platform
- git
- curl
- ssh
- Python v3.7
- Python v3.10
- Node.js v16

### macOS
Expand Down Expand Up @@ -124,10 +124,10 @@ Close and re-open your terminal to verify that `pyenv` is installed
pyenv --version
```

Now, install the required version of Python. Use the latest available version of `3.7.x`, which is `3.7.15` at the time of writing.
Now, install the required version of Python. Use the latest available version of `3.10.x`, which is `3.10.13` at the time of writing.

```shell
pyenv install 3.7.15
pyenv install 3.10.13
```

If your `pyenv` command isn't working, confirm that your shell is set up properly. If you print out the contents of `~/.zprofile` and `~/.zshrc`, you should see something similar to the following:
Expand Down Expand Up @@ -198,15 +198,15 @@ cd ./opentrons
Once you are inside the repository for the first time, you should do two things:

1. Confirm that `nvs` selected the proper version of Node.js to use
2. Tell `pyenv` to use Python 3.7
3. Run `python --version` to confirm your chosen version. If you get the incorrect version and you're using an Apple silicon Mac, try running `eval "$(pyenv init --path)"` and then `pyenv local 3.7.15`. Then check `python --version` again.
2. Tell `pyenv` to use Python 3.10
3. Run `python --version` to confirm your chosen version. If you get the incorrect version and you're using an Apple silicon Mac, try running `eval "$(pyenv init --path)"` and then `pyenv local 3.10.13`. Then check `python --version` again.

```shell
# confirm Node v16
node --version

# set Python version, and confirm
pyenv local 3.7.15
pyenv local 3.10.13
python --version
```

Expand Down
Loading