Skip to content

bpo-31525: Increase minimum sqlite version number check #12923

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
Apr 26, 2019

Conversation

LordAro
Copy link
Contributor

@LordAro LordAro commented Apr 23, 2019

setup.py checks for a minimum version of sqlite when building the _sqlite3 extension, but it checks for 3.0.8, whereas the extension makes use of sqlite3_prepare_v2, which was introduced in 3.3.9 - https://sqlite.org/releaselog/3_3_9.html

This PR just bumps the required version number, so that possible failures are detected earlier and are more clear

(I know it's still absolutely ancient, but RHEL5...)

https://bugs.python.org/issue31525

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

@LordAro
Copy link
Contributor Author

LordAro commented Apr 23, 2019

CLA signed now. I don't think an issue number or a news entry is necessary...

@vstinner
Copy link
Member

CLA signed now. I don't think an issue number

There is https://bugs.python.org/issue31525 which would be appropriate

@LordAro LordAro changed the title Increase minimum sqlite version number check bpo-31525: Increase minimum sqlite version number check Apr 23, 2019
Copy link
Member

@berkerpeksag berkerpeksag left a comment

Choose a reason for hiding this comment

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

I thought we've already updated setup.py, but apparently we weren't... Good catch!

@berkerpeksag berkerpeksag merged commit ad0daf5 into python:master Apr 26, 2019
@miss-islington
Copy link
Contributor

Thanks @LordAro for the PR, and @berkerpeksag for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@bedevere-bot
Copy link

GH-12972 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 26, 2019
@LordAro LordAro deleted the patch-1 branch April 26, 2019 15:53
miss-islington added a commit that referenced this pull request Apr 26, 2019
(cherry picked from commit ad0daf5)

Co-authored-by: Charles Pigott <[email protected]>
@berkerpeksag
Copy link
Member

Thanks!

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.

6 participants