Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump aiohttp and requests to more secure versions #112

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
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 .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
nosetests -v tests/activate_version_tests.py
nosetests -v --ignore-files=activate_version_tests.py
#nosetests
pylint target_stitch "--extension-pkg-whitelist=ciso8601" -d 'global-variable-not-assigned, consider-using-generator, broad-exception-raised, unused-argument'
pylint target_stitch "--extension-pkg-whitelist=ciso8601" --max-positional-arguments=8 -d 'global-variable-not-assigned, consider-using-generator, broad-exception-raised, unused-argument'
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 4.0.1
* Bump aiohttp from 3.8.5 to 3.11.9
* Bump requests from 2.31.0 to 3.32.3 [#112] (https://github.com/singer-io/target-stitch/pull/112)

## 4.0.0
* Bump singer-python to version `6.0.0`, which adds support for python `3.10+` but is no longer compatible with python `3.5`
* Bumps requests and aiohttp libraries to more secure versions [#108](https://github.com/singer-io/target-stitch/pull/108)
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup

setup(name='target-stitch',
version='4.0.0',
version='4.0.1',
description='Singer.io target for the Stitch API',
author='Stitch',
url='https://singer.io',
Expand All @@ -12,11 +12,11 @@
install_requires=[
'jsonschema==2.6.0',
'mock==2.0.0',
'requests==2.31.0',
'requests==2.32.3',
'singer-python==6.0.0',
'psutil==5.6.6',
'simplejson==3.11.1',
'aiohttp==3.8.5',
'aiohttp==3.11.9',
'ciso8601',
],
extras_require={
Expand Down
2 changes: 1 addition & 1 deletion target_stitch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def start_loop(loop):
asyncio.set_event_loop(loop)
global OUR_SESSION
timeout = aiohttp.ClientTimeout(sock_connect=60, sock_read=60)
OUR_SESSION = aiohttp.ClientSession(connector=aiohttp.TCPConnector(), timeout=timeout)
OUR_SESSION = aiohttp.ClientSession(connector=aiohttp.TCPConnector(loop=loop), timeout=timeout)
loop.run_forever()

new_loop = asyncio.new_event_loop()
Expand Down
Loading