Skip to content

Update dependencies and configuration in pyproject.toml#3167

Merged
baraline merged 1 commit intoaeon-toolkit:mainfrom
TUSHARDHOKRIYA:main
Dec 16, 2025
Merged

Update dependencies and configuration in pyproject.toml#3167
baraline merged 1 commit intoaeon-toolkit:mainfrom
TUSHARDHOKRIYA:main

Conversation

@TUSHARDHOKRIYA
Copy link
Copy Markdown
Contributor

@TUSHARDHOKRIYA TUSHARDHOKRIYA commented Dec 11, 2025

Fixes #307

Summary
This PR updates the Binder environment configuration for the Aeon Toolkit example notebooks.

The Binder build (pip install .[binder]) was failing to run many example notebooks due to missing packages. The binder extra in pyproject.toml only listed Jupyter-related packages and omitted several runtime dependencies required by the notebooks, leading to multiple ModuleNotFoundError crashes on launch.

What was wrong
Launching Binder resulted in import failures because the following packages were not installed:

  • matplotlib
  • seaborn
  • statsmodels
  • pyod
  • tensorflow
  • aeon

The base Binder image (jupyter/scipy-notebook:python-3.11) already includes numpy, pandas, scipy, and scikit-learn, so those were intentionally not included.

What this PR changes
Added the missing notebook dependencies to the binder optional dependency group in pyproject.toml:

  • matplotlib>=3.3.2
  • seaborn>=0.11.0
  • statsmodels>=0.12.1
  • pyod>=1.1.3
  • tensorflow>=2.14; python_version < "3.13"
  • aeon

@aeon-actions-bot
Copy link
Copy Markdown
Contributor

Thank you for contributing to aeon

I did not find any labels to add based on the title. Please add the [ENH], [MNT], [BUG], [DOC], [REF], [DEP] and/or [GOV] tags to your pull requests titles. For now you can add the labels manually.

The Checks tab will show the status of our automated tests. You can click on individual test runs in the tab or "Details" in the panel below to see more information if there is a failure.

If our pre-commit code quality check fails, any trivial fixes will automatically be pushed to your PR unless it is a draft.

Don't hesitate to ask questions on the aeon Slack channel if you have any.

PR CI actions

These checkboxes will add labels to enable/disable CI functionality for this PR. This may not take effect immediately, and a new commit may be required to run the new configuration.

  • Run pre-commit checks for all files
  • Run mypy typecheck tests
  • Run all pytest tests and configurations
  • Run all notebook example tests
  • Run numba-disabled codecov tests
  • Stop automatic pre-commit fixes (always disabled for drafts)
  • Disable numba cache loading
  • Regenerate expected results for testing
  • Push an empty commit to re-run CI checks

Copy link
Copy Markdown
Member

@baraline baraline left a comment

Choose a reason for hiding this comment

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

LGTM

@baraline baraline merged commit d393b9b into aeon-toolkit:main Dec 16, 2025
26 of 36 checks passed
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.

[MNT] binder install option does not install optional dependencies used in notebooks

2 participants