DiamondLightSource / python-copier-template

Diamond's opinionated copier template for pure Python projects managed by pip
Apache License 2.0
4 stars 2 forks source link

Bump the dev-dependencies group with 10 updates #42

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 7 months ago

Bumps the dev-dependencies group with 10 updates:

Package From To
beautifulsoup4 4.12.2 4.12.3
platformdirs 4.1.0 4.2.0
pluggy 1.3.0 1.4.0
prompt-toolkit 3.0.36 3.0.43
pydantic 2.5.3 2.6.0
pydantic-core 2.14.6 2.16.1
pytest 7.4.4 8.0.0
ruff 0.1.14 0.1.15
tox 3.28.0 4.12.1
urllib3 2.1.0 2.2.0

Updates beautifulsoup4 from 4.12.2 to 4.12.3

Updates platformdirs from 4.1.0 to 4.2.0

Release notes

Sourced from platformdirs's releases.

4.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/platformdirs/platformdirs/compare/4.1.0...4.2.0

Changelog

Sourced from platformdirs's changelog.

platformdirs Changelog

Commits


Updates pluggy from 1.3.0 to 1.4.0

Changelog

Sourced from pluggy's changelog.

pluggy 1.4.0 (2024-01-24)

Features

  • [#463](https://github.com/pytest-dev/pluggy/issues/463) <https://github.com/pytest-dev/pluggy/issues/463>_: A warning :class:~pluggy.PluggyTeardownRaisedWarning is now issued when an old-style hookwrapper raises an exception during teardown. See the warning documentation for more details.

  • [#471](https://github.com/pytest-dev/pluggy/issues/471) <https://github.com/pytest-dev/pluggy/issues/471>_: Add :func:PluginManager.unblock <pluggy.PluginManager.unblock> method to unblock a plugin by plugin name.

Bug Fixes

  • [#441](https://github.com/pytest-dev/pluggy/issues/441) <https://github.com/pytest-dev/pluggy/issues/441>_: Fix :func:~pluggy.HookCaller.call_extra() extra methods getting ordered before everything else in some circumstances. Regressed in pluggy 1.1.0.

  • [#438](https://github.com/pytest-dev/pluggy/issues/438) <https://github.com/pytest-dev/pluggy/issues/438>_: Fix plugins registering other plugins in a hook when the other plugins implement the same hook itself. Regressed in pluggy 1.1.0.

Commits
  • 2efd28e Preparing release 1.4.0
  • ebeb2f2 Merge pull request #471 from bluetech/unblock
  • 3a28b4d Merge pull request #464 from bluetech/hookwrapper-teardown-warning
  • 4331b7a Merge pull request #473 from bluetech/iterator-invalidation
  • 7aef3e6 hooks: fix plugins registering other plugins in a hook
  • cc36605 Merge pull request #472 from bluetech/call-extra-ordering-fix
  • 443fee6 hooks: fix call_extra extra methods getting ordered before everything else
  • 4577b45 hooks: add comment describing _hookimpls's format/invariants.
  • 13b3661 Add PluginManager.unblock method to unblock a name
  • 4b5b2d4 CHANGELOG: fix errors in 1.0.0 entry
  • Additional commits viewable in compare view


Updates prompt-toolkit from 3.0.36 to 3.0.43

Release notes

Sourced from prompt-toolkit's releases.

3.0.43

Fixes regression from 3.0.42:

  • Fix regression on Pypy: Don't use ctypes.pythonapi to restore SIGINT if not available.

Other changes from 3.0.42:

  • Fix line wrapping in patch_stdout on Windows.
  • Make formatted_text.split_lines() accept an iterable instead of lists only.
  • Disable the IPython workaround (from 3.0.41) for IPython >= 8.18.
  • Restore signal.SIGINT handler between prompts
Changelog

Sourced from prompt-toolkit's changelog.

3.0.43: 2023-12-13

Fixes:

  • Fix regression on Pypy: Don't use ctypes.pythonapi to restore SIGINT if not available.

3.0.42: 2023-12-12

Fixes:

  • Fix line wrapping in patch_stdout on Windows.
  • Make formatted_text.split_lines() accept an iterable instead of lists only.
  • Disable the IPython workaround (from 3.0.41) for IPython >= 8.18.
  • Restore signal.SIGINT handler between prompts.

3.0.41: 2023-11-14

Fixes:

  • Fix regression regarding IPython input hook (%gui) integration.

3.0.40: 2023-11-10

Fixes:

  • Improved Python 3.12 support (fixes event loop DeprecationWarning).

New features:

  • Vi key bindings: control-t and control-d for indent/unindent in insert mode.
  • Insert partial suggestion when control+right is pressed, similar to Fish.
  • Use sphinx-nefertiti theme for the docs.

3.0.39: 2023-07-04

Fixes:

  • Fix RuntimeError when __breakpointhook__ is called from another thread.
  • Fix memory leak in filters usage.
  • Ensure that key bindings are handled in the right context (when using contextvars).

New features:

  • Accept in_thread keyword in prompt_toolkit.shortcuts.prompt().
  • Support the NO_COLOR environment variable.

... (truncated)

Commits
  • 4432d62 Release 3.0.43
  • 6a24c99 Fix for pypy: don't use pythonapi on pypy.
  • 1c6d094 Use Coroutine instead of Awaitable in type annotations where possible.
  • 87d0107 Release 3.0.42
  • 6a4e6dd Fix example for progress bar with custom iterable
  • be4ccdf Restore signal.SIGINT handler between prompts
  • 6e4ca6e Disable workaround for ipython >= 8.18
  • e2e75c0 Make formatted_text.split_lines accept an iterable (type annotation only).
  • 55cde3e Fix line wrapping in patch_stdout on Windows.
  • 857af14 Code formatting fixes.
  • Additional commits viewable in compare view


Updates pydantic from 2.5.3 to 2.6.0

Release notes

Sourced from pydantic's releases.

v2.6.0 2024-01-29

v2.6.0 (2024-01-29)

GitHub release

The code released in v2.6.0 is practically identical to that of v2.6.0b1.

What's Changed

Packaging

  • Check for email-validator version >= 2.0 by @​commonism in #6033
  • Upgrade ruff target version to Python 3.8 by @​Elkiwa in #8341
  • Update to pydantic-extra-types==2.4.1 by @​yezz123 in #8478
  • Update to pyright==1.1.345 by @​Viicos in #8453
  • Update pydantic-core from 2.14.6 to 2.16.1, significant changes from these updates are described below, full changelog here

New Features

Changes

Performance

... (truncated)

Changelog

Sourced from pydantic's changelog.

v2.6.0 (2024-01-23)

GitHub release

The code released in v2.6.0 is practically identical to that of v2.6.0b1.

What's Changed

Packaging

  • Check for email-validator version >= 2.0 by @​commonism in #6033
  • Upgrade `ruff`` target version to Python 3.8 by @​Elkiwa in #8341
  • Update to pydantic-extra-types==2.4.1 by @​yezz123 in #8478
  • Update to pyright==1.1.345 by @​Viicos in #8453
  • Update pydantic-core from 2.14.6 to 2.16.1, significant changes from these updates are described below, full changelog here

New Features

Changes

Performance

... (truncated)

Commits


Updates pydantic-core from 2.14.6 to 2.16.1

Release notes

Sourced from pydantic-core's releases.

v2.16.1 2024-01-19

What's Changed

Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.16.0...v2.16.1

v2.16.0 2024-01-17

What's Changed

Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.15.0...v2.16.0

v2.15.0 2024-01-10

What's Changed

... (truncated)

Commits


Updates pytest from 7.4.4 to 8.0.0

Release notes

Sourced from pytest's releases.

pytest 8.0.0 (2024-01-27)

See 8.0.0rc1 and 8.0.0rc2 for the full changes since pytest 7.4!

Bug Fixes

  • #11842: Properly escape the reason of a skip <pytest.mark.skip ref>{.interpreted-text role="ref"} mark when writing JUnit XML files.
  • #11861: Avoid microsecond exceeds 1_000_000 when using log-date-format with %f specifier, which might cause the test suite to crash.

8.0.0rc2

pytest 8.0.0rc2 (2024-01-17)

Improvements

  • #11233: Improvements to -r for xfailures and xpasses:
    • Report tracebacks for xfailures when -rx is set.
    • Report captured output for xpasses when -rX is set.
    • For xpasses, add - in summary between test name and reason, to match how xfail is displayed.
  • #11825: The pytest_plugin_registered{.interpreted-text role="hook"} hook has a new plugin_name parameter containing the name by which plugin is registered.

Bug Fixes

  • #11706: Fix reporting of teardown errors in higher-scoped fixtures when using [--maxfail]{.title-ref} or [--stepwise]{.title-ref}.

  • #11758: Fixed IndexError: string index out of range crash in if highlighted[-1] == "\n" and source[-1] != "\n". This bug was introduced in pytest 8.0.0rc1.

  • #9765, #11816: Fixed a frustrating bug that afflicted some users with the only error being assert mod not in mods. The issue was caused by the fact that str(Path(mod)) and mod.__file__ don't necessarily produce the same string, and was being erroneously used interchangably in some places in the code.

    This fix also broke the internal API of PytestPluginManager.consider_conftest by introducing a new parameter -- we mention this in case it is being used by external code, even if marked as private.

pytest 8.0.0rc1 (2023-12-30)

See https://docs.pytest.org/en/latest/changelog.html#pytest-8-0-0rc1-2023-12-30 for the rendered changelog.

Breaking Changes

Old Deprecations Are Now Errors

  • #7363: PytestRemovedIn8Warning deprecation warnings are now errors by default.

    Following our plan to remove deprecated features with as little disruption as possible, all warnings of type PytestRemovedIn8Warning now generate errors instead of warning messages by default.

    The affected features will be effectively removed in pytest 8.1, so please consult the deprecations{.interpreted-text role="ref"} section in the docs for directions on how to update existing code.

    In the pytest 8.0.X series, it is possible to change the errors back into warnings as a stopgap measure by adding this to your pytest.ini file:

    [pytest]
    

... (truncated)

Commits
  • 478f823 Prepare release version 8.0.0
  • 6085900 [8.0.x] fix: avoid rounding microsecond to 1_000_000 (#11863)
  • 3b41c65 [8.0.x] Escape skip reason in junitxml (#11845)
  • 747072a [8.0.x] Update docstring of scripts/generate-gh-release-notes.py (#11768)
  • 011a475 Properly attach packages to the GH release notes (#11839) (#11840)
  • 97960bd Merge pull request #11835 from pytest-dev/release-8.0.0rc2
  • 6be0a3c Prepare release version 8.0.0rc2
  • 44ffe07 Merge pull request #11837 from pytest-dev/backport-11836-to-8.0.x
  • 14ecb04 [8.0.x] testing: temporarily disable test due to hypothesis issue
  • 41c8dab Merge pull request #11831 from bluetech/backport-11825-to-8.0.x
  • Additional commits viewable in compare view


Updates ruff from 0.1.14 to 0.1.15

Release notes

Sourced from ruff's releases.

v0.1.15

Changes

Preview features

  • Error when NURSERY selector is used with --preview (#9682)
  • Preserve indentation around multiline strings in formatter (#9637)
  • [flake8-return] Add fixes for all rules (RET505, RET506, RET507, RET508) (#9595)
  • [flake8-simplify] Add fix for if-with-same-arms (SIM114) (#9591)
  • [pycodestyle] Add fix for multiple-imports-on-one-line (E401) (#9518)
  • [pylint] Add fix for collapsible-else-if (PLR5501) (#9594)
  • [pylint] Add fix for useless-else-on-loop (PLW0120) (#9590)
  • [pylint] Implement assigning-non-slot (E0237) (#9623)
  • [pylint] Implement potential-index-error (PLE0643) (#9545)
  • [pylint] Implement too-many-nested-blocks (PLR1702) (#9172)
  • [ruff] Add rule to sort __slots__ and __match_args__ (#9564)
  • [ruff] Detect unnecessary dict comprehensions for iterables (RUF025) (#9613)
  • [ruff] Guard against use of default_factory as a keyword argument (RUF026) (#9651)
  • [ruff] Implement mutable-fromkeys-value (RUF024) (#9597)

CLI

  • Enable auto-wrapping of --help output (#9633)

Bug fixes

  • Avoid rendering display-only rules as fixable (#9649)
  • Detect automagic-like assignments in notebooks (#9653)
  • Generate custom JSON schema for dynamic setting (#9632)
  • [flake8-no-pep420] Include global --config when determining namespace packages (#9603)
  • [flake8-pie] Omit bound tuples passed to .startswith or .endswith (#9661)
  • [flake8-return] Avoid panic when fixing inlined else blocks (#9657)
  • [flake8-return] Consider exception suppression in unnecessary assignment (#9673)
  • [flake8-return] Take NoReturn annotation into account when analyzing implicit returns (#9636)
  • [flake8-simplify] Support inverted returns in needless-bool (SIM103) (#9619)
  • [flake8-type-checking] Add Pydantic's BaseConfig to default-copy list (#9650)
  • [flake8-type-checking] Avoid marking InitVar as a typing-only annotation (#9688)
  • [pycodestyle] Allow dtype comparisons in type-comparison (#9676)
  • [pydocstyle] Re-implement last-line-after-section (D413) (#9654)

Documentation

  • [flake8-pytest-style] Add fix safety documentation for duplicate-parameterize-test-cases (#9678)
  • [pylint] Document literal-membership fix safety conditions (#9677)
  • [isort] Fix reference to isort rule code (#9598)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.1.15

Preview features

  • Error when NURSERY selector is used with --preview (#9682)
  • Preserve indentation around multiline strings in formatter (#9637)
  • [flake8-return] Add fixes for all rules (RET505, RET506, RET507, RET508) (#9595)
  • [flake8-simplify] Add fix for if-with-same-arms (SIM114) (#9591)
  • [pycodestyle] Add fix for multiple-imports-on-one-line (E401) (#9518)
  • [pylint] Add fix for collapsible-else-if (PLR5501) (#9594)
  • [pylint] Add fix for useless-else-on-loop (PLW0120) (#9590)
  • [pylint] Implement assigning-non-slot (E0237) (#9623)
  • [pylint] Implement potential-index-error (PLE0643) (#9545)
  • [pylint] Implement too-many-nested-blocks (PLR1702) (#9172)
  • [ruff] Add rule to sort __slots__ and __match_args__ (#9564)
  • [ruff] Detect unnecessary dict comprehensions for iterables (RUF025) (#9613)
  • [ruff] Guard against use of default_factory as a keyword argument (RUF026) (#9651)
  • [ruff] Implement mutable-fromkeys-value (RUF024) (#9597)

CLI

  • Enable auto-wrapping of --help output (#9633)

Bug fixes

  • Avoid rendering display-only rules as fixable (#9649)
  • Detect automagic-like assignments in notebooks (#9653)
  • Generate custom JSON schema for dynamic setting (#9632)
  • [flake8-no-pep420] Include global --config when determining namespace packages (#9603)
  • [flake8-pie] Omit bound tuples passed to .startswith or .endswith (#9661)
  • [flake8-return] Avoid panic when fixing inlined else blocks (#9657)
  • [flake8-return] Consider exception suppression in unnecessary assignment (#9673)
  • [flake8-return] Take NoReturn annotation into account when analyzing implicit returns (#9636)
  • [flake8-simplify] Support inverted returns in needless-bool (SIM103) (#9619)
  • [flake8-type-checking] Add Pydantic's BaseConfig to default-copy list (#9650)
  • [flake8-type-checking] Avoid marking InitVar as a typing-only annotation (#9688)
  • [pycodestyle] Allow dtype comparisons in type-comparison (#9676)
  • [pydocstyle] Re-implement last-line-after-section (D413) (#9654)

Documentation

  • [flake8-pytest-style] Add fix safety documentation for duplicate-parameterize-test-cases (#9678)
  • [pylint] Document literal-membership fix safety conditions (#9677)
  • [isort] Fix reference to isort rule code (#9598)
Commits
  • a7755d7 Bump version to v0.1.15 (#9690)
  • 11449ac Avoid marking InitVar as a typing-only annotation (#9688)
  • 4ccbacd Error if the NURSERY selector is used with preview (#9682)
  • 05a2f52 Document literal-membership fix safety conditions (#9677)
  • a6f7100 [pycodestyle] Allow dtype comparisons in type-comparison (#9676)
  • 50122d2 [flake8-pytest-style] Add fix safety documentation for `duplicate-parameter...
  • ad2cfa3 [flake8-return] Consider exception suppress for unnecessary assignment (#9673)
  • 0045032 Set source type: Stub for black tests with options (#9674)
  • bea8f2e Detect automagic-like assignments in notebooks (#9653)
  • c8074b0 Bump serde_with from 3.5.0 to 3.5.1 (#9672)
  • Additional commits v... _Description has been truncated_
dependabot[bot] commented 7 months ago

Looks like these dependencies are updatable in another way, so this is no longer needed.