wbolster / plyvel

Plyvel, a fast and feature-rich Python interface to LevelDB
https://plyvel.readthedocs.io/
Other
530 stars 75 forks source link

Support python3.5 #42

Closed mo0feng closed 8 years ago

mo0feng commented 8 years ago

What time can support python3.5?

wbolster commented 8 years ago

What exactly is the problem you're experiencing? I can run the tests just fine on Python 3.5 (though that version is not included in tox.ini currently they can be run anyway using tox -e py35):

py.test
================================================================================ test session starts ================================================================================
platform darwin -- Python 3.5.0, pytest-2.8.2, py-1.4.30, pluggy-0.3.1 -- /Users/wbolster/Projects/plyvel/.tox/py35/bin/python3.5
cachedir: .cache
rootdir: /Users/wbolster/Projects/plyvel, inifile: setup.cfg
plugins: cov-2.2.0
collected 47 items

test/test_plyvel.py::test_version PASSED
test/test_plyvel.py::test_open_read_only_dir PASSED
test/test_plyvel.py::test_open_no_create PASSED
test/test_plyvel.py::test_open_fresh PASSED
test/test_plyvel.py::test_open_no_compression PASSED
test/test_plyvel.py::test_open_many_options PASSED
test/test_plyvel.py::test_invalid_open PASSED
test/test_plyvel.py::test_open_unicode_name PASSED
test/test_plyvel.py::test_open_close PASSED
test/test_plyvel.py::test_large_lru_cache PASSED
test/test_plyvel.py::test_put PASSED
test/test_plyvel.py::test_get PASSED
test/test_plyvel.py::test_delete PASSED
test/test_plyvel.py::test_null_bytes PASSED
test/test_plyvel.py::test_write_batch PASSED
test/test_plyvel.py::test_write_batch_context_manager PASSED
test/test_plyvel.py::test_write_batch_transaction PASSED
test/test_plyvel.py::test_iteration PASSED
test/test_plyvel.py::test_iterator_closing PASSED
test/test_plyvel.py::test_iterator_return PASSED
test/test_plyvel.py::test_forward_iteration PASSED
test/test_plyvel.py::test_reverse_iteration PASSED
test/test_plyvel.py::test_range_iteration PASSED
test/test_plyvel.py::test_reverse_range_iteration PASSED
test/test_plyvel.py::test_out_of_range_iterations PASSED
test/test_plyvel.py::test_range_empty_database PASSED
test/test_plyvel.py::test_iterator_single_entry PASSED
test/test_plyvel.py::test_iterator_seeking PASSED
test/test_plyvel.py::test_iterator_boundaries PASSED
test/test_plyvel.py::test_iterator_prefix PASSED
test/test_plyvel.py::test_snapshot PASSED
test/test_plyvel.py::test_snapshot_closing PASSED
test/test_plyvel.py::test_snapshot_closing_database PASSED
test/test_plyvel.py::test_snapshot_closing_context_manager PASSED
test/test_plyvel.py::test_property PASSED
test/test_plyvel.py::test_compaction PASSED
test/test_plyvel.py::test_approximate_sizes PASSED
test/test_plyvel.py::test_repair_db PASSED
test/test_plyvel.py::test_destroy_db PASSED
test/test_plyvel.py::test_threading PASSED
test/test_plyvel.py::test_invalid_comparator PASSED
test/test_plyvel.py::test_comparator PASSED
test/test_plyvel.py::test_prefixed_db PASSED
test/test_plyvel.py::test_raw_iterator PASSED
test/test_plyvel.py::test_raw_iterator_empty_db PASSED
test/test_plyvel.py::test_raw_iterator_snapshot PASSED
test/test_plyvel.py::test_raw_iterator_closing PASSED

============================================================================= 47 passed in 8.69 seconds =============================================================================
______________________________________________________________________________________ summary ______________________________________________________________________________________
  py35: commands succeeded
  congratulations :)
mo0feng commented 8 years ago

Nice!

mo0feng commented 8 years ago

Thank you very much, is caused by VS2015 compilation fails.In the Linux Py3.5 succeeded.

mo0feng commented 8 years ago

.