Skip to content

Remove dependency on sqlalchemy-utils #352

Closed

Description

@marksteward

It's a bit of a liability, we should probably vendor it.

Activity

  1. josecsotomorales commented on Aug 30, 2025

    @josecsotomorales
    Collaborator

    I'm taking this one, will take on this PR: #356

  2. marksteward commented on Aug 30, 2025

    @marksteward
    CollaboratorAuthor

    There seemed to be a load of unrelated changes in there when I looked initially. I don't understand what they're doing.

  3. josecsotomorales commented on Aug 30, 2025

    @josecsotomorales
    Collaborator

    I can start a PR from the scratch, I still didn't look at that PR, but it looks like the goal was the same, let's see

  4. josecsotomorales commented on Aug 30, 2025

    @josecsotomorales
    Collaborator

    Here we go: #370

    @marksteward, after looking at the old PR, I just decided to go with a simplified version of it, so I ported the functions used from sqlalchemy-utils. What do you think about it? Can you review?

  5. marksteward commented on Aug 30, 2025

    @marksteward
    CollaboratorAuthor

    Hi, I've had a chance to read through the code in #356, and it does make sense after all. It also looks pretty similar to your code after 37e7e0a, but @mfulgo silently fixed some things while copying the code across. Let's merge yours now, and tomorrow I'll rebase or pull out stuff from #356 to make it more explicit.

    Ultimately I'd like to do what #356 was doing - simplify these functions where possible and remove _compat entirely, but that doesn't need to be done for the next release.

  6. josecsotomorales commented on Aug 30, 2025

    @josecsotomorales
    Collaborator

    Sounds great! I've released v1.5.0 today, and after we get this issue closed, we can release v2.0.0

  7. josecsotomorales commented on Aug 31, 2025

    @josecsotomorales
    Collaborator
  8. josecsotomorales commented on Aug 31, 2025

    @josecsotomorales
    Collaborator

    My PR is merged, as soon as you make your changes we can cutoff a 2.0.0 release, just let me know.

  9. josecsotomorales commented on Oct 7, 2025

    @josecsotomorales
    Collaborator

    @marksteward, I think you released 1.5.1 with the SQLAlchemy utils removal on it. Should we bump this to 2.0.0 or 1.6.0?
    We have a how-to release that creates a GH release as well to make the process more robust: https://github.com/sqlalchemy-continuum/sqlalchemy-continuum/blob/main/RELEASE.md

  10. marksteward commented on Oct 10, 2025

    @marksteward
    CollaboratorAuthor

    Thanks for the release doc, it looks good to me and I followed it for 1.5.1.

    I was a bit confused by what you did with 1.5.0, as I didn't notice the tag was on an earlier commit, and the released wheel had 1.4.2 as its version, so I put things to what I thought was the right place.

    From looking further I see I unintentionally released what I thought you'd already released in this ticket! So I need to fix the release notes, but I think everything's correct now. Dropping a dependency doesn't need a major release, but we do now have no real reason to jump to 2.0.

    Shall we try to get rid of all the deprecation warnings as part of that? I'd like to do those before looking for other changes that might encourage people to make the version bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions