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

Deps: Bump the python-packages group across 1 directory with 7 updates #913

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 19, 2024

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

Package From To
sentry-sdk 2.8.0 2.10.0
astroid 3.2.2 3.2.3
coverage 7.5.4 7.6.0
exceptiongroup 1.2.1 1.2.2
pydyf 0.10.0 0.11.0
sqlparse 0.5.0 0.5.1
tomlkit 0.12.5 0.13.0

Updates sentry-sdk from 2.8.0 to 2.10.0

Release notes

Sourced from sentry-sdk's releases.

2.10.0

Various fixes & improvements

  • Add client cert and key support to HttpTransport (#3258) by @​grammy-jiang

    Add cert_file and key_file to your sentry_sdk.init to use a custom client cert and key. Alternatively, the environment variables CLIENT_CERT_FILE and CLIENT_KEY_FILE can be used as well.

  • OpenAI: Lazy initialize tiktoken to avoid http at import time (#3287) by @​colin-sentry

  • OpenAI, Langchain: Make tiktoken encoding name configurable + tiktoken usage opt-in (#3289) by @​colin-sentry

    Fixed a bug where having certain packages installed along the Sentry SDK caused an HTTP request to be made to OpenAI infrastructure when the Sentry SDK was initialized. The request was made when the tiktoken package and at least one of the openai or langchain packages were installed.

    The request was fetching a tiktoken encoding in order to correctly measure token usage in some OpenAI and Langchain calls. This behavior is now opt-in. The choice of encoding to use was made configurable as well. To opt in, set the tiktoken_encoding_name parameter in the OpenAPI or Langchain integration.

    sentry_sdk.init(
        integrations=[
            OpenAIIntegration(tiktoken_encoding_name="cl100k_base"),
            LangchainIntegration(tiktoken_encoding_name="cl100k_base"),
        ],
    )
  • PyMongo: Send query description as valid JSON (#3291) by @​0Calories

  • Remove Python 2 compatibility code (#3284) by @​szokeasaurusrex

  • Fix sentry_sdk.init type hint (#3283) by @​szokeasaurusrex

  • Deprecate hub in Profile (#3270) by @​szokeasaurusrex

  • Stop using Hub in init (#3275) by @​szokeasaurusrex

  • Delete _should_send_default_pii (#3274) by @​szokeasaurusrex

  • Remove Hub usage in conftest (#3273) by @​szokeasaurusrex

  • Rename debug logging filter (#3260) by @​szokeasaurusrex

  • Update NoOpSpan.finish signature (#3267) by @​szokeasaurusrex

  • Remove Hub in Transaction.finish (#3267) by @​szokeasaurusrex

  • Remove Hub from capture_internal_exception logic (#3264) by @​szokeasaurusrex

  • Improve Scope._capture_internal_exception type hint (#3264) by @​szokeasaurusrex

  • Correct ExcInfo type (#3266) by @​szokeasaurusrex

  • Stop using Hub in tracing_utils (#3269) by @​szokeasaurusrex

2.9.0

Various fixes & improvements

Changelog

Sourced from sentry-sdk's changelog.

2.10.0

Various fixes & improvements

  • Add client cert and key support to HttpTransport (#3258) by @​grammy-jiang

    Add cert_file and key_file to your sentry_sdk.init to use a custom client cert and key. Alternatively, the environment variables CLIENT_CERT_FILE and CLIENT_KEY_FILE can be used as well.

  • OpenAI: Lazy initialize tiktoken to avoid http at import time (#3287) by @​colin-sentry

  • OpenAI, Langchain: Make tiktoken encoding name configurable + tiktoken usage opt-in (#3289) by @​colin-sentry

    Fixed a bug where having certain packages installed along the Sentry SDK caused an HTTP request to be made to OpenAI infrastructure when the Sentry SDK was initialized. The request was made when the tiktoken package and at least one of the openai or langchain packages were installed.

    The request was fetching a tiktoken encoding in order to correctly measure token usage in some OpenAI and Langchain calls. This behavior is now opt-in. The choice of encoding to use was made configurable as well. To opt in, set the tiktoken_encoding_name parameter in the OpenAPI or Langchain integration.

    sentry_sdk.init(
        integrations=[
            OpenAIIntegration(tiktoken_encoding_name="cl100k_base"),
            LangchainIntegration(tiktoken_encoding_name="cl100k_base"),
        ],
    )
  • PyMongo: Send query description as valid JSON (#3291) by @​0Calories

  • Remove Python 2 compatibility code (#3284) by @​szokeasaurusrex

  • Fix sentry_sdk.init type hint (#3283) by @​szokeasaurusrex

  • Deprecate hub in Profile (#3270) by @​szokeasaurusrex

  • Stop using Hub in init (#3275) by @​szokeasaurusrex

  • Delete _should_send_default_pii (#3274) by @​szokeasaurusrex

  • Remove Hub usage in conftest (#3273) by @​szokeasaurusrex

  • Rename debug logging filter (#3260) by @​szokeasaurusrex

  • Update NoOpSpan.finish signature (#3267) by @​szokeasaurusrex

  • Remove Hub in Transaction.finish (#3267) by @​szokeasaurusrex

  • Remove Hub from capture_internal_exception logic (#3264) by @​szokeasaurusrex

  • Improve Scope._capture_internal_exception type hint (#3264) by @​szokeasaurusrex

  • Correct ExcInfo type (#3266) by @​szokeasaurusrex

  • Stop using Hub in tracing_utils (#3269) by @​szokeasaurusrex

2.9.0

Various fixes & improvements

... (truncated)

Commits
  • b026dbd Update CHANGELOG.md
  • c45640b release: 2.10.0
  • 5bad5c6 feat(openai): Make tiktoken encoding name configurable + tiktoken usage opt-i...
  • 84a2afc feat(pymongo): Send query description as valid JSON (#3291)
  • 301c4b8 OpenAI: Lazy initialize tiktoken to avoid http at import time (#3287)
  • ae034ab ref(consts): Remove Python 2 compatibility code (#3284)
  • 8a95971 docs(init): Fix sentry_sdk.init type hint (#3283)
  • 4fb51f2 Add the client cert and key support to HttpTransport (#3258)
  • 06d5da1 ref(profiling): Deprecate hub in Profile (#3270)
  • 1e82809 ref(init): Stop using Hub in init
  • Additional commits viewable in compare view

Updates astroid from 3.2.2 to 3.2.3

Changelog

Sourced from astroid's changelog.

What's New in astroid 3.2.3?

Release date: 2024-07-11

  • Fix AssertionError when inferring a property consisting of a partial function.

Closes pylint-dev/pylint#9214

Commits
  • 30ea720 Bump astroid to 3.2.3, update changelog (#2465)
  • a2d8470 Fix AssertionError when inferring a property consisting of a partial function...
  • 006b1ac Upgrade pylint in pre-commit config (#2440)
  • 7c7c1b3 Pin numpy below 2.0.0
  • 76be7ea Fix unreachable-code
  • See full diff in compare view

Updates coverage from 7.5.4 to 7.6.0

Changelog

Sourced from coverage's changelog.

Version 7.6.0 — 2024-07-11

  • Exclusion patterns can now be multi-line, thanks to Daniel Diniz <pull 1807_>. This enables many interesting exclusion use-cases, including those requested in issues 118 <issue 118_> (entire files), 996 <issue 996_>_ (multiple lines only when appearing together), 1741 <issue 1741_>_ (remainder of a function), and 1803 <issue 1803_>_ (arbitrary sequence of marked lines). See the :ref:multi_line_exclude section of the docs for more details and examples.

  • The JSON report now includes per-function and per-class coverage information. Thanks to Daniel Diniz <pull 1809_>_ for getting the work started. This closes issue 1793_ and issue 1532_.

  • Fixed an incorrect calculation of "(no class)" lines in the HTML classes report.

  • Python 3.13.0b3 is supported.

.. _issue 118: nedbat/coveragepy#118 .. _issue 996: nedbat/coveragepy#996 .. _issue 1532: nedbat/coveragepy#1532 .. _issue 1741: nedbat/coveragepy#1741 .. _issue 1793: nedbat/coveragepy#1793 .. _issue 1803: nedbat/coveragepy#1803 .. _pull 1807: nedbat/coveragepy#1807 .. _pull 1809: nedbat/coveragepy#1809

.. _changes_7-5-4:

Commits
  • 59a3cd7 docs: sample HTML for 7.6.0
  • 7f27fa7 docs: prep for 7.6.0
  • 6a268b0 docs: issues closed by the json region reporting
  • 5bfe9e7 chore: bump actions/setup-python from 5.1.0 to 5.1.1 (#1814)
  • ab609ef docs: mention json region reporting in the changes
  • 92d96b9 fix: json report needs 'no class' and 'no function' also
  • e47e7e7 refactor: move duplicate code into methods
  • 3d6be2b fix: json format should bump for regions
  • a9992d2 test: add a test of json regions with branches
  • 8b89764 test: json expectations should have explicit format number
  • Additional commits viewable in compare view

Updates exceptiongroup from 1.2.1 to 1.2.2

Release notes

Sourced from exceptiongroup's releases.

1.2.2

  • Removed an assert in exceptiongroup._formatting that caused compatibility issues with Sentry (#123)
Changelog

Sourced from exceptiongroup's changelog.

Version history

This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.

1.2.2

  • Removed an assert in exceptiongroup._formatting that caused compatibility issues with Sentry ([#123](https://github.com/agronholm/exceptiongroup/issues/123) <https://github.com/agronholm/exceptiongroup/issues/123>_)

1.2.1

  • Updated the copying of __notes__ to match CPython behavior (PR by CF Bolz-Tereick)
  • Corrected the type annotation of the exception handler callback to accept a BaseExceptionGroup instead of BaseException
  • Fixed type errors on Python < 3.10 and the type annotation of suppress() (PR by John Litborn)

1.2.0

  • Added special monkeypatching if Apport <https://github.com/canonical/apport>_ has overridden sys.excepthook so it will format exception groups correctly (PR by John Litborn)
  • Added a backport of contextlib.suppress() from Python 3.12.1 which also handles suppressing exceptions inside exception groups
  • Fixed bare raise in a handler reraising the original naked exception rather than an exception group which is what is raised when you do a raise in an except* handler

1.1.3

  • catch() now raises a TypeError if passed an async exception handler instead of just giving a RuntimeWarning about the coroutine never being awaited. (#66, PR by John Litborn)
  • Fixed plain raise statement in an exception handler callback to work like a raise in an except* block
  • Fixed new exception group not being chained to the original exception when raising an exception group from exceptions raised in handler callbacks
  • Fixed type annotations of the derive(), subgroup() and split() methods to match the ones in typeshed

1.1.2

  • Changed handling of exceptions in exception group handler callbacks to not wrap a single exception in an exception group, as per CPython issue 103590 <https://github.com/python/cpython/issues/103590>_

1.1.1

  • Worked around

... (truncated)

Commits
  • 2399d54 Added the release version
  • bec9651 Removed problematic assert that caused compatibility issues
  • f3f0ff6 Updated Ruff configuration
  • bb43ee0 Fixed formatting tests failing on Python 3.13
  • eb8fbbc [pre-commit.ci] pre-commit autoupdate (#129)
  • 6ff8300 [pre-commit.ci] pre-commit autoupdate (#128)
  • 761933f [pre-commit.ci] pre-commit autoupdate (#127)
  • 1b43294 [pre-commit.ci] pre-commit autoupdate (#125)
  • dd87018 [pre-commit.ci] pre-commit autoupdate (#124)
  • 54d8b8d [pre-commit.ci] pre-commit autoupdate (#121)
  • Additional commits viewable in compare view

Updates pydyf from 0.10.0 to 0.11.0

Release notes

Sourced from pydyf's releases.

v0.11.0

New features

  • Remove deprecated version and identifier parameters
  • Change some function names for consistency
  • Allow extra operands for special colors

Contributors

  • Guillaume Ayoub
  • Lucie Anglade

Backers and sponsors

  • Spacinov
  • Kobalt
  • Grip Angebotssoftware
  • Manuel Barkhau
  • SimonSoft
  • Menutech
  • KontextWork
  • Simon Sapin
  • René Fritz
  • TrainingSparkle
  • Healthchecks.io
  • Hammerbacher
  • Docraptor
  • Advance Insight
  • Yanal-Yvez Fargialla
  • Morntag
  • Xavid
Changelog

Sourced from pydyf's changelog.

Version 0.11.0

Released on 2024-07-12.

New features:

  • Remove deprecated version and identifier parameters
  • Change some function names for consistency
  • Allow extra operands for special colors

Contributors:

  • Guillaume Ayoub
  • Lucie Anglade

Backers and sponsors:

  • Spacinov
  • Kobalt
  • Grip Angebotssoftware
  • Manuel Barkhau
  • SimonSoft
  • Menutech
  • KontextWork
  • Simon Sapin
  • René Fritz
  • TrainingSparkle
  • Healthchecks.io
  • Hammerbacher
  • Docraptor
  • Advance Insight
  • Yanal-Yvez Fargialla
  • Morntag
  • Xavid
Commits
  • 7a7bd38 Version 0.11.0
  • f4729b9 Fix bug with special color operands
  • 15a4625 Remove deprecated version and identifier parameters
  • bfe9716 Update API for consistency
  • 2235a33 Allow extra operands for special colors
  • d708348 Update changelog.rst
  • See full diff in compare view

Updates sqlparse from 0.5.0 to 0.5.1

Changelog

Sourced from sqlparse's changelog.

Release 0.5.1 (Jul 15, 2024)

Enhancements

  • New "compact" option for formatter. If set, the formatter tries to produce a more compact output by avoiding some line breaks (issue783).

Bug Fixes

  • The strip comments filter was a bit greedy and removed too much whitespace (issue772). Note: In some cases you might want to add strip_whitespace=True where you previously used just strip_comments=True. strip_comments did some of the work that strip_whitespace should do.
  • Fix error when splitting statements that contain multiple CASE clauses within a BEGIN block (issue784).
  • Fix whitespace removal with nested expressions (issue782).
  • Fix parsing and formatting of ORDER clauses containing NULLS FIRST or NULLS LAST (issue532).
Commits
  • 2664c9e Bump version.
  • b126ba5 Fix tokenization of order keywords (fixes #532).
  • 0c4902f Descend into subgroups when removing whitespace (fixes #782).
  • a8de06e Revert "Add regression test (#780)."
  • b253bb1 Add regression test (#780).
  • 791e25d Fix error when splitting statements that contain multiple CASE clauses within...
  • 073099d Update compact option to improve formatting
  • 3ea660e Code cleanup.
  • 974617d Add shortcut for running flake8 and pytest.
  • bf74d8b Add compact option to force a more compact formatting (fixes #783).
  • Additional commits viewable in compare view

Updates tomlkit from 0.12.5 to 0.13.0

Release notes

Sourced from tomlkit's releases.

0.13.0

What's Changed

New Contributors

Full Changelog: python-poetry/tomlkit@0.12.5...0.13.0

Changelog

Sourced from tomlkit's changelog.

[0.13.0] - 2024-07-10

Changed

  • Expect a tomlkit-specific error instead of TypeError from a custom encoder. (#355)
  • Drop support for Python older than 3.8. Remove 3.7 from the CI matrix.

Fixed

  • Fix the incompatiblity with 3.13 because of the datetime.replace() change. (#333)
  • Revert the change of parsing out-of-order tables. (#347)
  • Keep the nested out-of-order table. (#361)
Commits
  • 4d06dff chore: bump version to 0.13.0
  • 85aaf7a fix: keep the nested out of order table (#366)
  • f12ece3 chore(deps-dev): bump zipp from 3.15.0 to 3.19.1 (#365)
  • f4b2f74 chore(deps-dev): bump requests from 2.31.0 to 2.32.2 (#364)
  • 0747884 chore(deps-dev): bump urllib3 from 2.0.7 to 2.2.2 (#363)
  • d55d837 fix: Remove 3.7 from the CI matrix
  • 49daa69 chore(deps-dev): bump certifi from 2024.2.2 to 2024.7.4 (#362)
  • cce567c [pre-commit.ci] pre-commit autoupdate (#359)
  • 400057b fix: tomlkit 0.12.5 : Encoder contract interferes with external TypeError...
  • 22676f9 Update tests action (#357)
  • 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 python-packages group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [sentry-sdk](https://github.com/getsentry/sentry-python) | `2.8.0` | `2.10.0` |
| [astroid](https://github.com/pylint-dev/astroid) | `3.2.2` | `3.2.3` |
| [coverage](https://github.com/nedbat/coveragepy) | `7.5.4` | `7.6.0` |
| [exceptiongroup](https://github.com/agronholm/exceptiongroup) | `1.2.1` | `1.2.2` |
| [pydyf](https://github.com/CourtBouillon/pydyf) | `0.10.0` | `0.11.0` |
| [sqlparse](https://github.com/andialbrecht/sqlparse) | `0.5.0` | `0.5.1` |
| [tomlkit](https://github.com/sdispater/tomlkit) | `0.12.5` | `0.13.0` |



Updates `sentry-sdk` from 2.8.0 to 2.10.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@2.8.0...2.10.0)

Updates `astroid` from 3.2.2 to 3.2.3
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](pylint-dev/astroid@v3.2.2...v3.2.3)

Updates `coverage` from 7.5.4 to 7.6.0
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.5.4...7.6.0)

Updates `exceptiongroup` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/agronholm/exceptiongroup/releases)
- [Changelog](https://github.com/agronholm/exceptiongroup/blob/main/CHANGES.rst)
- [Commits](agronholm/exceptiongroup@1.2.1...1.2.2)

Updates `pydyf` from 0.10.0 to 0.11.0
- [Release notes](https://github.com/CourtBouillon/pydyf/releases)
- [Changelog](https://github.com/CourtBouillon/pydyf/blob/main/docs/changelog.rst)
- [Commits](CourtBouillon/pydyf@v0.10.0...v0.11.0)

Updates `sqlparse` from 0.5.0 to 0.5.1
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](andialbrecht/sqlparse@0.5.0...0.5.1)

Updates `tomlkit` from 0.12.5 to 0.13.0
- [Release notes](https://github.com/sdispater/tomlkit/releases)
- [Changelog](https://github.com/python-poetry/tomlkit/blob/master/CHANGELOG.md)
- [Commits](python-poetry/tomlkit@0.12.5...0.13.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: astroid
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: coverage
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: exceptiongroup
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: pydyf
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: sqlparse
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: tomlkit
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner July 19, 2024 10:06
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 19, 2024
@greenbonebot greenbonebot enabled auto-merge (rebase) July 19, 2024 10:07
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 22, 2024

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

@dependabot dependabot bot closed this Jul 22, 2024
auto-merge was automatically disabled July 22, 2024 04:59

Pull request was closed

@dependabot dependabot bot deleted the dependabot/pip/main/python-packages-ceeb3215fc branch July 22, 2024 04:59
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.

0 participants