Skip to content
Merged
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
2 changes: 1 addition & 1 deletion awswrangler/oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def detect_oracle_decimal_datatype(cursor: Any) -> dict[str, pa.DataType]:
if isinstance(cursor, oracledb.Cursor):
# Oracle stores DECIMAL as the NUMBER type

for name, db_type, display_size, internal_size, precision, scale, null_ok in cursor.description:
for name, db_type, display_size, internal_size, precision, scale, null_ok in cursor.description: # type: ignore
_logger.debug((name, db_type, display_size, internal_size, precision, scale, null_ok))

if db_type == oracledb.DB_TYPE_NUMBER and scale is not None and scale > 0:
Expand Down
2 changes: 1 addition & 1 deletion test_infra/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "awswrangler-test-infrastructure"
version = "3.13.0"
description = "CDK test infrastructure for AWS SDK for pandas"
authors = ["Amazon Web Services"]
authors = [{ name = "Amazon Web Services" }]
license = {text = "Apache-2.0"}
requires-python = ">=3.9, <4.0"

Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ envlist = py{39,310,311,312,313}
isolated_build = True

[testenv]
runner = uv-venv-lock-runner
passenv =
AWS_PROFILE
AWS_DEFAULT_REGION
Expand All @@ -15,6 +16,7 @@ allowlist_externals =
pytest
uv
commands_pre =
uv pip install pyarrow==20.0.0
uv sync --frozen --verbose --extra deltalake --extra gremlin --extra mysql --extra opencypher --extra opensearch --extra oracle --extra postgres --extra redshift --extra sparql --extra sqlserver --extra geopandas
commands =
uv run pytest -n {posargs} -s -v --timeout=600 --reruns=1 --reruns-delay=30 \
Expand All @@ -38,6 +40,7 @@ allowlist_externals =
pytest
uv
commands_pre =
uv pip install pyarrow==20.0.0
uv sync --frozen --verbose --all-extras
commands =
uv run pytest -n {posargs} -s -v --timeout=600 --reruns=1 --reruns-delay=30 \
Expand Down
Loading