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
pythonPackages.sqlite-utils: depend on sqlite-fts4 #104253
Conversation
d38a57e
to
0e67f44
Compare
Result of 4 packages built:
|
Result of 4 packages built:
|
0e67f44
to
b417163
Compare
/marvin opt-in |
Hi! I'm an experimental bot. My goal is to guide this PR through its stages, hopefully ending with a merge. You can read up on the usage here. |
6110994
to
024f58c
Compare
looks to be a small flakey difference. I'm okay with just disabling the tests
|
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.
Ok, this pull-request is a little bit confusing. First of all, do I understand correctly that there is already a commit bumping sqlite-utils
to 3.0 but forgetting to add a dependency? how was this missed before?! 🙀
The sqlite-fts4
builds fine. I don't think this PR should break anything (it's not removing dependencies, only adding them, only side-effect could be closure growth), but there was a mention of a flaky test, so I can't give it an LGTM but I don't feel like I'm qualified to request changes here, since it's so confusing and the tests just plain hung up on my machine so I'm not sure what's happening and the tests did fail for me, and they apparently take some time to perform.
Thanks for taking a look, I agree this PR is pretty confusing at the moment. I was just going to poke it awake earlier today when I saw the merge conflict, and had to run. Is there a better way I can clarify the confusion through the commit history? Should I revert b8c6488 instead, to keep the changes together and more atomic? I have a hunch on how to fix the tests, I'll test it as soon as I get back to my pc. |
I don't think the faulty commit should be reverted, rather this PR should be renamed to better represent that a dependency is added. The commit message should acknowledge the faulty commit and point out the mistake that was left there - and that now it is fixed. |
Fixed b8c6488 where `sqlite-utils` was updated without adding the new `sqlite-fts4` dependency. Disabled two tests that are failing for sqlite v3.34.0, until they are fixed upstream.
024f58c
to
e3e89c8
Compare
Thanks @kisik21, I've reworded the commit. I've also tracked down the cause for the failing tests, its due to an update of sqlite from 3.33 to 3.34. The tests fail at cfc56fb, and pass at the immediately previous e4d17dc (after waiting for 150 packages to rebuild overnight). I've opened an issue upstream (simonw/sqlite-utils#209), and disabled the failing two tests for now. Testing this tool is straight forward:
Also
|
I've run your example and I can confirm that this is working. Should we merge this now or wait for an upstream to fix the failing test? I'll leave this decision to whoever will be assigned to merge this, since I'm not yet well-versed in Nixpkgs policies, but if I were to decide, I'd err on the side of merging, as the functionality seems to be working as intended (as far as demonstrated by the remaining enabled tests and the manual test case described here). /status needs_merger |
Reminder: Please review! Reminder: This Pull Request is awaiting merger. If you are the assigned reviewer with commit permission, please have a look. If you can't, please say so. If the status is not accurate, please change it. If nothing happens, this PR will be put back in the |
Motivation for this change
Adding
sqlite-fts4
as a dependency.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)