DemocracyClub / aggregator-api

https://developers.democracyclub.org.uk/
3 stars 3 forks source link

Bump the python-packages group across 1 directory with 9 updates #527

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps the python-packages group with 9 updates in the / directory:

Package From To
ruff 0.2.1 0.4.6
pytest 7.4.4 8.2.1
pytest-cov 4.1.0 5.0.0
coveralls 3.3.1 4.0.1
tomlkit 0.12.4 0.12.5
pytest-asyncio 0.23.6 0.23.7
moto 5.0.5 5.0.8
pytest-ruff 0.3.1 0.3.2
pre-commit 3.7.0 3.7.1

Updates ruff from 0.2.1 to 0.4.6

Release notes

Sourced from ruff's releases.

v0.4.6

Changes

Breaking changes

  • Use project-relative paths when calculating GitLab fingerprints (#11532)

Preview features

  • [flake8-async] Sleep with >24 hour interval should usually sleep forever (ASYNC116) (#11498)

Rule changes

  • [numpy] Add missing functions to NumPy 2.0 migration rule (#11528)
  • [mccabe] Consider irrefutable pattern similar to if .. else for C901 (#11565)
  • Consider match-case statements for C901, PLR0912, and PLR0915 (#11521)
  • Remove empty strings when converting to f-string (UP032) (#11524)
  • [flake8-bandit] request-without-timeout should warn for requests.request (#11548)
  • [flake8-self] Ignore sunder accesses in flake8-self rules (#11546)
  • [pyupgrade] Lint for TypeAliasType usages (UP040) (#11530)

Server

  • Respect excludes in ruff server configuration discovery (#11551)
  • Use default settings if initialization options is empty or not provided (#11566)
  • ruff server correctly treats .pyi files as stub files (#11535)
  • ruff server searches for configuration in parent directories (#11537)
  • ruff server: An empty code action filter no longer returns notebook source actions (#11526)

Bug fixes

  • [flake8-logging-format] Fix autofix title in logging-warn (G010) (#11514)
  • [refurb] Avoid recommending operator.itemgetter with dependence on lambda arguments (#11574)
  • [flake8-simplify] Avoid recommending context manager in __enter__ implementations (#11575)
  • Create intermediary directories for --output-file (#11550)
  • Propagate reads on global variables (#11584)
  • Treat all singledispatch arguments as runtime-required (#11523)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.4.6

Breaking changes

  • Use project-relative paths when calculating GitLab fingerprints (#11532)

Preview features

  • [flake8-async] Sleep with >24 hour interval should usually sleep forever (ASYNC116) (#11498)

Rule changes

  • [numpy] Add missing functions to NumPy 2.0 migration rule (#11528)
  • [mccabe] Consider irrefutable pattern similar to if .. else for C901 (#11565)
  • Consider match-case statements for C901, PLR0912, and PLR0915 (#11521)
  • Remove empty strings when converting to f-string (UP032) (#11524)
  • [flake8-bandit] request-without-timeout should warn for requests.request (#11548)
  • [flake8-self] Ignore sunder accesses in flake8-self rules (#11546)
  • [pyupgrade] Lint for TypeAliasType usages (UP040) (#11530)

Server

  • Respect excludes in ruff server configuration discovery (#11551)
  • Use default settings if initialization options is empty or not provided (#11566)
  • ruff server correctly treats .pyi files as stub files (#11535)
  • ruff server searches for configuration in parent directories (#11537)
  • ruff server: An empty code action filter no longer returns notebook source actions (#11526)

Bug fixes

  • [flake8-logging-format] Fix autofix title in logging-warn (G010) (#11514)
  • [refurb] Avoid recommending operator.itemgetter with dependence on lambda arguments (#11574)
  • [flake8-simplify] Avoid recommending context manager in __enter__ implementations (#11575)
  • Create intermediary directories for --output-file (#11550)
  • Propagate reads on global variables (#11584)
  • Treat all singledispatch arguments as runtime-required (#11523)

0.4.5

Ruff's language server is now in Beta

v0.4.5 marks the official Beta release of ruff server, an integrated language server built into Ruff. ruff server supports the same feature set as ruff-lsp, powering linting, formatting, and code fixes in Ruff's editor integrations -- but with superior performance and no installation required. We'd love your feedback!

You can enable ruff server in the VS Code extension today.

To read more about this exciting milestone, check out our blog post!

... (truncated)

Commits
  • 49a5a9c Bump version to v0.4.6 (#11585)
  • 69d9212 Propagate reads on global variables (#11584)
  • 4a30558 [flake8-bandit] request-without-timeout should warn for `requests.request...
  • 16acd49 Remove some unused pub functions (#11576)
  • 3989cb8 Make ruff_notebook a workspace dependency in ruff_server (#11572)
  • a38c05b Avoid recommending context manager in __enter__ implementations (#11575)
  • ab107ef Avoid recomending operator.itemgetter with dependence on lambda arg (#11574)
  • b36c713 Consider irrefutable pattern similar to if .. else for C901 (#11565)
  • 34a5063 Respect excludes in ruff server configuration discovery (#11551)
  • adc0a5d Rename document module to text_document (#11571)
  • Additional commits viewable in compare view


Updates pytest from 7.4.4 to 8.2.1

Release notes

Sourced from pytest's releases.

8.2.1

pytest 8.2.1 (2024-05-19)

Improvements

  • #12334: Support for Python 3.13 (beta1 at the time of writing).

Bug Fixes

  • #12120: Fix [PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line.
  • #12191: Keyboard interrupts and system exits are now properly handled during the test collection.
  • #12300: Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only.
  • #12308: Fix a regression in pytest 8.2.0 where the permissions of automatically-created .pytest_cache directories became rwx------ instead of the expected rwxr-xr-x.

Trivial/Internal Changes

  • #12333: pytest releases are now attested using the recent Artifact Attestation support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.

8.2.0

pytest 8.2.0 (2024-04-27)

Deprecations

  • #12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated py.path.local parameter instead of the pathlib.Path parameter which replaced it:

    • pytest_ignore_collect{.interpreted-text role="hook"} - the path parameter - use collection_path instead.
    • pytest_collect_file{.interpreted-text role="hook"} - the path parameter - use file_path instead.
    • pytest_pycollect_makemodule{.interpreted-text role="hook"} - the path parameter - use module_path instead.
    • pytest_report_header{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.
    • pytest_report_collectionfinish{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.

    The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0.

    See legacy-path-hooks-deprecated{.interpreted-text role="ref"} for more details.

Features

  • #11871: Added support for reading command line arguments from a file using the prefix character @, like e.g.: pytest @tests.txt. The file must have one argument per line.

    See Read arguments from file <args-from-file>{.interpreted-text role="ref"} for details.

Improvements

... (truncated)

Commits
  • 66ff8df Prepare release version 8.2.1
  • 3ffcfd1 Merge pull request #12340 from pytest-dev/backport-12334-to-8.2.x
  • 0b28313 [8.2.x] Add Python 3.13 (beta) support
  • f3dd93a [8.2.x] Attest package provenance (#12335)
  • bb5a125 [8.2.x] Spelling (#12331)
  • f179bf2 Merge pull request #12327 from pytest-dev/backport-12325-to-8.2.x
  • 2b671b5 [8.2.x] cacheprovider: fix .pytest_cache not being world-readable
  • 65ab7cb Merge pull request #12324 from pytest-dev/backport-12320-to-8.2.x
  • 4d5fb7d Merge pull request #12319 from pytest-dev/backport-12311-to-8.2.x
  • cbe5996 [8.2.x] changelog: document unittest 8.2 change as breaking
  • Additional commits viewable in compare view


Updates pytest-cov from 4.1.0 to 5.0.0

Changelog

Sourced from pytest-cov's changelog.

5.0.0 (2024-03-24)

  • Removed support for xdist rsync (now deprecated). Contributed by Matthias Reichenbach in [#623](https://github.com/pytest-dev/pytest-cov/issues/623) <https://github.com/pytest-dev/pytest-cov/pull/623>_.
  • Switched docs theme to Furo.
  • Various legacy Python cleanup and CI improvements. Contributed by Christian Clauss and Hugo van Kemenade in [#630](https://github.com/pytest-dev/pytest-cov/issues/630) <https://github.com/pytest-dev/pytest-cov/pull/630>, [#631](https://github.com/pytest-dev/pytest-cov/issues/631) <https://github.com/pytest-dev/pytest-cov/pull/631>, [#632](https://github.com/pytest-dev/pytest-cov/issues/632) <https://github.com/pytest-dev/pytest-cov/pull/632>_ and [#633](https://github.com/pytest-dev/pytest-cov/issues/633) <https://github.com/pytest-dev/pytest-cov/pull/633>_.
  • Added a pyproject.toml example in the docs. Contributed by Dawn James in [#626](https://github.com/pytest-dev/pytest-cov/issues/626) <https://github.com/pytest-dev/pytest-cov/pull/626>_.
  • Modernized project's pre-commit hooks to use ruff. Initial POC contributed by Christian Clauss in [#584](https://github.com/pytest-dev/pytest-cov/issues/584) <https://github.com/pytest-dev/pytest-cov/pull/584>_.
Commits
  • 5295ce0 Bump version: 4.1.0 → 5.0.0
  • 1181b06 Update changelog.
  • 9757222 Fix a minor grammar error (#636)
  • 9f5cd81 Cleanup releasing instructions. Closes #616.
  • 93b5047 Add test for pyproject.toml loading without explicit --cov-config. Ref #508.
  • ff50860 docs: add config instructions for pyproject.toml.
  • 4a5a4b5 Keep GitHub Actions up to date with GitHub's Dependabot
  • 1d7f559 Fix or remove URLs that are causing docs tests to fail
  • 6a5af8e Update changelog.
  • d9fe8df Switch to furo. Closes #618.
  • Additional commits viewable in compare view


Updates coveralls from 3.3.1 to 4.0.1

Release notes

Sourced from coveralls's releases.

4.0.1 (2024-05-15)

Internal

4.0.0 (2024-04-29)

BREAKING CHANGES

When config.ignore_errors is Falsey, failures to parse Python files or look up file sources will now interrupt and early exit collection, which matches default coverage behaviour. Previously, we had manually muted these errors and/or only errored after collecting multiple failures.

See the coverage.py docs for setting this option.

Features

Bug Fixes

Internal

Changelog

Sourced from coveralls's changelog.

4.0.1 (2024-05-15)

Internal

4.0.0 (2024-04-29)

BREAKING CHANGES

When config.ignore_errors is Falsey, failures to parse Python files or look up file sources will now interrupt and early exit collection, which matches default coverage behaviour. Previously, we had manually muted these errors and/or only errored after collecting multiple failures.

See the coverage.py docs for setting this option.

Features

Bug Fixes

Internal

Commits
  • e20a8c8 chore(release): bump version
  • b566fc3 test(git): support running tests outside of gitdir (#443)
  • f41dca5 feat(deps): add support for coverage v7.5+ (#442)
  • afea549 docs(changelog): reference coverage.py config docs
  • ee0f09b chore(deps): update pre-commit hook pycqa/pylint to v3.2.0
  • f466374 chore(deps): update pre-commit hook pycqa/pylint to v3.1.1 (#438)
  • 6514a59 chore(deps): update pandoc/core docker tag to v3.2.0
  • a30b404 chore(deps): update actions/checkout action to v4.1.5
  • b274e07 chore(deps): update pre-commit hook python-jsonschema/check-jsonschema to v0....
  • 33f0bea chore(deps): lock file maintenance
  • Additional commits viewable in compare view


Updates tomlkit from 0.12.4 to 0.12.5

Release notes

Sourced from tomlkit's releases.

0.12.5

What's Changed

New Contributors

Full Changelog: https://github.com/python-poetry/tomlkit/compare/0.12.4...0.12.5

Changelog

Sourced from tomlkit's changelog.

[0.12.5] - 2024-05-08

Fixed

  • Remove the extra minus sign added to the float value after calculation. (#341)
  • Fix unexpected newline added after accessing the out-of-order table. (#343)
Commits
  • a96883b chore: release 0.12.5
  • c2611c5 fix: Construction of OutOfOrderTableProxy can cause newlines to be inserted (...
  • 990e325 fix: redundant minus sign added to negative integers when multiplie by -1
  • e5e09e9 chore: switch to ruff lint and format
  • bf01a25 fix: don't add sign if the float is negative (#345)
  • 059fab2 chore(deps-dev): bump jinja2 from 3.1.3 to 3.1.4 (#344)
  • 6351f3d fix: CI workflow for macos (#342)
  • 3711b06 fix: linter errors caused by black
  • dab2da8 chore(deps-dev): bump idna from 3.4 to 3.7 (#339)
  • 4f2ae7f [pre-commit.ci] pre-commit autoupdate (#337)
  • See full diff in compare view


Updates pytest-asyncio from 0.23.6 to 0.23.7

Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio 0.23.7

0.23.7 (2024-05-19)

  • Silence deprecation warnings about unclosed event loops that occurred with certain CPython patch releases #817

Known issues

As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.

Commits
  • eb63d5a docs: Prepared for release of v0.23.7.
  • da04a7a Build(deps): Bump exceptiongroup in /dependencies/default
  • 00c667a Build(deps): Bump pytest from 8.1.1 to 8.2.0 in /dependencies/default
  • 3bd9cd8 [docs] Add changelog entry.
  • 15544f0 Revert GitHub Actions and Tox changes.
  • 6316b28 Deduplicate simplefilter snippet.
  • 3ffdfc5 asyncio.run(port_afinalizer())
  • 0107fd7 Remove extra space.
  • 3bf700a Fix GH Action mapping.
  • d15dc31 Fix 3109/3108 typo.
  • Additional commits viewable in compare view


Updates moto from 5.0.5 to 5.0.8

Changelog

Sourced from moto's changelog.

5.0.8

Docker Digest for 5.0.8: sha256:cfcd97074011bd563cdbeebac35ed710581a23cb2be07ab9b67aa00298fc3369

General:
    * Improved support for non-generic partitions (China, GovCloud, ISO-regions). 
      All ARN's now contain the correct partition for resources created in those regions.

New Services: * NetworkManager: * create_global_network() * describe_global_networks() * create_core_network() * create_global_network() * delete_core_network() * list_core_networks() * get_core_network() * tag_resource() * untag_resource()

Miscellaneous: * ResilienceHub: list_app_assessments() can now return pre-configured results * ResourceGroupTagging: get_resources() now returns results when filtering on "lambda:function" * S3: delete_object_tagging()/put_object_tagging() now send an EventBridge notification

5.0.7

Docker Digest for 5.0.7: sha256:81ac52ff74b0bf0f4957ee4260e6a7e75d66c9e5d040ed4f721a5500b873c88a

New Services:
    * Sagemaker Metrics:
        * batch_put_metrics()

New Methods: * DynamoDB: * describe_import() * import_table()

* EMR Serverless:
    * cancel_job_run()
    * get_job_run()
    * list_job_runs()
    * start_job_run()

* IAM:
    * tag_instance_profile()
    * untag_instance_profile()

* Panorama:

... (truncated)

Commits


Updates pytest-ruff from 0.3.1 to 0.3.2

Release notes

Sourced from pytest-ruff's releases.

Cleaner test error output

Full stack trace is not relevant for us, it was removed in #18. Thanks to @​lexi-k.

Commits


Updates pre-commit from 3.7.0 to 3.7.1

Release notes

Sourced from pre-commit's releases.

pre-commit v3.7.1

Fixes

Changelog

Sourced from pre-commit's changelog.

3.7.1 - 2024-05-10

Fixes

Commits
  • 9ee0768 v3.7.1
  • eeac061 Merge pull request #3201 from pre-commit/rust-default-language-version
  • 296f592 determine rust default language version independent of rust-toolchain.toml
  • 1602328 Merge pull request #3193 from pre-commit/pre-commit-ci-update-config
  • 0142f45 [pre-commit.ci] pre-commit autoupdate
  • d7e21cd Merge pull request #3194 from pre-commit/handle-readonly-3-12
  • 5c3d006 use a simpler gem for testing additional_dependencies
  • 0d4c6da adjust _handle_readonly for typeshed updates
  • 85fe182 Merge pull request #3176 from pre-commit/pre-commit-ci-update-config
  • 74d05b4 [pre-commit.ci] pre-commit autoupdate
  • 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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 4 months ago

Superseded by #529.