Skip to content

chore(deps): bump the npm group with 3 updates#244

Merged
dependabot[bot] merged 1 commit intomasterfrom
dependabot/pip/npm-a9930babfd
Mar 17, 2024
Merged

chore(deps): bump the npm group with 3 updates#244
dependabot[bot] merged 1 commit intomasterfrom
dependabot/pip/npm-a9930babfd

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 16, 2024

Bumps the npm group with 3 updates: black, pyinstaller and pytest.

Updates black from 24.2.0 to 24.3.0

Release notes

Sourced from black's releases.

24.3.0

Highlights

This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix CVE-2024-21503.

This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.

Stable style

  • Don't move comments along with delimiters, which could cause crashes (#4248)
  • Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (#4270)
  • Fix a bug where line-ranges exceeding the last code line would not work as expected (#4273)

Performance

  • Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes CVE-2024-21503. (#4278)

Documentation

  • Note what happens when --check is used with --quiet (#4236)
Changelog

Sourced from black's changelog.

24.3.0

Highlights

This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix CVE-2024-21503.

This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.

Stable style

  • Don't move comments along with delimiters, which could cause crashes (#4248)
  • Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (#4270)
  • Fix a bug where line-ranges exceeding the last code line would not work as expected (#4273)

Performance

  • Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes CVE-2024-21503. (#4278)

Documentation

  • Note what happens when --check is used with --quiet (#4236)
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`` <= 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 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

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 npm group with 3 updates: [black](https://github.com/psf/black), [pyinstaller](https://github.com/pyinstaller/pyinstaller) and [pytest](https://github.com/pytest-dev/pytest).


Updates `black` from 24.2.0 to 24.3.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.2.0...24.3.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 `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)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot requested a review from ayushmanchhabra as a code owner March 16, 2024 10:50
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 16, 2024
@ayushmanchhabra ayushmanchhabra changed the title Bump the npm group with 3 updates chore(deps): bump the npm group with 3 updates Mar 17, 2024
@ayushmanchhabra
Copy link
Copy Markdown
Contributor

@dependabot squash and merge

@dependabot dependabot Bot merged commit d6efd16 into master Mar 17, 2024
@dependabot dependabot Bot deleted the dependabot/pip/npm-a9930babfd branch March 17, 2024 02:39
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