Skip to content

tests: added py313#105

Merged
canergen merged 3 commits intomainfrom
Ori-py313
Mar 1, 2026
Merged

tests: added py313#105
canergen merged 3 commits intomainfrom
Ori-py313

Conversation

@ori-kron-wis
Copy link
Copy Markdown
Collaborator

No description provided.

@ori-kron-wis ori-kron-wis self-assigned this Nov 6, 2025
@canergen canergen requested a review from Copilot March 1, 2026 20:43
@canergen canergen merged commit d7f0d69 into main Mar 1, 2026
8 checks passed
@canergen canergen deleted the Ori-py313 branch March 1, 2026 20:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s declared Python support and CI test matrix to include Python 3.13, alongside related packaging metadata and dependency adjustments.

Changes:

  • Raise minimum supported Python from 3.10 to 3.11 and add the Python 3.13 classifier.
  • Add Python 3.13 to the GitHub Actions test matrix.
  • Add several new NLP/ML runtime dependencies (torch/transformers/sentence-transformers/tokenizers).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
pyproject.toml Updates supported Python range/classifiers and adds new dependencies.
CHANGELOG.md Adds new version headings/placeholders for 0.6.x and 0.5.3.
.github/workflows/test.yml Expands CI matrix to run tests on Python 3.13 (and drops 3.10).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml
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.
Comment thread pyproject.toml
Comment on lines +57 to +60
"torch>=2.4",
"transformers>=4.35.0",
"sentence-transformers>=2.3.1",
"tokenizers>=0.14.0",
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.
Comment thread pyproject.toml
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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants