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.8 Support #472

Closed
societymartingale opened this issue Oct 12, 2019 · 5 comments
Closed

Python 3.8 Support #472

societymartingale opened this issue Oct 12, 2019 · 5 comments
Assignees
Labels

Comments

@societymartingale
Copy link

Setup.py restricts Pony to Python 3.7 and below. Can 3.8 be added?

@flypenguin
Copy link

I would consider this critical. most package managers for non-linux (homebrew, chocolatey) have switched to python 3.8 now or will soon. installing anything with a pony dependency will fail then.

@kozlovsky kozlovsky self-assigned this Oct 15, 2019
@kozlovsky kozlovsky added the bug label Oct 15, 2019
@sashaaero
Copy link
Member

Since Python 3.8 adds some new syntax we should take a careful look on the new bytecode and fix if something changed.
It is not just updating setup file, but we'll implement this asap.

@kozlovsky
Copy link
Member

Thanks for reminding, all tests passed now in Python 3.8.
I added Python 3.8 support in setup.py
Official release will be at Monday

@jdevera
Copy link

jdevera commented Oct 23, 2019

Is there an updated plan for that release?

@kozlovsky
Copy link
Member

Sorry for delay, will release in a few hours

kozlovsky added a commit that referenced this issue Oct 23, 2019
# Features

* #472: Python 3.8 support
* Support of hybrid functions (inlining simple Python functions into query)
* #438: support datetime-datetime, datetime-timedelta, datetime+timedelta in queries

# Bugfixes

* #430: add ON DELETE CASCADE for many-to-many relationships
* #465: Should reconnect to MySQL on OperationalError 2013 'Lost connection to MySQL server during query'
* #468: Tuple-value comparisons generate incorrect queries
* #470 fix PendingDeprecationWarning of imp module
* Fix incorrect unpickling of objects with Json attributes
* Check value of discriminator column on object creation if set explicitly
* Correctly handle Flask current_user proxy when adding new items to collections
* Some bugs in syntax of aggregated queries were fixed
* Fix syntax of bulk delete queries
* Bulk delete queries should clear query results cache so next select will get correct result from the database
* Fix error message when hybrid method is too complex to decompile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants