Re: [sqlalchemy] sqlalchemy serialization bug (TypeError: list indices must be integers or slices, not str)

2022-06-24 Thread Mike Bayer
1.4.39 is released On Fri, Jun 24, 2022, at 12:12 PM, Evgenii wrote: > Yes, it works > > пятница, 24 июня 2022 г. в 17:58:46 UTC+3, Evgenii: >> Sure, I can >> >> пятница, 24 июня 2022 г. в 17:06:39 UTC+3, Mike Bayer: >>> __ >>> if you can test this patch and confirm it reads your old pickle

Re: [sqlalchemy] sqlalchemy serialization bug (TypeError: list indices must be integers or slices, not str)

2022-06-24 Thread Evgenii
Yes, it works пятница, 24 июня 2022 г. в 17:58:46 UTC+3, Evgenii: > Sure, I can > > пятница, 24 июня 2022 г. в 17:06:39 UTC+3, Mike Bayer: > >> if you can test this patch and confirm it reads your old pickle format, I >> can merge it and release 1.4.39 >> >> diff --git

Re: [sqlalchemy] sqlalchemy serialization bug (TypeError: list indices must be integers or slices, not str)

2022-06-24 Thread Evgenii
Sure, I can пятница, 24 июня 2022 г. в 17:06:39 UTC+3, Mike Bayer: > if you can test this patch and confirm it reads your old pickle format, I > can merge it and release 1.4.39 > > diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py > index 934ac37a05..cbec06a31f 100644

Re: [sqlalchemy] sqlalchemy serialization bug (TypeError: list indices must be integers or slices, not str)

2022-06-24 Thread Mike Bayer
if you can test this patch and confirm it reads your old pickle format, I can merge it and release 1.4.39 diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py index 934ac37a05..cbec06a31f 100644 --- a/lib/sqlalchemy/ext/mutable.py +++ b/lib/sqlalchemy/ext/mutable.py @@

Re: [sqlalchemy] sqlalchemy serialization bug (TypeError: list indices must be integers or slices, not str)

2022-06-24 Thread Mike Bayer
hey there - yes this is unfortunately the case as we had to fix a bug in the mutable extension, issue 8133 doc'ed at https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-f8b03063d70397a8f275287ed2c8f2e6 . this seemed to be enough of an edge case that I didn't attempt to

[sqlalchemy] sqlalchemy serialization bug (TypeError: list indices must be integers or slices, not str)

2022-06-24 Thread Evgenii
Hello! We found bug in SA version `1.4.38` during deserialization. How to reproduce: Serialize any ORM object with pickle using environment with any SA compatible version `1.4.n` except `1.4.38` in , ex. `1.4.31`: ``` pickle.dumps(obj) ``` Deserialize result using environment with SA version