dotkom / onlineweb4

Web pages for Online, Linjeforeningen for Informatikk at NTNU
https://online.ntnu.no
MIT License
48 stars 23 forks source link

Bump the patches group with 6 updates #3203

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps the patches group with 6 updates:

Package From To
google-api-python-client 2.136.0 2.137.0
sentry-sdk 2.8.0 2.10.0
boto3 1.34.141 1.34.144
django-storages 1.14.3 1.14.4
coverage 7.5.4 7.6.0
ruff 0.5.1 0.5.2

Updates google-api-python-client from 2.136.0 to 2.137.0

Release notes

Sourced from google-api-python-client's releases.

v2.137.0

2.137.0 (2024-07-09)

Features

Bug Fixes

Commits


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 boto3 from 1.34.141 to 1.34.144

Commits
  • 86c6026 Merge branch 'release-1.34.144'
  • b3936b5 Bumping version to 1.34.144
  • 074b8fc Add changelog entries from botocore
  • 5b7ef37 Merge branch 'release-1.34.143'
  • f225e61 Merge branch 'release-1.34.143' into develop
  • 5527d5b Bumping version to 1.34.143
  • 5b20752 Add changelog entries from botocore
  • dfbe878 Merge branch 'release-1.34.142'
  • f902982 Merge branch 'release-1.34.142' into develop
  • a32f621 Bumping version to 1.34.142
  • Additional commits viewable in compare view


Updates django-storages from 1.14.3 to 1.14.4

Changelog

Sourced from django-storages's changelog.

1.14.4 (2024-07-09)


S3

  • Pull AWS_SESSION_TOKEN from the environment ([#1399](https://github.com/jschneier/django-storages/issues/1399)_)
  • Fix newline handling for text mode files ([#1381](https://github.com/jschneier/django-storages/issues/1381)_)
  • Do not sign URLs when querystring_auth=False e.g public buckets or static files ([#1402](https://github.com/jschneier/django-storages/issues/1402)_)
  • Cache CloudFront Signers ([#1417](https://github.com/jschneier/django-storages/issues/1417)_)

Azure

  • Fix collectstatic --clear ([#1403](https://github.com/jschneier/django-storages/issues/1403)_)
  • Add mode kwarg to .url() to support creation of signed URLs for upload ([#1414](https://github.com/jschneier/django-storages/issues/1414)_)
  • Fix fetching user delegation key when custom domain is enabled ([#1418](https://github.com/jschneier/django-storages/issues/1418)_)

SFTP

  • Add implementations of get_(modified|accessed)_time ([#1347](https://github.com/jschneier/django-storages/issues/1347)_)

Dropbox

  • Add support for Python 3.12 ([#1421](https://github.com/jschneier/django-storages/issues/1421)_)

FTP

  • Conform to BaseStorage interface ([#1423](https://github.com/jschneier/django-storages/issues/1423)_)
  • Add FTP_ALLOW_OVERWRITE setting ([#1424](https://github.com/jschneier/django-storages/issues/1424)_)

.. _#1399: jschneier/django-storages#1399 .. _#1381: jschneier/django-storages#1381 .. _#1402: jschneier/django-storages#1402 .. _#1403: jschneier/django-storages#1403 .. _#1414: jschneier/django-storages#1414 .. _#1417: jschneier/django-storages#1417 .. _#1418: jschneier/django-storages#1418 .. _#1347: jschneier/django-storages#1347 .. _#1421: jschneier/django-storages#1421 .. _#1423: jschneier/django-storages#1423 .. _#1424: jschneier/django-storages#1424

Commits


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 ruff from 0.5.1 to 0.5.2

Release notes

Sourced from ruff's releases.

0.5.2

Release Notes

Preview features

  • Use space separator before parenthesized expressions in comprehensions with leading comments (#12282)
  • [flake8-async] Update ASYNC100 to include anyio and asyncio (#12221)
  • [flake8-async] Update ASYNC109 to include anyio and asyncio (#12236)
  • [flake8-async] Update ASYNC110 to include anyio and asyncio (#12261)
  • [flake8-async] Update ASYNC115 to include anyio and asyncio (#12262)
  • [flake8-async] Update ASYNC116 to include anyio and asyncio (#12266)

Rule changes

  • [flake8-return] Exempt properties from explicit return rule (RET501) (#12243)
  • [numpy] Add np.NAN-to-np.nan diagnostic (#12292)
  • [refurb] Make list-reverse-copy an unsafe fix (#12303)

Server

  • Consider include and extend-include settings in native server (#12252)
  • Include nested configurations in settings reloading (#12253)

CLI

  • Omit code frames for fixes with empty ranges (#12304)
  • Warn about formatter incompatibility for D203 (#12238)

Bug fixes

  • Make cache-write failures non-fatal on Windows (#12302)
  • Treat not operations as boolean tests (#12301)
  • [flake8-bandit] Avoid S310 violations for HTTP-safe f-strings (#12305)
  • [flake8-bandit] Support explicit string concatenations in S310 HTTP detection (#12315)
  • [flake8-bandit] fix S113 false positive for httpx without timeout argument (#12213)
  • [pycodestyle] Remove "non-obvious" allowance for E721 (#12300)
  • [pyflakes] Consider with blocks as single-item branches for redefinition analysis (#12311)
  • [refurb] Restrict forwarding for newline argument in open() calls to Python versions >= 3.10 (#12244)

Documentation

  • Update help and documentation to reflect --output-format full default (#12248)

Performance

  • Use more threads when discovering Python files (#12258)

Install ruff 0.5.2

Install prebuilt binaries via shell script

... (truncated)

Changelog

Sourced from ruff's changelog.

0.5.2

Preview features

  • Use space separator before parenthesized expressions in comprehensions with leading comments (#12282)
  • [flake8-async] Update ASYNC100 to include anyio and asyncio (#12221)
  • [flake8-async] Update ASYNC109 to include anyio and asyncio (#12236)
  • [flake8-async] Update ASYNC110 to include anyio and asyncio (#12261)
  • [flake8-async] Update ASYNC115 to include anyio and asyncio (#12262)
  • [flake8-async] Update ASYNC116 to include anyio and asyncio (#12266)

Rule changes

  • [flake8-return] Exempt properties from explicit return rule (RET501) (#12243)
  • [numpy] Add np.NAN-to-np.nan diagnostic (#12292)
  • [refurb] Make list-reverse-copy an unsafe fix (#12303)

Server

  • Consider include and extend-include settings in native server (#12252)
  • Include nested configurations in settings reloading (#12253)

CLI

  • Omit code frames for fixes with empty ranges (#12304)
  • Warn about formatter incompatibility for D203 (#12238)

Bug fixes

  • Make cache-write failures non-fatal on Windows (#12302)
  • Treat not operations as boolean tests (#12301)
  • [flake8-bandit] Avoid S310 violations for HTTP-safe f-strings (#12305)
  • [flake8-bandit] Support explicit string concatenations in S310 HTTP detection (#12315)
  • [flake8-bandit] fix S113 false positive for httpx without timeout argument (#12213)
  • [pycodestyle] Remove "non-obvious" allowance for E721 (#12300)
  • [pyflakes] Consider with blocks as single-item branches for redefinition analysis (#12311)
  • [refurb] Restrict forwarding for newline argument in open() calls to Python versions >= 3.10 (#12244)

Documentation

  • Update help and documentation to reflect --output-format full default (#12248)

Performance

  • Use more threads when discovering Python files (#12258)
Commits
  • dc8db1a Make some amendments to the v0.5.2 changelog (#12319)
  • 18c364d [flake8-bandit] Support explicit string concatenations in S310 HTTP detecti...
  • 7a7c601 Bump version to v0.5.2 (#12316)
  • 3bfbbbc Avoid allocation when validating HTTP and HTTPS prefixes (#12313)
  • 1a3ee45 [flake8-bandit] Avoid S310 violations for HTTP-safe f-strings (#12305)
  • 6584886 [refurb] Make list-reverse-copy an unsafe fix (#12303)
  • 456d6a2 Consider with blocks as single-item branches (#12311)
  • 940df67 Omit code frames for fixes with empty ranges (#12304)
  • e58713e Make cache-write failures non-fatal (#12302)
  • aa5c53b Remove 'non-obvious' allowance for E721 (#12300)
  • 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