From ee5a0750ba300100ba33c6b1b85de795dffe0163 Mon Sep 17 00:00:00 2001 From: Leslie VanDeMark Date: Tue, 23 Jan 2024 20:13:16 +0000 Subject: [PATCH] Updates for python 3.11 ----------------------------- --- .circleci/config.yml | 9 ++++----- CHANGELOG.md | 3 +++ setup.py | 8 ++++---- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e7f753..2c8772b 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:stitch-tap-tester + - image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester-3-11-dev - image: atmoz/sftp:debian command: "test_user:Passw0rd!:::upload" steps: @@ -23,9 +23,8 @@ jobs: name: 'Unit Tests' command: | source /usr/local/share/virtualenvs/tap-sftp/bin/activate - pip install nose coverage - nosetests --with-coverage --cover-erase --cover-package=tap_sftp --cover-html-dir=htmlcov tests/unittests - coverage html + 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: @@ -55,4 +54,4 @@ workflows: - master jobs: - build: - context: circleci-user \ No newline at end of file + context: circleci-user diff --git a/CHANGELOG.md b/CHANGELOG.md index 86063b9..e1b24e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 1.2.0 + * Updates for python 3.11 [#46](https://github.com/singer-io/tap-sftp/pull/46) + ## 1.1.2 * Request Timeout Implementation [#36](https://github.com/singer-io/tap-sftp/pull/36) diff --git a/setup.py b/setup.py index bd00200..dc54c6c 100755 --- a/setup.py +++ b/setup.py @@ -3,16 +3,16 @@ setup( name="tap-sftp", - version="1.1.2", + version="1.2.0", description="Singer.io tap for extracting data", author="Stitch", url="http://singer.io", classifiers=["Programming Language :: Python :: 3 :: Only"], py_modules=["tap_sftp"], install_requires=[ - "singer-python==5.12.1", + "singer-python==6.0.0", 'paramiko==2.6.0', - 'backoff==1.8.0', + 'backoff==2.2.1', 'singer-encodings==0.1.1', 'terminaltables==3.1.0', ], @@ -20,7 +20,7 @@ 'dev': [ 'ipdb', 'pylint', - 'nose' + 'nose2' ], 'test': [ 'paramiko==2.6.0'