Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0 changelog #294

Closed
jasongrout opened this issue Sep 28, 2022 · 1 comment
Closed

5.0 changelog #294

jasongrout opened this issue Sep 28, 2022 · 1 comment
Milestone

Comments

@jasongrout
Copy link
Member

We have several large changes coming in 5.0, and I think we should have a changelog that elaborates on the changes more. This issue is for expanding the changelog to include a discussion about how to migrate and use the new features.

We should probably also add mention of the new platformdirs environment variable to the documentation of various functions in paths, like we already mention the prefer env variable.

@jasongrout jasongrout added this to the 5.0 milestone Sep 28, 2022
@blink1073
Copy link
Contributor

blink1073 commented Nov 7, 2022

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.

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

No branches or pull requests

2 participants