Skip to content

Commit 0403435

Browse files
Updated workflows to newest Python version and changed references to supported versions (#390)
Co-authored-by: jtgrasb <[email protected]>
1 parent 07b9666 commit 0403435

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Using `conda` this looks like:
1212
```bash
1313
conda create -n wecopttool
1414
conda activate wecopttool
15-
conda install -c conda-forge python=3.11 capytaine wavespectra
15+
conda install -c conda-forge python=3.13 capytaine wavespectra
1616
git clone [email protected]:<YOUR_USER_NAME>/WecOptTool.git
1717
cd WecOptTool
1818
pip install -e .[dev]
@@ -22,7 +22,7 @@ And using `pip`:
2222
```bash
2323
git clone [email protected]:<YOUR_USER_NAME>/WecOptTool.git
2424
cd WecOptTool
25-
python3.11 -m venv .venv
25+
python3.13 -m venv .venv
2626
. .venv/bin/activate
2727
pip install -e .[dev]
2828
```

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
20-
python-version: ["3.10", "3.11"] # CHANGE: Python version
20+
python-version: ["3.12", "3.13"] # CHANGE: Python version
2121

2222
steps:
2323
# Checkout the WecOptTool repo
@@ -121,7 +121,7 @@ jobs:
121121
- uses: actions/checkout@v3
122122
- uses: actions/setup-python@v4
123123
with:
124-
python-version: '3.11' # CHANGE: Python version
124+
python-version: '3.13' # CHANGE: Python version
125125

126126
- name: Install dependencies
127127
run: sudo apt-get install libglu1 pandoc gifsicle

.github/workflows/push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
20-
python-version: ["3.10", "3.11"] # CHANGE: Python version
20+
python-version: ["3.12", "3.13"] # CHANGE: Python version
2121

2222
steps:
2323
# Checkout the WecOptTool repo
@@ -120,7 +120,7 @@ jobs:
120120
- uses: actions/checkout@v3
121121
- uses: actions/setup-python@v4
122122
with:
123-
python-version: '3.11' # CHANGE: Python version
123+
python-version: '3.13' # CHANGE: Python version
124124

125125
- name: Install dependencies
126126
run: sudo apt-get install libglu1 pandoc gifsicle

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v4
1818
with:
19-
python-version: '3.11' # CHANGE: Python version
19+
python-version: '3.13' # CHANGE: Python version
2020

2121
- name: Build a binary wheel and a source tarball
2222
run: |
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/checkout@v3
4747
- uses: actions/setup-python@v4
4848
with:
49-
python-version: '3.11' # CHANGE: Python version
49+
python-version: '3.13' # CHANGE: Python version
5050

5151
- name: Install dependencies
5252
run: sudo apt-get install libglu1 pandoc gifsicle

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Refer to [WecOptTool documentation](https://sandialabs.github.io/WecOptTool/) fo
1212
## Getting started
1313
**If you are brand new to Python and/or want detailed installation instructions, [click here](https://github.com/sandialabs/WecOptTool/blob/main/INSTALLATION.md).**
1414

15-
WecOptTool requires Python >= 3.8. Python 3.10 & 3.11 are supported.
15+
WecOptTool requires Python >= 3.8. Python 3.12 & 3.13 are supported.
1616
It is strongly recommended you create a dedicated virtual environment (e.g., using [`conda`](https://www.anaconda.com/), [`mamba`](https://mamba.readthedocs.io/en/latest/), `venv`, etc.) before installing WecOptTool.
1717

1818
From your dedicated environment, you can install WecOptTool via `conda`, `pip`, or `mamba`:

0 commit comments

Comments
 (0)