I'm unaware of any incompatibilities with SQLAlchemy 2.0 after reading the upgrade guide pretty extensively when I upgraded to 1.4. Nothing stood out in the changes to me that wouldn't work well with the existing pyramid_tm pattern.
> On Nov 24, 2022, at 12:38, zsol...@gmail.com <zsolt....@gmail.com> wrote: > > Hi, > > I'm starting a new project from cookiecutter and I wanted to use SQLAlchemy > 2.0 (pre-release currently). > > So far I changed meta.py to > > class Base(DeclarativeBase): > metadata = my_metadata > > as well as changing the model to the new Mapped / mapped_column syntax. > > My question is that is there anything in pyramid_tm, transaction or > zope.sqlalchemy packages which needs to be changed, or this was all I needed? > > SQLAlchemy changed a lot in 2.0, that's why I think the whole transaction > related part might be affected. > > If it's the case then I'll just go back to 1.4 and wait a year or so till it > matures. What do you think? > > Zsolt > > > > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pylons-discuss+unsubscr...@googlegroups.com > <mailto:pylons-discuss+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/7db23f68-cdef-42e4-8b71-3279c4db1c61n%40googlegroups.com > > <https://groups.google.com/d/msgid/pylons-discuss/7db23f68-cdef-42e4-8b71-3279c4db1c61n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/AA15D550-A6B8-497E-A08D-A55C2459B4E2%40gmail.com.