Skip to content

Commit c77848a

Browse files
committed
Upgrading dependencies
1 parent 777e04f commit c77848a

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

awswrangler/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def chunkify(lst: List[Any], num_chunks: int = 1, max_length: Optional[int] = No
227227
if not lst:
228228
return []
229229
n: int = num_chunks if max_length is None else int(math.ceil((float(len(lst)) / float(max_length))))
230-
np_chunks = np.array_split(lst, n)
230+
np_chunks = np.array_split(lst, n) # type: ignore
231231
return [arr.tolist() for arr in np_chunks if len(arr) > 0]
232232

233233

awswrangler/mysql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def _drop_table(cursor: Cursor, schema: Optional[str], table: str) -> None:
3737
def _does_table_exist(cursor: Cursor, schema: Optional[str], table: str) -> bool:
3838
schema_str = f"TABLE_SCHEMA = '{schema}' AND" if schema else ""
3939
cursor.execute(f"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE " f"{schema_str} TABLE_NAME = '{table}'")
40-
return len(cursor.fetchall()) > 0 # type: ignore
40+
return len(cursor.fetchall()) > 0
4141

4242

4343
def _create_table(
@@ -141,7 +141,7 @@ def connect(
141141
password=attrs.password,
142142
port=attrs.port,
143143
host=attrs.host,
144-
ssl=attrs.ssl_context,
144+
ssl=attrs.ssl_context, # type: ignore
145145
read_timeout=read_timeout,
146146
write_timeout=write_timeout,
147147
connect_timeout=connect_timeout,

requirements-dev.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
11
wheel==0.36.2
2-
isort==5.9.1
2+
isort==5.8.0
33
black==21.6b0
4-
pylint==2.8.3
4+
pylint==2.9.3
55
flake8==3.9.2
66
mypy==0.902
77
pydocstyle==6.1.1
88
doc8==0.8.1
99
tox==3.23.1
1010
pytest==6.2.4
1111
pytest-cov==2.12.1
12-
pytest-rerunfailures==10.0
12+
pytest-rerunfailures==10.1
1313
pytest-xdist==2.3.0
1414
pytest-timeout==1.4.2
1515
pydot==1.4.2
16-
cfn-flip==1.2.3
1716
twine==3.4.1
18-
sphinx==4.0.2
17+
sphinx==4.0.3
1918
sphinx_bootstrap_theme==0.7.1
2019
nbsphinx==0.8.6
2120
nbsphinx-link==1.3.0
2221
IPython~=7.25
2322
moto==2.0.10
2423
jupyterlab==3.0.16
25-
s3fs==2021.6.1 # keep it at 0.4.2
24+
s3fs==2021.6.1
2625
python-Levenshtein==0.12.2
2726
bump2version==1.0.1
2827
-e .[sqlserver]

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
boto3>=1.16.8,<2.0.0
22
botocore>=1.19.8,<2.0.0
33
numpy>=1.18.0,<1.22.0
4-
pandas>=1.1.0,<1.3.0
4+
pandas>=1.1.0,<1.4.0
55
pyarrow>=2.0.0,<4.1.0
66
redshift-connector~=2.0.882
77
pymysql>=0.9.0,<1.1.0
8-
pg8000>=1.16.0,<1.20.0
8+
pg8000>=1.16.0,<1.21.0
99
openpyxl~=3.0.0

0 commit comments

Comments
 (0)