Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3.10 to 3.13 #1623

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: "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: ${{ matrix.python-version }}

- name: Cache River datasets
uses: actions/cache@v4
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.10 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`.
- Dropped support for Python 3.9 and added support for Python 3.13.

## cluster

Expand Down
846 changes: 408 additions & 438 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ generate-setup-file = true
script = "build.py"

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.10"
numpy = ">=1.23.0"
scipy = "^1.13.1"
scipy = "^1.14.1"
pandas = "^2.2.3"

[tool.poetry.group.dev.dependencies]
Expand Down