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

build(deps): bump the pip-dependencies group with 6 updates #46

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 18, 2023

Bumps the pip-dependencies group with 6 updates:

Package From To
torch 2.0.1 2.1.0
coverage 7.3.1 7.3.2
pre-commit 2.21.0 3.5.0
pre-commit-hooks 4.4.0 4.5.0
mypy 1.5.1 1.6.1
hypothesis 6.87.1 6.88.1

Updates torch from 2.0.1 to 2.1.0

Release notes

Sourced from torch's releases.

PyTorch 2.1: automatic dynamic shape compilation, distributed checkpointing

PyTorch 2.1 Release Notes

  • Highlights
  • Backwards Incompatible Change
  • Deprecations
  • New Features
  • Improvements
  • Bug fixes
  • Performance
  • Documentation
  • Developers
  • Security

Highlights

We are excited to announce the release of PyTorch® 2.1! PyTorch 2.1 offers automatic dynamic shape support in torch.compile, torch.distributed.checkpoint for saving/loading distributed training jobs on multiple ranks in parallel, and torch.compile support for the NumPy API.

In addition, this release offers numerous performance improvements (e.g. CPU inductor improvements, AVX512 support, scaled-dot-product-attention support) as well as a prototype release of torch.export, a sound full-graph capture mechanism, and torch.export-based quantization.

Along with 2.1, we are also releasing a series of updates to the PyTorch domain libraries. More details can be found in the library updates blog.

This release is composed of 6,682 commits and 784 contributors since 2.0. We want to sincerely thank our dedicated community for your contributions. As always, we encourage you to try these out and report any issues as we improve 2.1. More information about how to get started with the PyTorch 2-series can be found at our Getting Started page.

Summary:

  • torch.compile now includes automatic support for detecting and minimizing recompilations due to tensor shape changes using automatic dynamic shapes.
  • torch.distributed.checkpoint enables saving and loading models from multiple ranks in parallel, as well as resharding due to changes in cluster topology.
  • torch.compile can now compile NumPy operations via translating them into PyTorch-equivalent operations.
  • torch.compile now includes improved support for Python 3.11.
  • New CPU performance features include inductor improvements (e.g. bfloat16 support and dynamic shapes), AVX512 kernel support, and scaled-dot-product-attention kernels.
  • torch.export, a sound full-graph capture mechanism is introduced as a prototype feature, as well as torch.export-based quantization.
  • torch.sparse now includes prototype support for semi-structured (2:4) sparsity on NVIDIA® GPUs.

... (truncated)

Commits

Updates coverage from 7.3.1 to 7.3.2

Changelog

Sourced from coverage's changelog.

Version 7.3.2 — 2023-10-02

  • The coverage lcov command ignored the [report] exclude_lines and [report] exclude_also settings (issue 1684). This is now fixed, thanks Jacqueline Lee <pull 1685_>.

  • Sometimes SQLite will create journal files alongside the coverage.py database files. These are ephemeral, but could be mistakenly included when combining data files. Now they are always ignored, fixing issue 1605_. Thanks to Brad Smith for suggesting fixes and providing detailed debugging.

  • On Python 3.12+, we now disable SQLite writing journal files, which should be a little faster.

  • The new 3.12 soft keyword type is properly bolded in HTML reports.

  • Removed the "fullcoverage" feature used by CPython to measure the coverage of early-imported standard library modules. CPython stopped using it <88054_>_ in 2021, and it stopped working completely in Python 3.13.

.. _issue 1605: nedbat/coveragepy#1605 .. _issue 1684: nedbat/coveragepy#1684 .. _pull 1685: nedbat/coveragepy#1685 .. _88054: python/cpython#88054

.. _changes_7-3-1:

Commits
  • a316513 build: fix the pypy wheel arguments
  • 7ec2c62 docs: sample HTML for 7.3.2
  • ffd954f docs: prep for 7.3.2
  • 1ea3907 refactor: don't access frame structs directly
  • 7b8dec9 feat!: remove fullcoverage, it doesn't work in 3.13
  • 1040bce refactor: remove unused interned strings
  • 9ab9e0c fix: 3.12 soft keyword type is bolded in HTML
  • 8624ce9 fix: really turn off SQLite journal files on 3.12+
  • 604aafa chore: make upgrade
  • 7c25ba0 fix: don't combine journal files. #1605
  • Additional commits viewable in compare view

Updates pre-commit from 2.21.0 to 3.5.0

Release notes

Sourced from pre-commit's releases.

pre-commit v3.5.0

Features

Fixes

Migrating

pre-commit v3.4.0

Features

Fixes

pre-commit v3.3.3

Fixes

pre-commit v3.3.2

Fixes

pre-commit v3.3.1

Fixes

pre-commit v3.3.0

Features

... (truncated)

Changelog

Sourced from pre-commit's changelog.

3.5.0 - 2023-10-13

Features

Fixes

Migrating

3.4.0 - 2023-09-02

Features

Fixes

3.3.3 - 2023-06-13

Fixes

3.3.2 - 2023-05-17

Fixes

3.3.1 - 2023-05-02

... (truncated)

Commits
  • 61cc55a v3.5.0
  • c9945b9 Merge pull request #3029 from adamchainz/improve_duration_timing
  • d988767 Improve hook duration timing
  • 0d8b245 Merge pull request #3023 from pre-commit/pre-commit-ci-update-config
  • 155c521 [pre-commit.ci] pre-commit autoupdate
  • 676e51a Merge pull request #3024 from pre-commit/pick-shebang-path-without-spaces
  • 997ea0a use sys.executable instead of echo.exe in parse_shebang
  • 19aa121 Merge pull request #3016 from pre-commit/pre-commit-ci-update-config
  • a4ab977 [pre-commit.ci] pre-commit autoupdate
  • 3f3760b Merge pull request #3011 from hack3ric/bump-node-and-go-version
  • Additional commits viewable in compare view

Updates pre-commit-hooks from 4.4.0 to 4.5.0

Release notes

Sourced from pre-commit-hooks's releases.

pre-commit-hooks v4.5.0

Features

Fixes

Migrating

Changelog

Sourced from pre-commit-hooks's changelog.

4.5.0 - 2023-10-07

Features

Fixes

Migrating

Commits
  • c4a0b88 v4.5.0
  • ae9b59f Merge pull request #973 from pre-commit/string-fixer-3-12
  • f27ee31 don't rewrite string quotes inside f-strings
  • 6cad770 Merge pull request #969 from pre-commit/pre-commit-ci-update-config
  • 038e3dd [pre-commit.ci] pre-commit autoupdate
  • 516a8a2 Merge pull request #966 from pre-commit/pre-commit-ci-update-config
  • 30f4ca3 [pre-commit.ci] pre-commit autoupdate
  • f96db96 Merge pull request #965 from eumiro/drop-int
  • 2e4efef Remove redundant int() conversion
  • 064d489 Merge pull request #964 from pre-commit/pre-commit-ci-update-config
  • Additional commits viewable in compare view

Updates mypy from 1.5.1 to 1.6.1

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Unreleased

...

Other Notable Changes and Fixes

...

Acknowledgements

...

Mypy 1.6

Tuesday, 10 October 2023

We’ve just uploaded mypy 1.6 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.

Introduce Error Subcodes for Import Errors

Mypy now uses the error code import-untyped if an import targets an installed library that doesn’t support static type checking, and no stub files are available. Other invalid imports produce the import-not-found error code. They both are subcodes of the import error code, which was previously used for both kinds of import-related errors.

Use --disable-error-code=import-untyped to only ignore import errors about installed libraries without stubs. This way mypy will still report errors about typos in import statements, for example.

If you use --warn-unused-ignore or --strict, mypy will complain if you use # type: ignore[import] to ignore an import error. You are expected to use one of the more specific error codes instead. Otherwise, ignoring the import error code continues to silence both errors.

This feature was contributed by Shantanu (PR 15840, PR 14740).

Remove Support for Targeting Python 3.6 and Earlier

Running mypy with --python-version 3.6, for example, is no longer supported. Python 3.6 hasn’t been properly supported by mypy for some time now, and this makes it explicit. This was contributed by Nikita Sobolev (PR 15668).

Selective Filtering of --disallow-untyped-calls Targets

Using --disallow-untyped-calls could be annoying when using libraries with missing type information, as mypy would generate many errors about code that uses the library. Now you can use --untyped-calls-exclude=acme, for example, to disable these errors about calls targeting functions defined in the acme package. Refer to the documentation for more information.

This feature was contributed by Ivan Levkivskyi (PR 15845).

Improved Type Inference between Callable Types

Mypy now does a better job inferring type variables inside arguments of callable types. For example, this code fragment now type checks correctly:

def f(c: Callable[[T, S], None]) -> Callable[[str, T, S], None]: ...
def g(*x: int) -> None: ...
</tr></table>

... (truncated)

Commits

Updates hypothesis from 6.87.1 to 6.88.1

Commits
  • 12b6796 Bump hypothesis-python version to 6.88.1 and update changelog
  • ca63e9f Merge pull request #3772 from Viicos/patch-1
  • b6af2b2 Make return type of from_model parameterized with respect to model
  • a331d3e Merge pull request #3768 from tybug/namedtuple-generic
  • 0d0ff88 Merge branch 'master' into namedtuple-generic
  • b4ddfd1 Bump hypothesis-python version to 6.88.0 and update changelog
  • 56af52a Merge pull request #3769 from h4l/optional-strategy-function
  • 7c7375c move tuple subclass test to py39
  • aad4098 remove stale target tests
  • 8ad351b Mypy now reveals correct type
  • 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

Bumps the pip-dependencies group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [torch](https://github.com/pytorch/pytorch) | `2.0.1` | `2.1.0` |
| [coverage](https://github.com/nedbat/coveragepy) | `7.3.1` | `7.3.2` |
| [pre-commit](https://github.com/pre-commit/pre-commit) | `2.21.0` | `3.5.0` |
| [pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks) | `4.4.0` | `4.5.0` |
| [mypy](https://github.com/python/mypy) | `1.5.1` | `1.6.1` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.87.1` | `6.88.1` |


Updates `torch` from 2.0.1 to 2.1.0
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v2.0.1...v2.1.0)

Updates `coverage` from 7.3.1 to 7.3.2
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.3.1...7.3.2)

Updates `pre-commit` from 2.21.0 to 3.5.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v2.21.0...v3.5.0)

Updates `pre-commit-hooks` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/pre-commit/pre-commit-hooks/releases)
- [Changelog](https://github.com/pre-commit/pre-commit-hooks/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)

Updates `mypy` from 1.5.1 to 1.6.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.5.1...v1.6.1)

Updates `hypothesis` from 6.87.1 to 6.88.1
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.87.1...hypothesis-python-6.88.1)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
- dependency-name: coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pip-dependencies
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pip-dependencies
- dependency-name: pre-commit-hooks
  dependency-type: direct:development
  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: hypothesis
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pip-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: infrastructure Modify dependencies, installation, tools, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant