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

Bump the pip group with 7 updates #16270

Merged
merged 5 commits into from
May 16, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2024

Updates the requirements on sphinx, matplotlib, pandas, scipy, ruff, pyyaml-include and pydantic to permit the latest version.
Updates sphinx to 7.3.7

Release notes

Sourced from sphinx's releases.

Sphinx 7.3.7

Changelog: https://www.sphinx-doc.org/en/master/changes.html

Changelog

Sourced from sphinx's changelog.

Release 7.3.7 (released Apr 19, 2024)

Bugs fixed

  • #12299: Defer loading themes defined via entry points until their explicit use by the user or a child theme. Patch by Adam Turner.
  • #12305: Return the default value for theme.get_config() with an unsupported theme configuration section. Patch by Adam Turner.

Release 7.3.6 (released Apr 17, 2024)

Bugs fixed

  • #12295: Re-export all AST types in the C and C++ domains. Patch by Adam Turner.
  • #12295: Re-export various objects from sphinx.domains.python._annotations in sphinx.domains.python. Patch by Jacob Chesslo and Adam Turner.

Release 7.3.5 (released Apr 17, 2024)

Bugs fixed

  • #12295: Re-export various objects from sphinx.domains.python._object in sphinx.domains.python. Patch by Jacob Chesslo and Adam Turner.

Release 7.3.4 (released Apr 17, 2024)

Bugs fixed

  • Handle cases when Any is not an instance of type. Patch by Adam Turner.

Release 7.3.3 (released Apr 17, 2024)

Bugs fixed

... (truncated)

