-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Response parsing occasionally fails to parse floats #1692
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1692 +/- ##
==========================================
+ Coverage 92.05% 92.22% +0.17%
==========================================
Files 52 53 +1
Lines 10973 11003 +30
==========================================
+ Hits 10101 10148 +47
+ Misses 872 855 -17
Continue to review full report at Codecov.
|
@bmerry Tagging you here given our other bug. Is there any way I can test this specific change with your project? I'm changing a helper underneath, but I realize it could expose a bug, if people assume that floats are strings. If not - I'm merge ready. |
I'm afraid I'm lacking some context. What is parse_to_list used for? |
The project is fakeredis, which implements a Connection subclass that pretends to be a Redis server. It hasn't kept up to date with all the new Redis protocol things, which is why tests have been failing when redis-py generates such protocol. You can probably try running the fakeredis unit tests yourself. You should run them against a Redis 6.2.6 server (otherwise you'll get a bunch of failures for the stuff where it does emulate that version), and be aware that it will discard any data currently held by the server. Alternatively I think it'll skip the tests against the real redis server if it can't connect, and that'll make the tests twice as fast to run too. |
I realise that this isn't something that you'd currently be using. It's part of the 4.0.0 module support. Apologies, I shouldn't have tagged you. On the plus side, I've closed fakeredis, which is pretty fun. Thanks :D! |
Pull Request check-list
Please make sure to review and check all of these items:
$ tox
pass with this change (including linting)?NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
Please provide a description of the change here.