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

Bump sqlalchemy from 2.0.21 to 2.0.22 #158

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 16, 2023

Bumps sqlalchemy from 2.0.21 to 2.0.22.

Release notes

Sourced from sqlalchemy's releases.

2.0.22

Released: October 12, 2023

orm

  • [orm] [usecase] Added method _orm.Session.get_one() that behaves like _orm.Session.get() but raises an exception instead of returning None if no instance was found with the provided primary key. Pull request courtesy of Carlos Sousa.

    References: #10202

  • [orm] [usecase] Added an option to permanently close sessions. Set to False the new parameter _orm.Session.close_resets_only will prevent a _orm.Session from performing any other operation after _orm.Session.close() has been called.

    Added new method _orm.Session.reset() that will reset a _orm.Session to its initial state. This is an alias of _orm.Session.close(), unless _orm.Session.close_resets_only is set to False.

    References: #7787

  • [orm] [bug] Fixed a wide range of _orm.mapped_column() parameters that were not being transferred when using the _orm.mapped_column() object inside of a pep-593 Annotated object, including _orm.mapped_column.sort_order, _orm.mapped_column.deferred, _orm.mapped_column.autoincrement, _orm.mapped_column.system, _orm.mapped_column.info etc.

    Additionally, it remains not supported to have dataclass arguments, such as _orm.mapped_column.kw_only, _orm.mapped_column.default_factory etc. indicated within the _orm.mapped_column() received by Annotated, as this is not supported with pep-681 Dataclass Transforms. A warning is now emitted when these parameters are used within Annotated in this way (and they continue to be ignored).

    References: #10046, #10369

  • [orm] [bug] Fixed issue where calling _engine.Result.unique() with a new-style select() query in the ORM, where one or more columns yields values that are of "unknown hashability", typically when using JSON functions like func.json_build_object() without providing a type, would fail internally when the returned values were not actually hashable. The behavior is repaired to test the objects as they are received for

... (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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 2.0.21 to 2.0.22.
- [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:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 16, 2023
Copy link
Author

dependabot bot commented on behalf of github Nov 6, 2023

Superseded by #179.

@dependabot dependabot bot closed this Nov 6, 2023
@dependabot dependabot bot deleted the dependabot/pip/sqlalchemy-2.0.22 branch November 6, 2023 09:41
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