Skip to content

[Dependency] Bump sqlalchemy from 1.4.29 to 2.0.4 in /.setup/pip#825

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/dot-setup/pip/sqlalchemy-2.0.4
Closed

[Dependency] Bump sqlalchemy from 1.4.29 to 2.0.4 in /.setup/pip#825
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/dot-setup/pip/sqlalchemy-2.0.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 20, 2023

Copy link
Copy Markdown

Bumps sqlalchemy from 1.4.29 to 2.0.4.

Release notes

Sourced from sqlalchemy's releases.

2.0.4

Released: February 17, 2023

orm

  • [orm] [usecase] The _orm.Session.refresh() method will now immediately load a relationship-bound attribute that is explicitly named within the _orm.Session.refresh.attribute_names collection even if it is currently linked to the "select" loader, which normally is a "lazy" loader that does not fire off during a refresh. The "lazy loader" strategy will now detect that the operation is specifically a user-initiated _orm.Session.refresh() operation which named this attribute explicitly, and will then call upon the "immediateload" strategy to actually emit SQL to load the attribute. This should be helpful in particular for some asyncio situations where the loading of an unloaded lazy-loaded attribute must be forced, without using the actual lazy-loading attribute pattern not supported in asyncio.

    References: #9298

  • [orm] [bug] [regression] Fixed regression introduced in version 2.0.2 due to #9217 where using DML RETURNING statements, as well as _sql.Select.from_statement() constructs as was "fixed" in #9217, in conjunction with ORM mapped classes that used expressions such as with _orm.column_property(), would lead to an internal error within Core where it would attempt to match the expression by name. The fix repairs the Core issue, and also adjusts the fix in #9217 to not take effect for the DML RETURNING use case, where it adds unnecessary overhead.

    References: #9273

  • [orm] [bug] Marked the internal EvaluatorCompiler module as private to the ORM, and renamed it to _EvaluatorCompiler. For users that may have been relying upon this, the name EvaluatorCompiler is still present, however this use is not supported and will be removed in a future release.

  • [orm] [use_case] To accommodate a change in column ordering used by ORM Declarative in SQLAlchemy 2.0, a new parameter _orm.mapped_column.sort_order has been added that can be used to control the order of the columns defined in the table by the ORM, for common use cases such as mixins with primary key columns that should appear first in tables. The change notes at change_9297 illustrate the default change in ordering behavior (which is part of all SQLAlchemy 2.0 releases) as well as use of the _orm.mapped_column.sort_order to control column ordering when using mixins and multiple classes (new in 2.0.4).

    References: #9297

... (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)

@dependabot @github

dependabot Bot commented on behalf of github Feb 20, 2023

Copy link
Copy Markdown
Author

The following labels could not be found: dependencies.

Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.4.29 to 2.0.4.
- [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)

---
updated-dependencies:
- dependency-name: sqlalchemy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/dot-setup/pip/sqlalchemy-2.0.4 branch from 6ad05a8 to 4f7bd6c Compare February 23, 2023 22:33
@codecov-commenter

codecov-commenter commented Feb 23, 2023

Copy link
Copy Markdown

Codecov Report

Merging #825 (4f7bd6c) into master (907df66) will decrease coverage by 2.39%.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #825      +/-   ##
============================================
- Coverage     23.24%   20.86%   -2.39%     
  Complexity     7797     7797              
============================================
  Files           220      194      -26     
  Lines         27271    24529    -2742     
  Branches         70       70              
============================================
- Hits           6340     5117    -1223     
+ Misses        20863    19344    -1519     
  Partials         68       68              
Flag Coverage Δ
autograder ?
js 28.47% <ø> (ø)
migrator ?
php 20.19% <ø> (ø)
python_submitty_utils 71.65% <ø> (ø)
submitty_daemon_jobs ?

Flags with carried forward coverage won't be shown. Click here to find out more.

@dependabot @github

dependabot Bot commented on behalf of github Mar 6, 2023

Copy link
Copy Markdown
Author

Superseded by #858.

@dependabot dependabot Bot closed this Mar 6, 2023
@dependabot dependabot Bot deleted the dependabot/pip/dot-setup/pip/sqlalchemy-2.0.4 branch March 6, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant