peg to rethinkdb-python < 2.4

rethinkdb-python 2.4 has introduced a massive change

    The main difference with the previous driver (except the name of the
    package) is we are **not** importing RethinkDB as `r`. If you would
    like to use `RethinkDB`'s python driver as a drop in replacement, you
    should do the following:

    ```
    from rethinkdb import RethinkDB

    r = RethinkDB()
    connection = r.connect(db='test')
    ```
This commit is contained in:
Noah Levitt 2019-03-06 12:22:03 -08:00
parent 0c181d5a7e
commit f7fc7da725

View File

@ -10,7 +10,7 @@ except:
setuptools.setup(
name='doublethink',
version='0.2.0.dev94',
version='0.2.0',
packages=['doublethink'],
classifiers=[
'Programming Language :: Python :: 2.7',
@ -19,7 +19,7 @@ setuptools.setup(
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
install_requires=['rethinkdb'],
install_requires=['rethinkdb>=2.3,<2.4'],
extras_require={'test': test_deps},
url='https://github.com/internetarchive/doublethink',
author='Noah Levitt',