Skip to content

Commit

Permalink
Revert to Python 3.12 (#394)
Browse files Browse the repository at this point in the history
* Try specifying subversion

* Test new cache

* revert to 3.12

* Revert comment back to normal
  • Loading branch information
jtgrasb authored Jan 29, 2025
1 parent 0403435 commit 42721d6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Using `conda` this looks like:
```bash
conda create -n wecopttool
conda activate wecopttool
conda install -c conda-forge python=3.13 capytaine wavespectra
conda install -c conda-forge python=3.12 capytaine wavespectra
git clone [email protected]:<YOUR_USER_NAME>/WecOptTool.git
cd WecOptTool
pip install -e .[dev]
Expand All @@ -22,7 +22,7 @@ And using `pip`:
```bash
git clone [email protected]:<YOUR_USER_NAME>/WecOptTool.git
cd WecOptTool
python3.13 -m venv .venv
python3.12 -m venv .venv
. .venv/bin/activate
pip install -e .[dev]
```
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.12", "3.13"] # CHANGE: Python version
python-version: ["3.11", "3.12"] # CHANGE: Python version

steps:
# Checkout the WecOptTool repo
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.13' # CHANGE: Python version
python-version: '3.12' # CHANGE: Python version

- name: Install dependencies
run: sudo apt-get install libglu1 pandoc gifsicle
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.12", "3.13"] # CHANGE: Python version
python-version: ["3.11", "3.12"] # CHANGE: Python version

steps:
# Checkout the WecOptTool repo
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.13' # CHANGE: Python version
python-version: '3.12' # CHANGE: Python version

- name: Install dependencies
run: sudo apt-get install libglu1 pandoc gifsicle
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.13' # CHANGE: Python version
python-version: '3.12' # CHANGE: Python version

- name: Build a binary wheel and a source tarball
run: |
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.13' # CHANGE: Python version
python-version: '3.12' # CHANGE: Python version

- name: Install dependencies
run: sudo apt-get install libglu1 pandoc gifsicle
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Refer to [WecOptTool documentation](https://sandialabs.github.io/WecOptTool/) fo
## Getting started
**If you are brand new to Python and/or want detailed installation instructions, [click here](https://github.com/sandialabs/WecOptTool/blob/main/INSTALLATION.md).**

WecOptTool requires Python >= 3.8. Python 3.12 & 3.13 are supported.
WecOptTool requires Python >= 3.8. Python 3.11 & 3.12 are supported.
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.

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

0 comments on commit 42721d6

Please sign in to comment.