mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-17 07:57:19 -05:00
chore: bump alembic from 1.12.1 to 1.18.4 (#197)
Bumps [alembic](https://github.com/sqlalchemy/alembic) from 1.12.1 to 1.18.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sqlalchemy/alembic/releases">alembic's releases</a>.</em></p> <blockquote> <h1>1.18.4</h1> <p>Released: February 10, 2026</p> <h2>bug</h2> <ul> <li> <p><strong>[bug] [operations]</strong> Reverted the behavior of <code>Operations.add_column()</code> that would automatically render the "PRIMARY KEY" keyword inline when a <code>Column</code> with <code>primary_key=True</code> is added. The automatic behavior, added in version 1.18.2, is now opt-in via the new <code>Operations.add_column.inline_primary_key</code> parameter. This change restores the ability to render a PostgreSQL SERIAL column, which is required to be <code>primary_key=True</code>, while not impacting the ability to render a separate primary key constraint. This also provides consistency with the <code>Operations.add_column.inline_references</code> parameter and gives users explicit control over SQL generation.</p> <p>To render PRIMARY KEY inline, use the <code>Operations.add_column.inline_primary_key</code> parameter set to <code>True</code>:</p> <p>op.add_column( "my_table", Column("id", Integer, primary_key=True), inline_primary_key=True )References: <a href="https://redirect.github.com/sqlalchemy/alembic/issues/1232">#1232</a></p> </li> </ul> <h1>1.18.3</h1> <p>Released: January 29, 2026</p> <h2>bug</h2> <ul> <li> <p><strong>[bug] [autogenerate]</strong> Fixed regression in version 1.18.0 due to <a href="https://redirect.github.com/sqlalchemy/alembic/issues/1771">#1771</a> where autogenerate would raise <code>NoReferencedTableError</code> when a foreign key constraint referenced a table that was not part of the initial table load, including tables filtered out by the <code>EnvironmentContext.configure.include_name</code> callable or tables in remote schemas that were not included in the initial reflection run.</p> <p>The change in <a href="https://redirect.github.com/sqlalchemy/alembic/issues/1771">#1771</a> was a performance optimization that eliminated additional reflection queries for tables that were only referenced by foreign keys but not explicitly included in the main reflection run. However, this optimization inadvertently removed the creation of <code>Table</code> objects for these referenced tables, causing autogenerate to fail when processing foreign key constraints that pointed to them.</p> <p>The fix creates placeholder <code>Table</code> objects for foreign key targets</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sqlalchemy/alembic/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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) </details>
This commit is contained in:
@@ -5,7 +5,7 @@ python-multipart==0.0.22
|
||||
|
||||
# Database
|
||||
sqlalchemy==2.0.23
|
||||
alembic==1.12.1
|
||||
alembic==1.18.4
|
||||
psycopg2-binary==2.9.11
|
||||
asyncpg==0.29.0
|
||||
aiosqlite==0.22.1
|
||||
|
||||
Reference in New Issue
Block a user