Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions geocachingapi/geocachingapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import json
import logging
import socket
import async_timeout
import backoff

from yarl import URL
Expand Down Expand Up @@ -95,7 +94,7 @@ async def _request(self, method, uri, **kwargs) -> ClientResponse:
self._close_session = True

try:
async with async_timeout.timeout(self.request_timeout):
async with asyncio.timeout(self.request_timeout):
response = await self._session.request(
method,
f"{url}",
Expand Down Expand Up @@ -341,4 +340,4 @@ async def __aenter__(self) -> GeocachingApi:
async def __aexit__(self, *exc_info) -> None:
"""Async exit."""
await self.close()


3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ def read(*parts):
"Operating System :: OS Independent",
"Natural Language :: English",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires='>=3.8',
python_requires='>=3.11',
zip_safe=False,
include_package_data=True,
use_scm_version=True,
Expand Down
Loading