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 development-dependencies group with 8 updates #706

Merged
merged 2 commits into from
Mar 17, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 11, 2024

Bumps the development-dependencies group with 8 updates:

Package From To
mypy 1.8.0 1.9.0
packaging 23.2 24.0
pyinstaller 6.4.0 6.5.0
pyinstaller-hooks-contrib 2024.2 2024.3
pytest 8.0.2 8.1.1
ruff 0.3.0 0.3.2
types-pillow 10.2.0.20240213 10.2.0.20240311
types-setuptools 69.1.0.20240302 69.1.0.20240310

Updates mypy from 1.8.0 to 1.9.0

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Mypy 1.9

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

Breaking Changes

Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR 16883)

We are planning to enable local partial types (enabled via the --local-partial-types flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.

Local partial types can also be enabled in the mypy config file:

local_partial_types = True

We are looking at providing a tool to make it easier to migrate projects to use --local-partial-types, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.

Basic Support for Type Parameter Defaults (PEP 696)

This release contains new experimental support for type parameter defaults (PEP 696). Please try it out! This feature was contributed by Marc Mueller.

Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import TypeVar, ParamSpec or TypeVarTuple from typing_extensions to use defaults for now.

This example adapted from the PEP defines a default for BotT:

from typing import Generic
from typing_extensions import TypeVar
class Bot: ...
BotT = TypeVar("BotT", bound=Bot, default=Bot)
</tr></table>

... (truncated)

Commits

Updates packaging from 23.2 to 24.0

Release notes

Sourced from packaging's releases.

24.0

What's Changed

New Contributors

Full Changelog: pypa/packaging@23.2...24.0

Changelog

Sourced from packaging's changelog.

24.0 - 2024-03-10


* Do specifier matching correctly when the specifier contains an epoch number
  and has more components than the version (:issue:`683`)
* Support the experimental ``--disable-gil`` builds in packaging.tags
  (:issue:`727`)
* BREAKING: Make optional ``metadata.Metadata`` attributes default to ``None`` (:issue:`733`)
* Fix errors when trying to access the ``description_content_type``, ``keywords``,
  and ``requires_python`` attributes on ``metadata.Metadata`` when those values
  have not been provided (:issue:`733`)
* Fix a bug preventing the use of the built in ``ExceptionGroup`` on versions of
  Python that support it (:issue:`725`)
Commits

Updates pyinstaller from 6.4.0 to 6.5.0

Release notes

Sourced from pyinstaller's releases.

v6.5.0

Please see the v6.5.0 section of the changelog for a list of the changes since v6.4.0.

Changelog

Sourced from pyinstaller's changelog.

6.5.0 (2024-03-09)

Features


* (Linux) Extend the mechanism for collection of ``.hmac`` files from
  :issue:`8288` to ``.chk`` files that are used by NSS libraries.
  (:issue:`8315`)

Bugfix


* (Linux) Fix collection of ``QtWebEngineProcess`` helper when collecting
  Qt (and ``PySide``/``PyQt`` bindings) installed via Linux distribution
  packages. In such scenarios, we now force collection of the helper
  executable into ``libexec`` directory inside the Qt sub-directory of
  the bindings' package directory, in order to match the PyPI wheel layout.
  (:issue:`8315`)
* (Linux) Fix regression that caused :func:`locale.getlocale` in
  frozen applications created with PyInstaller v6.x to return ``(None, None)``
  instead of user-preferred locale. (:issue:`8306`)
* (Windows) Avoid trying to import ``pyqtgraph.canvas`` in the subprocess
  that analyzes dynamic library search modifications made by packages prior
  to the binary dependency analysis. Trying to import ``pyqtgraph.canvas``
  causes python interpreter to crash under certain circumstances (the
  issue is present in ``pyqtgraph`` &lt;= 0.13.3). (:issue:`8322`)
* (Windows) Fix collection of ``QtWebEngineProcess`` helper when
  collecting ``PySide2`` and Qt installed via Anaconda on Windows.
  The helper executable is now collected into top-level ``PySide2``
  package directory, in order to match the PyPI wheel layout. (:issue:`8315`)
* (Windows) Suppress warnings about unresolvable UCRT DLLs
  (``api-ms-win-*.dll``) on Windows 11. (:issue:`8339`)
* Fix bootloaders not being found when running an Intel build of Python on
  Windows ARM64. (:issue:`8219`)

Incompatible Changes
</code></pre>
<ul>
<li>
<p>PyInstaller now explicitly disallows attempts to collect multiple Qt
bindings packages (<code>PySide2</code>, <code>PySide6</code>, <code>PyQt5</code>, <code>PyQt6</code>) into
a frozen application. When hooks for more than one top-level Qt bindings
package are executed, the build process is aborted with error message.
This restriction applies across all instances of <code>Analysis</code> within
a single build (i.e., a single .spec file).</p>
<p>If you encounter build errors caused by this new restriction, either
clean up your build environment (remove the bindings that you are not</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>

<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/5c8de5b1d389a6ee88f6f2b9d865be42bde3cfc0&quot;&gt;&lt;code&gt;5c8de5b&lt;/code&gt;&lt;/a> Release v6.5.0. [skip ci]</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/c335cb52972848cc1a2328cf4acf8049de9edc78&quot;&gt;&lt;code&gt;c335cb5&lt;/code&gt;&lt;/a> Tests: Requirements: Scheduled weekly dependency update for week 09 (<a href="https://redirect.github.com/pyinstaller/pyinstaller/issues/8343&quot;&gt;#8343&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/1b954ba8406bf01a2fee0884374180bc31b1c240&quot;&gt;&lt;code&gt;1b954ba&lt;/code&gt;&lt;/a> analysis: try to pre-load hook as soon as module is encountered</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/e4c42aa7f6ae855b5ed308c1eaf25724511e4acc&quot;&gt;&lt;code&gt;e4c42aa&lt;/code&gt;&lt;/a> hooks: pandas: exclude conditional import of PyQt5</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/c074a3a6b825b74e9aa94f7560d76242ce477db4&quot;&gt;&lt;code&gt;c074a3a&lt;/code&gt;&lt;/a> hooks: qtpy: prevent collection of multiple Qt bindings</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/5481f26f1d73d94cb7f163c537ed999b78870d8a&quot;&gt;&lt;code&gt;5481f26&lt;/code&gt;&lt;/a> hooks: matplotlib: prevent collection of multiple Qt bindings</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/ae1237b53b509d15bc4d2a84f9cc7a8437e02378&quot;&gt;&lt;code&gt;ae1237b&lt;/code&gt;&lt;/a> hookutils: qt: implement helper for excluding extraneous Qt bindings</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/5a78d898f4d67612a56d74a346a8c052dc5ebade&quot;&gt;&lt;code&gt;5a78d89&lt;/code&gt;&lt;/a> hooks: qt: allow only one Qt bindings package to be collected</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/3133e440c3c8a56190d6db4dcc4dc437e9560d4e&quot;&gt;&lt;code&gt;3133e44&lt;/code&gt;&lt;/a> rthooks: qt: allow only one Qt bindings run-time hook to be ran</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/29c03ee0878f6f12d92e54babd596429d53d45ab&quot;&gt;&lt;code&gt;29c03ee&lt;/code&gt;&lt;/a> Fix AMD64 Python running on Windows ARM64</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v6.4.0...v6.5.0&quot;&gt;compare view</a></li>
</ul>
</details>

<br />

Updates pyinstaller-hooks-contrib from 2024.2 to 2024.3

Release notes

Sourced from pyinstaller-hooks-contrib's releases.

2024.3

Please see the changelog for more details

Changelog

Sourced from pyinstaller-hooks-contrib's changelog.

2024.3 (2024-03-09)

Updated hooks


* Update ``torch`` hook to add support for MKL-enabled ``torch`` builds
  on Windows (e.g., the nightly ``2.3.0.dev20240308+cpu`` build). The hook
  now attempts to discover and collect DLLs from MKL and its dependencies
  (``mkl``, ``tbb``, ``intel-openmp``). (`[#712](https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/712)
  <https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/712>`_)
Commits
  • 8e0ea4d Release v2024.3
  • 248cc8a hooks: torch: add support for MKL-enabled torch builds
  • 409bd3c Fix up sspilib credential ordering
  • 5a553ff Scheduled weekly dependency update for week 09 (#711)
  • See full diff in compare view

Updates pytest from 8.0.2 to 8.1.1

Release notes

Sourced from pytest's releases.

8.1.1

pytest 8.1.1 (2024-03-08)

::: {.note} ::: {.title} Note :::

This release is not a usual bug fix release -- it contains features and improvements, being a follow up to 8.1.0, which has been yanked from PyPI. :::

Features

  • #11475: Added the new consider_namespace_packages{.interpreted-text role="confval"} configuration option, defaulting to False.

    If set to True, pytest will attempt to identify modules that are part of namespace packages when importing modules.

  • #11653: Added the new verbosity_test_cases{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See Fine-grained verbosity <pytest.fine_grained_verbosity>{.interpreted-text role="ref"} for more details.

Improvements

  • #10865: pytest.warns{.interpreted-text role="func"} now validates that warnings.warn{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when warnings.filterwarnings{.interpreted-text role="func"} is used to filter those warnings (see [CPython #103577](python/cpython#103577) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.

  • #11311: When using --override-ini for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.

    Previoulsy this would raise an AssertionError{.interpreted-text role="class"}.

  • #11475: --import-mode=importlib <import-mode-importlib>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :pysys.path{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.

    This means that installed packages will be imported under their canonical name if possible first, for example app.core.models, instead of having the module name always be derived from their path (for example .env310.lib.site_packages.app.core.models).

  • #11801: Added the iter_parents() <_pytest.nodes.Node.iter_parents>{.interpreted-text role="func"} helper method on nodes. It is similar to listchain <_pytest.nodes.Node.listchain>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.

  • #11850: Added support for sys.last_exc{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.

  • #11962: In case no other suitable candidates for configuration file are found, a pyproject.toml (even without a [tool.pytest.ini_options] table) will be considered as the configuration file and define the rootdir.

  • #11978: Add --log-file-mode option to the logging plugin, enabling appending to log-files. This option accepts either "w" or "a" and defaults to "w".

    Previously, the mode was hard-coded to be "w" which truncates the file before logging.

... (truncated)

Commits
  • 81653ee Adjust changelog manually for 8.1.1
  • e60b4b9 Prepare release version 8.1.1
  • 15fbe57 [8.1.x] Revert legacy path removals (#12093)
  • 86c3aab [8.1.x] Do not import duplicated modules with --importmode=importlib (#12077)
  • 5b82b0c [8.1.x] Yank version 8.1.0 (#12076)
  • 0a53681 Merge pull request #12054 from pytest-dev/release-8.1.0
  • b9a167f Prepare release version 8.1.0
  • 00043f7 Merge pull request #12038 from bluetech/fixtures-rm-arg2index
  • f4e1025 Merge pull request #12048 from bluetech/fixture-teardown-excgroup
  • 43492f5 Merge pull request #12051 from jakkdl/test_debugging_pythonbreakpoint
  • Additional commits viewable in compare view

Updates ruff from 0.3.0 to 0.3.2

Release notes

Sourced from ruff's releases.

v0.3.2

Changes

Preview features

  • Improve single-with item formatting for Python 3.8 or older (#10276)

Rule changes

  • [pyupgrade] Allow fixes for f-string rule regardless of line length (UP032) (#10263)
  • [pycodestyle] Include actual conditions in E712 diagnostics (#10254)

Bug fixes

  • Fix trailing kwargs end of line comment after slash (#10297)
  • Fix unstable with items formatting (#10274)
  • Avoid repeating function calls in f-string conversions (#10265)
  • Fix E203 false positive for slices in format strings (#10280)
  • Fix incorrect Parameter range for *args and **kwargs (#10283)
  • Treat typing.Annotated subscripts as type definitions (#10285)

Contributors

v0.3.1

Changes

Preview features

  • [pycodestyle] Fix E301 not triggering on decorated methods. (#10117)
  • [pycodestyle] Respect isort settings in blank line rules (E3*) (#10096)
  • [pycodestyle] Make blank lines in typing stub files optional (E3*) (#10098)
  • [pylint] Implement singledispatch-method (E1519) (#10140)
  • [pylint] Implement useless-exception-statement (W0133) (#10176)

Rule changes

  • [flake8-debugger] Check for use of debugpy and ptvsd debug modules (#10177) (#10194)
  • [pyupgrade] Generate diagnostic for all valid f-string conversions regardless of line length (UP032) (#10238)
  • [pep8_naming] Add fixes for N804 and N805 (#10215)

CLI

  • Colorize the output of ruff format --diff (#10110)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.3.2

Preview features

  • Improve single-with item formatting for Python 3.8 or older (#10276)

Rule changes

  • [pyupgrade] Allow fixes for f-string rule regardless of line length (UP032) (#10263)
  • [pycodestyle] Include actual conditions in E712 diagnostics (#10254)

Bug fixes

  • Fix trailing kwargs end of line comment after slash (#10297)
  • Fix unstable with items formatting (#10274)
  • Avoid repeating function calls in f-string conversions (#10265)
  • Fix E203 false positive for slices in format strings (#10280)
  • Fix incorrect Parameter range for *args and **kwargs (#10283)
  • Treat typing.Annotated subscripts as type definitions (#10285)

0.3.1

Preview features

  • [pycodestyle] Fix E301 not triggering on decorated methods. (#10117)
  • [pycodestyle] Respect isort settings in blank line rules (E3*) (#10096)
  • [pycodestyle] Make blank lines in typing stub files optional (E3*) (#10098)
  • [pylint] Implement singledispatch-method (E1519) (#10140)
  • [pylint] Implement useless-exception-statement (W0133) (#10176)

Rule changes

  • [flake8-debugger] Check for use of debugpy and ptvsd debug modules (#10177) (#10194)
  • [pyupgrade] Generate diagnostic for all valid f-string conversions regardless of line length (UP032) (#10238)
  • [pep8_naming] Add fixes for N804 and N805 (#10215)

CLI

  • Colorize the output of ruff format --diff (#10110)
  • Make --config and --isolated global flags (#10150)
  • Correctly expand tildes and environment variables in paths passed to --config (#10219)

Configuration

  • Accept a PEP 440 version specifier for required-version (#10216)
  • Implement isort's default-section setting (#10149)

Bug fixes

  • Remove trailing space from CapWords message (#10220)

... (truncated)

Commits

Updates types-pillow from 10.2.0.20240213 to 10.2.0.20240311

Commits

Updates types-setuptools from 69.1.0.20240302 to 69.1.0.20240310

Commits

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 development-dependencies group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [mypy](https://github.com/python/mypy) | `1.8.0` | `1.9.0` |
| [packaging](https://github.com/pypa/packaging) | `23.2` | `24.0` |
| [pyinstaller](https://github.com/pyinstaller/pyinstaller) | `6.4.0` | `6.5.0` |
| [pyinstaller-hooks-contrib](https://github.com/pyinstaller/pyinstaller-hooks-contrib) | `2024.2` | `2024.3` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.0.2` | `8.1.1` |
| [ruff](https://github.com/astral-sh/ruff) | `0.3.0` | `0.3.2` |
| [types-pillow](https://github.com/python/typeshed) | `10.2.0.20240213` | `10.2.0.20240311` |
| [types-setuptools](https://github.com/python/typeshed) | `69.1.0.20240302` | `69.1.0.20240310` |


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

Updates `packaging` from 23.2 to 24.0
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@23.2...24.0)

Updates `pyinstaller` from 6.4.0 to 6.5.0
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](pyinstaller/pyinstaller@v6.4.0...v6.5.0)

Updates `pyinstaller-hooks-contrib` from 2024.2 to 2024.3
- [Release notes](https://github.com/pyinstaller/pyinstaller-hooks-contrib/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/CHANGELOG.rst)
- [Commits](pyinstaller/pyinstaller-hooks-contrib@2024.2...2024.3)

Updates `pytest` from 8.0.2 to 8.1.1
- [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.0.2...8.1.1)

Updates `ruff` from 0.3.0 to 0.3.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.0...v0.3.2)

Updates `types-pillow` from 10.2.0.20240213 to 10.2.0.20240311
- [Commits](https://github.com/python/typeshed/commits)

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

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: packaging
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: pyinstaller
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: pyinstaller-hooks-contrib
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: types-pillow
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: types-setuptools
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 11, 2024
Copy link

sonarcloud bot commented Mar 17, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented Mar 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.71%. Comparing base (999872f) to head (ccbde64).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #706   +/-   ##
=======================================
  Coverage   94.71%   94.71%           
=======================================
  Files          62       62           
  Lines        5756     5756           
  Branches     1272     1272           
=======================================
  Hits         5452     5452           
  Misses        187      187           
  Partials      117      117           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@abey79 abey79 merged commit 2eb44f2 into master Mar 17, 2024
14 checks passed
@dependabot dependabot bot deleted the dependabot/pip/development-dependencies-91ee388e26 branch March 17, 2024 09:28
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant