Skip to content

Commit

Permalink
chore: Drop dependency on aiohttp (#8257)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Nov 8, 2023
1 parent 5027f35 commit 72530e9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
13 changes: 0 additions & 13 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"mock",
"moto",
"pytest",
"pytest-aiohttp",
"pytest-asyncio",
"pytest-cov",
"pytest-docker",
Expand Down Expand Up @@ -98,11 +97,6 @@ def pytest_meltano(session: Session) -> None:
Args:
session: Nox session.
"""
install_env = {}
if session.python == "3.12":
# TODO: Remove this once aiohttp has 3.12 wheels
install_env["AIOHTTP_NO_EXTENSIONS"] = "1"

backend_db = os.environ.get("PYTEST_BACKEND", "sqlite")
extras = ["azure", "gcs", "s3"]

Expand All @@ -116,7 +110,6 @@ def pytest_meltano(session: Session) -> None:
session.install(
f".[{','.join(extras)}]",
*pytest_deps,
env=install_env,
)
_run_pytest(session)

Expand Down Expand Up @@ -164,11 +157,6 @@ def mypy(session: Session) -> None:
Args:
session: Nox session.
"""
install_env = {}
if session.python == "3.12":
# TODO: Remove this once aiohttp has 3.12 wheels
install_env["AIOHTTP_NO_EXTENSIONS"] = "1"

session.install(
".[mssql,azure,gcs,s3]",
"boto3-stubs",
Expand All @@ -181,6 +169,5 @@ def mypy(session: Session) -> None:
"types-PyYAML",
"types-requests",
"types-tabulate",
env=install_env,
)
session.run("mypy", *session.posargs)
22 changes: 2 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ homepage = "https://meltano.com"

[tool.poetry.dependencies]
aiodocker = "^0.21.0"
aiohttp = "^3.8.6"
alembic = "^1.12.1"
atomicwrites = "^1.2.1"
azure-common = {version = "^1.1.28", optional = true}
Expand Down Expand Up @@ -112,7 +111,6 @@ moto = "^4.2.7"
mypy = "^1.6.1"
pre-commit = "^3.5.0"
pytest = "^7.4.3"
pytest-aiohttp = "^1.0.5"
pytest-asyncio = "^0.21.1"
pytest-cov = "^4.1.0"
pytest-docker = "^2.0"
Expand Down

0 comments on commit 72530e9

Please sign in to comment.