Skip to content

Colab python 3.10 compatibility check #1266

Closed
2 tasks done
martins0n opened this issue May 18, 2023 · 1 comment · Fixed by #1268
Closed
2 tasks done

Colab python 3.10 compatibility check #1266

martins0n opened this issue May 18, 2023 · 1 comment · Fixed by #1268
Assignees
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@martins0n
Copy link
Contributor

Checklist

  • I have searched the issues.
  • I have searched the docs.

❓ What is the issue?

In a few months colab have migrated from python 3.8 to python 3.10
It could cause some issues with not updating packages.

Etna depends on a large amount of libraries that increase probability of implicit compatibity issues.

So it seems we should run checks on etna's default notebooks

@martins0n martins0n added help wanted Extra attention is needed question Further information is requested labels May 18, 2023
@martins0n martins0n changed the title Colab compatibility check Colab python 3.10 compatibility check May 18, 2023
@Mr-Geekman Mr-Geekman self-assigned this May 22, 2023
@github-project-automation github-project-automation bot moved this to Specification in etna board May 22, 2023
@Mr-Geekman Mr-Geekman moved this from Specification to In Progress in etna board May 22, 2023
@Mr-Geekman
Copy link
Contributor

get_started

Steps:

  • pip install etna
  • restart environment
  • run notebook
  • works fine

Errors from pip:

  • arviz 0.15.1 requires scipy>=1.8.0, but you have scipy 1.7.3 which is incompatible
    • we have a limit on scipy in pyproject.toml
  • prophet 1.1.2 requires holidays>=0.14.2, but you have holidays 0.13 which is incompatible
    • colab by default uses other version of prophet and when we install holidays we break this dependency

backtest

Steps:

  • pip install etna[prophet]
    • pip install etna also works
  • restart environment
  • run notebook
  • works fine

Errors from pip on pip install etna[prophet]:

  • arviz 0.15.1 requires scipy>=1.8.0, but you have scipy 1.7.3 which is incompatible
    • we have a limit on scipy in pyproject.toml

NN_examples

Steps:

  • pip install etna[torch]
  • restart environment
  • run notebook
  • works fine

Errors from pip on pip install etna[torch]:

  • arviz 0.15.1 requires scipy>=1.8.0, but you have scipy 1.7.3 which is incompatible
    • we have a limit on scipy in pyproject.toml
  • prophet 1.1.2 requires holidays>=0.14.2, but you have holidays 0.13 which is incompatible
    • colab by default uses other version of prophet and when we install holidays we break this dependency
  • torchaudio 2.0.2+cu118 requires torch==2.0.1, but you have torch 1.11.0 which is incompatible
  • torchdata 0.6.1 requires torch==2.0.1, but you have torch 1.11.0 which is incompatible
  • torchtext 0.15.2 requires torch==2.0.1, but you have torch 1.11.0 which is incompatible
  • torchvision 0.15.2+cu118 requires torch==2.0.1, but you have torch 1.11.0 which is incompatible
    • colab by default uses torch-2.0

@Mr-Geekman Mr-Geekman moved this from In Progress to In Review in etna board May 22, 2023
@Mr-Geekman Mr-Geekman moved this from In Review to In Progress in etna board May 23, 2023
@alex-hse-repository alex-hse-repository moved this from In Progress to In Review in etna board May 24, 2023
@github-project-automation github-project-automation bot moved this from In Review to Done in etna board May 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed question Further information is requested
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants