Releases: jupyter/jupyter_core
v5.0.0
5.0.0
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
- Add current working directory as first config path #291 (@blink1073)
- Fix inclusion of jupyter file and check in CI #276 (@blink1073)
Maintenance and upkeep improvements
- Bump github/codeql-action from 1 to 2 #308 (@dependabot)
- Bump actions/checkout from 2 to 3 #307 (@dependabot)
- Add dependabot #306 (@blink1073)
- Adopt jupyter releaser #305 (@blink1073)
- Add more typing #304 (@blink1073)
- Require Python 3.8+ #302 (@blink1073)
- Use hatch backend #265 (@blink1073)
- Switch to flit build backend #262 (@blink1073)
- is_hidden: Use normalized paths #271 (@martinRenou)
Documentation
- Update broken link to
Contributing
guide #289 (@jamesr66a)
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
What's Changed
- Try to detect if we are in a virtual environment and change path precedence accordingly by @jasongrout in #286
- Update broken link to
Contributing
guide by @jamesr66a in #289 - Add current working directory as first config path by @blink1073 in #291
- Use platformdirs for path locations by @blink1073 in #292
New Contributors
- @jamesr66a made their first contribution in #289
Full Changelog: 4.11.1...5.0.0rc0
4.11.1
What's Changed
- Fix inclusion of jupyter file and check in CI by @blink1073 in #276
Full Changelog: 4.11.0...4.11.1
4.11.0
What's Changed
- Use hatch backend by @blink1073 in #265
- is_hidden: Use normalized paths by @martinRenou in #271
New Contributors
- @martinRenou made their first contribution in #271
Full Changelog: 4.10.0...4.11.0
4.10.0
What's Changed
- Update changelog for 4.9.2 by @blink1073 in #252
- Include all files from
jupyter_core
by @jonringer in #253 - Add project URLs to setup.cfg by @tlinhart in #254
- Set up pre-commit by @blink1073 in #255
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #257
- Add flake8 and mypy settings by @blink1073 in #256
- Clean up CI by @blink1073 in #258
- Update changelog for 4.10 Release by @blink1073 in #259
New Contributors
- @jonringer made their first contribution in #253
- @tlinhart made their first contribution in #254
- @pre-commit-ci made their first contribution in #257
Full Changelog: 4.9.2...4.10.0
4.9.2
What's Changed
- set proper sys.argv[0] for subcommand by @bnavigator in #248
- Add explicit encoding in open calls by @dlukes in #249
- jupyter_config_dir - reorder home_dir initialization by @dharmaquark in #251
New Contributors
- @bnavigator made their first contribution in #248
- @dlukes made their first contribution in #249
- @dharmaquark made their first contribution in #251
Full Changelog: 4.9.1...4.9.2