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

Bump SQLAlchemy to 2.0 #626

Merged
merged 14 commits into from
Oct 5, 2024
Merged

Bump SQLAlchemy to 2.0 #626

merged 14 commits into from
Oct 5, 2024

Conversation

lollerfirst
Copy link
Contributor

@lollerfirst lollerfirst commented Sep 26, 2024

A lot of warnings for basically the same thing: use _mapping for dictionary interface to Row.

@lollerfirst
Copy link
Contributor Author

mypy is a bit dumb

@lollerfirst lollerfirst marked this pull request as draft September 26, 2024 10:45
Copy link

codecov bot commented Sep 26, 2024

Codecov Report

Attention: Patch coverage is 86.95652% with 3 lines in your changes missing coverage. Please review.

Project coverage is 63.58%. Comparing base (8675745) to head (f5d22c6).
Report is 14 commits behind head on main.

Files with missing lines Patch % Lines
cashu/core/db.py 50.00% 3 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (8675745) and HEAD (f5d22c6). Click for more details.

HEAD has 3 uploads less than BASE
Flag BASE (8675745) HEAD (f5d22c6)
9 6
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #626      +/-   ##
==========================================
- Coverage   69.02%   63.58%   -5.44%     
==========================================
  Files          92       98       +6     
  Lines        8674    10565    +1891     
==========================================
+ Hits         5987     6718     +731     
- Misses       2687     3847    +1160     
Flag Coverage Δ
63.58% <86.95%> (?)

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.

@callebtc
Copy link
Collaborator

mypy is a bit dumb

image

@lollerfirst lollerfirst marked this pull request as ready for review September 27, 2024 12:42
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
@callebtc callebtc requested a review from prusnak October 3, 2024 07:50
poetry.lock Outdated

[metadata]
lock-version = "2.0"
python-versions = "^3.8.1"
content-hash = "38db19797cb04d1f941f6f58c56c8dfe09ac34d45ac2f654bc97dd8110912da8"
content-hash = "1676da5d07d195f219cdb1338bdf693da20b971d904cae87812a30ddc31a76c0"
Copy link
Contributor

Choose a reason for hiding this comment

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

on my machine running poetry lock --no-update leads to a different content-hash:

Suggested change
content-hash = "1676da5d07d195f219cdb1338bdf693da20b971d904cae87812a30ddc31a76c0"
content-hash = "47f05f6093dbe0e04bb135e76c8e51cb306dd358fa5259fbbad6e24b005750d3"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should be fine now.

cashu/mint/crud.py Outdated Show resolved Hide resolved
@callebtc callebtc merged commit c5ccf65 into cashubtc:main Oct 5, 2024
17 checks passed
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.

3 participants