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

bpo-42686: Enable SQLite math functions in Windows build #24053

Merged
merged 2 commits into from May 4, 2021

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Jan 1, 2021

@erlend-aasland erlend-aasland requested a review from python/windows-team as a code owner Jan 1, 2021
@erlend-aasland
Copy link
Contributor Author

@erlend-aasland erlend-aasland commented Jan 7, 2021

@zooba Could you have a look a this? I won't have any effect until we upgrade to SQLite 3.35.0, but it won't do any harm applying it now.

@github-actions
Copy link

@github-actions github-actions bot commented Feb 7, 2021

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Feb 7, 2021
@erlend-aasland
Copy link
Contributor Author

@erlend-aasland erlend-aasland commented Feb 11, 2021

Is there anyone else from the Windows team who can review this?

Copy link
Member

@pfmoore pfmoore left a comment

I can confirm from a quick scan that this looks OK. I haven't built Python with this PR, though, so that's all I can say, sorry.

@erlend-aasland
Copy link
Contributor Author

@erlend-aasland erlend-aasland commented Feb 11, 2021

I can confirm from a quick scan that this looks OK. I haven't built Python with this PR, though, so that's all I can say, sorry.

Thanks, Paul. The CI should fail for win32 and win64 if it didn't build, right?

@pfmoore
Copy link
Member

@pfmoore pfmoore commented Feb 11, 2021

I'd assume so, yes.

@zware
Copy link
Member

@zware zware commented Feb 11, 2021

LGTM as well, but I do think we want to hold off on this until we are in fact using a version that it affects. If we merge this before then, we're giving the impression that the functionality is there when it actually isn't.

You could get fancy and include a version check, but that may be more trouble than it's worth.

@erlend-aasland
Copy link
Contributor Author

@erlend-aasland erlend-aasland commented Feb 11, 2021

LGTM as well, but I do think we want to hold off on this until we are in fact using a version that it affects. If we merge this before then, we're giving the impression that the functionality is there when it actually isn't.

That depends on how we phrase the NEWS item, I guess. However, adding this now will make it slightly easier to try out the current nightly SQLite builds. OTOH, those who do so are very likely to just add the compile definition themselves, so I guess the real gain is negligible. I'm fine with holding off until 3.35.0. We can include this when we're upgrading the Windows build to 3.35.0.

UPDATE: The Windows installer will be updated in #25641

You could get fancy and include a version check, but that may be more trouble than it's worth.

Totally agree.

@github-actions github-actions bot removed the stale label Feb 12, 2021
@erlend-aasland erlend-aasland force-pushed the erlend-aasland:bpo-42686 branch from 7289757 to 9ca544d Mar 10, 2021
@erlend-aasland
Copy link
Contributor Author

@erlend-aasland erlend-aasland commented Mar 10, 2021

FYI, rebased onto master bco. #24797.

@erlend-aasland
Copy link
Contributor Author

@erlend-aasland erlend-aasland commented Apr 27, 2021

@zooba: now that #25641 is merged, would you mind merging this as well? It's already approved by members of the Windows team.

@ambv ambv merged commit b451bc8 into python:main May 4, 2021
11 checks passed
11 checks passed
@github-actions
Docs
Details
@github-actions
Check for source changes
Details
@github-actions
Check if generated files are up to date
Details
@github-actions
Windows (x86)
Details
@github-actions
Windows (x64)
Details
@github-actions
macOS
Details
@github-actions
Ubuntu
Details
Azure Pipelines PR #20210310.25 succeeded
Details
@travis-ci
Travis CI - Pull Request Build Passed
Details
@bedevere-bot
bedevere/issue-number Issue number 42686 found
Details
@bedevere-bot
bedevere/news News entry found in Misc/NEWS.d
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 4, 2021

Thanks @erlend-aasland for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒🤖

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented May 4, 2021

@ambv: Please replace # with GH- in the commit message next time. Thanks!

miss-islington added a commit to miss-islington/cpython that referenced this pull request May 4, 2021
)

(cherry picked from commit b451bc8)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented May 4, 2021

GH-25892 is a backport of this pull request to the 3.10 branch.

@erlend-aasland erlend-aasland deleted the erlend-aasland:bpo-42686 branch May 4, 2021
ambv pushed a commit that referenced this pull request May 4, 2021
…25892)

(cherry picked from commit b451bc8)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants