Skip to content

Commit

Permalink
Merge pull request GazzolaLab#363 from armantekinalp/update_python_ve…
Browse files Browse the repository at this point in the history
…rsion_fix_CI

update: python version of pyelastica and its CI workflow.
  • Loading branch information
armantekinalp authored Apr 23, 2024
2 parents 3c903d8 + 873452b commit 57e2f94
Show file tree
Hide file tree
Showing 6 changed files with 250 additions and 353 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ updates:
schedule:
interval: "daily"
open-pull-requests-limit: 99
target-branch: "update-0.3.1"
target-branch: "update-0.3.3"
versioning-strategy: lockfile-only
6 changes: 3 additions & 3 deletions .github/workflows/main.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.8", "3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
os: [ubuntu-latest, macos-latest] #, windows-latest] # Run macos tests if really required, since they charge 10 times more for macos
include:
- os: ubuntu-latest
Expand Down Expand Up @@ -66,11 +66,11 @@ jobs:
- name: Run tests
run: |
make test
report-coverage: # Report coverage from python 3.8 and mac-os. May change later
report-coverage: # Report coverage from python 3.10 and mac-os. May change later
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8"]
python-version: ["3.10"]
os: [macos-latest]
include:
- os: macos-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Visit [www.cosseratrods.org][link-project-website] for more information and lear
## How to Start
[![PyPI version][badge-pypi]][link-pypi] [![Documentation Status][badge-docs-status]][link-docs-status]

PyElastica is compatible with Python 3.8 - 3.11.
PyElastica is compatible with Python 3.10 - 3.11.

~~~bash
$ pip install pyelastica
Expand Down
4 changes: 2 additions & 2 deletions docs/overview/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

## Instruction

PyElastica requires Python 3.8 - 3.11, which needs to be installed prior to using PyElastica. For information on installing Python, see [here](https://realpython.com/installing-python/). If you are interested in using a package manager like Conda, see [here](https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html).
PyElastica requires Python 3.10 - 3.11, which needs to be installed prior to using PyElastica. For information on installing Python, see [here](https://realpython.com/installing-python/). If you are interested in using a package manager like Conda, see [here](https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html).

:::{note}
Python version above 3.8 is tested only in Ubuntu and Mac OS. For Windows 10, some of the dependencies were not yet compatible.
Python version above 3.10 is tested only in Ubuntu and Mac OS. For Windows 10, some of the dependencies were not yet compatible.
:::

The easiest way to install PyElastica is with `pip`:
Expand Down
Loading

0 comments on commit 57e2f94

Please sign in to comment.