Skip to content

Commit

Permalink
Merge pull request #496 from fast-aircraft-design/py3.10-compatibility
Browse files Browse the repository at this point in the history
Py3.10 compatibility
  • Loading branch information
christophe-david committed Jul 21, 2023
2 parents 6428b21 + 16c28b6 commit a8184fa
Show file tree
Hide file tree
Showing 8 changed files with 357 additions and 537 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ 3.8 ]
python-version: [ "3.9" ]
os: [ ubuntu-latest ]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') }}
strategy:
matrix:
python-version: [ 3.7, 3.9 ]
os: [ ubuntu-20.04, windows-latest, macos-latest ] # On 2023/02/10, pytest completely stalls on ubuntu-latest
python-version: [ "3.8", "3.9", "3.10" ]
os: [ ubuntu-20.04, windows-latest, macos-latest ] # On 2023/07/04, pytest completely stalls on ubuntu-latest, except with Python 3.10

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/watchman_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ 3.9 ]
python-version: [ "3.10" ]
os: [ ubuntu-latest, windows-latest, macos-latest ]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ repos:
- id: sync_doc_requirements
name: sync_doc_requirements
entry: poetry export --with doc --without-hashes -o docs/requirements.txt -f requirements.txt
language: python
language: system
pass_filenames: false
files: 'poetry.lock'

- id: nbstripout
name: nbstripout
description: 'nbstripout: strip output from Jupyter and IPython notebooks'
entry: nbstripout
language: python
language: system
types: [ jupyter ]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ You can run FAST-OAD tutorials **without installation** using our
Install
-------

**Prerequisite**:FAST-OAD needs at least **Python 3.7.0**.
**Prerequisite**:FAST-OAD needs at least **Python 3.8.0**.

It is recommended (but not required) to install FAST-OAD in a virtual
environment ([conda](https://docs.conda.io/en/latest/),
Expand Down
243 changes: 120 additions & 123 deletions docs/requirements.txt

Large diffs are not rendered by default.

0 comments on commit a8184fa

Please sign in to comment.