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(
|
setuptools.setup(
|
||||||
name='doublethink',
|
name='doublethink',
|
||||||
version='0.2.0.dev94',
|
version='0.2.0',
|
||||||
packages=['doublethink'],
|
packages=['doublethink'],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
@ -19,7 +19,7 @@ setuptools.setup(
|
|||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
],
|
],
|
||||||
install_requires=['rethinkdb'],
|
install_requires=['rethinkdb>=2.3,<2.4'],
|
||||||
extras_require={'test': test_deps},
|
extras_require={'test': test_deps},
|
||||||
url='https://github.com/internetarchive/doublethink',
|
url='https://github.com/internetarchive/doublethink',
|
||||||
author='Noah Levitt',
|
author='Noah Levitt',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user