From 36f308a7dffc128a9cb9ceacc6f5fc577a7a098d Mon Sep 17 00:00:00 2001 From: Leslie VanDeMark Date: Tue, 23 Jan 2024 16:09:20 +0000 Subject: [PATCH 1/4] run on python 3.11 --- .circleci/config.yml | 7 ++++--- CHANGELOG.md | 3 +++ setup.py | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5326c45..eef99f0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2 jobs: build: docker: - - image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:tap-tester-v4 + - image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester-3-11-dev steps: - checkout - run: @@ -17,8 +17,9 @@ jobs: name: 'Unit Tests' command: | source /usr/local/share/virtualenvs/tap-s3-csv/bin/activate - pip install nose - nosetests tests/unittests/ + pip install nose2 + nose2 -v -s tests/unittests + - add_ssh_keys - run: name: 'Integration Tests' diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c7ec51..252db2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 1.4.0 + * Updates for python 3.11 [#61](https://github.com/singer-io/tap-s3-csv/pull/61) + ## 1.3.0 * Adds support for Compressed files [#32](https://github.com/singer-io/tap-s3-csv/pull/32) * Adds support for JSONL files [#31](https://github.com/singer-io/tap-s3-csv/pull/31) diff --git a/setup.py b/setup.py index 22a8ec1..bf3ec7c 100644 --- a/setup.py +++ b/setup.py @@ -3,17 +3,17 @@ from setuptools import setup setup(name='tap-s3-csv', - version='1.3.0', + version='1.4.0', description='Singer.io tap for extracting CSV files from S3', author='Stitch', url='https://singer.io', classifiers=['Programming Language :: Python :: 3 :: Only'], py_modules=['tap_s3_csv'], install_requires=[ - 'backoff==1.8.0', + 'backoff==2.2.1', 'boto3==1.9.57', 'singer-encodings==0.1.0', - 'singer-python==5.12.1', + 'singer-python==6.0.0', 'voluptuous==0.10.5' ], extras_require={ From f7e978d7cf5a88d997dba385688bc7caa5b0f200 Mon Sep 17 00:00:00 2001 From: Leslie VanDeMark Date: Tue, 23 Jan 2024 16:33:22 +0000 Subject: [PATCH 2/4] make pylint happy --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index eef99f0..0d4ef45 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ jobs: source /usr/local/share/virtualenvs/tap-s3-csv/bin/activate pip install . pip install pylint - pylint tap_s3_csv -d missing-docstring,invalid-name,line-too-long,too-many-locals,too-few-public-methods,fixme,stop-iteration-return,broad-except,bare-except,unused-variable,unnecessary-comprehension,no-member,deprecated-method,protected-access + pylint tap_s3_csv -d missing-docstring,invalid-name,line-too-long,too-many-locals,too-few-public-methods,fixme,stop-iteration-return,broad-except,bare-except,unused-variable,unnecessary-comprehension,no-member,deprecated-method,protected-access,broad-exception-raised - run: name: 'Unit Tests' command: | From 4200c7e0ce1b16e5ec20dacfc4454c27142d9b8d Mon Sep 17 00:00:00 2001 From: Leslie VanDeMark Date: Tue, 23 Jan 2024 16:39:45 +0000 Subject: [PATCH 3/4] make pylint happy --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d261545..5ff53f0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,7 @@ jobs: source /usr/local/share/virtualenvs/tap-s3-csv/bin/activate pip install . pip install pylint - pylint tap_s3_csv -d missing-docstring,invalid-name,line-too-long,too-many-locals,too-few-public-methods,fixme,stop-iteration-return,broad-except,bare-except,unused-variable,unnecessary-comprehension,no-member,deprecated-method,protected-access,broad-exception-raised + pylint tap_s3_csv -d missing-docstring,invalid-name,line-too-long,too-many-locals,too-few-public-methods,fixme,stop-iteration-return,broad-except,bare-except,unused-variable,unnecessary-comprehension,no-member,deprecated-method,protected-access,broad-exception-raised,consider-using-f-string - run: name: 'Unit Tests' command: | From ba669b0260320157531427b6c4312652e29049b7 Mon Sep 17 00:00:00 2001 From: Leslie VanDeMark Date: Wed, 24 Jan 2024 16:23:26 +0000 Subject: [PATCH 4/4] typo ----------------------------- --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5ff53f0..e0532ec 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,6 +21,7 @@ jobs: source /usr/local/share/virtualenvs/tap-s3-csv/bin/activate pip install nose2 parameterized nose2[coverage_plugin]>=0.6.5 nose2 --with-coverage -v -s tests/unittests + - store_test_results: path: test_output/report.xml - store_artifacts: path: htmlcov