Skip to content

Commit

Permalink
Add support for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
gbolmier committed Oct 17, 2024
1 parent e958fd8 commit 4e1a8c9
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Build River
uses: ./.github/actions/install-env
with:
python-version: "3.12"
python-version: "3.13"
build-root: false

- name: Run pre-commit on all files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Build River
uses: ./.github/actions/install-env
with:
python-version: "3.12"
python-version: "3.13"
build-root: false

- name: Install extra Ubuntu dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
uses: pypa/[email protected]
timeout-minutes: 720
env:
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*"
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"
# CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_MACOS: "universal2"
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Build River
uses: ./.github/actions/install-env
with:
python-version: "3.12"
python-version: "3.13"

- name: Build dist
run: poetry build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Build River
uses: ./.github/actions/install-env
with:
python-version: "3.12"
python-version: "3.13"

- name: Install extra Ubuntu dependencies
run: sudo apt-get install graphviz pandoc
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.12", "3.11", "3.10"]
python-version: ["3.13", "3.12", "3.11", "3.10"]

runs-on: ${{ matrix.os }}

Expand All @@ -23,7 +23,7 @@ jobs:
- name: Build River
uses: ./.github/actions/install-env
with:
python-version: "3.12"
python-version: "3.13"

- name: Cache River datasets
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Of course, this is just a contrived example. We welcome you to check the [introd

## 🛠 Installation

River is intended to work with **Python 3.8 and above**. Installation can be done with `pip`:
River is intended to work with **Python 3.9 and above**. Installation can be done with `pip`:

```sh
pip install river
Expand Down
1 change: 1 addition & 0 deletions docs/releases/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- The units used in River have been corrected to be based on powers of 2 (KiB, MiB). This only changes the display, the behaviour is unchanged.
- The methods `learn_one`, `learn_many`, `update`, `revert`, and `append` now return `None`.
- Added support for Python 3.13.

## cluster

Expand Down

0 comments on commit 4e1a8c9

Please sign in to comment.