Skip to content

Commit 7cfa833

Browse files
committed
Revert "Move boto3 and warrant-lite to optional "nexity" extra"
This reverts commit f295e02.
1 parent c7131ec commit 7cfa833

3 files changed

Lines changed: 11 additions & 21 deletions

File tree

pyoverkiz/auth/strategies.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -246,16 +246,10 @@ class NexityAuthStrategy(SessionLoginStrategy):
246246

247247
async def login(self) -> None:
248248
"""Perform login using Nexity username and password."""
249-
try:
250-
import boto3
251-
from botocore.config import Config
252-
from botocore.exceptions import ClientError
253-
from warrant_lite import WarrantLite
254-
except ImportError as err:
255-
raise ImportError(
256-
"Nexity authentication requires the 'nexity' extra: "
257-
"pip install pyoverkiz[nexity]"
258-
) from err
249+
import boto3
250+
from botocore.config import Config
251+
from botocore.exceptions import ClientError
252+
from warrant_lite import WarrantLite
259253

260254
loop = asyncio.get_running_loop()
261255

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ dependencies = [
1717
"aiohttp<4.0.0,>=3.10.3",
1818
"backoff<3.0,>=1.10.0",
1919
"attrs>=21.2",
20+
"boto3<2.0.0,>=1.18.59",
21+
"warrant-lite<2.0.0,>=1.0.4",
2022
"cattrs>=23.2",
2123
]
2224

2325
[project.optional-dependencies]
24-
nexity = [
25-
"boto3<2.0.0,>=1.18.59",
26-
"warrant-lite<2.0.0,>=1.0.4",
27-
]
2826
docs = [
2927
"mkdocs>=1.5.0,<2.0",
3028
"mkdocs-material>=9.5.0",

uv.lock

Lines changed: 5 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)