Skip to content

mysql 5.7.20 warns on @tx_isolation #4120

Closed
@sqlalchemy-bot

Description

@sqlalchemy-bot
Collaborator

Migrated issue, originally created by Michael Bayer (@zzzeek)

changed to @transaction_isolation and is already producing errors with 1.1 due to older "our_warn" fixture modified for 1.2 in 9f0fb6c. pr zzzeek/sqlalchemy#391 has an initial fix the gerrit is working through at https://gerrit.sqlalchemy.org/#/q/I4d2e04df760c5351a71dde8b32145cdc69fa6115

Activity

sqlalchemy-bot

sqlalchemy-bot commented on Oct 24, 2017

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

Remove deprecation warnings mysql5 7 20

MySQL 5.7.20 now warns for use of the @tx_isolation variable; a version
check is now performed and uses @transaction_isolation instead
to prevent this warning.

For 1.1, also backport our_warn() test fixture fix from
9f0fb6c 1.2 branch.

(cherry picked from commit 41cfe44)
Co-authored by: Mike Bayer mike_mp@zzzcomputing.com
Fixes: #4120
Pull-request: zzzeek/sqlalchemy#391
Change-Id: I4d2e04df760c5351a71dde8b32145cdc69fa6115

71c9b49

sqlalchemy-bot

sqlalchemy-bot commented on Oct 24, 2017

@sqlalchemy-bot
CollaboratorAuthor

Changes by Michael Bayer (@zzzeek):

  • changed status to closed
sqlalchemy-bot

sqlalchemy-bot commented on Oct 24, 2017

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

Remove deprecation warnings mysql5 7 20

MySQL 5.7.20 now warns for use of the @tx_isolation variable; a version
check is now performed and uses @transaction_isolation instead
to prevent this warning.

Co-authored by: Mike Bayer mike_mp@zzzcomputing.com
Fixes: #4120
Change-Id: I4d2e04df760c5351a71dde8b32145cdc69fa6115
Pull-request: zzzeek/sqlalchemy#391

41cfe44

sqlalchemy-bot

sqlalchemy-bot commented on Nov 2, 2017

@sqlalchemy-bot
CollaboratorAuthor

Kim Myhrman wrote:

Hi :)
Why is it backported to 1.1.15 and not 1.1.14, then it is impossible to fix the issue since 1.1.15 is not released?

sqlalchemy-bot

sqlalchemy-bot commented on Nov 2, 2017

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

I'll tell you how releases work. The number "1.1.14" is carved in stone - it is up on pypi at https://pypi.python.org/pypi/SQLAlchemy/1.1.14 and I cannot change anything about the 1.1.14 file. 1.1.15 is the next release in the 1.1 series which contains the fix, and you'll be able to upgrade to it directly, as soon as I release, which was hopefully this week. We mark bugs as "fixed" when they are committed for their target release, not when the actual release is put out. You can certainly download a tar.gz of 1.1.15 from here or github just by using the 1.1 branch (e.g. https://github.com/zzzeek/sqlalchemy/archive/rel_1_1.zip).

added this to the 1.1.x milestone on Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sqlalchemy-bot

        Issue actions

          mysql 5.7.20 warns on @tx_isolation · Issue #4120 · sqlalchemy/sqlalchemy