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 python-dependencies group with 12 updates #182

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 15, 2024

Bumps the python-dependencies group with 12 updates:

Package From To
mypy 1.8.0 1.9.0
pip-tools 7.4.0 7.4.1
pre-commit 3.6.1 3.7.0
ruff 0.2.2 0.3.7
aiohttp 3.9.3 3.9.4
pydantic-settings 2.2.0 2.2.1
pydis-core 10.7.0 11.1.0
rapidfuzz 3.6.1 3.8.1
sentry-sdk 1.40.4 1.45.0
sqlalchemy 2.0.27 2.0.29
tldextract 5.1.1 5.1.2
pytest 8.0.1 8.1.1

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 pip-tools from 7.4.0 to 7.4.1

Release notes

Sourced from pip-tools's releases.

7.4.1

Bug Fixes:

Changelog

Sourced from pip-tools's changelog.

v7.4.1

05 Mar 2024

Bug Fixes:

Commits
  • 60ebdf5 Merge pull request #2067 from atugushev/release-7.4.1
  • c671ea0 Strip emoji from changelog line
  • f825385 Release 7.4.1
  • 1197151 Merge pull request #2038 from honnix/patch-1
  • 1f00154 Merge pull request #2061 from chrysle/pip-compile-docs-changedir
  • d99493c Skip constraint path check
  • 35b06db Change directory in pip-compile-docs tox session
  • a8beb7a Merge pull request #1981 from dragly/fix-all-extras
  • 7caff1a Merge branch 'main' into fix-all-extras
  • e0afb79 Merge pull request #2057 from jazzband/pre-commit-ci-update-config
  • Additional commits viewable in compare view

Updates pre-commit from 3.6.1 to 3.7.0

Release notes

Sourced from pre-commit's releases.

pre-commit v3.7.0

Features

  • Use a tty for docker and docker_image hooks when --color is specified.

Fixes

Updating

  • The per-hook behaviour of fail_fast was fixed. If you want the pre-3.7.0 behaviour, add fail_fast: true to all hooks before the last fail_fast hook.

pre-commit v3.6.2

Fixes

Changelog

Sourced from pre-commit's changelog.

3.7.0 - 2024-03-24

Features

  • Use a tty for docker and docker_image hooks when --color is specified.

Fixes

Updating

  • The per-hook behaviour of fail_fast was fixed. If you want the pre-3.7.0 behaviour, add fail_fast: true to all hooks before the last fail_fast hook.

3.6.2 - 2024-02-18

Fixes

Commits
  • 7b4667e v3.7.0
  • d46c8fc Merge pull request #3168 from pre-commit/fix-fail-fast
  • fc62215 fix per-hook fail_fast to not fail on previous failures
  • 716da1e Merge pull request #3155 from pre-commit/pre-commit-ci-update-config
  • 0939c11 [pre-commit.ci] pre-commit autoupdate
  • 3bdf9fb Merge pull request #3150 from pre-commit/pre-commit-ci-update-config
  • 75b3e52 [pre-commit.ci] pre-commit autoupdate
  • 5e11c26 Merge pull request #3122 from glehmann/docker-tty
  • e580096 give docker a tty output when expecting color
  • 7b868c3 Merge pull request #3132 from pre-commit/pre-commit-ci-update-config
  • Additional commits viewable in compare view

Updates ruff from 0.2.2 to 0.3.7

Release notes

Sourced from ruff's releases.

v0.3.7

Changes

