Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove requests dependency #152

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest_plugins = 'wayback.tests.urllib3_mock'
9 changes: 7 additions & 2 deletions src/wayback/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from ._version import __version__, __version_tuple__ # noqa: F401

# XXX: Just for testing! Must remove before merge.
import logging # noqa
logging.getLogger("urllib3").setLevel(logging.DEBUG)

from ._utils import memento_url_data, RateLimit # noqa

from ._models import ( # noqa
Expand All @@ -8,5 +12,6 @@

from ._client import ( # noqa
Mode,
WaybackClient,
WaybackSession)
WaybackClient)

from ._http import WaybackSession # noqa
373 changes: 30 additions & 343 deletions src/wayback/_client.py

Large diffs are not rendered by default.

Loading