Changes in jupyter-core#

5.7.2#

(Full Changelog)

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @pre-commit-ci

5.7.1#

(Full Changelog)

Bugs fixed#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073

5.7.0#

(Full Changelog)

Enhancements made#

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @pre-commit-ci

5.6.1#

(Full Changelog)

Bugs fixed#

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @dependabot

5.6.0#

(Full Changelog)

Enhancements made#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073

5.5.1#

(Full Changelog)

Bugs fixed#

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @mtelka | @pre-commit-ci

5.5.0#

(Full Changelog)

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @singingwolfboy

5.4.0#

(Full Changelog)

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @davidbrochart | @jamescooke

5.3.2#

(Full Changelog)

Bugs fixed#

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @dependabot | @pre-commit-ci

5.3.1#

(Full Changelog)

Bugs fixed#

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @davidbrochart | @jamescooke | @pre-commit-ci | @smartass101

5.3.0#

(Full Changelog)

Bugs fixed#

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @dcsaba89 | @pre-commit-ci

5.2.0#

(Full Changelog)

Enhancements made#

  • Set up shell command-line tab-completion for jupyter and subcommands #337 (@azjps)

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@azjps | @blink1073

5.1.5#

(Full Changelog)

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@Carreau

5.1.4#

(Full Changelog)

Bugs fixed#

  • Suppress any exception in _do_i_own shortcut #335 (@minrk)

Contributors to this release#

(GitHub contributors page for this release)

@minrk

5.1.3#

(Full Changelog)

Bugs fixed#

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @Carreau | @jasongrout | @pre-commit-ci

5.1.2#

(Full Changelog)

Maintenance and upkeep improvements#

Documentation improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @Carreau

5.1.1#

(Full Changelog)

Enhancements made#

  • Only prefer envs owned by the current user #323 (@minrk)

Bugs fixed#

  • Don’t treat the conda root env as an env #324 (@minrk)

Maintenance and upkeep improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @jasongrout | @minrk | @pre-commit-ci

5.1.0#

(Full Changelog)

Enhancements made#

Maintenance and upkeep improvements#

Documentation improvements#

Contributors to this release#

(GitHub contributors page for this release)

@blink1073 | @davidbrochart | @pre-commit-ci

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

5.0.0rc0#

