Weasyl / weasyl

The website.
https://www.weasyl.com
Apache License 2.0
117 stars 30 forks source link

Bump sqlalchemy from 1.4.45 to 2.0.14 in /libweasyl #1362

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps sqlalchemy from 1.4.45 to 2.0.14.

Release notes

Sourced from sqlalchemy's releases.

2.0.14

Released: May 18, 2023

orm

  • [orm] [bug] Modified the JoinedLoader implementation to use a simpler approach in one particular area where it previously used a cached structure that would be shared among threads. The rationale is to avoid a potential race condition which is suspected of being the cause of a particular crash that's been reported multiple times. The cached structure in question is still ultimately "cached" via the compiled SQL cache, so a performance degradation is not anticipated.

    References: #9777

  • [orm] [bug] [regression] Fixed regression where use of _dml.update() or _dml.delete() within a _sql.CTE construct, then used in a _sql.select(), would raise a CompileError as a result of ORM related rules for performing ORM-level update/delete statements.

    References: #9767

  • [orm] [bug] Fixed issue in new ORM Annotated Declarative where using a _schema.ForeignKey (or other column-level constraint) inside of _orm.mapped_column() which is then copied out to models via pep-593 Annotated would apply duplicates of each constraint to the _schema.Column as produced in the target _schema.Table, leading to incorrect CREATE TABLE DDL as well as migration directives under Alembic.

    References: #9766

  • [orm] [bug] Fixed issue where using additional relationship criteria with the _orm.joinedload() loader option, where the additional criteria itself contained correlated subqueries that referred to the joined entities and therefore also required "adaption" to aliased entities, would be excluded from this adaption, producing the wrong ON clause for the joinedload.

    References: #9779

sql

  • [sql] [usecase] Generalized the MSSQL _sql.try_cast() function into the sqlalchemy. import namespace so that it may be implemented by third party dialects as well. Within SQLAlchemy, the _sql.try_cast() function remains a SQL Server-only construct that will raise CompileError if used with backends that don't support it.

... (truncated)

Commits


Dependabot compatibility score

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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov[bot] commented 1 year ago

Codecov Report

Merging #1362 (8302250) into main (468567d) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1362   +/-   ##
=======================================
  Coverage   60.04%   60.04%           
=======================================
  Files          94       94           
  Lines        8873     8873           
  Branches     1622     1622           
=======================================
  Hits         5328     5328           
  Misses       3111     3111           
  Partials      434      434           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

dependabot[bot] commented 1 year ago

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

dependabot[bot] commented 1 year ago

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

dependabot[bot] commented 1 year ago

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

dependabot[bot] commented 1 year ago

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

dependabot[bot] commented 1 year ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.