Skip to content

Migrate to PEP 621 and format codebase with ruff - #364

Closed
josecsotomorales wants to merge 3 commits into
sqlalchemy-continuum:masterfrom
josecsotomorales:migrate-to-uv-and-ruff
Closed

josecsotomorales wants to merge 3 commits into
sqlalchemy-continuum:masterfrom
josecsotomorales:migrate-to-uv-and-ruff

Conversation

@josecsotomorales

Copy link
Copy Markdown
Collaborator

No description provided.

@josecsotomorales

Copy link
Copy Markdown
Collaborator Author

Hey @kvesteri! I'm currently a maintainer at SQLAlchemy-Utils, but just noticed that my invite on sqlalchemy-continuum expired. Could you please send me another invite on GitHub and PyPI?

@josecsotomorales

josecsotomorales commented Jul 9, 2025 •

Copy link
Copy Markdown
Collaborator Author

@marksteward the plan is to migrate this and SQLAlchemy-Continuum to uv and ruff! Can we review it?

@josecsotomorales
josecsotomorales force-pushed the migrate-to-uv-and-ruff branch 3 times, most recently from 3f5bc6d to 82d3ecb Compare July 10, 2025 17:24
@josecsotomorales
josecsotomorales force-pushed the migrate-to-uv-and-ruff branch from 82d3ecb to e128448 Compare July 10, 2025 17:28
@marksteward

Copy link
Copy Markdown
Collaborator

Happy to merge this if you're done with it. Let me know and I'll give it a proper look over.

@marksteward

marksteward commented Jul 10, 2025 •

Copy link
Copy Markdown
Collaborator

If it's not too much hassle, could you keep the initial ruff run to a single separate commit, so I can verify running it locally gives the same output? Thanks!

@josecsotomorales

Copy link
Copy Markdown
Collaborator Author

If it's not too much hassle, could you keep the initial ruff run to a single separate commit, so I can verify running it locally gives the same output? Thanks!

Hi @marksteward,

I apologize for the commit history not being ideal. I had to force push and lost the individual commits along the way because I initially built this branch on top of my fork, which was out of date from master.

The ruff formatting was applied as part of the migration commit (e128448), but I understand you'd prefer it as a separate commit for verification. Since I had to reconstruct the branch history, the formatting changes got mixed in with the packaging changes. I've also tested this in my project that uses continuum, and everything is working as expected.

Can we proceed as is, or would you prefer me to attempt to split the commit (though that would require another force push)?

Thanks for your patience!

@josecsotomorales

Copy link
Copy Markdown
Collaborator Author

Here are the changes on this PR:

@josecsotomorales

Copy link
Copy Markdown
Collaborator Author

Next steps after we get this PR merged, if you approve it, would be:

  • Remove SQLAlchemy-Utils dependency -> might take and refactor this existing PR (Removes sqlalchemy_utils dependency #356 )
  • Work on removing warnings from the code base, currently tests are reporting: 741 passed, 19 skipped, 8944 warnings

@josecsotomorales josecsotomorales changed the title Added uv migration and format codebase with ruff Migrate to PEP 621 and format codebase with ruff Jul 12, 2025
@josecsotomorales
josecsotomorales deleted the migrate-to-uv-and-ruff branch August 21, 2025 19:21
@marksteward

Copy link
Copy Markdown
Collaborator

Was merged under #367

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants