neural_prophet icon indicating copy to clipboard operation
neural_prophet copied to clipboard

[meta] Update dependencies

Open noxan opened this issue 2 years ago • 3 comments

Tasks

  • numpy 1.24.3 fails due to: FAILED tests/test_plotting.py::test_plot_trend[matplotlib] - ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part. (see failed github action).
  • torch and pytorch-lightning are tracked in #1229
  • flake8 would require python>=3.8.1 somehow
  • holidays returns different number of holidays from time to time
  • plotly-resampler and pandas depend on another (requires plotly-resampler=0.9.0rc0 for pandas=2.0.1) and fail (see github action logs)

Outdated package list

flake8            5.0.4        6.0.0        the modular source code checker: pep8 pyflakes and co
holidays          0.21.13      0.23         Generate and work with holidays in Python
numpy             1.23.5       1.24.3       NumPy is the fundamental package for array computing with Python.
pandas            1.5.3        2.0.1        Powerful data structures for data analysis, time series, and statistics
pandas-stubs      1.5.3.230321 2.0.0.230412 Type annotations for pandas
pycodestyle       2.9.1        2.10.0       Python style guide checker
pyflakes          2.5.0        3.0.1        passive checker of Python programs
pytorch-lightning 1.9.5        2.0.2        PyTorch Lightning is the lightweight PyTorch wrapper for ML researchers. Scale your models. Write less boilerplate.
torch             1.13.1       2.0.0        Tensors and Dynamic neural networks in Python with strong GPU acceleration

noxan avatar Apr 26 '23 16:04 noxan

Update

  • flake8: no update
  • holidays: updated in #1431
  • pandas-stubs: updated in #1433
  • pycodestyle: not a dependency anymore
  • pyflakes: not a dependency anymore
  • numpy: numpy (1.25.0) requires Python >=3.9

leoniewgnr avatar Sep 26 '23 02:09 leoniewgnr

bokeh                3.1.1   3.2.2       Interactive plots and applications in the browser from Python
dash                 2.9.3   2.13.0      A Python framework for building reactive web-apps. Developed by Plotly.
flake8               5.0.4   6.1.0       the modular source code checker: pep8 pyflakes and co
google-auth-oauthlib 1.0.0   1.1.0       Google Authentication Library
holidays             0.21.13 0.33        Generate and work with holidays in Python
ipython              8.12.2  8.15.0      IPython: Productive Interactive Computing
kaleido              0.2.1   0.2.1.post1 Static image export for web-based visualization libraries with zero dependencies
matplotlib           3.7.3   3.8.0       Python plotting package
numpy                1.24.4  1.26.0      Fundamental package for array computing in Python
pandas               1.5.3   2.1.1       Powerful data structures for data analysis, time series, and statistics
plotly-resampler     0.8.3.2 0.9.1       Visualizing large time series with plotly
pycodestyle          2.9.1   2.11.0      Python style guide checker
pyflakes             2.5.0   3.1.0       passive checker of Python programs
pytorch-lightning    1.9.5   2.0.9       PyTorch Lightning is the lightweight PyTorch wrapper for ML researchers. Scale your models. Write less boilerp...
torch                2.0.0   2.0.1       Tensors and Dynamic neural networks in Python with strong GPU acceleration
torchmetrics         0.11.4  1.2.0       PyTorch native Metrics

leoniewgnr avatar Sep 27 '23 18:09 leoniewgnr

Hi! How is this issue going? Wondering about upgrading pandas to 2. Would be really great.

Thanks for great work with this package!

felixmartinsson avatar Dec 06 '23 15:12 felixmartinsson

These should all be resolved as of 0.9.0

ourownstory avatar Jun 21 '24 18:06 ourownstory