-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat: can resume and dump from string #5
Conversation
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
My main comments:
|
Using base64 is ok. So, to merge:
|
for the reason use base64, for GitHub actions secret or other its easy to copy paste, especially for some users that do not know much about code. for 1, its ok for me, will change it(but my question is do I need to change |
I would get rid of I only added |
OK, will fix my repo and added test tomorrow, thanks again for your great repo, and good night(good day) |
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
@matin done and left a few review |
.github/workflows/ci.yml
Outdated
@@ -20,7 +19,7 @@ jobs: | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
python-version: ['3.9', '3.10', '3.11'] | |||
python-version: ["3.8", "3.9", "3.10", "3.11"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can support 3.8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are open issues with 3.8:
FAILED tests/stats/test_intensity_minutes.py::test_weekly_intensity_minutes - AttributeError: 'tuple' object has no attribute 'week'
FAILED tests/stats/test_steps.py::test_weekly_steps - TypeError: unsupported operand type(s) for |: 'dict' and 'dict'
FAILED tests/stats/test_stress.py::test_daily_stress - TypeError: unsupported operand type(s) for |: 'dict' and 'dict'
FAILED tests/stats/test_stress.py::test_daily_stress_pagination - TypeError: unsupported operand type(s) for |: 'dict' and 'dict'
We can make the necessary changes to support 3.8, but I recommend doing so outside of this PR.
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5 +/- ##
===========================================
+ Coverage 99.79% 100.00% +0.20%
===========================================
Files 29 29
Lines 980 996 +16
===========================================
+ Hits 978 996 +18
+ Misses 2 0 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
will fix the change in python3.8 |
@yihong0618 with the exception of 3.8, looks great! Could you remove 3.8 support? It can always be resolved outside of this PR. |
of course, dropping it |
@yihong0618 published as version |
fix: #4
@matin