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 1.4.36 to 2.0.2 #61

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 7, 2023

Bumps sqlalchemy from 1.4.36 to 2.0.2.

Release notes

Sourced from sqlalchemy's releases.

2.0.2

Released: February 6, 2023

orm

  • [orm] [usecase] Added new event hook _orm.MapperEvents.after_mapper_constructed(), which supplies an event hook to take place right as the _orm.Mapper object has been fully constructed, but before the _orm.registry.configure() call has been called. This allows code that can create additional mappings and table structures based on the initial configuration of a _orm.Mapper, which also integrates within Declarative configuration. Previously, when using Declarative, where the _orm.Mapper object is created within the class creation process, there was no documented means of running code at this point. The change is to immediately benefit custom mapping schemes such as that of the examples_versioned_history example, which generate additional mappers and tables in response to the creation of mapped classes.

    References: #9220

  • [orm] [usecase] The infrequently used _orm.Mapper.iterate_properties attribute and _orm.Mapper.get_property() method, which are primarily used internally, no longer implicitly invoke the _orm.registry.configure() process. Public access to these methods is extremely rare and the only benefit to having _orm.registry.configure() would have been allowing "backref" properties be present in these collections. In order to support the new _orm.MapperEvents.after_mapper_constructed() event, iteration and access to the internal _orm.MapperProperty objects is now possible without triggering an implicit configure of the mapper itself.

    The more-public facing route to iteration of all mapper attributes, the _orm.Mapper.attrs collection and similar, will still implicitly invoke the _orm.registry.configure() step thus making backref attributes available.

    In all cases, the _orm.registry.configure() is always available to be called directly.

    References: #9220

  • [orm] [bug] [regression] Fixed obscure ORM inheritance issue caused by #8705 where some scenarios of inheriting mappers that indicated groups of columns from the local table and the inheriting table together under a _orm.column_property() would nonetheless warn that properties of the same name were being combined implicitly.

    References: #9232

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

Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.4.36 to 2.0.2.
- [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 added the dependencies Pull requests that update a dependency file label Feb 7, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 10, 2023

Superseded by #62.

@dependabot dependabot bot closed this Feb 10, 2023
@dependabot dependabot bot deleted the dependabot/pip/sqlalchemy-2.0.2 branch February 10, 2023 11:02
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants