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/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python: "3.10"
- os: ubuntu-latest
python: "3.11"
- os: ubuntu-latest
python: "3.12"
- os: ubuntu-latest
python: "3.13"

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

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@ to several million cells on workstations with 128 GB of RAM
and enable more GPU-accelerated
functions.

## Version 0.6

### 0.6.0

## Version 0.5

### 0.5.3

### 0.5.2

#### Fixed
Expand Down
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name = "popV"
version = "0.6.0"
description = "Consensus prediction of cell type labels with popV"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
Copy link

Copilot AI Mar 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raising the minimum supported Python to >=3.11 makes the existing runtime version warning in popv/init.py (it currently checks sys.version_info[:2] != (3, 10) while mentioning Python 3.11) trigger on every supported Python version. Please update/remove that warning (e.g., check for != (3, 11) or format the f-string correctly) so users on supported versions don’t always see a misleading warning.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Mar 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title suggests this is only adding Python 3.13 to the test matrix, but this diff also changes the package’s supported Python range (drops 3.10 by setting requires-python to >=3.11) and adds new runtime dependencies. Please update the PR title/description to reflect the full scope, or split the support/dependency changes into a separate PR for clearer review.

Copilot uses AI. Check for mistakes.
license = {file = "LICENSE"}
authors = [
{name = "Can Ergen"},
Expand All @@ -28,9 +28,9 @@ classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
Expand All @@ -54,6 +54,10 @@ dependencies = [
"faiss-cpu",
"leidenalg",
"cellxgene_census",
"torch>=2.4",
"transformers>=4.35.0",
"sentence-transformers>=2.3.1",
"tokenizers>=0.14.0",
Comment on lines +57 to +60
Copy link

Copilot AI Mar 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These newly-added heavyweight NLP deps (torch/transformers/sentence-transformers/tokenizers) significantly increase install size/time and may not be needed for typical popV usage (they appear to be required mainly for create_ontology_resources -> SentenceTransformer). Consider moving them into an optional extra (e.g., nlp) and raising a clear ImportError with install instructions when the feature is used without the extra, instead of making them unconditional core dependencies.

Copilot uses AI. Check for mistakes.
]

[project.optional-dependencies]
Expand Down