diff --git a/setup.py b/setup.py index fdebe605..d6e758bf 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 @@ '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 @@ 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 @@ 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 @@ '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 ff2ad0a3..043c0448 100644 --- a/warcprox/bigtable.py +++ b/warcprox/bigtable.py @@ -33,7 +33,7 @@ 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 3bc560e8..e1e2d858 100644 --- a/warcprox/stats.py +++ b/warcprox/stats.py @@ -29,7 +29,7 @@ import json import logging import os -import rethinkdb as r +from rethinkdb import RethinkDB; r = RethinkDB() import sqlite3 import threading import time