diff --git a/setup.py b/setup.py index a6d8512..991974c 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ ''' setup.py - setuptools installation configuration for warcprox -Copyright (C) 2013-2022 Internet Archive +Copyright (C) 2013-2023 Internet Archive This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -27,7 +27,7 @@ deps = [ 'certauth==1.1.6', 'warctools>=4.10.0', 'urlcanon>=0.3.0', - 'doublethink>=0.2.0.dev87', + 'doublethink @ git+https://github.com/internetarchive/doublethink.git@Py311', 'urllib3>=1.23', 'requests>=2.0.1', 'PySocks>=1.6.8', @@ -44,7 +44,7 @@ except: setuptools.setup( name='warcprox', - version='2.4.31', + version='2.5', description='WARC writing MITM HTTP/S proxy', url='https://github.com/internetarchive/warcprox', author='Noah Levitt', @@ -53,7 +53,7 @@ setuptools.setup( license='GPL', packages=['warcprox'], install_requires=deps, - extras_require={'trough': ['trough>=0.1.4',],}, + extras_require={'trough': ['trough @ git+https://github.com/internetarchive/trough.git@jammy_focal',],}, setup_requires=['pytest-runner'], tests_require=['mock', 'pytest', 'warcio'], entry_points={ @@ -68,13 +68,12 @@ setuptools.setup( 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'License :: OSI Approved :: GNU General Public License (GPL)', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Topic :: Internet :: Proxy Servers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Archiving', ]) - diff --git a/warcprox/bigtable.py b/warcprox/bigtable.py index ff2ad0a..043c044 100644 --- a/warcprox/bigtable.py +++ b/warcprox/bigtable.py @@ -33,7 +33,7 @@ import hashlib import threading import datetime import doublethink -import rethinkdb as r +from rethinkdb import RethinkDB; r = RethinkDB() from warcprox.dedup import DedupableMixin class RethinkCaptures: diff --git a/warcprox/stats.py b/warcprox/stats.py index 3bc560e..e1e2d85 100644 --- a/warcprox/stats.py +++ b/warcprox/stats.py @@ -29,7 +29,7 @@ import doublethink import json import logging import os -import rethinkdb as r +from rethinkdb import RethinkDB; r = RethinkDB() import sqlite3 import threading import time