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

Python 3 compatibility / Removed UPSERT #8

Merged
merged 3 commits into from Jun 27, 2019
Merged

Conversation

wtfuii
Copy link
Contributor

@wtfuii wtfuii commented Jun 26, 2019

Hey,
with my changes, the lib should be compatible with Python 3.6. At least my tests were successful.
The UPSERT statement that you used is incompatible with both Python 2 and 3 (on Windows, I don't know about Linux). The UPSERT feature got introduced with sqlite 3.24.0. Even the most recent version of python (3.7.3) ships only with sqlite version 3.21.0.

@amotl
Copy link
Member

amotl commented Jun 27, 2019

Dear Klaus,

The lib should [now] be compatible with Python 3.6

That looks good, thanks a bunch!

The UPSERT feature got introduced with sqlite 3.24.0. Even the most recent version of python (3.7.3) ships only with sqlite version 3.21.0.

Bummer. Thanks also for taking care of that.

With kind regards,
Andreas.

@amotl amotl merged commit e16bdbb into panodata:master Jun 27, 2019
@amotl
Copy link
Member

amotl commented Jun 27, 2019

We just released dwdweather2 0.9.0 on PyPI with your changes. Thanks again!

@amotl amotl mentioned this pull request Jul 21, 2019
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.

None yet

2 participants