Currently I'm on SQLAlchemy 1.3 and there is a lot of work I have to do to migrate to 1.4 / 2.0. I think it's good idea to distribute 1.4 / 2.0 versions not only as "SQLAlchemy" project but as additional separate "SQLAlchemy2" project too with initial 1.4 version and then 2.0. This will give opportunity to have 1.3 and earlier version of SQLAlchemy which is already in use and latest SQLAlchemy2 version to migrate gradually step by step, in case of Flask for example, - one API method by another. Just one additional way to migrate painlessly.
--SQLAlchemy -The Python SQL Toolkit and Object Relational MapperTo post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description.---You received this message because you are subscribed to the Google Groups "sqlalchemy" group.To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/730e4079-1751-4a9f-8f4a-f5fd7dde30f7n%40googlegroups.com.
The problem is that currently only the entire codebase can be migrated from 1.3 to 1.4, even though it can be extremely difficult or too long to do.I suggest the following way of pinning dependencies:sqlalchemy==1.3sqlalchemy2==1.4 or sqlalchemy2==2.0Then current codebase will continue to work because "sqlalchemy" package stays at version 1.3 but it will be possible to use SQLAlchemy 1.4 / 2.0 additionally to migrate not whole codebase but part by part by importing "sqlalchemy2" package.
On Thursday, June 10, 2021 at 2:10:48 AM UTC+3 Mike Bayer wrote:hi there -having a separate project name on pypi doesn't solve any issue that isn't already solved by using version pinning - the "sqlalchemy" name on pypi is already at 1.4. the only way to install 1.3 is by requesting "pip install sqlalchemy < 1.4".As you've probably seen, SQLAlchemy 1.4 /2.0 includes a very specific upgrade path with step-by-step instructions at https://docs.sqlalchemy.org/en/14/changelog/migration_20.html .On Wed, Jun 9, 2021, at 4:15 PM, Marat Sharafutdinov wrote:Currently I'm on SQLAlchemy 1.3 and there is a lot of work I have to do to migrate to 1.4 / 2.0. I think it's good idea to distribute 1.4 / 2.0 versions not only as "SQLAlchemy" project but as additional separate "SQLAlchemy2" project too with initial 1.4 version and then 2.0. This will give opportunity to have 1.3 and earlier version of SQLAlchemy which is already in use and latest SQLAlchemy2 version to migrate gradually step by step, in case of Flask for example, - one API method by another. Just one additional way to migrate painlessly.
--SQLAlchemy -The Python SQL Toolkit and Object Relational MapperTo post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description.---You received this message because you are subscribed to the Google Groups "sqlalchemy" group.To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/730e4079-1751-4a9f-8f4a-f5fd7dde30f7n%40googlegroups.com.
--SQLAlchemy -The Python SQL Toolkit and Object Relational MapperTo post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description.---You received this message because you are subscribed to the Google Groups "sqlalchemy" group.To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/fa4b7c8f-ab62-466f-94f5-572ff6397328n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "sqlalchemy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sqlalchemy/BZPzqwnqwnU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sqlalchemy+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/203f42c9-29e2-4aed-bdbd-25abd717b1f3n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/203f42c9-29e2-4aed-bdbd-25abd717b1f3n%40googlegroups.com.