Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies: Migrate from crate[sqlalchemy] to sqlalchemy-cratedb #163

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

amotl
Copy link
Member

@amotl amotl commented Jun 10, 2024

About

The CrateDB SQLAlchemy dialect needs more love, so it was separated from the DBAPI HTTP driver. This patch verifies and concludes the migration.

References

Copy link

codecov bot commented Jun 10, 2024

Codecov Report

Attention: Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.01%. Comparing base (3e11a0c) to head (13b4295).

Files Patch % Lines
cratedb_toolkit/testing/pytest.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #163       +/-   ##
===========================================
+ Coverage   52.10%   79.01%   +26.90%     
===========================================
  Files          56       56               
  Lines        1969     1973        +4     
===========================================
+ Hits         1026     1559      +533     
+ Misses        943      414      -529     
Flag Coverage Δ
influxdb 35.78% <50.00%> (+0.02%) ⬆️
main 62.08% <90.00%> (?)
mongodb 49.01% <10.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pyproject.toml Outdated
"crate[sqlalchemy]>=0.34",
"crate @ git+https://github.com/crate/crate-python.git@no-sqlalchemy",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The crate package will probably need to be published before being able to conclude the migration. For example, let's use/ focus on crate[sqlalchemy].

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Published crate-python@no-sqlalchemy 1 as crate-1.0.0.dev0 2, in order to satisfy downsteam dependencies, without tripping any existing users of crate.

Footnotes

  1. https://github.com/crate/crate-python/tree/no-sqlalchemy

  2. https://pypi.org/project/crate/1.0.0.dev0/

@amotl amotl force-pushed the sqlalchemy-nt branch 2 times, most recently from 429ddab to 2fba43b Compare June 11, 2024 02:44
amotl added 2 commits June 11, 2024 04:46
The CrateDB SQLAlchemy dialect needs more love, so it was separated from
the DBAPI HTTP driver.
@amotl amotl marked this pull request as ready for review June 11, 2024 02:50
@amotl amotl merged commit dc63a7e into main Jun 11, 2024
21 checks passed
@amotl amotl deleted the sqlalchemy-nt branch June 11, 2024 02:51
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.

1 participant