on GitHub

  • Try to detect if we are in a virtual environment and change path precedence accordingly. (#286)

  • Update broken link to Contributing guide. (#289)

  • Add current working directory as first config path. (#291)

  • Use platformdirs for path locations. (#292)

4.11#

4.11.1#

on GitHub

  • Fix inclusion of jupyter file and check in CI. (#276)

4.11.0#

on GitHub

  • Use hatch build backend. (#265)

  • is_hidden: Use normalized paths. (#271)

4.10#

4.10.0#

on GitHub

  • Include all files from jupyter_core. (#253)

  • Add project URLs to setup.cfg. (#254)

  • Set up pre-commit. (#255)

  • Add flake8 and mypy settings. (#256)

  • Clean up CI. (#258)

4.9#

4.9.2#

on GitHub

  • Set proper sys.argv[0] for subcommand. (#248)

  • Add explicit encoding in open calls. (#249)

  • jupyter_config_dir - reorder home_dir initialization. (#251)

4.9.1#

on GitHub

  • Add a workaround for virtualenv for getting the user site directory. (#247)

4.9.0#

on GitHub

See the jupyter_core 4.9 milestone on GitHub for the full list of pull requests and issues closed.

  • Add Python site user base subdirectories to config and data user-level paths if site.ENABLE_USER_SITE is True. One way to disable these directory additions is to set the PYTHONNOUSERSITE environment variable. These locations can be customized by setting the PYTHONUSERBASE environment variable. (#242)

4.8#

4.8.2#

on GitHub

jupyter_core 4.8.1 was released the same day as 4.8.0 and also included the fix below for the Windows tests. Unfortunately, the 4.8.1 release commit and tag were not pushed to GitHub. We are releasing 4.8.2 so we have a commit and tag in version control.

  • Fix windows test regression (#240)

4.8.0#

on GitHub

See the jupyter_core 4.8 milestone on GitHub for the full list of pull requests and issues closed.

jupyter-core now has experimental support for PyPy (Python 3.7). Some features are known not to work due to limitations in PyPy, such as hidden file detection on Windows.

  • Print an error message instead of an exception when a command is not found (#218)

  • Return canonical path when using %APPDATA% on Windows (#222)

  • Print full usage on missing or invalid commands (#225)

  • Remove dependency on pywin32 package on PyPy (#230)

  • Update packages listed in jupyter --version (#232)

  • Inherit base aliases/flags from traitlets Application, including --show-config from traitlets 5 (#233)

  • Trigger warning when trying to check hidden file status on PyPy (#238)

4.7#

4.7.1#

on GitHub

  • Allow creating user to delete secure file (#213)

4.7.0#

on GitHub

See the jupyter_core 4.7 milestone on GitHub for the full list of pull requests and issues closed.

  • Add a new JUPYTER_PREFER_ENV_PATH variable, which can be set to switch the order of the environment-level path and the user-level path in the Jupyter path hierarchy (e.g., jupyter --paths). It is considered set if it is a value that is not one of ‘no’, ‘n’, ‘off’, ‘false’, ‘0’, or ‘0.0’ (case insensitive). If you are running Jupyter in multiple virtual environments as the same user, you will likely want to set this environment variable.

  • Drop Python 2.x and 3.5 support, as they have reached end of life.

  • Add Python 3.9 builds to testing, and expand testing to cover Windows, macOS, and Linux platforms.

  • jupyter --paths --debug now explains the environment variables that affect the current path list.

  • Update the file hidden check on Windows to use new Python features rather than ctypes directly.

  • Add conda environment information in jupyter troubleshoot.

  • Update _version.version_info and _version.__version__ to follow Python conventions.

4.6#

4.6.3#

on GitHub

  • Changed windows secure_write path to skip all filesystem permission checks when running in insecure mode. Too many exception paths existed for mounted file systems to reliably try to set them before opting out with the insecure write pattern.

4.6.2#

on GitHub

  • Add ability to allow insecure writes with JUPYTER_ALLOW_INSECURE_WRITES environment variable (#182).

  • Docs typo and build fixes

  • Added python 3.7 and 3.8 builds to testing

4.6.1#

on GitHub

  • Tolerate execute bit in owner permissions when validating secure writes (#173).

  • Fix project name typo in copyright (#171).

4.6.0#

on GitHub

  • Unicode characters existing in the user’s home directory name are properly handled (#131).

  • mock is now only required for testing on Python 2 (#157).

  • Deprecation warnings relative to _runtime_dir_changed are no longer produced (#158).

  • The scripts directory relative to the current python environment is now appended to the search directory for subcommands (#162).

  • Some utility functions (exists(), is_hidden(), secure_write()) have been moved from jupyter_client and jupyter_server to jupyter_core (#163).

  • Fix error on Windows when setting private permissions (#166).

4.5#

4.5.0#

on GitHub

  • jupyter --version now tries to show the version number of various other installed Jupyter packages, not just jupyter_core (#136). This will hopefully make it clearer that there are various packages with their own version numbers.

  • Allow a JUPYTER_CONFIG_PATH environment variable to specify a search path of additional locations for config (#139).

  • jupyter subcommand no longer modifies the PATH environment variable when it runs jupyter-subcommand (#148).

  • Jupyter’s ‘runtime’ directory no longer uses XDG_RUNTIME_DIR (#143). While it has some attractive properties, it has led to various problems; see the pull request for details.

  • Fix JupyterApp to respect the raise_config_file_errors traitlet (#149).

  • Various improvements to the bash completion scripts in this repository (#125, #126).

  • The setup.py script now always uses setuptools, like most other Jupyter projects (#147).

  • The LICENSE file is included in wheels (#133).

4.4#

4.4.0#

on GitHub

  • jupyter troubleshoot gets the list of packages from the Python environment it’s in, by using sys.executable to call pip list (#104).

  • Added utility function ensure_dir_exists, and switched to using it over the one from ipython_genutils, which does permissions wrong (#113).

  • Avoid creating the ~/.ipython directory when checking if it exists for config migration (#118).

  • Fix mistaken description in zsh completions (#98).

  • Fix subcommand tests on Windows (#103).

  • The README now describes how to work on jupyter_core and build the docs (#110).

  • Fix a broken link to a release in the docs (#109).

4.3#

4.3.0#

on GitHub

  • Add JUPYTER_NO_CONFIG environment variable for disabling all Jupyter configuration.

  • More detailed error message when failing to launch subcommands.

4.2#

4.2.1#

on GitHub

  • Fix error message on Windows when subcommand not found.

  • Correctly display PATH in jupyter troubleshoot on Windows.

4.2.0#

on GitHub

  • Make jupyter directory top priority in search path for subcommands, so that jupyter-subcommand next to jupyter will always be picked if present.

  • Avoid using shell=True for subcommand dispatch on Windows.

4.1#

4.1.1#

on GitHub

  • Include symlink directory and real location on subcommand PATH when jupyter is a symlink.

4.1.0#

on GitHub

  • Add jupyter.py module, so that python -m jupyter always works.

  • Add prototype jupyter troubleshoot command for displaying environment info.

  • Ensure directory containing jupyter executable is included when dispatching subcommands.

  • Unicode fixes for Legacy Python.

4.0#

4.0.6#

on GitHub

  • fix typo preventing migration when custom.css is missing

4.0.5#

on GitHub

  • fix subcommands on Windows (yes, again)

  • fix migration when custom.js/css are not present

4.0.4#

on GitHub

  • fix subcommands on Windows (again)

  • ensure jupyter --version outputs to stdout

4.0.3#

on GitHub

  • setuptools fixes needed to run on Windows

4.0.2#

on GitHub

  • fixes for jupyter-migrate

4.0.1#

on GitHub

This is the first release of the jupyter-core package.