alembic 1.15.0__tar.gz → 1.15.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. {alembic-1.15.0/alembic.egg-info → alembic-1.15.2}/PKG-INFO +3 -2
  2. {alembic-1.15.0 → alembic-1.15.2}/alembic/__init__.py +1 -1
  3. {alembic-1.15.0 → alembic-1.15.2}/alembic/autogenerate/render.py +3 -0
  4. {alembic-1.15.0 → alembic-1.15.2}/alembic/ddl/base.py +5 -1
  5. {alembic-1.15.0 → alembic-1.15.2}/alembic/ddl/impl.py +1 -2
  6. {alembic-1.15.0 → alembic-1.15.2}/alembic/op.pyi +2 -2
  7. {alembic-1.15.0 → alembic-1.15.2}/alembic/operations/base.py +4 -2
  8. {alembic-1.15.0 → alembic-1.15.2}/alembic/operations/ops.py +5 -3
  9. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/async/alembic.ini.mako +1 -1
  10. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/generic/alembic.ini.mako +1 -1
  11. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/multidb/alembic.ini.mako +1 -1
  12. {alembic-1.15.0 → alembic-1.15.2/alembic.egg-info}/PKG-INFO +3 -2
  13. {alembic-1.15.0 → alembic-1.15.2}/alembic.egg-info/SOURCES.txt +9 -0
  14. {alembic-1.15.0/docs/build → alembic-1.15.2/docs/_sources}/changelog.rst +27 -1
  15. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/documentation_options.js +1 -1
  16. {alembic-1.15.0 → alembic-1.15.2}/docs/api/autogenerate.html +3 -3
  17. {alembic-1.15.0 → alembic-1.15.2}/docs/api/commands.html +3 -3
  18. {alembic-1.15.0 → alembic-1.15.2}/docs/api/config.html +3 -3
  19. {alembic-1.15.0 → alembic-1.15.2}/docs/api/ddl.html +4 -4
  20. {alembic-1.15.0 → alembic-1.15.2}/docs/api/index.html +3 -3
  21. {alembic-1.15.0 → alembic-1.15.2}/docs/api/operations.html +4 -4
  22. {alembic-1.15.0 → alembic-1.15.2}/docs/api/overview.html +3 -3
  23. {alembic-1.15.0 → alembic-1.15.2}/docs/api/runtime.html +3 -3
  24. {alembic-1.15.0 → alembic-1.15.2}/docs/api/script.html +3 -3
  25. {alembic-1.15.0 → alembic-1.15.2}/docs/autogenerate.html +3 -3
  26. {alembic-1.15.0 → alembic-1.15.2}/docs/batch.html +3 -3
  27. {alembic-1.15.0 → alembic-1.15.2}/docs/branches.html +3 -3
  28. {alembic-1.15.0/docs/_sources → alembic-1.15.2/docs/build}/changelog.rst +27 -1
  29. {alembic-1.15.0 → alembic-1.15.2}/docs/build/conf.py +2 -2
  30. {alembic-1.15.0 → alembic-1.15.2}/docs/changelog.html +54 -8
  31. {alembic-1.15.0 → alembic-1.15.2}/docs/cookbook.html +3 -3
  32. {alembic-1.15.0 → alembic-1.15.2}/docs/front.html +3 -3
  33. {alembic-1.15.0 → alembic-1.15.2}/docs/genindex.html +7 -7
  34. {alembic-1.15.0 → alembic-1.15.2}/docs/index.html +11 -3
  35. {alembic-1.15.0 → alembic-1.15.2}/docs/naming.html +3 -3
  36. {alembic-1.15.0 → alembic-1.15.2}/docs/offline.html +3 -3
  37. {alembic-1.15.0 → alembic-1.15.2}/docs/ops.html +4 -4
  38. {alembic-1.15.0 → alembic-1.15.2}/docs/py-modindex.html +3 -3
  39. {alembic-1.15.0 → alembic-1.15.2}/docs/search.html +3 -3
  40. alembic-1.15.2/docs/searchindex.js +1 -0
  41. {alembic-1.15.0 → alembic-1.15.2}/docs/tutorial.html +3 -3
  42. {alembic-1.15.0 → alembic-1.15.2}/pyproject.toml +1 -3
  43. {alembic-1.15.0 → alembic-1.15.2}/tests/test_autogen_render.py +12 -0
  44. {alembic-1.15.0 → alembic-1.15.2}/tests/test_post_write.py +4 -4
  45. alembic-1.15.0/docs/searchindex.js +0 -1
  46. {alembic-1.15.0 → alembic-1.15.2}/CHANGES +0 -0
  47. {alembic-1.15.0 → alembic-1.15.2}/LICENSE +0 -0
  48. {alembic-1.15.0 → alembic-1.15.2}/MANIFEST.in +0 -0
  49. {alembic-1.15.0 → alembic-1.15.2}/README.rst +0 -0
  50. {alembic-1.15.0 → alembic-1.15.2}/README.unittests.rst +0 -0
  51. {alembic-1.15.0 → alembic-1.15.2}/alembic/__main__.py +0 -0
  52. {alembic-1.15.0 → alembic-1.15.2}/alembic/autogenerate/__init__.py +0 -0
  53. {alembic-1.15.0 → alembic-1.15.2}/alembic/autogenerate/api.py +0 -0
  54. {alembic-1.15.0 → alembic-1.15.2}/alembic/autogenerate/compare.py +0 -0
  55. {alembic-1.15.0 → alembic-1.15.2}/alembic/autogenerate/rewriter.py +0 -0
  56. {alembic-1.15.0 → alembic-1.15.2}/alembic/command.py +0 -0
  57. {alembic-1.15.0 → alembic-1.15.2}/alembic/config.py +0 -0
  58. {alembic-1.15.0 → alembic-1.15.2}/alembic/context.py +0 -0
  59. {alembic-1.15.0 → alembic-1.15.2}/alembic/context.pyi +0 -0
  60. {alembic-1.15.0 → alembic-1.15.2}/alembic/ddl/__init__.py +0 -0
  61. {alembic-1.15.0 → alembic-1.15.2}/alembic/ddl/_autogen.py +0 -0
  62. {alembic-1.15.0 → alembic-1.15.2}/alembic/ddl/mssql.py +0 -0
  63. {alembic-1.15.0 → alembic-1.15.2}/alembic/ddl/mysql.py +0 -0
  64. {alembic-1.15.0 → alembic-1.15.2}/alembic/ddl/oracle.py +0 -0
  65. {alembic-1.15.0 → alembic-1.15.2}/alembic/ddl/postgresql.py +0 -0
  66. {alembic-1.15.0 → alembic-1.15.2}/alembic/ddl/sqlite.py +0 -0
  67. {alembic-1.15.0 → alembic-1.15.2}/alembic/environment.py +0 -0
  68. {alembic-1.15.0 → alembic-1.15.2}/alembic/migration.py +0 -0
  69. {alembic-1.15.0 → alembic-1.15.2}/alembic/op.py +0 -0
  70. {alembic-1.15.0 → alembic-1.15.2}/alembic/operations/__init__.py +0 -0
  71. {alembic-1.15.0 → alembic-1.15.2}/alembic/operations/batch.py +0 -0
  72. {alembic-1.15.0 → alembic-1.15.2}/alembic/operations/schemaobj.py +0 -0
  73. {alembic-1.15.0 → alembic-1.15.2}/alembic/operations/toimpl.py +0 -0
  74. {alembic-1.15.0 → alembic-1.15.2}/alembic/py.typed +0 -0
  75. {alembic-1.15.0 → alembic-1.15.2}/alembic/runtime/__init__.py +0 -0
  76. {alembic-1.15.0 → alembic-1.15.2}/alembic/runtime/environment.py +0 -0
  77. {alembic-1.15.0 → alembic-1.15.2}/alembic/runtime/migration.py +0 -0
  78. {alembic-1.15.0 → alembic-1.15.2}/alembic/script/__init__.py +0 -0
  79. {alembic-1.15.0 → alembic-1.15.2}/alembic/script/base.py +0 -0
  80. {alembic-1.15.0 → alembic-1.15.2}/alembic/script/revision.py +0 -0
  81. {alembic-1.15.0 → alembic-1.15.2}/alembic/script/write_hooks.py +0 -0
  82. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/async/README +0 -0
  83. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/async/env.py +0 -0
  84. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/async/script.py.mako +0 -0
  85. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/generic/README +0 -0
  86. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/generic/env.py +0 -0
  87. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/generic/script.py.mako +0 -0
  88. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/multidb/README +0 -0
  89. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/multidb/env.py +0 -0
  90. {alembic-1.15.0 → alembic-1.15.2}/alembic/templates/multidb/script.py.mako +0 -0
  91. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/__init__.py +0 -0
  92. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/assertions.py +0 -0
  93. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/env.py +0 -0
  94. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/fixtures.py +0 -0
  95. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/plugin/__init__.py +0 -0
  96. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/plugin/bootstrap.py +0 -0
  97. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/requirements.py +0 -0
  98. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/schemacompare.py +0 -0
  99. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/suite/__init__.py +0 -0
  100. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/suite/_autogen_fixtures.py +0 -0
  101. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/suite/test_autogen_comments.py +0 -0
  102. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/suite/test_autogen_computed.py +0 -0
  103. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/suite/test_autogen_diffs.py +0 -0
  104. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/suite/test_autogen_fks.py +0 -0
  105. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/suite/test_autogen_identity.py +0 -0
  106. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/suite/test_environment.py +0 -0
  107. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/suite/test_op.py +0 -0
  108. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/util.py +0 -0
  109. {alembic-1.15.0 → alembic-1.15.2}/alembic/testing/warnings.py +0 -0
  110. {alembic-1.15.0 → alembic-1.15.2}/alembic/util/__init__.py +0 -0
  111. {alembic-1.15.0 → alembic-1.15.2}/alembic/util/compat.py +0 -0
  112. {alembic-1.15.0 → alembic-1.15.2}/alembic/util/editor.py +0 -0
  113. {alembic-1.15.0 → alembic-1.15.2}/alembic/util/exc.py +0 -0
  114. {alembic-1.15.0 → alembic-1.15.2}/alembic/util/langhelpers.py +0 -0
  115. {alembic-1.15.0 → alembic-1.15.2}/alembic/util/messaging.py +0 -0
  116. {alembic-1.15.0 → alembic-1.15.2}/alembic/util/pyfiles.py +0 -0
  117. {alembic-1.15.0 → alembic-1.15.2}/alembic/util/sqla_compat.py +0 -0
  118. {alembic-1.15.0 → alembic-1.15.2}/alembic.egg-info/dependency_links.txt +0 -0
  119. {alembic-1.15.0 → alembic-1.15.2}/alembic.egg-info/entry_points.txt +0 -0
  120. {alembic-1.15.0 → alembic-1.15.2}/alembic.egg-info/not-zip-safe +0 -0
  121. {alembic-1.15.0 → alembic-1.15.2}/alembic.egg-info/requires.txt +0 -0
  122. {alembic-1.15.0 → alembic-1.15.2}/alembic.egg-info/top_level.txt +0 -0
  123. {alembic-1.15.0 → alembic-1.15.2}/docs/_images/api_overview.png +0 -0
  124. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/api/autogenerate.rst +0 -0
  125. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/api/commands.rst +0 -0
  126. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/api/config.rst +0 -0
  127. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/api/ddl.rst +0 -0
  128. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/api/index.rst +0 -0
  129. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/api/operations.rst +0 -0
  130. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/api/overview.rst +0 -0
  131. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/api/runtime.rst +0 -0
  132. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/api/script.rst +0 -0
  133. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/autogenerate.rst +0 -0
  134. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/batch.rst +0 -0
  135. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/branches.rst +0 -0
  136. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/cookbook.rst +0 -0
  137. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/front.rst +0 -0
  138. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/index.rst +0 -0
  139. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/naming.rst +0 -0
  140. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/offline.rst +0 -0
  141. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/ops.rst +0 -0
  142. {alembic-1.15.0 → alembic-1.15.2}/docs/_sources/tutorial.rst +0 -0
  143. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/basic.css +0 -0
  144. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/changelog.css +0 -0
  145. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/clipboard.min.js +0 -0
  146. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/copybutton.css +0 -0
  147. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/copybutton.js +0 -0
  148. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/copybutton_funcs.js +0 -0
  149. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/doctools.js +0 -0
  150. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/file.png +0 -0
  151. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/images/logo_colab.png +0 -0
  152. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/language_data.js +0 -0
  153. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/minus.png +0 -0
  154. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/nature_override.css +0 -0
  155. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/plus.png +0 -0
  156. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/pygments.css +0 -0
  157. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/sbt-webpack-macros.html +0 -0
  158. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/scripts/bootstrap.js +0 -0
  159. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/scripts/bootstrap.js.LICENSE.txt +0 -0
  160. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/scripts/pydata-sphinx-theme.js +0 -0
  161. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/scripts/sphinx-book-theme.js +0 -0
  162. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/searchtools.js +0 -0
  163. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/site_custom_css.css +0 -0
  164. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/sphinx_highlight.js +0 -0
  165. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/sphinx_paramlinks.css +0 -0
  166. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/styles/bootstrap.css +0 -0
  167. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/styles/pydata-sphinx-theme.css +0 -0
  168. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/styles/sphinx-book-theme.css +0 -0
  169. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/styles/theme.css +0 -0
  170. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/vendor/fontawesome/6.5.2/LICENSE.txt +0 -0
  171. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/vendor/fontawesome/6.5.2/css/all.min.css +0 -0
  172. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/vendor/fontawesome/6.5.2/js/all.min.js +0 -0
  173. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/vendor/fontawesome/6.5.2/js/all.min.js.LICENSE.txt +0 -0
  174. {alembic-1.15.0 → alembic-1.15.2}/docs/_static/webpack-macros.html +0 -0
  175. {alembic-1.15.0 → alembic-1.15.2}/docs/build/Makefile +0 -0
  176. {alembic-1.15.0 → alembic-1.15.2}/docs/build/_static/nature_override.css +0 -0
  177. {alembic-1.15.0 → alembic-1.15.2}/docs/build/_static/site_custom_css.css +0 -0
  178. {alembic-1.15.0 → alembic-1.15.2}/docs/build/_templates/site_custom_sidebars.html +0 -0
  179. {alembic-1.15.0 → alembic-1.15.2}/docs/build/api/api_overview.png +0 -0
  180. {alembic-1.15.0 → alembic-1.15.2}/docs/build/api/autogenerate.rst +0 -0
  181. {alembic-1.15.0 → alembic-1.15.2}/docs/build/api/commands.rst +0 -0
  182. {alembic-1.15.0 → alembic-1.15.2}/docs/build/api/config.rst +0 -0
  183. {alembic-1.15.0 → alembic-1.15.2}/docs/build/api/ddl.rst +0 -0
  184. {alembic-1.15.0 → alembic-1.15.2}/docs/build/api/index.rst +0 -0
  185. {alembic-1.15.0 → alembic-1.15.2}/docs/build/api/operations.rst +0 -0
  186. {alembic-1.15.0 → alembic-1.15.2}/docs/build/api/overview.rst +0 -0
  187. {alembic-1.15.0 → alembic-1.15.2}/docs/build/api/runtime.rst +0 -0
  188. {alembic-1.15.0 → alembic-1.15.2}/docs/build/api/script.rst +0 -0
  189. {alembic-1.15.0 → alembic-1.15.2}/docs/build/autogenerate.rst +0 -0
  190. {alembic-1.15.0 → alembic-1.15.2}/docs/build/batch.rst +0 -0
  191. {alembic-1.15.0 → alembic-1.15.2}/docs/build/branches.rst +0 -0
  192. {alembic-1.15.0 → alembic-1.15.2}/docs/build/cookbook.rst +0 -0
  193. {alembic-1.15.0 → alembic-1.15.2}/docs/build/front.rst +0 -0
  194. {alembic-1.15.0 → alembic-1.15.2}/docs/build/index.rst +0 -0
  195. {alembic-1.15.0 → alembic-1.15.2}/docs/build/naming.rst +0 -0
  196. {alembic-1.15.0 → alembic-1.15.2}/docs/build/offline.rst +0 -0
  197. {alembic-1.15.0 → alembic-1.15.2}/docs/build/ops.rst +0 -0
  198. {alembic-1.15.0 → alembic-1.15.2}/docs/build/requirements.txt +0 -0
  199. {alembic-1.15.0 → alembic-1.15.2}/docs/build/tutorial.rst +0 -0
  200. {alembic-1.15.0 → alembic-1.15.2}/docs/build/unreleased/README.txt +0 -0
  201. {alembic-1.15.0 → alembic-1.15.2}/setup.cfg +0 -0
  202. {alembic-1.15.0 → alembic-1.15.2}/setup.py +0 -0
  203. {alembic-1.15.0 → alembic-1.15.2}/tests/__init__.py +0 -0
  204. {alembic-1.15.0 → alembic-1.15.2}/tests/_large_map.py +0 -0
  205. {alembic-1.15.0 → alembic-1.15.2}/tests/conftest.py +0 -0
  206. {alembic-1.15.0 → alembic-1.15.2}/tests/requirements.py +0 -0
  207. {alembic-1.15.0 → alembic-1.15.2}/tests/test_autogen_composition.py +0 -0
  208. {alembic-1.15.0 → alembic-1.15.2}/tests/test_autogen_diffs.py +0 -0
  209. {alembic-1.15.0 → alembic-1.15.2}/tests/test_autogen_indexes.py +0 -0
  210. {alembic-1.15.0 → alembic-1.15.2}/tests/test_batch.py +0 -0
  211. {alembic-1.15.0 → alembic-1.15.2}/tests/test_bulk_insert.py +0 -0
  212. {alembic-1.15.0 → alembic-1.15.2}/tests/test_command.py +0 -0
  213. {alembic-1.15.0 → alembic-1.15.2}/tests/test_config.py +0 -0
  214. {alembic-1.15.0 → alembic-1.15.2}/tests/test_editor.py +0 -0
  215. {alembic-1.15.0 → alembic-1.15.2}/tests/test_environment.py +0 -0
  216. {alembic-1.15.0 → alembic-1.15.2}/tests/test_external_dialect.py +0 -0
  217. {alembic-1.15.0 → alembic-1.15.2}/tests/test_impl.py +0 -0
  218. {alembic-1.15.0 → alembic-1.15.2}/tests/test_messaging.py +0 -0
  219. {alembic-1.15.0 → alembic-1.15.2}/tests/test_mssql.py +0 -0
  220. {alembic-1.15.0 → alembic-1.15.2}/tests/test_mysql.py +0 -0
  221. {alembic-1.15.0 → alembic-1.15.2}/tests/test_offline_environment.py +0 -0
  222. {alembic-1.15.0 → alembic-1.15.2}/tests/test_op.py +0 -0
  223. {alembic-1.15.0 → alembic-1.15.2}/tests/test_op_naming_convention.py +0 -0
  224. {alembic-1.15.0 → alembic-1.15.2}/tests/test_oracle.py +0 -0
  225. {alembic-1.15.0 → alembic-1.15.2}/tests/test_postgresql.py +0 -0
  226. {alembic-1.15.0 → alembic-1.15.2}/tests/test_revision.py +0 -0
  227. {alembic-1.15.0 → alembic-1.15.2}/tests/test_script_consumption.py +0 -0
  228. {alembic-1.15.0 → alembic-1.15.2}/tests/test_script_production.py +0 -0
  229. {alembic-1.15.0 → alembic-1.15.2}/tests/test_sqlite.py +0 -0
  230. {alembic-1.15.0 → alembic-1.15.2}/tests/test_stubs.py +0 -0
  231. {alembic-1.15.0 → alembic-1.15.2}/tests/test_suite.py +0 -0
  232. {alembic-1.15.0 → alembic-1.15.2}/tests/test_version_table.py +0 -0
  233. {alembic-1.15.0 → alembic-1.15.2}/tests/test_version_traversal.py +0 -0
  234. {alembic-1.15.0 → alembic-1.15.2}/tools/write_pyi.py +0 -0
  235. {alembic-1.15.0 → alembic-1.15.2}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: alembic
3
- Version: 1.15.0
3
+ Version: 1.15.2
4
4
  Summary: A database migration tool for SQLAlchemy.
5
5
  Author-email: Mike Bayer <mike_mp@zzzcomputing.com>
6
6
  License: MIT
@@ -32,6 +32,7 @@ Requires-Dist: Mako
32
32
  Requires-Dist: typing-extensions>=4.12
33
33
  Provides-Extra: tz
34
34
  Requires-Dist: tzdata; extra == "tz"
35
+ Dynamic: license-file
35
36
 
36
37
  Alembic is a database migrations tool written by the author
37
38
  of `SQLAlchemy <http://www.sqlalchemy.org>`_. A migrations tool
@@ -1,4 +1,4 @@
1
1
  from . import context
2
2
  from . import op
3
3
 
4
- __version__ = "1.15.0"
4
+ __version__ = "1.15.2"
@@ -505,6 +505,7 @@ def _alter_column(
505
505
  type_ = op.modify_type
506
506
  nullable = op.modify_nullable
507
507
  comment = op.modify_comment
508
+ newname = op.modify_name
508
509
  autoincrement = op.kw.get("autoincrement", None)
509
510
  existing_type = op.existing_type
510
511
  existing_nullable = op.existing_nullable
@@ -533,6 +534,8 @@ def _alter_column(
533
534
  rendered = _render_server_default(server_default, autogen_context)
534
535
  text += ",\n%sserver_default=%s" % (indent, rendered)
535
536
 
537
+ if newname is not None:
538
+ text += ",\n%snew_column_name=%r" % (indent, newname)
536
539
  if type_ is not None:
537
540
  text += ",\n%stype_=%s" % (indent, _repr_type(type_, autogen_context))
538
541
  if nullable is not None:
@@ -299,9 +299,13 @@ def format_server_default(
299
299
  compiler: DDLCompiler,
300
300
  default: Optional[_ServerDefault],
301
301
  ) -> str:
302
- return compiler.get_column_default_string(
302
+ # this can be updated to use compiler.render_default_string
303
+ # for SQLAlchemy 2.0 and above; not in 1.4
304
+ default_str = compiler.get_column_default_string(
303
305
  Column("x", Integer, server_default=default)
304
306
  )
307
+ assert default_str is not None
308
+ return default_str
305
309
 
306
310
 
307
311
  def format_type(compiler: DDLCompiler, type_: TypeEngine) -> str:
@@ -46,7 +46,6 @@ if TYPE_CHECKING:
46
46
  from sqlalchemy.engine.reflection import Inspector
47
47
  from sqlalchemy.sql import ClauseElement
48
48
  from sqlalchemy.sql import Executable
49
- from sqlalchemy.sql.elements import ColumnElement
50
49
  from sqlalchemy.sql.elements import quoted_name
51
50
  from sqlalchemy.sql.schema import Constraint
52
51
  from sqlalchemy.sql.schema import ForeignKeyConstraint
@@ -440,7 +439,7 @@ class DefaultImpl(metaclass=ImplMeta):
440
439
  def drop_table_comment(self, table: Table) -> None:
441
440
  self._exec(schema.DropTableComment(table))
442
441
 
443
- def create_column_comment(self, column: ColumnElement[Any]) -> None:
442
+ def create_column_comment(self, column: Column[Any]) -> None:
444
443
  self._exec(schema.SetColumnComment(column))
445
444
 
446
445
  def drop_index(self, index: Index, **kw: Any) -> None:
@@ -146,12 +146,12 @@ def alter_column(
146
146
  *,
147
147
  nullable: Optional[bool] = None,
148
148
  comment: Union[str, Literal[False], None] = False,
149
- server_default: Any = False,
149
+ server_default: Union[str, bool, Identity, Computed, TextClause] = False,
150
150
  new_column_name: Optional[str] = None,
151
151
  type_: Union[TypeEngine[Any], Type[TypeEngine[Any]], None] = None,
152
152
  existing_type: Union[TypeEngine[Any], Type[TypeEngine[Any]], None] = None,
153
153
  existing_server_default: Union[
154
- str, bool, Identity, Computed, None
154
+ str, bool, Identity, Computed, TextClause, None
155
155
  ] = False,
156
156
  existing_nullable: Optional[bool] = None,
157
157
  existing_comment: Optional[str] = None,
@@ -705,14 +705,16 @@ class Operations(AbstractOperations):
705
705
  *,
706
706
  nullable: Optional[bool] = None,
707
707
  comment: Union[str, Literal[False], None] = False,
708
- server_default: Any = False,
708
+ server_default: Union[
709
+ str, bool, Identity, Computed, TextClause
710
+ ] = False,
709
711
  new_column_name: Optional[str] = None,
710
712
  type_: Union[TypeEngine[Any], Type[TypeEngine[Any]], None] = None,
711
713
  existing_type: Union[
712
714
  TypeEngine[Any], Type[TypeEngine[Any]], None
713
715
  ] = None,
714
716
  existing_server_default: Union[
715
- str, bool, Identity, Computed, None
717
+ str, bool, Identity, Computed, TextClause, None
716
718
  ] = False,
717
719
  existing_nullable: Optional[bool] = None,
718
720
  existing_comment: Optional[str] = None,
@@ -1840,14 +1840,16 @@ class AlterColumnOp(AlterTableOp):
1840
1840
  *,
1841
1841
  nullable: Optional[bool] = None,
1842
1842
  comment: Optional[Union[str, Literal[False]]] = False,
1843
- server_default: Any = False,
1843
+ server_default: Union[
1844
+ str, bool, Identity, Computed, TextClause
1845
+ ] = False,
1844
1846
  new_column_name: Optional[str] = None,
1845
1847
  type_: Optional[Union[TypeEngine[Any], Type[TypeEngine[Any]]]] = None,
1846
1848
  existing_type: Optional[
1847
1849
  Union[TypeEngine[Any], Type[TypeEngine[Any]]]
1848
1850
  ] = None,
1849
- existing_server_default: Optional[
1850
- Union[str, bool, Identity, Computed]
1851
+ existing_server_default: Union[
1852
+ str, bool, Identity, Computed, TextClause, None
1851
1853
  ] = False,
1852
1854
  existing_nullable: Optional[bool] = None,
1853
1855
  existing_comment: Optional[str] = None,
@@ -79,7 +79,7 @@ sqlalchemy.url = driver://user:pass@localhost/dbname
79
79
  # hooks = ruff
80
80
  # ruff.type = exec
81
81
  # ruff.executable = %(here)s/.venv/bin/ruff
82
- # ruff.options = --fix REVISION_SCRIPT_FILENAME
82
+ # ruff.options = check --fix REVISION_SCRIPT_FILENAME
83
83
 
84
84
  # Logging configuration
85
85
  [loggers]
@@ -81,7 +81,7 @@ sqlalchemy.url = driver://user:pass@localhost/dbname
81
81
  # hooks = ruff
82
82
  # ruff.type = exec
83
83
  # ruff.executable = %(here)s/.venv/bin/ruff
84
- # ruff.options = --fix REVISION_SCRIPT_FILENAME
84
+ # ruff.options = check --fix REVISION_SCRIPT_FILENAME
85
85
 
86
86
  # Logging configuration
87
87
  [loggers]
@@ -86,7 +86,7 @@ sqlalchemy.url = driver://user:pass@localhost/dbname2
86
86
  # hooks = ruff
87
87
  # ruff.type = exec
88
88
  # ruff.executable = %(here)s/.venv/bin/ruff
89
- # ruff.options = --fix REVISION_SCRIPT_FILENAME
89
+ # ruff.options = check --fix REVISION_SCRIPT_FILENAME
90
90
 
91
91
  # Logging configuration
92
92
  [loggers]
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: alembic
3
- Version: 1.15.0
3
+ Version: 1.15.2
4
4
  Summary: A database migration tool for SQLAlchemy.
5
5
  Author-email: Mike Bayer <mike_mp@zzzcomputing.com>
6
6
  License: MIT
@@ -32,6 +32,7 @@ Requires-Dist: Mako
32
32
  Requires-Dist: typing-extensions>=4.12
33
33
  Provides-Extra: tz
34
34
  Requires-Dist: tzdata; extra == "tz"
35
+ Dynamic: license-file
35
36
 
36
37
  Alembic is a database migrations tool written by the author
37
38
  of `SQLAlchemy <http://www.sqlalchemy.org>`_. A migrations tool
@@ -45,9 +45,18 @@ tox.ini
45
45
  ./alembic/script/base.py
46
46
  ./alembic/script/revision.py
47
47
  ./alembic/script/write_hooks.py
48
+ ./alembic/templates/async/README
49
+ ./alembic/templates/async/alembic.ini.mako
48
50
  ./alembic/templates/async/env.py
51
+ ./alembic/templates/async/script.py.mako
52
+ ./alembic/templates/generic/README
53
+ ./alembic/templates/generic/alembic.ini.mako
49
54
  ./alembic/templates/generic/env.py
55
+ ./alembic/templates/generic/script.py.mako
56
+ ./alembic/templates/multidb/README
57
+ ./alembic/templates/multidb/alembic.ini.mako
50
58
  ./alembic/templates/multidb/env.py
59
+ ./alembic/templates/multidb/script.py.mako
51
60
  ./alembic/testing/__init__.py
52
61
  ./alembic/testing/assertions.py
53
62
  ./alembic/testing/env.py
@@ -4,9 +4,35 @@ Changelog
4
4
  ==========
5
5
 
6
6
  .. changelog::
7
- :version: 1.15.0
7
+ :version: 1.15.2
8
+ :released: March 28, 2025
9
+
10
+ .. change::
11
+ :tags: bug, autogenerate
12
+ :tickets: 1635
13
+
14
+ Fixed issue where the "modified_name" of :class:`.AlterColumnOp` would not
15
+ be considered when rendering op directives for autogenerate. While
16
+ autogenerate cannot detect changes in column name, this would nonetheless
17
+ impact approaches that made use of this attribute in rewriter recipes. Pull
18
+ request courtesy lenvk.
19
+
20
+ .. changelog::
21
+ :version: 1.15.1
8
22
  :released: March 4, 2025
9
23
 
24
+ .. change::
25
+ :tags: bug, installation
26
+ :tickets: 1616
27
+
28
+ Fixed an issue in the new :pep:`621` ``pyproject.toml`` layout that
29
+ prevented Alembic's template files from being included in the ``.whl`` file
30
+ in the distribution.
31
+
32
+ .. changelog::
33
+ :version: 1.15.0
34
+ :released: March 4, 2025 (yanked due to issue #1616)
35
+
10
36
  .. change::
11
37
  :tags: bug, environment
12
38
  :tickets: 1567
@@ -1,5 +1,5 @@
1
1
  const DOCUMENTATION_OPTIONS = {
2
- VERSION: '1.15.0',
2
+ VERSION: '1.15.2',
3
3
  LANGUAGE: 'en',
4
4
  COLLAPSE_INDEX: false,
5
5
  BUILDER: 'html',
@@ -8,7 +8,7 @@
8
8
  <meta charset="utf-8" />
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
10
10
 
11
- <title>Autogeneration &#8212; Alembic 1.15.0 documentation</title>
11
+ <title>Autogeneration &#8212; Alembic 1.15.2 documentation</title>
12
12
 
13
13
 
14
14
 
@@ -40,7 +40,7 @@
40
40
  <link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
41
41
  <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
42
42
 
43
- <script src="../_static/documentation_options.js?v=16b96ff3"></script>
43
+ <script src="../_static/documentation_options.js?v=ba316d88"></script>
44
44
  <script src="../_static/doctools.js?v=9bcbadda"></script>
45
45
  <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
46
46
  <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -138,7 +138,7 @@
138
138
 
139
139
 
140
140
 
141
- <p class="title logo__title">Alembic 1.15.0 documentation</p>
141
+ <p class="title logo__title">Alembic 1.15.2 documentation</p>
142
142
 
143
143
  </a></div>
144
144
  <div class="sidebar-primary-item"><ul class="navbar-icon-links"
@@ -8,7 +8,7 @@
8
8
  <meta charset="utf-8" />
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
10
10
 
11
- <title>Commands &#8212; Alembic 1.15.0 documentation</title>
11
+ <title>Commands &#8212; Alembic 1.15.2 documentation</title>
12
12
 
13
13
 
14
14
 
@@ -40,7 +40,7 @@
40
40
  <link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
41
41
  <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
42
42
 
43
- <script src="../_static/documentation_options.js?v=16b96ff3"></script>
43
+ <script src="../_static/documentation_options.js?v=ba316d88"></script>
44
44
  <script src="../_static/doctools.js?v=9bcbadda"></script>
45
45
  <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
46
46
  <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -138,7 +138,7 @@
138
138
 
139
139
 
140
140
 
141
- <p class="title logo__title">Alembic 1.15.0 documentation</p>
141
+ <p class="title logo__title">Alembic 1.15.2 documentation</p>
142
142
 
143
143
  </a></div>
144
144
  <div class="sidebar-primary-item"><ul class="navbar-icon-links"
@@ -8,7 +8,7 @@
8
8
  <meta charset="utf-8" />
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
10
10
 
11
- <title>Configuration &#8212; Alembic 1.15.0 documentation</title>
11
+ <title>Configuration &#8212; Alembic 1.15.2 documentation</title>
12
12
 
13
13
 
14
14
 
@@ -40,7 +40,7 @@
40
40
  <link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
41
41
  <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
42
42
 
43
- <script src="../_static/documentation_options.js?v=16b96ff3"></script>
43
+ <script src="../_static/documentation_options.js?v=ba316d88"></script>
44
44
  <script src="../_static/doctools.js?v=9bcbadda"></script>
45
45
  <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
46
46
  <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -138,7 +138,7 @@
138
138
 
139
139
 
140
140
 
141
- <p class="title logo__title">Alembic 1.15.0 documentation</p>
141
+ <p class="title logo__title">Alembic 1.15.2 documentation</p>
142
142
 
143
143
  </a></div>
144
144
  <div class="sidebar-primary-item"><ul class="navbar-icon-links"
@@ -8,7 +8,7 @@
8
8
  <meta charset="utf-8" />
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
10
10
 
11
- <title>DDL Internals &#8212; Alembic 1.15.0 documentation</title>
11
+ <title>DDL Internals &#8212; Alembic 1.15.2 documentation</title>
12
12
 
13
13
 
14
14
 
@@ -40,7 +40,7 @@
40
40
  <link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
41
41
  <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
42
42
 
43
- <script src="../_static/documentation_options.js?v=16b96ff3"></script>
43
+ <script src="../_static/documentation_options.js?v=ba316d88"></script>
44
44
  <script src="../_static/doctools.js?v=9bcbadda"></script>
45
45
  <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
46
46
  <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -138,7 +138,7 @@
138
138
 
139
139
 
140
140
 
141
- <p class="title logo__title">Alembic 1.15.0 documentation</p>
141
+ <p class="title logo__title">Alembic 1.15.2 documentation</p>
142
142
 
143
143
  </a></div>
144
144
  <div class="sidebar-primary-item"><ul class="navbar-icon-links"
@@ -804,7 +804,7 @@ the signatures generated by <code class="docutils literal notranslate"><span cla
804
804
 
805
805
  <dl class="py method">
806
806
  <dt class="sig sig-object py" id="alembic.ddl.impl.DefaultImpl.create_column_comment">
807
- <span class="sig-name descname"><span class="pre">create_column_comment</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">column</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">ColumnElement</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#alembic.ddl.impl.DefaultImpl.create_column_comment" title="Link to this definition">#</a></dt>
807
+ <span class="sig-name descname"><span class="pre">create_column_comment</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">column</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.sqlalchemy.org/en/20/core/metadata.html#sqlalchemy.schema.Column" title="(in SQLAlchemy v2.0)"><span class="pre">Column</span></a><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Any" title="(in Python v3.13)"><span class="pre">Any</span></a><span class="p"><span class="pre">]</span></span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#alembic.ddl.impl.DefaultImpl.create_column_comment" title="Link to this definition">#</a></dt>
808
808
  <dd></dd></dl>
809
809
 
810
810
  <dl class="py method">
@@ -8,7 +8,7 @@
8
8
  <meta charset="utf-8" />
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
10
10
 
11
- <title>API Details &#8212; Alembic 1.15.0 documentation</title>
11
+ <title>API Details &#8212; Alembic 1.15.2 documentation</title>
12
12
 
13
13
 
14
14
 
@@ -40,7 +40,7 @@
40
40
  <link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
41
41
  <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
42
42
 
43
- <script src="../_static/documentation_options.js?v=16b96ff3"></script>
43
+ <script src="../_static/documentation_options.js?v=ba316d88"></script>
44
44
  <script src="../_static/doctools.js?v=9bcbadda"></script>
45
45
  <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
46
46
  <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -138,7 +138,7 @@
138
138
 
139
139
 
140
140
 
141
- <p class="title logo__title">Alembic 1.15.0 documentation</p>
141
+ <p class="title logo__title">Alembic 1.15.2 documentation</p>
142
142
 
143
143
  </a></div>
144
144
  <div class="sidebar-primary-item"><ul class="navbar-icon-links"
@@ -8,7 +8,7 @@
8
8
  <meta charset="utf-8" />
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
10
10
 
11
- <title>Operation Directives &#8212; Alembic 1.15.0 documentation</title>
11
+ <title>Operation Directives &#8212; Alembic 1.15.2 documentation</title>
12
12
 
13
13
 
14
14
 
@@ -40,7 +40,7 @@
40
40
  <link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
41
41
  <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
42
42
 
43
- <script src="../_static/documentation_options.js?v=16b96ff3"></script>
43
+ <script src="../_static/documentation_options.js?v=ba316d88"></script>
44
44
  <script src="../_static/doctools.js?v=9bcbadda"></script>
45
45
  <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
46
46
  <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -138,7 +138,7 @@
138
138
 
139
139
 
140
140
 
141
- <p class="title logo__title">Alembic 1.15.0 documentation</p>
141
+ <p class="title logo__title">Alembic 1.15.2 documentation</p>
142
142
 
143
143
  </a></div>
144
144
  <div class="sidebar-primary-item"><ul class="navbar-icon-links"
@@ -640,7 +640,7 @@ autogenerate system renders new migration scripts.</p>
640
640
  <dd><p>Represent an alter column operation.</p>
641
641
  <dl class="py method">
642
642
  <dt class="sig sig-object py" id="alembic.operations.ops.AlterColumnOp.alter_column">
643
- <em class="property"><span class="k"><span class="pre">classmethod</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">alter_column</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">operations</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../ops.html#alembic.operations.Operations" title="alembic.operations.Operations"><span class="pre">Operations</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">table_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">column_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="keyword-only-separator o"><abbr title="Keyword-only parameters separator (PEP 3102)"><span class="pre">*</span></abbr></span></em>, <em class="sig-param"><span class="n"><span class="pre">nullable</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">comment</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Literal</span><span class="p"><span class="pre">[</span></span><span class="k"><span class="pre">False</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">server_default</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Any</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">new_column_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">type_</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Type</span><span class="p"><span class="pre">[</span></span><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_type</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Type</span><span class="p"><span class="pre">[</span></span><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_server_default</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Identity</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Computed</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_nullable</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_comment</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">schema</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kw</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Any</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#alembic.operations.ops.AlterColumnOp.alter_column" title="Link to this definition">#</a></dt>
643
+ <em class="property"><span class="k"><span class="pre">classmethod</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">alter_column</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">operations</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../ops.html#alembic.operations.Operations" title="alembic.operations.Operations"><span class="pre">Operations</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">table_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">column_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="keyword-only-separator o"><abbr title="Keyword-only parameters separator (PEP 3102)"><span class="pre">*</span></abbr></span></em>, <em class="sig-param"><span class="n"><span class="pre">nullable</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">comment</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Literal</span><span class="p"><span class="pre">[</span></span><span class="k"><span class="pre">False</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">server_default</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Identity</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Computed</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">TextClause</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">new_column_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">type_</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Type</span><span class="p"><span class="pre">[</span></span><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_type</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Type</span><span class="p"><span class="pre">[</span></span><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_server_default</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Identity</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Computed</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">TextClause</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_nullable</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_comment</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">schema</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kw</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Any</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#alembic.operations.ops.AlterColumnOp.alter_column" title="Link to this definition">#</a></dt>
644
644
  <dd><p>This method is proxied on the <a class="reference internal" href="../ops.html#alembic.operations.Operations" title="alembic.operations.Operations"><code class="xref py py-class docutils literal notranslate"><span class="pre">Operations</span></code></a> class, via the <a class="reference internal" href="../ops.html#alembic.operations.Operations.alter_column" title="alembic.operations.Operations.alter_column"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Operations.alter_column()</span></code></a> method.</p>
645
645
  </dd></dl>
646
646
 
@@ -8,7 +8,7 @@
8
8
  <meta charset="utf-8" />
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
10
10
 
11
- <title>Overview &#8212; Alembic 1.15.0 documentation</title>
11
+ <title>Overview &#8212; Alembic 1.15.2 documentation</title>
12
12
 
13
13
 
14
14
 
@@ -40,7 +40,7 @@
40
40
  <link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
41
41
  <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
42
42
 
43
- <script src="../_static/documentation_options.js?v=16b96ff3"></script>
43
+ <script src="../_static/documentation_options.js?v=ba316d88"></script>
44
44
  <script src="../_static/doctools.js?v=9bcbadda"></script>
45
45
  <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
46
46
  <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -138,7 +138,7 @@
138
138
 
139
139
 
140
140
 
141
- <p class="title logo__title">Alembic 1.15.0 documentation</p>
141
+ <p class="title logo__title">Alembic 1.15.2 documentation</p>
142
142
 
143
143
  </a></div>
144
144
  <div class="sidebar-primary-item"><ul class="navbar-icon-links"
@@ -8,7 +8,7 @@
8
8
  <meta charset="utf-8" />
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
10
10
 
11
- <title>Runtime Objects &#8212; Alembic 1.15.0 documentation</title>
11
+ <title>Runtime Objects &#8212; Alembic 1.15.2 documentation</title>
12
12
 
13
13
 
14
14
 
@@ -40,7 +40,7 @@
40
40
  <link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
41
41
  <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
42
42
 
43
- <script src="../_static/documentation_options.js?v=16b96ff3"></script>
43
+ <script src="../_static/documentation_options.js?v=ba316d88"></script>
44
44
  <script src="../_static/doctools.js?v=9bcbadda"></script>
45
45
  <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
46
46
  <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -138,7 +138,7 @@
138
138
 
139
139
 
140
140
 
141
- <p class="title logo__title">Alembic 1.15.0 documentation</p>
141
+ <p class="title logo__title">Alembic 1.15.2 documentation</p>
142
142
 
143
143
  </a></div>
144
144
  <div class="sidebar-primary-item"><ul class="navbar-icon-links"
@@ -8,7 +8,7 @@
8
8
  <meta charset="utf-8" />
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
10
10
 
11
- <title>Script Directory &#8212; Alembic 1.15.0 documentation</title>
11
+ <title>Script Directory &#8212; Alembic 1.15.2 documentation</title>
12
12
 
13
13
 
14
14
 
@@ -40,7 +40,7 @@
40
40
  <link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
41
41
  <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
42
42
 
43
- <script src="../_static/documentation_options.js?v=16b96ff3"></script>
43
+ <script src="../_static/documentation_options.js?v=ba316d88"></script>
44
44
  <script src="../_static/doctools.js?v=9bcbadda"></script>
45
45
  <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
46
46
  <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -138,7 +138,7 @@
138
138
 
139
139
 
140
140
 
141
- <p class="title logo__title">Alembic 1.15.0 documentation</p>
141
+ <p class="title logo__title">Alembic 1.15.2 documentation</p>
142
142
 
143
143
  </a></div>
144
144
  <div class="sidebar-primary-item"><ul class="navbar-icon-links"