From 09cac9e8295e824011e92bb150d852bb0dbb48e5 Mon Sep 17 00:00:00 2001 From: Leslie VanDeMark Date: Tue, 23 Jan 2024 16:21:40 +0000 Subject: [PATCH] updates for py 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 f0c4d07..786847a 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 steps: - checkout - add_ssh_keys @@ -11,7 +11,7 @@ jobs: command: | python3 -mvenv /usr/local/share/virtualenvs/tap-linkedin-ads source /usr/local/share/virtualenvs/tap-linkedin-ads/bin/activate - pip install -U 'pip<19.2' 'setuptools<51.0.0' + pip install -U pip 'setuptools<51.0.0' pip install .[dev] - run: name: 'pylint' @@ -27,9 +27,8 @@ jobs: name: 'Unit Tests' command: | source /usr/local/share/virtualenvs/tap-linkedin-ads/bin/activate - pip install nose coverage parameterized - nosetests --with-coverage --cover-erase --cover-package=tap_linkedin_ads --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: diff --git a/CHANGELOG.md b/CHANGELOG.md index 3677b76..e45aeba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 2.2.0 + * Updates to run on python 3.11 [#66](https://github.com/singer-io/tap-linkedin-ads/pull/66) + ## 2.1.0 * Bump to API version `202302` * Move and update `FIELDS_UNACCEPTED_BY_API` diff --git a/setup.py b/setup.py index fb56d58..caae3ac 100644 --- a/setup.py +++ b/setup.py @@ -3,15 +3,15 @@ from setuptools import setup, find_packages setup(name='tap-linkedin-ads', - version='2.1.0', + version='2.2.0', description='Singer.io tap for extracting data from the LinkedIn Marketing Ads API API 2.0', author='jeff.huth@bytecode.io', classifiers=['Programming Language :: Python :: 3 :: Only'], py_modules=['tap_linkedin_ads'], install_requires=[ - 'backoff==1.8.0', - 'requests==2.22.0', - 'singer-python==5.12.1' + 'backoff==2.2.1', + 'requests==2.31.0', + 'singer-python==6.0.0' ], extras_require={ 'dev': [