Add version constraints to reduce micromamba CI environment resolution time
This PR updates the `environment.yml` file to add version constraints to several frequently resolved dependencies. These changes help reduce environment resolution time in CI workflows using micromamba, which was previously leading to timeouts (see #61531).

Updated packages:
- ipywidgets>=8.1.2
- nbformat>=5.9.2
- notebook>=7.0.6,<7.2.0
- dask-core>=2024.4.2
- seaborn-base>=0.13.2

Fixes: #61531
pre-commit.ci autofix Closing, as discussed in https://github.com/pandas-dev/pandas/issues/61531#issuecomment-2929429803