Preview features

  • [flake8-bugbear] Implement loop-iterator-mutation (B909) (#9578)
  • [pylint] Implement rule to prefer augmented assignment (PLR6104) (#9932)

Bug fixes

  • Avoid TOCTOU errors in cache initialization (#10884)
  • [pylint] Recode nan-comparison rule to W0177 (#10894)
  • [pylint] Reverse min-max logic in if-stmt-min-max (#10890)

Contributors

v0.3.6

Changes

Preview features

  • [pylint] Implement bad-staticmethod-argument (PLW0211) (#10781)
  • [pylint] Implement if-stmt-min-max (PLR1730, PLR1731) (#10002)
  • [pyupgrade] Replace str,Enum multiple inheritance with StrEnum UP042 (#10713)
  • [refurb] Implement if-expr-instead-of-or-operator (FURB110) (#10687)
  • [refurb] Implement int-on-sliced-str (FURB166) (#10650)
  • [refurb] Implement write-whole-file (FURB103) (#10802)
  • [refurb] Support itemgetter in reimplemented-operator (FURB118) (#10526)
  • [flake8_comprehensions] Add sum/min/max to unnecessary comprehension check (C419) (#10759)

Rule changes

  • [pydocstyle] Require capitalizing docstrings where the first sentence is a single word (D403) (#10776)
  • [pycodestyle] Ignore annotated lambdas in class scopes (E731) (#10720)
  • [flake8-pyi] Various improvements to PYI034 (#10807)
  • [flake8-slots] Flag subclasses of call-based typing.NamedTuples as well as subclasses of collections.namedtuple() (SLOT002) (#10808)
  • [pyflakes] Allow forward references in class bases in stub files (F821) (#10779)
  • [pygrep-hooks] Improve blanket-noqa error message (PGH004) (#10851)

CLI

  • Support FORCE_COLOR env var (#10839)

Configuration

  • Support negated patterns in [extend-]per-file-ignores (#10852)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.3.7

Preview features

  • [flake8-bugbear] Implement loop-iterator-mutation (B909) (#9578)
  • [pylint] Implement rule to prefer augmented assignment (PLR6104) (#9932)

Bug fixes

  • Avoid TOCTOU errors in cache initialization (#10884)
  • [pylint] Recode nan-comparison rule to W0177 (#10894)
  • [pylint] Reverse min-max logic in if-stmt-min-max (#10890)

0.3.6

Preview features

  • [pylint] Implement bad-staticmethod-argument (PLW0211) (#10781)
  • [pylint] Implement if-stmt-min-max (PLR1730, PLR1731) (#10002)
  • [pyupgrade] Replace str,Enum multiple inheritance with StrEnum UP042 (#10713)
  • [refurb] Implement if-expr-instead-of-or-operator (FURB110) (#10687)
  • [refurb] Implement int-on-sliced-str (FURB166) (#10650)
  • [refurb] Implement write-whole-file (FURB103) (#10802)
  • [refurb] Support itemgetter in reimplemented-operator (FURB118) (#10526)
  • [flake8_comprehensions] Add sum/min/max to unnecessary comprehension check (C419) (#10759)

Rule changes

  • [pydocstyle] Require capitalizing docstrings where the first sentence is a single word (D403) (#10776)
  • [pycodestyle] Ignore annotated lambdas in class scopes (E731) (#10720)
  • [flake8-pyi] Various improvements to PYI034 (#10807)
  • [flake8-slots] Flag subclasses of call-based typing.NamedTuples as well as subclasses of collections.namedtuple() (SLOT002) (#10808)
  • [pyflakes] Allow forward references in class bases in stub files (F821) (#10779)
  • [pygrep-hooks] Improve blanket-noqa error message (PGH004) (#10851)

CLI

  • Support FORCE_COLOR env var (#10839)

Configuration

  • Support negated patterns in [extend-]per-file-ignores (#10852)

Bug fixes

  • [flake8-import-conventions] Accept non-aliased (but correct) import in unconventional-import-alias (ICN001) (#10729)
  • [flake8-quotes] Add semantic model flag when inside f-string replacement field (#10766)
  • [pep8-naming] Recursively resolve TypeDicts for N815 violations (#10719)
  • [flake8-quotes] Respect Q00* ignores in flake8-quotes rules (#10728)
  • [flake8-simplify] Show negated condition in needless-bool diagnostics (SIM103) (#10854)

... (truncated)

Commits

Updates aiohttp from 3.9.3 to 3.9.4

Release notes

Sourced from aiohttp's releases.

3.9.4

Bug fixes

  • The asynchronous internals now set the underlying causes when assigning exceptions to the future objects -- by :user:webknjaz.

    Related issues and pull requests on GitHub: #8089.

  • Treated values of Accept-Encoding header as case-insensitive when checking for gzip files -- by :user:steverep.

    Related issues and pull requests on GitHub: #8104.

  • Improved the DNS resolution performance on cache hit -- by :user:bdraco.

    This is achieved by avoiding an :mod:asyncio task creation in this case.

    Related issues and pull requests on GitHub: #8163.

  • Changed the type annotations to allow dict on :meth:aiohttp.MultipartWriter.append, :meth:aiohttp.MultipartWriter.append_json and :meth:aiohttp.MultipartWriter.append_form -- by :user:cakemanny

    Related issues and pull requests on GitHub: #7741.

  • Ensure websocket transport is closed when client does not close it -- by :user:bdraco.

    The transport could remain open if the client did not close it. This change ensures the transport is closed when the client does not close it.

... (truncated)

Changelog

Sourced from aiohttp's changelog.

3.9.4 (2024-04-11)

Bug fixes

  • The asynchronous internals now set the underlying causes when assigning exceptions to the future objects -- by :user:webknjaz.

    Related issues and pull requests on GitHub: :issue:8089.

  • Treated values of Accept-Encoding header as case-insensitive when checking for gzip files -- by :user:steverep.

    Related issues and pull requests on GitHub: :issue:8104.

  • Improved the DNS resolution performance on cache hit -- by :user:bdraco.

    This is achieved by avoiding an :mod:asyncio task creation in this case.

    Related issues and pull requests on GitHub: :issue:8163.

  • Changed the type annotations to allow dict on :meth:aiohttp.MultipartWriter.append, :meth:aiohttp.MultipartWriter.append_json and :meth:aiohttp.MultipartWriter.append_form -- by :user:cakemanny

    Related issues and pull requests on GitHub: :issue:7741.

  • Ensure websocket transport is closed when client does not close it -- by :user:bdraco.

    The transport could remain open if the client did not close it. This change ensures the transport is closed when the client does not close it.

... (truncated)

Commits

Updates pydantic-settings from 2.2.0 to 2.2.1

Release notes

Sourced from pydantic-settings's releases.

v2.2.1

What's Changed

New Contributors

Full Changelog: pydantic/pydantic-settings@v2.2.0...v2.2.1

Commits
  • 7e5731a Prepare release 2.2.1 (#242)
  • b3a67e9 Revert "Allow nested env var source to override nested init source." (#243)
  • 548532b Replace tomlkit with tomli and remove toml_file_encoding config (#236)
  • 3652fbd Fix InitSource bug in case of nested model using alias (#240)
  • 859805a respect env_prefix when extra allowed (#238)
  • See full diff in compare view

Updates pydis-core from 10.7.0 to 11.1.0

Release notes

Sourced from pydis-core's releases.

v11.1.0

What's Changed

Full Changelog: python-discord/bot-core@v11.0.1...v11.1.0

v11.0.1

What's Changed

Full Changelog: python-discord/bot-core@v11.0.0...v11.0.1

v11.0.0

Breaking Changes

This release has a number of breaking changes.

  1. Pydantic 1.x is no longer supported. You can follow the Pydantic migration guide if you havne't updated yet.
  2. fakeredis is no longer installed along side the async-rediscache extra. If you need fakeredis you can use the [fakeredis] extra. You can also use either [all] or [async-rediscache,fakeredis] to install both.
  3. Python 3.10 is no longer supported.
  4. Boolean default and boolean-typed positional arguments in function definition are now keyword args only. The arg names and functions are listed below.
    • sync_app_commands in pydis_core.BotBase.load_extensions()
    • should_raise in pydis_core.site_api.APIClient.maybe_raise_for_status()
    • fail_silently in pydis_core.utils.checks.in_whitelist_check()
    • All args other than pagination_emojis, lines, ctx, embed in pydis_core.utils.pagination.LinePaginator.paginate()

What's Changed

Full Changelog: python-discord/bot-core@v10.7.0...v11.0.0

Changelog

Sourced from pydis-core's changelog.

.. See docs for details on formatting your entries https://releases.readthedocs.io/en/latest/concepts.html

Changelog

  • :release:11.1.0 <30th March 2024>

  • :support:210 Drop the restriction that meant fakeredis could not be installed on Python 3.12 as lupa now supports 3.12

  • :release:11.0.1 <20th March 2024>

  • 🐛209 Extract original error from :obj:discord.ext.commands.errors.CommandInvokeError before handling it.

  • :release:11.0.0 <18th March 2024>

  • :breaking:208 Split fakeredis optional dependency from the async-rediscache extra. You can now install with [fakeredis] to just install fakeredis (with lua support), [async-rediscache] to install just async-rediscache, or use either [all] or [async-rediscache,fakeredis] to install both. This allows users who do no rely on fakeredis to install in 3.12 environments.

  • :support:208 Add support for Python 3.12. Be aware, at time of writing, our usage of fakeredis does not currently support 3.12. This is due to :literal-url:this lupa issue<https://github.com/scoder/lupa/issues/245>. Lupa is required by async-rediscache for lua script support within fakeredis. As such, fakeredis can not be installed in a Python 3.12 environment.

  • :breaking:208 Drop support for Python 3.10

  • :breaking:208 Drop support for Pydantic 1.X

  • :support:208 Bump ruff to 0.3.0 and target Python 3.11 now that 3.10 isn't supported.

  • :breaking:207 Enable more ruff linting rules. See :literal-url:GitHub release notes <https://github.com/python-discord/bot-core/releases/tag/v11.0.0> for breaking changes.

  • :support:206 Bump ruff from 0.1.15 to 0.2.2, using the new lint config namespace, and linting with the new rules.

  • :feature:205 Add :obj:pydis_core.utils.error_handling.commands.abc.AbstractCommandErrorHandler and :obj:pydis_core.utils.error_handling.commands.manager.CommandErrorManager to implement and register command error handlers independantly.

  • :support:204 Document the instance attributes of :obj:pydis_core.BotBase.

  • :release:10.7.0 <30th January 2024>

  • :feature:158 Add locking utilities for controlling concurrency logic

  • :support:202 Bump various development dependencies and CI workflow action versions

  • :feature:194 Add the :obj:pydis_core.utils.interactions.user_has_access helper function, that returns whether the given user is in the allowed_users list, or has a role from allowed_roles.

  • :release:10.6.0 <30th January 2024>

  • :feature:189 Add :obj:pydis_core.utils.pagination.LinePaginator which allows users to paginate over content using Embeds, with emoji reactions facilitating navigation.

  • :feature:189 Add :obj:pydis_core.utils.messages.reaction_check, a predicate that dictates whether a user has the right to add a specific set of reactions based on certain criteria.

  • :feature:199 Port common discord.commands checks from other bots to :obj:pydis_core.utils.checks.

  • :release:10.5.1 <14th December 2023>

  • 🐛200 Do not attempt to read response body if the HTTP response code is 204. Previously only :obj:pydis_core.site_api.APIClient.delete did this.

  • :release:10.5.0 <10th December 2023>

  • :support:197 Mark dependencies using tilde version specifiers. This is to allow user of pydis core to use newer versions of these libraries without us having to cut a new release.

  • :release:10.4.0 <26th October 2023>

  • :support:196 Bump aiodns to :literal-url:3.1.1 <https://github.com/saghul/aiodns/releases/tag/v3.1.1>.

  • :support:196 Bump many development dependencies.

  • :release:10.3.0 <19th September 2023>

  • :feature:195 Add log_format to pydis_core.utils.logging to allow for standardised logging across all services using pydis_core.

  • :feature:195 Set discord, websockets, chardet & async_rediscache loggers to warning level and asyncio to info level by default.

  • :release:10.2.0 <28th August 2023>

... (truncated)

Commits
  • 88c2eb6 Bump version to 11.1.0
  • 7a3d134 Add changelog entry for fakeredis 3.12 support
  • 578b221 Remove the requirement for <3.12 for fakeredis
  • 301d15c Lint repo with new ruff rules
  • 4b09c30 Ensure project root is on sys path before importing the docs module
  • edff2a8 Bump dev deps to latest
  • 57ddc0f Release v11.0.1
  • b6a888d Extract original error upon exceptions, if any (#209)
  • 1c35bf5 Bump version to 11.0.0
  • dfda554 reflect changes in changelog
  • Additional commits viewable in compare view

Updates rapidfuzz from 3.6.1 to 3.8.1

Release notes

Sourced from rapidfuzz's releases.

Release 3.8.1

Fixed

  • use the correct version of rapidfuzz-cpp when building against a system installed version

Release 3.8.0

Added

  • added process.cpdist which allows pairwise comparison of two collection of inputs

Fixed

  • fix some minor errors in the type hints
  • fix potentially incorrect results of JaroWinkler when using high prefix weights

Release 3.7.0

Changed

  • reduce import time

Release 3.6.2

Changed

  • upgrade to Cython==3.0.9

Fixed

  • upgrade rapidfuzz-cpp which includes a fix for build issues on some compilers
  • fix some issues with the sphinx config
Changelog

Sourced from rapidfuzz's changelog.

Changelog

[3.8.1] - 2024-04-07 ^^^^^^^^^^^^^^^^^^^^ Fixed

* use the correct version of ``rapidfuzz-cpp`` when building against a system installed version

[3.8.0] - 2024-04-06 ^^^^^^^^^^^^^^^^^^^^ Added

  • added process.cpdist which allows pairwise comparison of two collection of inputs

Fixed

- fix some minor errors in the type hints
- fix potentially incorrect results of JaroWinkler when using high prefix weights

[3.7.0] - 2024-03-21 ^^^^^^^^^^^^^^^^^^^^ Changed

  • reduce importtime

[3.6.2] - 2024-03-05 ^^^^^^^^^^^^^^^^^^^^

Changed

* upgrade to ``Cython==3.0.9``

Fixed

* upgrade ``rapidfuzz-cpp`` which includes a fix for build issues on some compilers
* fix some issues with the sphinx config

[3.6.1] - 2023-12-28
^^^^^^^^^^^^^^^^^^^^
Fixed

  • fix overflow error on systems with sizeof(size_t) &lt; 8

[3.6.0] - 2023-12-26 ^^^^^^^^^^^^^^^^^^^^ Fixed

&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>

<ul>
<li><a href="https://github.com/rapidfuzz/RapidFuzz/commit/8ea97234de24272a162dc82441b4a5f23a324f6a&quot;&gt;&lt;code&gt;8ea9723&lt;/code&gt;&lt;/a> set python version</li>
<li><a href="https://github.com/rapidfuzz/RapidFuzz/commit/95d981b4c01ddac61ab416facf31dd1759baadac&quot;&gt;&lt;code&gt;95d981b&lt;/code&gt;&lt;/a> install further testing dependencies after build</li>
<li><a href="https://github.com/rapidfuzz/RapidFuzz/commit/4bb2bf9f5093bb9dc2fccb70172590d185a7a135&quot;&gt;&lt;code&gt;4bb2bf9&lt;/code&gt;&lt;/a> install testing dependencies after build</li>
<li><a href="https://github.com/rapidfuzz/RapidFuzz/commit/758ff6ef7c47b0d94fdb512311139977d0c5353f&quot;&gt;&lt;code&gt;758ff6e&lt;/code&gt;&lt;/a> further ci fixes</li>
<li><a href="https://github.com/rapidfuzz/RapidFuzz/commit/825578d25a89952b4d31b0e2eb54c6031e7f3e9f&quot;&gt;&lt;code&gt;825578d&lt;/code&gt;&lt;/a> improve ci</li>
<li><a href="https://github.com/rapidfuzz/RapidFuzz/commit/7c89c31533dcefde3e8cbd368497b55c75b701b1&quot;&gt;&lt;code&gt;7c89c31&lt;/code&gt;&lt;/a> update rapidfuzz-cpp</li>
<li><a href="https://github.com/rapidfuzz/RapidFuzz/commit/dea0bd18014a6f5f505bdedf669e680171e8a120&quot;&gt;&lt;code&gt;dea0bd1&lt;/code&gt;&lt;/a> run tests to detect broken build</li>
<li><a href="https://github.com/rapidfuzz/RapidFuzz/commit/88dc7cd6d679a0081705babb3b911e8369eb8883&quot;&gt;&lt;code&gt;88dc7cd&lt;/code&gt;&lt;/a> use proper taskflow version</li>
<li><a href="https://github.com/rapidfuzz/RapidFuzz/commit/cf788b9045ec2999c9f82cb74e5cc598a9d5dd9e&quot;&gt;&lt;code&gt;cf788b9&lt;/code&gt;&lt;/a> fix test for system installation</li>
<li><a href="https://github.com/rapidfuzz/RapidFuzz/commit/02ea43288aabcc633dabf98a32a4e6840984639f&quot;&gt;&lt;code&gt;02ea432&lt;/code&gt;&lt;/a> tag 3.8.1</li>
<li>Additional commits viewable in <a href="https://github.com/rapidfuzz/RapidFuzz/compare/v3.6.1...v3.8.1&quot;&gt;compare view</a></li>
</ul>
</details>

<br />

Updates sentry-sdk from 1.40.4 to 1.45.0

Release notes

Sourced from sentry-sdk's releases.

1.45.0

This is the final 1.x release for the forseeable future. Development will continue on the 2.x release line. The first 2.x version will be available in the next few weeks.

Various fixes & improvements

  • Allow to upsert monitors (#2929) by @​sentrivana

    It's now possible to provide monitor_config to the monitor decorator/context manager directly:

    from sentry_sdk.crons import monitor
    

    All keys except schedule are optional

    monitor_config = { "schedule": {"type": "crontab", "value": "0 0 * * *"}, "timezone": "Europe/Vienna", "checkin_margin": 10, "max_runtime": 10, "failure_issue_threshold": 5, "recovery_threshold": 5, }

    @​monitor(monitor_slug='<monitor-slug>', monitor_config=monitor_config) def tell_the_world(): print('My scheduled task...')

    Check out the cron docs for details.

  • Add Django signals_denylist to filter signals that are attached to by signals_spans (#2758) by @​lieryan

    If you want to exclude some Django signals from performance tracking, you can use the new signals_denylist Django option:

    import django.db.models.signals
    import sentry_sdk
    

    sentry_sdk.init( ... integrations=[ DjangoIntegration( ... signals_denylist=[ django.db.models.signals.pre_init, django.db.models.signals.post_init, ], ), ], )

... (truncated)

Changelog

Sourced from sentry-sdk's changelog.

1.45.0

This is the final 1.x release for the forseeable future. Development will continue on the 2.x release line. The first 2.x version will be available in the next few weeks.

Various fixes & improvements

  • Allow to upsert monitors (#2929) by @​sentrivana

    It's now possible to provide monitor_config to the monitor decorator/context manager directly:

    from sentry_sdk.crons import monitor
    

    All keys except schedule are optional

    monitor_config = { "schedule": {"type": "crontab", "value": "0 0 * * *"}, "timezone": "Europe/Vienna", "checkin_margin": 10, "max_runtime": 10, "failure_issue_threshold": 5, "recovery_threshold": 5, }

    @​monitor(monitor_slug='<monitor-slug>', monitor_config=monitor_config) def tell_the_world(): print('My scheduled task...')

    Check out the cron docs for details.

  • Add Django signals_denylist to filter signals that are attached to by signals_spans (#2758) by @​lieryan

    If you want to exclude some Django signals from performance tracking, you can use the new signals_denylist Django option:

    import django.db.models.signals
    import sentry_sdk
    

    sentry_sdk.init( ... integrations=[ DjangoIntegration( ... signals_denylist=[ django.db.models.signals.pre_init, django.db.models.signals.post_init, ], ), ], )

... (truncated)

Commits
  • 51a906c Update CHANGELOG.md
  • 7570e39 release: 1.45.0
  • e22abb6 fix(metrics): Change data_category from statsd to metric_bucket (#2954)
  • fab65e6 feat(metrics): New normalization of keys, values, units (#2946)
  • a584653 feat(typing): Make monitor_config a TypedDict (#2931)
  • a1ab339 feat(metrics): Add value, unit to before_emit_metric (#2958)
  • 18ccb8f chore: Remove experimental metric summary options (#2957)
  • a422dd7 fix(profiler): Accessing mro might throw a ValueError (#2952)
  • 11e1f9a feat(integrations): Add django signals_denylist to filter signals that are at...
  • f5ec34c build(deps): bump types-protobuf from 4.24.0.20240311 to 4.24.0.20240408 (#2941)
  • Additional commits viewable in compare view

Updates sqlalchemy from 2.0.27 to 2.0.29

Release notes

Sourced from sqlalchemy's releases.

2.0.29

Released: March 23, 2024

orm

  • [orm] [usecase] Added support for the PEP 695 TypeAliasType construct as well as the python 3.12 native type keyword to work with ORM Annotated Declarative form when using these constructs to link to a PEP 593 Annotated container, allowing the resolution of the Annotated to proceed when these constructs are used in a _orm.Mapped typing container.

    References: #11130

  • [orm] [bug] Fixed Declarative issue where typing a relationship using _orm.Relationship rather than _orm.Mapped would inadvertently pull in the "dynamic" relationship loader strategy for that attribute.

    References: #10611

  • [orm] [bug] Fixed issue in ORM annotated declarative where using _orm.mapped_column() with an _orm.mapped_column.index or _orm.mapped_column.unique setting of False would be overridden by an incoming Annotated element that fea...

    Description has been truncated

Bumps the python-dependencies group with 12 updates:

| Package | From | To |
| --- | --- | --- |
| [mypy](https://github.com/python/mypy) | `1.8.0` | `1.9.0` |
| [pip-tools](https://github.com/jazzband/pip-tools) | `7.4.0` | `7.4.1` |
| [pre-commit](https://github.com/pre-commit/pre-commit) | `3.6.1` | `3.7.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.2.2` | `0.3.7` |
| [aiohttp](https://github.com/aio-libs/aiohttp) | `3.9.3` | `3.9.4` |
| [pydantic-settings](https://github.com/pydantic/pydantic-settings) | `2.2.0` | `2.2.1` |
| [pydis-core](https://github.com/python-discord/bot-core) | `10.7.0` | `11.1.0` |
| [rapidfuzz](https://github.com/rapidfuzz/RapidFuzz) | `3.6.1` | `3.8.1` |
| [sentry-sdk](https://github.com/getsentry/sentry-python) | `1.40.4` | `1.45.0` |
| [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) | `2.0.27` | `2.0.29` |
| [tldextract](https://github.com/john-kurkowski/tldextract) | `5.1.1` | `5.1.2` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.0.1` | `8.1.1` |


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 `pip-tools` from 7.4.0 to 7.4.1
- [Release notes](https://github.com/jazzband/pip-tools/releases)
- [Changelog](https://github.com/jazzband/pip-tools/blob/main/CHANGELOG.md)
- [Commits](jazzband/pip-tools@7.4.0...7.4.1)

Updates `pre-commit` from 3.6.1 to 3.7.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@v3.6.1...v3.7.0)

Updates `ruff` from 0.2.2 to 0.3.7
- [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.2.2...v0.3.7)

Updates `aiohttp` from 3.9.3 to 3.9.4
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](aio-libs/aiohttp@v3.9.3...v3.9.4)

Updates `pydantic-settings` from 2.2.0 to 2.2.1
- [Release notes](https://github.com/pydantic/pydantic-settings/releases)
- [Commits](pydantic/pydantic-settings@v2.2.0...v2.2.1)

Updates `pydis-core` from 10.7.0 to 11.1.0
- [Release notes](https://github.com/python-discord/bot-core/releases)
- [Changelog](https://github.com/python-discord/bot-core/blob/main/docs/changelog.rst)
- [Commits](python-discord/bot-core@v10.7.0...v11.1.0)

Updates `rapidfuzz` from 3.6.1 to 3.8.1
- [Release notes](https://github.com/rapidfuzz/RapidFuzz/releases)
- [Changelog](https://github.com/rapidfuzz/RapidFuzz/blob/main/CHANGELOG.rst)
- [Commits](rapidfuzz/RapidFuzz@v3.6.1...v3.8.1)

Updates `sentry-sdk` from 1.40.4 to 1.45.0
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-python@1.40.4...1.45.0)

Updates `sqlalchemy` from 2.0.27 to 2.0.29
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

Updates `tldextract` from 5.1.1 to 5.1.2
- [Release notes](https://github.com/john-kurkowski/tldextract/releases)
- [Changelog](https://github.com/john-kurkowski/tldextract/blob/master/CHANGELOG.md)
- [Commits](john-kurkowski/tldextract@5.1.1...5.1.2)

Updates `pytest` from 8.0.1 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.1...8.1.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: pip-tools
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: aiohttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: pydantic-settings
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: pydis-core
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-dependencies
- dependency-name: rapidfuzz
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: sqlalchemy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: tldextract
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 15, 2024
@shenanigansd shenanigansd merged commit e09f9d5 into main Apr 15, 2024
8 of 10 checks passed
@shenanigansd shenanigansd deleted the dependabot/pip/python-dependencies-cb214b92f4 branch April 15, 2024 19:34
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