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-dependencies group with 12 updates #553

Merged
merged 2 commits into from
May 12, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the pip-dependencies group with 12 updates:

Package From To
importlib-resources 6.3.2 6.4.0
typing-extensions 4.10.0 4.11.0
mypy 1.9.0 1.10.0
jupyterlab 4.1.5 4.1.8
pytest 8.1.1 8.2.0
pytest-cov 4.1.0 5.0.0
mkdocs 1.5.3 1.6.0
mkdocstrings 0.24.1 0.25.0
pymdown-extensions 10.7.1 10.8.1
ruff 0.1.15 0.4.2
types-setuptools 69.1.0.20240310 69.5.0.20240423
bump-my-version 0.19.0 0.20.3

Updates importlib-resources from 6.3.2 to 6.4.0

Changelog

Sourced from importlib-resources's changelog.

v6.4.0

Features

  • The functions is_resource(), open_binary(), open_text(), path(), read_binary(), and read_text() are un-deprecated, and support subdirectories via multiple positional arguments. The contents() function also allows subdirectories, but remains deprecated. (#303)
  • python/cpython#109829
Commits
  • 1f4d3f1 Finalize
  • c593cd9 Merge pull request #303 from encukou/functional
  • fa60969 Add news fragment.
  • ca03a4d GH-109653: Defer import of importlib.metadata._adapterspython/cpython#1
  • 2df6ced Use Ruff style, rather than PEP 8
  • 8fdadde Port tests to Python 3.8
  • 558f5bf Formatting nitpicks
  • 1e98e35 Adapt to importlib_resources
  • 189d15f Apply CPython PR, sans docs and changelogs
  • 0db550c Consolidated test support logic in jaraco.test.cpython.
  • Additional commits viewable in compare view

Updates typing-extensions from 4.10.0 to 4.11.0

Release notes

Sourced from typing-extensions's releases.

4.11.0

Release 4.11.0 (April 5, 2024)

This feature release provides improvements to various recently added features, most importantly type parameter defaults (PEP 696).

There are no changes since 4.11.0rc1.

Changes since 4.10.0:

  • Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.
  • Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.
  • Fix minor discrepancy between error messages produced by typing and typing_extensions on Python 3.10. Patch by Jelle Zijlstra.
  • When include_extra=False, get_type_hints() now strips ReadOnly from the annotation.

4.11.0rc1

  • Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.
  • Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.
  • Fix minor discrepancy between error messages produced by typing and typing_extensions on Python 3.10. Patch by Jelle Zijlstra.
  • When include_extra=False, get_type_hints() now strips ReadOnly from the annotation.
Changelog

Sourced from typing-extensions's changelog.

Release 4.11.0 (April 5, 2024)

This feature release provides improvements to various recently added features, most importantly type parameter defaults (PEP 696).

There are no changes since 4.11.0rc1.

Release 4.11.0rc1 (March 24, 2024)

  • Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.
  • Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.
  • Fix minor discrepancy between error messages produced by typing and typing_extensions on Python 3.10. Patch by Jelle Zijlstra.
  • When include_extra=False, get_type_hints() now strips ReadOnly from the annotation.
Commits

Updates mypy from 1.9.0 to 1.10.0

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Mypy 1.10

We’ve just uploaded mypy 1.10 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Support TypeIs (PEP 742)

Mypy now supports TypeIs (PEP 742), which allows functions to narrow the type of a value, similar to isinstance(). Unlike TypeGuard, TypeIs can narrow in both the if and else branches of an if statement:

from typing_extensions import TypeIs
def is_str(s: object) -> TypeIs[str]:
return isinstance(s, str)
def f(o: str | int) -> None:
if is_str(o):
# Type of o is 'str'
...
else:
# Type of o is 'int'
...

TypeIs will be added to the typing module in Python 3.13, but it can be used on earlier Python versions by importing it from typing_extensions.

This feature was contributed by Jelle Zijlstra (PR 16898).

Support TypeVar Defaults (PEP 696)

PEP 696 adds support for type parameter defaults. Example:

from typing import Generic
from typing_extensions import TypeVar
</tr></table>

... (truncated)

Commits

Updates jupyterlab from 4.1.5 to 4.1.8

Release notes

Sourced from jupyterlab's releases.

v4.1.8

4.1.8

(Full Changelog)

Bugs fixed

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@​github-actions | @​jupyterlab-probot | @​krassowski | @​meeseeksmachine | @​welcome

v4.1.7

4.1.7

(Full Changelog)

Bugs fixed

Maintenance and upkeep improvements

Documentation improvements

Contributors to this release

(GitHub contributors page for this release)

@​andrii-i | @​bollwyvl | @​davidbrochart | @​echarles | @​fcollonval | @​github-actions | @​JasonWeill | @​jtpio | @​jupyterlab-probot | @​kolibril13 | @​krassowski | @​lumberbot-app | @​meeseeksmachine | @​welcome

v4.1.6

... (truncated)

Changelog

Sourced from jupyterlab's changelog.

4.1.8

(Full Changelog)

Bugs fixed

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@​github-actions | @​jupyterlab-probot | @​krassowski | @​meeseeksmachine | @​welcome

4.1.7

(Full Changelog)

Bugs fixed

Maintenance and upkeep improvements

Documentation improvements

Contributors to this release

(GitHub contributors page for this release)

@​andrii-i | @​bollwyvl | @​davidbrochart | @​echarles | @​fcollonval | @​github-actions | @​JasonWeill | @​jtpio | @​jupyterlab-probot | @​kolibril13 | @​krassowski | @​lumberbot-app | @​meeseeksmachine | @​welcome

4.1.6

(Full Changelog)

Bugs fixed

... (truncated)

Commits

Updates pytest from 8.1.1 to 8.2.0

Release notes

Sourced from pytest's releases.

8.2.0

pytest 8.2.0 (2024-04-27)

Deprecations

  • #12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated py.path.local parameter instead of the pathlib.Path parameter which replaced it:

    • pytest_ignore_collect{.interpreted-text role="hook"} - the path parameter - use collection_path instead.
    • pytest_collect_file{.interpreted-text role="hook"} - the path parameter - use file_path instead.
    • pytest_pycollect_makemodule{.interpreted-text role="hook"} - the path parameter - use module_path instead.
    • pytest_report_header{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.
    • pytest_report_collectionfinish{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.

    The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0.

    See legacy-path-hooks-deprecated{.interpreted-text role="ref"} for more details.

Features

  • #11871: Added support for reading command line arguments from a file using the prefix character @, like e.g.: pytest @tests.txt. The file must have one argument per line.

    See Read arguments from file <args-from-file>{.interpreted-text role="ref"} for details.

Improvements

  • #11523: pytest.importorskip{.interpreted-text role="func"} will now issue a warning if the module could be found, but raised ImportError{.interpreted-text role="class"} instead of ModuleNotFoundError{.interpreted-text role="class"}.

    The warning can be suppressed by passing exc_type=ImportError to pytest.importorskip{.interpreted-text role="func"}.

    See import-or-skip-import-error{.interpreted-text role="ref"} for details.

  • #11728: For unittest-based tests, exceptions during class cleanup (as raised by functions registered with TestCase.addClassCleanup <unittest.TestCase.addClassCleanup>{.interpreted-text role="meth"}) are now reported instead of silently failing.

  • #11777: Text is no longer truncated in the short test summary info section when -vv is given.

  • #12112: Improved namespace packages detection when consider_namespace_packages{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs).

  • #9502: Added PYTEST_VERSION{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of pytest.__version__, and among other things can be used to easily check if code is running from within a pytest run.

Bug Fixes

  • #12065: Fixed a regression in pytest 8.0.0 where test classes containing setup_method and tests using @staticmethod or @classmethod would crash with AttributeError: 'NoneType' object has no attribute 'setup_method'.

    Now the request.instance <pytest.FixtureRequest.instance>{.interpreted-text role="attr"} attribute of tests using @staticmethod and @classmethod is no longer None, but a fresh instance of the class, like in non-static methods.

... (truncated)

Commits
  • 6bd3f31 Tweak changelog for 8.2.0
  • 9b6219b Prepare release version 8.2.0
  • 835765c Merge pull request #12130 from bluetech/fixtures-inline
  • 7e7503c unittest: report class cleanup exceptions (#12250)
  • 882c4da fixtures: inline fail_fixturefunc
  • 2e8fb9f fixtures: extract a _check_fixturedef method
  • acf2971 fixtures: inline _getnextfixturedef into _get_active_fixturedef
  • 3c77aec fixtures: move "request" check early
  • d217d68 fixtures: inline _compute_fixture_value
  • 530be28 fixtures: use early return in _get_active_fixturedef
  • Additional commits viewable in compare view

Updates pytest-cov from 4.1.0 to 5.0.0

Changelog

Sourced from pytest-cov's changelog.

5.0.0 (2024-03-24)

  • Removed support for xdist rsync (now deprecated). Contributed by Matthias Reichenbach in [#623](https://github.com/pytest-dev/pytest-cov/issues/623) <https://github.com/pytest-dev/pytest-cov/pull/623>_.
  • Switched docs theme to Furo.
  • Various legacy Python cleanup and CI improvements. Contributed by Christian Clauss and Hugo van Kemenade in [#630](https://github.com/pytest-dev/pytest-cov/issues/630) <https://github.com/pytest-dev/pytest-cov/pull/630>, [#631](https://github.com/pytest-dev/pytest-cov/issues/631) <https://github.com/pytest-dev/pytest-cov/pull/631>, [#632](https://github.com/pytest-dev/pytest-cov/issues/632) <https://github.com/pytest-dev/pytest-cov/pull/632>_ and [#633](https://github.com/pytest-dev/pytest-cov/issues/633) <https://github.com/pytest-dev/pytest-cov/pull/633>_.
  • Added a pyproject.toml example in the docs. Contributed by Dawn James in [#626](https://github.com/pytest-dev/pytest-cov/issues/626) <https://github.com/pytest-dev/pytest-cov/pull/626>_.
  • Modernized project's pre-commit hooks to use ruff. Initial POC contributed by Christian Clauss in [#584](https://github.com/pytest-dev/pytest-cov/issues/584) <https://github.com/pytest-dev/pytest-cov/pull/584>_.
Commits
  • 5295ce0 Bump version: 4.1.0 → 5.0.0
  • 1181b06 Update changelog.
  • 9757222 Fix a minor grammar error (#636)
  • 9f5cd81 Cleanup releasing instructions. Closes #616.
  • 93b5047 Add test for pyproject.toml loading without explicit --cov-config. Ref #508.
  • ff50860 docs: add config instructions for pyproject.toml.
  • 4a5a4b5 Keep GitHub Actions up to date with GitHub's Dependabot
  • 1d7f559 Fix or remove URLs that are causing docs tests to fail
  • 6a5af8e Update changelog.
  • d9fe8df Switch to furo. Closes #618.
  • Additional commits viewable in compare view

Updates mkdocs from 1.5.3 to 1.6.0

Release notes

Sourced from mkdocs's releases.

1.6.0

Local preview

  • mkdocs serve no longer locks up the browser when more than 5 tabs are open. This is achieved by closing the polling connection whenever a tab becomes inactive. Background tabs will no longer auto-reload either - that will instead happen as soon the tab is opened again. Context: #3391

  • New flag serve --open to open the site in a browser.
    After the first build is finished, this flag will cause the default OS Web browser to be opened at the home page of the local site.
    Context: #3500

Drafts

[!warning] Changed from version 1.5:

The exclude_docs config was split up into two separate concepts.

The exclude_docs config no longer has any special behavior for mkdocs serve - it now always completely excludes the listed documents from the site.

If you wish to use the "drafts" functionality like the exclude_docs key used to do in MkDocs 1.5, please switch to the new config key draft_docs.

See documentation.

Other changes:

  • Reduce warning levels when a "draft" page has a link to a non-existent file. Context: #3449

Update to deduction of page titles

MkDocs 1.5 had a change in behavior in deducing the page titles from the first heading. Unfortunately this could cause unescaped HTML tags or entities to appear in edge cases.

Now tags are always fully sanitized from the title. Though it still remains the case that Page.title is expected to contain HTML entities and is passed directly to the themes.

Images (notably, emojis in some extensions) get preserved in the title only through their alt attribute's value.

Context: #3564, #3578

Themes

  • Built-in themes now also support Polish language (#3613)

"readthedocs" theme

  • Fix: "readthedocs" theme can now correctly handle deeply nested nav configurations (over 2 levels deep), without confusedly expanding all sections and jumping around vertically. (#3464)

  • Fix: "readthedocs" theme now shows a link to the repository (with a generic logo) even when isn't one of the 3 known hosters. (#3435)

  • "readthedocs" theme now also has translation for the word "theme" in the footer that mistakenly always remained in English. (#3613, #3625)

"mkdocs" theme

... (truncated)

Commits

Updates mkdocstrings from 0.24.1 to 0.25.0

Release notes

Sourced from mkdocstrings's releases.

0.25.0

0.25.0 - 2024-04-27

Compare with 0.24.3

Features

  • Support once parameter in logging methods, allowing to log a message only once with a given logger (1532b59 by Timothée Mazzucotelli).
  • Support blank line between ::: path and YAML options (d799d2f by Timothée Mazzucotelli). Issue-450

Code Refactoring

  • Allow specifying name of template loggers (c5b5f69 by Timothée Mazzucotelli).

0.24.3

0.24.3 - 2024-04-05

Compare with 0.24.2

Bug Fixes

  • Support HTML toc labels with Python-Markdown 3.6+ (uncomment code...) (7fe3e5f by Timothée Mazzucotelli).

0.24.2

0.24.2 - 2024-04-02

Compare with 0.24.1

Bug Fixes

Changelog

Sourced from mkdocstrings's changelog.

0.25.0 - 2024-04-27

Compare with 0.24.3

Features

  • Support once parameter in logging methods, allowing to log a message only once with a given logger (1532b59 by Timothée Mazzucotelli).
  • Support blank line between ::: path and YAML options (d799d2f by Timothée Mazzucotelli). Issue-450

Code Refactoring

  • Allow specifying name of template loggers (c5b5f69 by Timothée Mazzucotelli).

0.24.3 - 2024-04-05

Compare with 0.24.2

Bug Fixes

  • Support HTML toc labels with Python-Markdown 3.6+ (uncomment code...) (7fe3e5f by Timothée Mazzucotelli).

0.24.2 - 2024-04-02

Compare with 0.24.1

Bug Fixes

Commits
  • 87d8229 chore: Prepare release 0.25.0
  • c5b5f69 refactor: Allow specifying name of template loggers
  • 7ff1681 docs: Enable parameter headings
  • 253d215 docs: Load inventories for MkDocs and Markdown
  • 1532b59 feat: Support once parameter in logging methods, allowing to log a message ...
  • d799d2f feat: Support blank line between ::: path and YAML options
  • 828bd59 chore: Prepare release 0.24.3
  • 7fe3e5f fix: Support HTML toc labels with Python-Markdown 3.6+ (uncomment code...)
  • 7b9827c chore: Prepare release 0.24.2
  • 17bfc87 chore: Use PEP 440 versioning scheme for changelog
  • Additional commits viewable in compare view

Updates pymdown-extensions from 10.7.1 to 10.8.1

Release notes

Sourced from pymdown-extensions's releases.

10.8.1

  • FIX: Snippets: Fix snippet line range with a start of line 1.

10.8

  • NEW: Require Python Markdown 3.6+.
  • FIX: Fix some test cases.
  • FIX: Fix warnings due to recent changes in Python Markdown.
Commits
  • 8ed2fcb Fix snippet line range with start of line 1 (#2362)
  • 45b53a7 Update more JS doc dependencies
  • 20dfcc4 Upgrade JS doc dependencies
  • d238e0c Update changelog and require Markdown >= 3.6 (#2358)
  • 48e32b6 Upgrade some JS dependencies
  • 88a9463 Update FAQ to cover no parameters in slugify
  • 722461c Fix deprecation warnings introduced in latest Python Markdown release (#2347)
  • 509e93d Fix SmartSymbols Toc test (#2344)
  • See full diff in compare view

Updates ruff from 0.1.15 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

@dependabot dependabot bot added impact: dependencies Pull requests that update a dependency file impact: core Pull requests that update Python code labels May 1, 2024
@@ -66,7 +66,7 @@ mkdocs-jupyter = ">=0.19.0"
pymdown-extensions = ">=9.2"
pygments = ">=2.11.1"
responses = ">=0.14"
ruff = "^0.1.6"
ruff = "^0.4.2"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why only ruff got bumped?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I suspect that's because it's the only dependency using ^ instead of >=, but more importantly, why did mkdocs fail?

Bumps the pip-dependencies group with 12 updates:

| Package | From | To |
| --- | --- | --- |
| [importlib-resources](https://github.com/python/importlib_resources) | `6.3.2` | `6.4.0` |
| [typing-extensions](https://github.com/python/typing_extensions) | `4.10.0` | `4.11.0` |
| [mypy](https://github.com/python/mypy) | `1.9.0` | `1.10.0` |
| [jupyterlab](https://github.com/jupyterlab/jupyterlab) | `4.1.5` | `4.1.8` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.1.1` | `8.2.0` |
| [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `4.1.0` | `5.0.0` |
| [mkdocs](https://github.com/mkdocs/mkdocs) | `1.5.3` | `1.6.0` |
| [mkdocstrings](https://github.com/mkdocstrings/mkdocstrings) | `0.24.1` | `0.25.0` |
| [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) | `10.7.1` | `10.8.1` |
| [ruff](https://github.com/astral-sh/ruff) | `0.1.15` | `0.4.2` |
| [types-setuptools](https://github.com/python/typeshed) | `69.1.0.20240310` | `69.5.0.20240423` |
| [bump-my-version](https://github.com/callowayproject/bump-my-version) | `0.19.0` | `0.20.3` |


Updates `importlib-resources` from 6.3.2 to 6.4.0
- [Release notes](https://github.com/python/importlib_resources/releases)
- [Changelog](https://github.com/python/importlib_resources/blob/main/NEWS.rst)
- [Commits](python/importlib_resources@v6.3.2...v6.4.0)

Updates `typing-extensions` from 4.10.0 to 4.11.0
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](python/typing_extensions@4.10.0...4.11.0)

Updates `mypy` from 1.9.0 to 1.10.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@1.9.0...v1.10.0)

Updates `jupyterlab` from 4.1.5 to 4.1.8
- [Release notes](https://github.com/jupyterlab/jupyterlab/releases)
- [Changelog](https://github.com/jupyterlab/jupyterlab/blob/@jupyterlab/[email protected]/CHANGELOG.md)
- [Commits](https://github.com/jupyterlab/jupyterlab/compare/@jupyterlab/[email protected]...@jupyterlab/[email protected])

Updates `pytest` from 8.1.1 to 8.2.0
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.1.1...8.2.0)

Updates `pytest-cov` from 4.1.0 to 5.0.0
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v4.1.0...v5.0.0)

Updates `mkdocs` from 1.5.3 to 1.6.0
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](mkdocs/mkdocs@1.5.3...1.6.0)

Updates `mkdocstrings` from 0.24.1 to 0.25.0
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md)
- [Commits](mkdocstrings/mkdocstrings@0.24.1...0.25.0)

Updates `pymdown-extensions` from 10.7.1 to 10.8.1
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](facelessuser/pymdown-extensions@10.7.1...10.8.1)

Updates `ruff` from 0.1.15 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.1.15...v0.4.2)

Updates `types-setuptools` from 69.1.0.20240310 to 69.5.0.20240423
- [Commits](https://github.com/python/typeshed/commits)

Updates `bump-my-version` from 0.19.0 to 0.20.3
- [Release notes](https://github.com/callowayproject/bump-my-version/releases)
- [Changelog](https://github.com/callowayproject/bump-my-version/blob/master/CHANGELOG.md)
- [Commits](callowayproject/bump-my-version@0.19.0...0.20.3)

---
updated-dependencies:
- dependency-name: importlib-resources
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
- dependency-name: typing-extensions
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
- dependency-name: jupyterlab
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pip-dependencies
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pip-dependencies
- dependency-name: mkdocs
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
- dependency-name: mkdocstrings
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
- dependency-name: pymdown-extensions
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
- dependency-name: types-setuptools
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
- dependency-name: bump-my-version
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@chuckwondo chuckwondo force-pushed the dependabot/pip/pip-dependencies-f51ec9a616 branch from 44e78ad to 08b9052 Compare May 12, 2024 12:26
@chuckwondo
Copy link
Collaborator

Here's the diff between the pip freeze outputs between the most recent successful docs build (left) and the failing one (right), showing which dependency versions changed. One or more of the newer versions (on the right) must be causing the problem:

bump-my-version==0.19.0		      |	bump-my-version==0.20.3
importlib_resources==6.3.2	      |	importlib_resources==6.4.0
jupyterlab==4.1.5		      |	jupyterlab==4.1.8
jupyterlab_server==2.25.4	      |	jupyterlab_server==2.27.1
mkdocs==1.5.3			      |	mkdocs==1.6.0
mkdocstrings==0.24.1		      |	mkdocstrings==0.25.0
mypy==1.9.0			      |	mypy==1.10.0
pluggy==1.4.0			      |	pluggy==1.5.0
pymdown-extensions==10.7.1	      |	pymdown-extensions==10.8.1
pytest==8.1.1			      |	pytest==8.2.0
pytest-cov==4.1.0		      |	pytest-cov==5.0.0
ruff==0.1.15			      |	ruff==0.4.2
types-setuptools==69.1.0.20240310     |	types-setuptools==69.5.0.20240423
typing_extensions==4.10.0	      |	typing_extensions==4.11.0

To reproduce the problem:

  1. Checkout the branch dependabot/pip/pip-dependencies-f51ec9a616
  2. Run poetry install
  3. Run poetry run python -c "import mkdocs.tests"

You should see the following output, which is the error causing the docs build to fail:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'mkdocs.tests'

@chuckwondo
Copy link
Collaborator

I appears to be mkdocs that is the culprit.

After reproducing the error as explained in the previous comment, here's what I did to eliminate the error:

  1. In pyproject.toml, I pinned mkdocs to "==1.5.3" (to match the version from the last good build)
  2. Ran poetry lock --no-update
  3. Ran poetry install
  4. Ran poetry run python -c "import mkdocs.tests"

This time, no ModuleNotFoundError was produced.

Upon looking at the mkdocs repo, I found the cause:

The problem is that the mkdocs-jupyter plugin is attempting to import from mkdocs.tests.base, which was exported from mkdocs 1.5.3, but is no longer exported in 1.6.0.

This issue was reported: danielfrg/mkdocs-jupyter#200

For the moment, I'm going to block install of mkdocs 1.6.0.

Copy link
Collaborator

@chuckwondo chuckwondo left a comment

Choose a reason for hiding this comment

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

I had to block mkdocs 1.6.0 due to danielfrg/mkdocs-jupyter#200

@chuckwondo chuckwondo merged commit 56e271c into main May 12, 2024
17 checks passed
@dependabot dependabot bot deleted the dependabot/pip/pip-dependencies-f51ec9a616 branch May 12, 2024 14:38
@mfisher87
Copy link
Collaborator

Wonderful, thanks for figuring that out @chuckwondo !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact: core Pull requests that update Python code impact: dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants