Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- uses: actions/checkout@v7
with:
submodules: true
- name: Set up Python 3.11
- name: Set up Python 3.13
uses: actions/setup-python@v7
with:
python-version: "3.11"
python-version: "3.13"

- name: Cache pre-commit
uses: actions/cache@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python: ["3.12"]
python: ["3.13"]
group: [1, 2, 3]

name: ${{ matrix.name }} Python ${{ matrix.python }} (group ${{ matrix.group }}/3)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python: "3.11"
- os: ubuntu-latest
python: "3.12"
- os: ubuntu-latest
python: "3.13"
- os: ubuntu-latest
python: "3.14"
- os: macos-latest
python: "3.12"
python: "3.14"

name: ${{ matrix.name }} Python ${{ matrix.python }}

Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.13"
sphinx:
configuration: docs/conf.py
# disable this for more lenient docs builds
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Installation
============
:mod:`cellflow` requires Python version >= 3.11 to run.
:mod:`cellflow` requires Python version >= 3.12 to run.

PyPI
----
Expand Down
15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ authors = [
{ name = "Daniil Bobrovskiy" },
{ name = "Guillaume Huguet" },
]
requires-python = ">=3.11"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]

dynamic = [ "version" ]
Expand All @@ -42,8 +42,7 @@ dependencies = [
"ott-jax[neural]>=0.5",
"pyarrow", # required for dask.dataframe
"scanpy",
"scikit-learn==1.5.1",
"scipy<1.16", # see https://github.com/statsmodels/statsmodels/issues/9584
"scikit-learn>=1.5.1",
"session-info",
]

Expand Down Expand Up @@ -87,7 +86,6 @@ optional-dependencies.pp = [
"pertpy",
"pynndescent",
"rdkit",
"statsmodels<0.15; python_version<'3.12'", # pertpy 1.0.3 (last for 3.11) imports multipletests removed in 0.15
]
optional-dependencies.test = [
"cellflow-tools[embedding]",
Expand Down Expand Up @@ -163,6 +161,9 @@ lint.per-file-ignores."docs/*" = [ "I" ]
lint.per-file-ignores."tests/*" = [ "D" ]
lint.pydocstyle.convention = "numpy"

[tool.pyproject-fmt]
max_supported_python = "3.14"

[tool.pytest.ini_options]
testpaths = [ "tests" ]
xfail_strict = true
Expand Down Expand Up @@ -197,7 +198,7 @@ sort = "Miss"
legacy_tox_ini = """
[tox]
min_version = 4.0
env_list = lint-code,py{3.11,3.12,3.13}
env_list = lint-code,py{3.12,3.13,3.14}
skip_missing_interpreters = true

[testenv]
Expand Down Expand Up @@ -289,7 +290,7 @@ commands = biber --tool --output_file={tox_root}{/}docs{/}references.bib --nolog

[tool.mypy]
mypy_path = "$MYPY_CONFIG_FILE_DIR/src"
python_version = "3.11"
python_version = "3.12"
plugins = "numpy.typing.mypy_plugin"

ignore_errors = false
Expand Down
Loading