diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 058958be..67d6b028 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -34,7 +34,7 @@ jobs: COLOR: 'yes' run: | python -c "import sys; print(f'Python version: {sys.version}')" - python -m pip install -U setuptools pip pipenv codecov + python -m pip install -U setuptools pip pipenv codecov wheel pipenv lock --python ${{ matrix.python-version }} pipenv sync --dev pipenv check || true @@ -78,7 +78,7 @@ jobs: python-version: 3.8 - name: Make sdist run: - python setup.py sdist + python setup.py sdist bdist_wheel - name: Upload artifacts uses: actions/upload-artifact@v2 with: diff --git a/CHANGES.rst b/CHANGES.rst index f29d638c..5650559b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,9 @@ Changes ------- +2.3.4 (2022-06-23) +^^^^^^^^^^^^^^^^^^ +* fix select_object_content + 2.3.3 (2022-06-07) ^^^^^^^^^^^^^^^^^^ * fix connect timeout while getting IAM creds diff --git a/aiobotocore/__init__.py b/aiobotocore/__init__.py index 8a242cd3..6ec85d61 100644 --- a/aiobotocore/__init__.py +++ b/aiobotocore/__init__.py @@ -1 +1 @@ -__version__ = '2.3.3' +__version__ = '2.3.4' diff --git a/aiobotocore/eventstream.py b/aiobotocore/eventstream.py index a58f7cc9..d7be6206 100644 --- a/aiobotocore/eventstream.py +++ b/aiobotocore/eventstream.py @@ -4,7 +4,7 @@ class AioEventStream(EventStream): async def _create_raw_event_generator(self): event_stream_buffer = EventStreamBuffer() - async for chunk, _ in self._raw_stream.iter_chunks(): + async for chunk, _ in self._raw_stream.content.iter_chunks(): event_stream_buffer.add_data(chunk) for event in event_stream_buffer: yield event diff --git a/tests/test_eventstreams.py b/tests/test_eventstreams.py index 273a1af9..f661bd05 100644 --- a/tests/test_eventstreams.py +++ b/tests/test_eventstreams.py @@ -37,6 +37,7 @@ async def __anext__(self): def __init__(self, chunks): self.chunks = chunks + self.content = self def iter_chunks(self): return self.ChunkedIterator(self.chunks)