Migrate to Python 3.14 + pure uv, update all deps, fix deprecated APIs#1
Draft
Copilot wants to merge 2 commits into
Draft
Migrate to Python 3.14 + pure uv, update all deps, fix deprecated APIs#1Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
Migrate to Python 3.14, pure uv, update all packages
Migrate to Python 3.14 + pure uv, update all deps, fix deprecated APIs
Jun 1, 2026
Copilot created this pull request from a session on behalf of
riccollado
June 1, 2026 11:50
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Converts the project from pyenv+poetry to uv-controlled Python (3.14) and packages. All dependencies updated to latest versions compatible with Python 3.14. Deprecated APIs across the codebase fixed to match library breaking changes.
Tooling
requires-python = ">=3.14",.python-version→3.14,mypy.ini→3.14.flake8; ruff replaces flake8/black/isort/pydocstyle throughoutnbqa-isort+nbqa-black→nbqa-ruff+nbqa-ruff-formatDependency updates (notable bumps)
Deprecated API fixes
SQLAlchemy 2.0 (
db_manager/driver.py):numpy 2.x (
gen_manager/crash.py,gen_manager/scenario.py):pandas 3.0 (
opt_manager/stochastic.py):pygmo optional import (
opt_manager/stochastic.py): was a hard top-level import; now wrapped intry/except ImportErrorwith a clear error raised at the call site (Pareto branching only).Typing
All
typing.Dict/List/Tupleannotations replaced with built-in generics (dict,list,tuple) across allsrc/files.