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

sqlite: 3.28.0 -> 3.30.0, sqlite-analyzer: 3.28.0 -> 3.30.0, resolves #70127 and #68583 #70593

Closed
wants to merge 1 commit into from

Conversation

cko
Copy link
Member

@cko cko commented Oct 7, 2019

replaces #65402

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @eelco @np

@cko
Copy link
Member Author

cko commented Oct 7, 2019

I have no idea what the failing checks mean. I assume it's just a hickup.
Can someone manually trigger the build again? (I think, I don't have the required permissions)

@cko
Copy link
Member Author

cko commented Oct 8, 2019

@GrahamcOfBorg build sqlite sqlite-analyzer

@d-goldin
Copy link
Contributor

I ran the compilation for both on NixOS, and both succeeded. Also tested that this indeed fixes the issue using the snippet from https://www.sqlite.org/src/info/e4598ecbdd18bd82945f6029013296690e719a62 .

Pinging @edolstra as @eelco is non-existent.

@d-goldin
Copy link
Contributor

@cko: given that nobody has come around yet, I'd suggest to rebase and push force again, that should retrigger ofBorg.

@cko
Copy link
Member Author

cko commented Oct 15, 2019

@d-goldin that's a good idea, thank you! Done.

@ofborg ofborg bot requested review from edolstra and np October 15, 2019 19:01
@cko cko changed the title sqlite: 3.28.0 -> 3.30.0, sqlite-analyzer: 3.28.0 -> 3.30.0, resolves #70127 sqlite: 3.28.0 -> 3.30.0, sqlite-analyzer: 3.28.0 -> 3.30.0, resolves #70127 and #68583 Oct 15, 2019
@d-goldin
Copy link
Contributor

Poke security team: @fpletz @domenkozar @grahamc

@ivan
Copy link
Member

ivan commented Oct 17, 2019

@GrahamcOfBorg build pythonPackages.apsw python3Packages.sqlalchemy

Testing these two because I saw build failures when I applied this to release-19.09, not sure if master has the same problem.

I tried to fix those two by bumping to the latest versions, but no luck:

sqlalchemy test failure

apsw test failure / issue: rogerbinns/apsw#275

@d-goldin
Copy link
Contributor

@ivan: Thanks for pointing that out. I briefly looked around and it also does not seem like there is an issue filed with sqlalchemy yet, so it might take a little while. Also because the failure actually looks like some more significant change has happened.

I don't think this issue is too high severity, but since we're at it, maybe we can go with a backported fix like in: d-goldin@3958e02

I ran sqlalchemy and apsw against it, and it seemed to pass the tests fine.

@FRidh FRidh changed the base branch from master to staging October 22, 2019 07:41
@FRidh
Copy link
Member

FRidh commented Oct 22, 2019

One commit per package please.

@d-goldin
Copy link
Contributor

This seems somewhat stalled a bit. Should I open a PR just for SQLite with the backported fix instead?

@FRidh
Copy link
Member

FRidh commented Oct 22, 2019

Actually, 6101751 went in so closing.

@FRidh FRidh closed this Oct 22, 2019
@d-goldin
Copy link
Contributor

@FRidh: Alright, missed that one. Keep in mind that it might have breakages with sqlalchemy, as outlined above.

@FRidh
Copy link
Member

FRidh commented Oct 22, 2019

Yep, I pushed a fix for sqlalchemy.

@d-goldin
Copy link
Contributor

@FRidh: Ah, great that there is a fix a vailable upstream by now. Is the plan to backport the bumped version + sqlalchemy fix to release-19.09 too, or might a backport be more suitable for that?

@FRidh
Copy link
Member

FRidh commented Oct 22, 2019

I don't know. I kind of hoped we would not have to backport a sqlite version bump

@d-goldin
Copy link
Contributor

@FRidh: I agree, that would be not overly stable releasy. I propose the backport PR listed above my comment.

@dtzWill
Copy link
Member

dtzWill commented Oct 22, 2019

FWIW sqlite 3.30.1 has been released! \o/
In my own testing/usage there were no new failures and the existing problems re:sqlalchemy and APSW are still present.

@FRidh
Copy link
Member

FRidh commented Oct 23, 2019

FWIW sqlite 3.30.1 has been released! \o/
In my own testing/usage there were no new failures and the existing problems re:sqlalchemy and APSW are still present.

Could you open a PR? I think we can keep that one for the next iteration. Most things have already been built now with 3.30.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants