Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump minimal dependencies #575

Closed
d-a-bunin opened this issue Jan 20, 2025 · 2 comments · Fixed by #599
Closed

Bump minimal dependencies #575

d-a-bunin opened this issue Jan 20, 2025 · 2 comments · Fixed by #599
Assignees

Comments

@d-a-bunin
Copy link
Collaborator

d-a-bunin commented Jan 20, 2025

🚀 Task description

We could now update some of our dependencies that were blocked by old version of pytorch_forecasting

Plan

  • Set python = ">=3.10.0, <3.13.0"
  • Set torch = {version = "^2", optional = true}
  • Set lightning = {version = "*", optional = true}
    • Remove pytorch_ligtning
  • Set optuna = {version = "^3", optional = true}
    • pypi
    • Rework imports for everthing to work
    • Probably, sqlalchemy = {version = "^1.1.0", optional = true} could be removed
  • Set statsforecast = {version = "^2", optional = true}
    • pypi
    • Remove etna.libs.statsforecast
  • Set loguru = ">=0.7"
  • Set catboost = "^1"
  • Set numpy = "^2"
    • pypi
    • Updater numba accordingly
  • Set pandas = "^2"
    • pypi
    • Rework pandas tests
  • Set pmdarima = ">=2"
  • Set hydra-slayer = ">=0.5"
  • Set typer = ">=0.12
  • Set holidays = ">=0.40
  • Set wandb = {version = ">=0.16", optional = true}
  • Set accelerate = {version = "^1", optional = true}
  • Try to update poetry >= 2
    • Ensure to use poetry-plugin-export >= 1.9.0
  • Make sure everything works fine and tests pass
  • After bumping versions update pyproject.toml filterwarnings section
    • Remove redundant warnings
    • Add new warnings to ignore

To discuss:

  • Should we try to bump optuna to 4.0? It was already release.
  • Do we really want bump statsforecast to 2.0? It was released 2024-11-27.
  • Do we really want to bump version of wandb?

Test cases

No response

Additional context

@d-a-bunin d-a-bunin added this to the Major release 3.0 milestone Jan 20, 2025
@d-a-bunin d-a-bunin changed the title Bump package versions that was blocked by pytorch_forecasting Bump minimal dependencies Jan 23, 2025
@d-a-bunin d-a-bunin moved this from New to Todo in etna board Jan 24, 2025
@egoriyaa
Copy link
Collaborator

Earlier there were problems with huggingface-hub, so now version range is narrow. Try to widen the range after bump.

@DanilSmorchkov DanilSmorchkov self-assigned this Feb 3, 2025
@d-a-bunin
Copy link
Collaborator Author

@d-a-bunin d-a-bunin moved this from Todo to In Progress in etna board Feb 4, 2025
@d-a-bunin d-a-bunin moved this from In Progress to In Review in etna board Feb 10, 2025
@github-project-automation github-project-automation bot moved this from In Review to Done in etna board Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants