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

⬆️(project) upgrade python dependencies #82

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 10, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pydantic-extra-types (changelog) ==2.7.0 -> ==2.8.0 age adoption passing confidence
pydantic-settings (changelog) ==2.2.1 -> ==2.3.1 age adoption passing confidence
pytest (changelog) ==8.2.1 -> ==8.2.2 age adoption passing confidence
ruff (source, changelog) ==0.4.7 -> ==0.4.8 age adoption passing confidence
sentry-sdk (changelog) ==2.3.1 -> ==2.5.1 age adoption passing confidence
sqlmodel ==0.0.18 -> ==0.0.19 age adoption passing confidence

Release Notes

pydantic/pydantic-extra-types (pydantic-extra-types)

v2.8.0

Compare Source

Refactor
Internal
Types
Dependencies
pydantic/pydantic-settings (pydantic-settings)

v2.3.1

Compare Source

What's Changed

Full Changelog: pydantic/pydantic-settings@v2.3.0...v2.3.1

v2.3.0

Compare Source

What's Changed

New Contributors

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

pytest-dev/pytest (pytest)

v8.2.2

Compare Source

pytest 8.2.2 (2024-06-04)

Bug Fixes

  • #​12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
  • #​12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
  • #​12381: Fix possible "Directory not empty" crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.

Improved Documentation

  • #​12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
  • #​12356: Added a subsection to the documentation for debugging flaky tests to mention
    lack of thread safety in pytest as a possible source of flakyness.
  • #​12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
astral-sh/ruff (ruff)

v0.4.8

Compare Source

Performance
  • Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#​11457)
Preview features
  • [flake8-bugbear] Implement return-in-generator (B901) (#​11644)
  • [flake8-pyi] Implement PYI063 (#​11699)
  • [pygrep_hooks] Check blanket ignores via file-level pragmas (PGH004) (#​11540)
Rule changes
  • [pyupgrade] Update UP035 for Python 3.13 and the latest version of typing_extensions (#​11693)
  • [numpy] Update NPY001 rule for NumPy 2.0 (#​11735)
Server
  • Formatting a document with syntax problems no longer spams a visible error popup (#​11745)
CLI
  • Add RDJson support for --output-format flag (#​11682)
Bug fixes
  • [pyupgrade] Write empty string in lieu of panic when fixing UP032 (#​11696)
  • [flake8-simplify] Simplify double negatives in SIM103 (#​11684)
  • Ensure the expression generator adds a newline before type statements (#​11720)
  • Respect per-file ignores for blanket and redirected noqa rules (#​11728)
getsentry/sentry-python (sentry-sdk)

v2.5.1

Compare Source

This change fixes a regression in our cron monitoring feature, which caused cron checkins not to be sent. The regression appears to have been introduced in version 2.4.0.

We recommend that all users, who use Cron monitoring and are currently running sentry-python ≥2.4.0, upgrade to this release as soon as possible!

Other fixes & improvements

v2.5.0

Compare Source

Various fixes & improvements
  • Allow to configure status codes to report to Sentry in Starlette and FastAPI (#​3008) by @​sentrivana

    By passing a new option to the FastAPI and Starlette integrations, you're now able to configure what
    status codes should be sent as events to Sentry. Here's how it works:

    from sentry_sdk.integrations.starlette import StarletteIntegration
    from sentry_sdk.integrations.fastapi import FastApiIntegration
    
    sentry_sdk.init(

...

  integrations=[
      StarletteIntegration(
          failed_request_status_codes=[403, range(500, 599)],
      ),
      FastApiIntegration(
          failed_request_status_codes=[403, range(500, 599)],
      ),
  ]

)


`failed_request_status_codes` expects a list of integers or containers (objects that allow membership checks via `in`)
of integers. Examples of valid `failed_request_status_codes`:

- `[500]` will only send events on HTTP 500.
- `[400, range(500, 599)]` will send events on HTTP 400 as well as the 500-599 range.
- `[500, 503]` will send events on HTTP 500 and 503.

The default is `[range(500, 599)]`.

See the [FastAPI](https://docs.sentry.io/platforms/python/integrations/fastapi/) and [Starlette](https://docs.sentry.io/platforms/python/integrations/starlette/) integration docs for more details.

- Support multiple keys with `cache_prefixes` (#​3136) by @​sentrivana
- Support integer Redis keys (#​3132) by @​sentrivana
- Update SDK version in CONTRIBUTING.md (#​3129) by @​sentrivana
- Bump actions/checkout from 4.1.4 to 4.1.5 (#​3067) by @​dependabot

v2.4.0

Compare Source

Various fixes & improvements
tiangolo/sqlmodel (sqlmodel)

v0.0.19

Compare Source

Fixes
  • 🐛 Fix pydantic EmailStr support and max_length in several String subclasses. PR #​966 by @​estebanx64.
  • 🐛 Fix set varchar limit when max_length is set on Pydantic models using Pydantic v2. PR #​963 by @​estebanx64.
Refactors
  • ♻️ Refactor generate select template to isolate templated code to the minimum. PR #​967 by @​tiangolo.
Upgrades
  • ⬆️ Update minimum SQLAlchemy version to 2.0.14 as that one includes TryCast used internally. PR #​964 by @​tiangolo.
Docs
  • ✏️ Fix broken link to @dataclass_transform (now PEP 681) in docs/features.md. PR #​753 by @​soof-golan.
Internal

Configuration

📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/python-dependencies branch from b42e484 to 9969e78 Compare June 10, 2024 20:26
| datasource | package              | from   | to     |
| ---------- | -------------------- | ------ | ------ |
| pypi       | pydantic-extra-types | 2.7.0  | 2.8.0  |
| pypi       | pydantic-settings    | 2.2.1  | 2.3.1  |
| pypi       | pytest               | 8.2.1  | 8.2.2  |
| pypi       | ruff                 | 0.4.7  | 0.4.8  |
| pypi       | sentry-sdk           | 2.3.1  | 2.5.1  |
| pypi       | sqlmodel             | 0.0.18 | 0.0.19 |
@jmaupetit jmaupetit force-pushed the renovate/python-dependencies branch from 9969e78 to ed0ac3c Compare June 10, 2024 21:26
@jmaupetit jmaupetit self-assigned this Jun 10, 2024
@jmaupetit jmaupetit merged commit 84558c1 into main Jun 10, 2024
9 checks passed
@jmaupetit jmaupetit deleted the renovate/python-dependencies branch June 10, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant