Skip to content

CHANGED: bumped to py3.13 #87

Merged
josenimo merged 5 commits intoCosciaLab:mainfrom
josenimo:dev
Oct 18, 2025
Merged

CHANGED: bumped to py3.13 #87
josenimo merged 5 commits intoCosciaLab:mainfrom
josenimo:dev

Conversation

@josenimo
Copy link
Member

No description provided.

@josenimo josenimo requested a review from Copilot October 18, 2025 13:20
Copy link
Contributor

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

This PR updates dependency version constraints for gensim and scipy, while also bumping the project version and expanding Python version support to include Python 3.13.

Key Changes:

  • Updated scipy from <1.13 to ~=1.13 and gensim from >=4.3.2 to ~=4.4.0
  • Expanded Python version support to include 3.13 (changed from <3.13 to <3.14)
  • Bumped project version from 0.7.2 to 0.7.3

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@josenimo josenimo changed the title CHANGED: gensim ~=4.4, scipy ~=1.13 CHANGED: bumped to py3.13 Oct 18, 2025
@josenimo josenimo requested a review from Copilot October 18, 2025 13:57
@josenimo josenimo merged commit 616485d into CosciaLab:main Oct 18, 2025
9 checks passed
Copy link
Contributor

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

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


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

dependencies = [
"spatialdata == 0.4.0",
"numpy >= 2.0.0",
"spatialdata >= 0.4.0",
Copy link

Copilot AI Oct 18, 2025

Choose a reason for hiding this comment

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

The dependency constraint for spatialdata was changed from exact version (==) to minimum version (>=), which may introduce breaking changes. Since the previous version was pinned to 0.4.0, consider using a pessimistic constraint like ~= 0.4.0 to allow patch updates while preventing breaking minor version changes.

Suggested change
"spatialdata >= 0.4.0",
"spatialdata ~= 0.4.0",

Copilot uses AI. Check for mistakes.
"scanpy >=1.11, <1.14",
"loguru ~= 0.7.3",
"scipy <1.13", # Gensim breaks above
"scipy ~= 1.13",
Copy link

Copilot AI Oct 18, 2025

Choose a reason for hiding this comment

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

The constraint changed from <1.13 to ~= 1.13, which now requires scipy version 1.13 or higher (but <2.0). The comment 'Gensim breaks above' was removed, but this constraint may still cause issues if gensim is incompatible with scipy 1.13+. Verify that gensim 4.4.0 is compatible with scipy 1.13+.

Suggested change
"scipy ~= 1.13",
"scipy <1.13", # Gensim breaks above 1.13

Copilot uses AI. Check for mistakes.
"upsetplot",
"perseuspy >=0.3.9,<0.4",
"gensim >=4.3.2", # Gensim breaks with python >=3.13
"gensim ~=4.4.0",
Copy link

Copilot AI Oct 18, 2025

Choose a reason for hiding this comment

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

The gensim version was updated from >=4.3.2 to ~=4.4.0, and the comment 'Gensim breaks with python >=3.13' was removed. Verify that gensim 4.4.0 actually supports Python 3.13, as the comment removal suggests this was a blocker for Python 3.13 support.

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.

2 participants