Commits
  • de4ac2f Bump to 7.3.7 final
  • 4a0c9dd Return the default value for unsupported theme configuration sections
  • 62c3bad Re-export py_sig_re from the Python domain
  • 3bcc669 Defer loading entry-point themes until needed
  • fa4563f Bump version
  • 630b4fb Bump to 7.3.6 final
  • 740b964 fixup! Elaborate a little more in the warning message for config.cache
  • 141f3ec Elaborate a little more in the warning message for config.cache
  • af27188 Add config.cache to the list of warning types
  • be2b083 Re-export more names in sphinx.domains.python (#12297)
  • Additional commits viewable in compare view

Updates matplotlib from 3.8.3 to 3.8.4

Release notes

Sourced from matplotlib's releases.

REL: v3.8.4

This is the fourth micro release of the 3.8 series.

Highlights of the 3.8.4 release include:

  • Enable building against numpy 2.0; released wheels are built against numpy 2
  • macosx: Clean up single-shot timers correctly
  • Add a draw during show for macos backend
  • Fix color sequence data for Set2 and Set3
  • gtk: Ensure pending draws are done before GTK draw
  • Update "Created with" url in hand.svg
  • Avoid modifying user input to Axes.bar
  • fix quiver3d incorrect arrow colors
Commits
  • 8fb842c REL: v3.8.4
  • 149521e Release prep v3.8.4
  • 39e91a4 Merge branch 'v3.8.3-doc' into v3.8.x
  • e5dd407 Github stats for v3.8.4
  • dbb4e04 Merge pull request #28015 from meeseeksmachine/auto-backport-of-pr-27955-on-v...
  • e0a38c6 Merge pull request #27993 from ksunden/np_2_build
  • dea6de9 Backport PR #27955: Add a draw during show for macos backend
  • 0ec1774 Unpin numpy 2 for install, build against numpy rc for isolated builds
  • 8f1698f Merge pull request #28001 from meeseeksmachine/auto-backport-of-pr-28000-on-v...
  • 79ee5af Backport PR #28000: Fix color sequence data for Set2 and Set3
  • Additional commits viewable in compare view

Updates pandas from 2.2.1 to 2.2.2

Release notes

Sourced from pandas's releases.

Pandas 2.2.2

We are pleased to announce the release of pandas 2.2.2. This release includes some new features, bug fixes, and performance improvements. We recommend that all users upgrade to this version.

See the full whatsnew for a list of all the changes. Pandas 2.2.2 supports Python 3.9 and higher.

The release will be available on the defaults and conda-forge channels:

conda install pandas

Or via PyPI:

python3 -m pip install --upgrade pandas

Please report any issues with the release on the pandas issue tracker.

Thanks to all the contributors who made this release possible.

Commits

Updates scipy from 1.12.0 to 1.13.0

Release notes

Sourced from scipy's releases.

SciPy 1.13.0 Release Notes

SciPy 1.13.0 is the culmination of 3 months of hard work. This out-of-band release aims to support NumPy 2.0.0, and is backwards compatible to NumPy 1.22.4. The version of OpenBLAS used to build the PyPI wheels has been increased to 0.3.26.dev.

This release requires Python 3.9+ and NumPy 1.22.4 or greater.

For running on PyPy, PyPy3 6.0+ is required.

Highlights of this release

  • Support for NumPy 2.0.0.
  • Interactive examples have been added to the documentation, allowing users to run the examples locally on embedded Jupyterlite notebooks in their browser.
  • Preliminary 1D array support for the COO and DOK sparse formats.
  • Several scipy.stats functions have gained support for additional axis, nan_policy, and keepdims arguments. scipy.stats also has several performance and accuracy improvements.

New features

scipy.integrate improvements

  • The terminal attribute of scipy.integrate.solve_ivp events callables now additionally accepts integer values to specify a number of occurrences required for termination, rather than the previous restriction of only accepting a bool value to terminate on the first registered event.

scipy.io improvements

  • scipy.io.wavfile.write has improved dtype input validation.

scipy.interpolate improvements

  • The Modified Akima Interpolation has been added to interpolate.Akima1DInterpolator, available via the new method argument.
  • New method BSpline.insert_knot inserts a knot into a BSpline instance. This routine is similar to the module-level scipy.interpolate.insert function, and works with the BSpline objects instead of tck tuples.

... (truncated)

Commits
  • 7dcd8c5 REL: 1.13.0 release commit [wheel build]
  • 15a69da Merge pull request #20375 from tylerjereddy/treddy_prep_1_13_0_final
  • 4cbb9e8 DOC: PR 20375 revisions
  • 2431661 MAINT: PR 20375 revisions [wheel build]
  • b85940a DOC, REL: set 1.13.0 final unreleased
  • 13c30bd MAINT: spatial: simplify meson.build
  • abb04b2 MAINT: spatial: use cython_lapack in spatial/_qhull.pyx
  • 729ff0f BUG: interpolate: Fix wrong warning message if degree=-1 in `interpolate.RBFI...
  • 8d82b0a MAINT, BUG: bump OpenBLAS (#20362)
  • 0e67a72 MAINT: backport amos license update
  • Additional commits viewable in compare view

Updates ruff from 0.3.5 to 0.4.2

Release notes

Sourced from ruff's releases.

v0.4.2

Changes

Rule changes

  • [flake8-pyi] Allow for overloaded __exit__ and __aexit__ definitions (PYI036) (#11057)
  • [pyupgrade] Catch usages of "%s" % var and provide an unsafe fix (UP031) (#11019)
  • [refurb] Implement new rule that suggests min/max over sorted() (FURB192) (#10868)

Server

  • Fix an issue with missing diagnostics for Neovim and Helix (#11092)
  • Implement hover documentation for noqa codes (#11096)
  • Introduce common Ruff configuration options with new server settings (#11062)

Bug fixes

  • Use macos-12 for building release wheels to enable macOS 11 compatibility (#11146)
  • [flake8-blind-expect] Allow raise from in BLE001 (#11131)
  • [flake8-pyi] Allow simple assignments to None in enum class scopes (PYI026) (#11128)
  • [flake8-simplify] Avoid raising SIM911 for non-zip attribute calls (#11126)
  • [refurb] Avoid operator.itemgetter suggestion for single-item tuple (#11095)
  • [ruff] Respect per-file-ignores for RUF100 with no other diagnostics (#11058)
  • [ruff] Fix async comprehension false positive (RUF029) (#11070)

Documentation

  • [flake8-bugbear] Document explicitly disabling strict zip (B905) (#11040)
  • [flake8-type-checking] Mention lint.typing-modules in TCH001, TCH002, and TCH003 (#11144)
  • [isort] Improve documentation around custom isort sections (#11050)
  • [pylint] Fix documentation oversight for invalid-X-returns (#11094)

Performance

  • Use matchit to resolve per-file settings (#11111)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.4.2

Rule changes

  • [flake8-pyi] Allow for overloaded __exit__ and __aexit__ definitions (PYI036) (#11057)
  • [pyupgrade] Catch usages of "%s" % var and provide an unsafe fix (UP031) (#11019)
  • [refurb] Implement new rule that suggests min/max over sorted() (FURB192) (#10868)

Server

  • Fix an issue with missing diagnostics for Neovim and Helix (#11092)
  • Implement hover documentation for noqa codes (#11096)
  • Introduce common Ruff configuration options with new server settings (#11062)

Bug fixes

  • Use macos-12 for building release wheels to enable macOS 11 compatibility (#11146)
  • [flake8-blind-expect] Allow raise from in BLE001 (#11131)
  • [flake8-pyi] Allow simple assignments to None in enum class scopes (PYI026) (#11128)
  • [flake8-simplify] Avoid raising SIM911 for non-zip attribute calls (#11126)
  • [refurb] Avoid operator.itemgetter suggestion for single-item tuple (#11095)
  • [ruff] Respect per-file-ignores for RUF100 with no other diagnostics (#11058)
  • [ruff] Fix async comprehension false positive (RUF029) (#11070)

Documentation

  • [flake8-bugbear] Document explicitly disabling strict zip (B905) (#11040)
  • [flake8-type-checking] Mention lint.typing-modules in TCH001, TCH002, and TCH003 (#11144)
  • [isort] Improve documentation around custom isort sections (#11050)
  • [pylint] Fix documentation oversight for invalid-X-returns (#11094)

Performance

  • Use matchit to resolve per-file settings (#11111)

0.4.1

Preview features

  • [pylint] Implement invalid-hash-returned (PLE0309) (#10961)
  • [pylint] Implement invalid-index-returned (PLE0305) (#10962)

Bug fixes

  • [pylint] Allow NoReturn-like functions for __str__, __len__, etc. (PLE0307) (#11017)
  • Parser: Use empty range when there's "gap" in token source (#11032)
  • [ruff] Ignore stub functions in unused-async (RUF029) (#11026)
  • Parser: Expect indented case block instead of match stmt (#11033)

0.4.0

... (truncated)

Commits
  • 77c93fd Bump version to 0.4.2 (#11151)
  • 1c9f5e3 Display the AST even with syntax errors (#11147)
  • 263a0d2 Use macos-12 to build release wheels (#11146)
  • 4738e19 Remove unused lexical error types (#11145)
  • f428bd5 Docs: mention lint.typing-modules in TCH001, TCH002, TCH003 (#11144)
  • 4690890 ruff server: In 'publish diagnostics' mode, document diagnostics are cleare...
  • 19baabb README: add Apache Superset to project list (#11136)
  • cee38f3 [flake8-blind-expect] Allow raise from in BLE001 (#11131)
  • e3fde28 [flake8-pyi] Allow overloaded __exit__ and __aexit__ definitions (`PYI0...
  • 1c8849f Use Matchit to Resolve Per-File Settings (#11111)
  • Additional commits viewable in compare view

Updates pyyaml-include to 2.0.2.post1

Changelog

Sourced from pyyaml-include's changelog.

CHANGELOG

2.0.2

📅 Date 2024-4-20

  • Remove custom PyYAML types definition module, use that from types-PyYAML instead.
  • Add mypy hook in pre-commit
  • Better type hints/annotations

2.0.1

📅 Date 2024-4-9

  • 🆕 New Features:
    • #44: Add py.typed file, make the package PEP-561 friendly

2.0

📅 Date 2024-3-31

2.0b2

📅 Date 2024-3-27

  • ❎ Breaking Changes:
    • data-class attribute order changed in yaml_include.Constructor
  • Some optimizations and bugfix

2.0b1

📅 Date 2024-3-11

  • ❎ Breaking Changes:

    • namespace changed to yaml_include
  • 🆕 New Features:

    • Data class for include statement.
    • autoload attribute for Constructor class, controlling if open and parse including files, or return a Data object.
    • Representer class for YAML dumping.
    • load and lazy_load function - recursive open and parse for Data object.

2.0.a2

📅 Date 2024-3-3

  • 🆕 New Features:
    • Custom loader

2.0.a1

... (truncated)

Commits
  • 35dcc98 Merge branch 'release/2.0.2.post1'
  • 4666926 typo: fix a typo in project classifiers
  • 85ac176 Merge tag 'v2.0.2' into develop
  • 1c4d491 Merge branch 'release/2.0.2'
  • 972580c bump version 2.0.2
  • 8a082bb debug: type annotations
  • a160b43 optimize: some type hints and annotation
  • a75a092 ci: update pre-commit and ruff
  • 077b26e update pre-commit
  • 569ee0d modify: more typeshed
  • Additional commits viewable in compare view

Updates pydantic to 2.7.1

Release notes

Sourced from pydantic's releases.

v2.7.1 (2024-04-23)

What's Changed

Packaging

New Features

Changes

  • Use field description for RootModel schema description when there is by @​LouisGobert in #9214

Fixes

New Contributors

Full Changelog: pydantic/pydantic@v2.7.0...v2.7.1/

Changelog

Sourced from pydantic's changelog.

v2.7.1 (2024-04-23)

GitHub release

What's Changed

Packaging

New Features

Changes

  • Use field description for RootModel schema description when there is by @​LouisGobert in #9214

Fixes

New Contributors

v2.7.0 (2024-04-11)

GitHub release

The code released in v2.7.0 is practically identical to that of v2.7.0b1.

... (truncated)

Commits
  • 2612947 2.7.1 release prep (#9307)
  • 2b8efa2 Move TODO regarding pickling to markdown (#9288)
  • 73d1049 adds test case for unexpected discriminated union behavior (#9236)
  • c33b925 Change CI to use macos-13 for Python 3.8 and 3.9 (#9305)
  • 82e4664 Fix model json schema with config types (#9287)
  • a0f18e3 Fix bullets in Strict Mode docs (#9296)
  • 77b0e1c Address case where model_construct on a class which defines model_post_init f...
  • 6322b24 Fix strict application to function-after with use_enum_values (#9279)
  • bb857bd docs(performance): remove section on literal vs enum performance (#9262)
  • 3c15a8b docs: make TypeAdapter example PEP-8 compliant (#9268)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx), [matplotlib](https://github.com/matplotlib/matplotlib), [pandas](https://github.com/pandas-dev/pandas), [scipy](https://github.com/scipy/scipy), [ruff](https://github.com/astral-sh/ruff), [pyyaml-include](https://github.com/tanbro/pyyaml-include) and [pydantic](https://github.com/pydantic/pydantic) to permit the latest version.

Updates `sphinx` to 7.3.7
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](sphinx-doc/sphinx@v1.8.0...v7.3.7)

Updates `matplotlib` from 3.8.3 to 3.8.4
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](matplotlib/matplotlib@v3.8.3...v3.8.4)

Updates `pandas` from 2.2.1 to 2.2.2
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Commits](pandas-dev/pandas@v2.2.1...v2.2.2)

Updates `scipy` from 1.12.0 to 1.13.0
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](scipy/scipy@v1.12.0...v1.13.0)

Updates `ruff` from 0.3.5 to 0.4.2
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@v0.3.5...v0.4.2)

Updates `pyyaml-include` to 2.0.2.post1
- [Changelog](https://github.com/tanbro/pyyaml-include/blob/main/CHANGELOG.md)
- [Commits](tanbro/pyyaml-include@0.1a1...v2.0.2.post1)

Updates `pydantic` to 2.7.1
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v0.0.2...v2.7.1)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: pandas
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: scipy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: pyyaml-include
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: pydantic
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 1, 2024
Copy link

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

@fcollonval fcollonval added this to the 4.2.0 milestone May 2, 2024
@fcollonval
Copy link
Member

fcollonval commented May 3, 2024

I added the needs review tag as this PR will benefit from another look for the string format changes.

@@ -102,7 +102,7 @@ def develop_labextension( # noqa
full_dest = normpath(pjoin(labext, destination))
if overwrite and os.path.lexists(full_dest):
if logger:
logger.info("Removing: %s" % full_dest)
logger.info(f"Removing: {full_dest}")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference, there was some discussion about using f-strings with the Python logger in the Voila repo, with could lead to potential performance issues: voila-dashboards/voila#419 (comment)

Some more info here: https://realpython.com/python-f-strings/#lazy-evaluation-in-logging

Maybe there is a way to configure ruff to not format the strings used with the logger, if we want to follow the recommendation of not interpolating the f-strings when it's not necessary?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jtpio You mean logger.info("Removing: %s", full_dest) vs logger.info(f"Removing: {full_dest}"), isn't?

If this is the case the two forms are not flagged by Ruff. Here it is flagged because "Removing %s" % full_dest actually does not use lazy evaluation.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, just noticed we were using "Removing: %s" % full_dest and not "Removing: %s", full_dest inside the parentheses. Which is indeed probably why Ruff formatted it.

I guess we can then leave that for another PR (deciding which approach to use for the logging module).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jtpio just checking we can move forward and leave the log concern as follow-up?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, thanks for the reminder 👍

@krassowski krassowski modified the milestones: 4.2.0, 4.3.0 May 6, 2024
Copy link
Member

@krassowski krassowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add this to .git-blame-ignore-revs?

@fcollonval fcollonval merged commit d86e3cd into main May 16, 2024
82 of 83 checks passed
@fcollonval fcollonval deleted the dependabot/pip/pip-5913e7bb6b branch May 16, 2024 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file maintenance python Pull requests that update Python code tag:Examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants