Skip to content

bpo-28791: Update Windows installer to use SQLite 3.21.0. #4246

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

Merged
merged 2 commits into from
Nov 7, 2017

Conversation

Mariatta
Copy link
Member

@Mariatta Mariatta commented Nov 3, 2017

Copy link
Member

@zooba zooba left a comment

Choose a reason for hiding this comment

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

The change here is fine, but we need the sources uploaded to https://github.com/python/cpython-source-deps and a successful AppVeyor build before merging.

@@ -0,0 +1 @@
Update Windows installer to use SQLite 3.21.0.
Copy link
Member

Choose a reason for hiding this comment

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

I would make this "Windows builds" - the installer doesn't have anything to do with SQLite.

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated.

@@ -50,7 +50,7 @@ echo.Fetching external libraries...
set libraries=
set libraries=%libraries% bzip2-1.0.6
if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.0f
set libraries=%libraries% sqlite-3.14.2.0
set libraries=%libraries% sqlite-3.21.0.0
Copy link
Member

Choose a reason for hiding this comment

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

@zware Have you pushed sources up here yet? I haven't.

Copy link
Member

Choose a reason for hiding this comment

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

I have not. @Mariatta, if you'd like to do so, the undocumented process is:

  1. clone cpython-source-deps
  2. check out the sqlite branch
  3. download the sqlite source from sqlite.org
  4. unzip it into the cpython-source-deps checkout
  5. commit, push (as a PR if you'd like confirmation from @zooba or me; base the PR on the sqlite branch)
  6. tag the commit as sqlite-<full version specified in PCbuild/get_externals.bat`

After that, convince AppVeyor to run it again and all should be good. This can all be done from non-Windows.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks @zware and @zooba. I made the PR in cpython-source-deps repo.
🤔 Where should the above steps be documented? Dev Guide?

Copy link
Member

Choose a reason for hiding this comment

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

Devguide would be the right place, but where in the devguide I have no idea :)

Mariatta added a commit to python/cpython-source-deps that referenced this pull request Nov 4, 2017
@Mariatta Mariatta closed this Nov 4, 2017
@Mariatta Mariatta reopened this Nov 4, 2017
@Mariatta
Copy link
Member Author

Mariatta commented Nov 4, 2017

Hmm now appveyor didn't run..

Copy link
Member

@zware zware left a comment

Choose a reason for hiding this comment

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

AppVeyor is happy; I'm happy :)

It is unfortunate that AppVeyor only checks the latest commit for what has changed; I had to manually start the build.

@Mariatta
Copy link
Member Author

Mariatta commented Nov 7, 2017

Thanks @zooba and @zware. I'll go ahead and merge this :) 🎉

@Mariatta Mariatta merged commit 31af650 into python:master Nov 7, 2017
@Mariatta Mariatta deleted the bpo-28791-windows branch November 7, 2017 03:31
embray pushed a commit to embray/cpython that referenced this pull request Nov 9, 2017
@miss-islington
Copy link
Contributor

Thanks @Mariatta for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @Mariatta, I could not cleanly backport this to 3.6 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 31af650ee25f65794b75d4dfefed6fe4758781c1 3.6

Mariatta added a commit to Mariatta/cpython that referenced this pull request Dec 5, 2017
@bedevere-bot
Copy link

GH-4717 is a backport of this pull request to the 3.6 branch.

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.

6 participants