Skip to content

Commit

Permalink
Use python 3.11 in leftover parts (#365)
Browse files Browse the repository at this point in the history
### Description

This PR edits the few places in the repo to use python 3.11 for unit
tests and when creating a new virtual environment.
Currently, everything is a bit mismatched, the production docker image
is on 3.11 while the ci/cd runs on 3.10 and the readme tells to use 3.11
under macos but 3.10 under windows.

### Checklist

- [X] Created tests which fail without the change (if possible)
- [X] All tests passing
- [X] Extended the documentation, if necessary
  • Loading branch information
AtomHare authored Mar 4, 2024
1 parent 2787843 commit 0880b3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lintandformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
cache: "pip"

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
cache: "pip"

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Hyperion is the API of an open-source project launched by ÉCLAIR, the computer

The structure of this project is modular. Hyperion has a core that performs vital functions (authentication, database migration, authorization, etc). The other functions of Hyperion are realized in what we call modules. You can contribute to the project by adding modules if you wish.

## Creating a virtual environment for Python 3.10.x
## Creating a virtual environment for Python 3.11.x

### Windows

Expand All @@ -17,7 +17,7 @@ Create the virtual environment
> You need to be in Hyperion main folder
```bash
py -3.10 -m venv .venv
py -3.11 -m venv .venv
```

Activate it
Expand Down

0 comments on commit 0880b3a

Please sign in to comment.