Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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/data_api/rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from awswrangler.data_api import _connector

if TYPE_CHECKING:
from mypy_boto3_rds_data.client import BotocoreClientError
from mypy_boto3_rds_data.client import BotocoreClientError # type: ignore[attr-defined]
from mypy_boto3_rds_data.type_defs import BatchExecuteStatementResponseTypeDef, ExecuteStatementResponseTypeDef


Expand Down
2 changes: 1 addition & 1 deletion awswrangler/timestream/_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def _write_batch(
Records=records,
)
except client_timestream.exceptions.RejectedRecordsException as ex:
return cast(List[Dict[str, str]], ex.response["RejectedRecords"])
return cast(List[Dict[str, str]], ex.response["RejectedRecords"]) # type: ignore[typeddict-item]
return []


Expand Down
2 changes: 1 addition & 1 deletion building/lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ COPY pyproject.toml poetry.lock ./

RUN pip3 install --upgrade pip wheel
RUN pip3 install --upgrade urllib3==1.26.16 # temporary to avoid https://github.com/urllib3/urllib3/issues/2168 (TODO remove when the AL2 image updates to support OpenSSL 1.1.1+)
RUN pip3 install --upgrade six cython==3.0.8 cmake hypothesis poetry
RUN pip3 install --upgrade six cython cmake hypothesis poetry
RUN poetry config virtualenvs.create false --local && poetry install --no-root --only main

RUN rm -f pyproject.toml poetry.lock
Expand Down
2 changes: 1 addition & 1 deletion building/lambda/Dockerfile.al2023
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ FROM ${python_version}
COPY pyproject.toml poetry.lock ./

RUN pip3 install --upgrade pip wheel
RUN pip3 install --upgrade six cython==3.0.8 cmake hypothesis poetry
RUN pip3 install --upgrade six cython cmake hypothesis poetry
RUN poetry config virtualenvs.create false --local && poetry install --no-root --only main

RUN rm -f pyproject.toml poetry.lock
Expand Down
2 changes: 1 addition & 1 deletion building/lambda/build-lambda-layer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export CMAKE_PREFIX_PATH=$ARROW_HOME:$CMAKE_PREFIX_PATH

git clone \
--depth 1 \
--branch apache-arrow-16.1.0 \
--branch apache-arrow-18.1.0 \
--single-branch \
https://github.com/apache/arrow.git

Expand Down
543 changes: 284 additions & 259 deletions poetry.lock

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ python = ">=3.9, <4.0"
boto3 = "^1.20.32"
botocore = "^1.23.32"
pandas = { version = ">=1.2.0,<3.0.0" }
numpy = { version = ">=1.26,<3.0" }
numpy = [
{ version = ">=1.26,<2.1.0", markers = "python_version < \"3.10\"" },
{ version = ">=1.26,<3.0", markers = "python_version >= \"3.10\"" }
]
pyarrow = [
{ version = ">=8.0.0,<18.0.0", markers = "python_version < \"3.13\"" },
{ version = ">=8.0.0", markers = "python_version < \"3.13\"" },
{ version = ">=18.0.0", markers = "python_version >= \"3.13\"" }
]
typing-extensions = "^4.4.0"
Expand Down
Loading