mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
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:
parent
0c181d5a7e
commit
f7fc7da725
4
setup.py
4
setup.py
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user