Skip to content

Commit c693b26

Browse files
committed
Bumping version to 1.1.1
1 parent 7f63dd8 commit c693b26

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
**NOTE**
77

8-
Due the new major version `1.*.*` with breaking changes, please make sure that all your old projects has dependencies frozen on the desired version (e.g. `pip install awswrangler==0.3.2`).
8+
Due the new major version `1.0.0` with breaking changes, please make sure that all your old projects has dependencies frozen on the desired version (e.g. `pip install awswrangler==0.3.2`).
99

1010
---
1111

1212
![AWS Data Wrangler](docs/source/_static/logo2.png?raw=true "AWS Data Wrangler")
1313

14-
[![Release](https://img.shields.io/badge/release-1.1.0-brightgreen.svg)](https://pypi.org/project/awswrangler/)
14+
[![Release](https://img.shields.io/badge/release-1.1.1-brightgreen.svg)](https://pypi.org/project/awswrangler/)
1515
[![Python Version](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8-brightgreen.svg)](https://anaconda.org/conda-forge/awswrangler)
1616
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
1717
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

awswrangler/__metadata__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77

88
__title__ = "awswrangler"
99
__description__ = "Pandas on AWS."
10-
__version__ = "1.1.0"
10+
__version__ = "1.1.1"
1111
__license__ = "Apache License 2.0"

awswrangler/s3.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ def list_objects(path: str, suffix: Optional[str] = None, boto3_session: Optiona
178178
['s3://bucket/prefix0', 's3://bucket/prefix1', 's3://bucket/prefix2']
179179
180180
"""
181-
return _list_objects(path=path, delimiter=None, suffix=suffix, boto3_session=boto3_session)
181+
paths: List[str] = _list_objects(path=path, delimiter=None, suffix=suffix, boto3_session=boto3_session)
182+
return [p for p in paths if not p.endswith("/")]
182183

183184

184185
def _list_objects(
@@ -218,7 +219,7 @@ def _list_objects(
218219

219220
def _path2list(path: object, boto3_session: boto3.Session, suffix: str = None) -> List[str]:
220221
if isinstance(path, str): # prefix
221-
paths: List[str] = list_objects(path=path, boto3_session=boto3_session)
222+
paths: List[str] = list_objects(path=path, suffix=suffix, boto3_session=boto3_session)
222223
elif isinstance(path, list):
223224
paths = path if suffix is None else [x for x in path if x.endswith(suffix)]
224225
else:
@@ -1463,6 +1464,7 @@ def _read_text(
14631464
if "iterator" in pandas_kwargs:
14641465
raise exceptions.InvalidArgument("Please, use chunksize instead of iterator.")
14651466
paths: List[str] = _path2list(path=path, boto3_session=boto3_session)
1467+
_logger.debug("paths:\n%s", paths)
14661468
if chunksize is not None:
14671469
dfs: Iterator[pd.DataFrame] = _read_text_chunksize(
14681470
parser_func=parser_func,

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. note:: Due the new major version 1.*.* with breaking changes, please make sure that all your old projects has dependencies frozen on the desired version (e.g. `pip install awswrangler==0.3.2`).
1+
.. note:: Due the new major version 1.0.0 with breaking changes, please make sure that all your old projects has dependencies frozen on the desired version (e.g. `pip install awswrangler==0.3.2`).
22

33
Quick Start
44
-----------

testing/test_awswrangler/test_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
def test_metadata():
5-
assert wr.__version__ == "1.1.0"
5+
assert wr.__version__ == "1.1.1"
66
assert wr.__title__ == "awswrangler"
77
assert wr.__description__ == "Pandas on AWS."
88
assert wr.__license__ == "Apache License 2.0"

0 commit comments

Comments
 (0)