Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps contextlib2 from 0.6.0.post1 to 21.6.0.

Changelog

Sourced from contextlib2's changelog.

21.6.0 (2021-06-27) ^^^^^^^^^^^^^^^^^^^

  • License update: due to the inclusion of type hints from the typeshed project, the contextlib2 project is now under a combination of the Python Software License (existing license) and the Apache License 2.0 (typeshed license)

  • Switched to calendar based versioning using a "year"-"month"-"serial" scheme, rather than continuing with pre-1.0 semantic versioning

  • Due to the inclusion of asynchronous features from Python 3.7+, the minimum supported Python version is now Python 3.6 ([#29](https://github.com/jazzband/contextlib2/issues/29) <https://github.com/jazzband/contextlib2/issues/29>__)

  • Synchronised with the Python 3.10 version of contextlib ([#12](https://github.com/jazzband/contextlib2/issues/12) <https://github.com/jazzband/contextlib2/issues/12>__), making the following new features available on Python 3.6+:

    • asyncontextmanager (added in Python 3.7, enhanced in Python 3.10)
    • aclosing (added in Python 3.10)
    • AbstractAsyncContextManager (added in Python 3.7)
    • AsyncContextDecorator (added in Python 3.10)
    • AsyncExitStack (added in Python 3.7)
    • async support in nullcontext (Python 3.10)
  • contextlib2 now includes an adapted copy of the contextlib type hints from typeshed (the adaptation removes the Python version dependencies from the API definition) ([#33](https://github.com/jazzband/contextlib2/issues/33) <https://github.com/jazzband/contextlib2/issues/33>__)

  • to incorporate the type hints stub file and the py.typed marker file, contextlib2 is now installed as a package rather than as a module

  • Updates to the default compatibility testing matrix:

    • Added: CPython 3.9, CPython 3.10
    • Dropped: CPython 2.7, CPython 3.5, PyPy2
Commits
  • 94174ba Merge pull request #38 from ncoghlan/issue-37-mypy-stubtest
  • fffe1d9 Fix mypy.stubtest invocation
  • 9a1453b Issue #37: Use mypy.stubcheck to validate stub file
  • 190f6af Merge pull request #36 from ncoghlan/remove-lingering-py2-mentions
  • 181b9c2 Remove lingering Python 2 mention
  • bed62be Merge pull request #34 from ncoghlan/issue-33-add-type-hinting-support
  • 4b353b9 Update NEWS file
  • 0fb391a Actually run a typecheck in CI
  • 841d0ae Include the pyi patch file
  • 3f6ee4d Merge remote-tracking branch 'origin/master' into issue-33-add-type-hinting-s...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [contextlib2](https://github.com/jazzband/contextlib2) from 0.6.0.post1 to 21.6.0.
- [Release notes](https://github.com/jazzband/contextlib2/releases)
- [Changelog](https://github.com/jazzband/contextlib2/blob/master/NEWS.rst)
- [Commits](jazzband/contextlib2@v0.6.0.post1...21.6.0)

---
updated-dependencies:
- dependency-name: contextlib2
  dependency-version: 21.6.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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, 2025
@P4T12ICK P4T12ICK closed this Aug 19, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 19, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/contextlib2-21.6.0 branch August 19, 2025 11:46
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant