github jupyter/jupyter_core v5.0.0

latest releases: v5.8.1, v5.8.0, v5.7.2...
2 years ago

5.0.0

(Full Changelog)

Major Changes

Prefer Environment Level Configuration

We now make the assumption that if we are running in a virtual environment, we should prioritize the environment-level sys.prefix over the user-level paths. Users can opt out of this behavior by setting JUPYTER_PREFER_ENV_PATH, which takes precedence over our autodetection.

Migrate to Standard Platform Directories

In version 5, we introduce a JUPYTER_PLATFORM_DIRS environment variable to opt in to using more appropriate platform-specific directories. We raise a deprecation warning if the variable is not set. In version 6, JUPYTER_PLATFORM_DIRS will be opt-out. In version 7, we will remove the environment variable checks and old directory logic.

Drop Support for Python 3.7

We are dropping support for Python 3.7 ahead of its official end of life, to reduce maintenance burden as we add support for Python 3.11.

Enhancements made

  • Use platformdirs for path locations #292 (@blink1073)
  • Try to detect if we are in a virtual environment and change path precedence accordingly #286 (@jasongrout)

Bugs fixed

Maintenance and upkeep improvements

Documentation

Contributors to this release

(GitHub contributors page for this release)

@blink1073 | @bollwyvl | @dependabot | @dlqqq | @gaborbernat | @gutow | @jamesr66a | @jaraco | @jasongrout | @kevin-bates | @maartenbreddels | @martinRenou | @meeseeksmachine | @pre-commit-ci

Don't miss a new jupyter_core release

NewReleases is sending notifications on new releases.