-
Notifications
You must be signed in to change notification settings - Fork 241
Tests fail with python3.6 #385
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
Comments
Hello, antlarr-suse! Thanks for reporting. Fixed now. You can fetch this version of pony from github or wait for next release. |
kozlovsky
added a commit
that referenced
this issue
Jan 17, 2019
# Major features * Array type support for PostgreSQL and SQLite * isinstance() support in queries * Support of queries based on collections: select(x for x in y.items) # Other features * Support of Entity.select(**kwargs) * Support of SKIP LOCKED option in 'SELECT ... FOR UPDATE' * New function make_proxy(obj) to make cros-db_session proxy objects * Specify ON DELETE CASCADE/SET NULL in foreign keys * Support of LIMIT in `SELECT FROM (SELECT ...)` type of queries * Support for negative JSON array indexes in SQLite # Improvements * Improved query prefetching: use fewer number of SQL queries * Memory optimization: deduplication of values recieved from the database in the same session * increase DBAPIProvider.max_params_count value # Bugfixes * #405: breaking change with cx_Oracle 7.0: DML RETURNING now returns a list * #380: db_session should work with async functions * #385: test fails with python3.6 * #386: release unlocked lock error in SQLite * #390: TypeError: writable buffers are not hashable * #398: add auto coversion of numpy numeric types * #404: GAE local run detection * Fix Flask compatibility: add support of LocalProxy object * db_session(sql_debug=True) should log SQL commands also during db_session.__exit__() * Fix duplicated table join in FROM clause * Fix accessing global variables from hybrid methods and properties * Fix m2m collection loading bug * Fix composite index bug: stackoverflow.com/questions/53147694 * Fix MyEntity[obj.get_pk()] if pk is composite * MySQL group_concat_max_len option set to max of 32bit platforms to avoid truncation * Show all attribute options in show(Entity) call * For nested db_session retry option should be ignored * Fix py_json_unwrap * Other minor fixes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running on openSUSE Tumbleweed, with python2.7 and python3.6 .
The tests run fine under python2, but if I try to run them with python3 (with a clean system, just after extracting the 0.7.6 package),
python3 setup.py build
runs fine but then I get (I enabled debug output):click to open the rest of the test output
Curiously, if I run the tests under a chrooted environment in obs, in order to build an openSUSE package for pony, the python2 build fails (and I could fix it with this patch) but the python3 build fails with a similar but different error than the above one:
click to open the rest of the test output
Any idea of what's happening?
The text was updated successfully, but these errors were encountered: