From 148263293a6d188a9ed0944bc61fe437f86f0481 Mon Sep 17 00:00:00 2001 From: Leslie VanDeMark <38043390+leslievandemark@users.noreply.github.com> Date: Tue, 23 Jan 2024 15:48:15 -0500 Subject: [PATCH] Upgrade python version to 3.11.7 (#237) * test tap-facebook on python 3.11 * version bump and changelog update * standard image base ----------------------------- --- .circleci/config.yml | 7 +++---- CHANGELOG.md | 3 +++ setup.py | 6 +++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e6bc2643..529237a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,7 +22,7 @@ jobs: command: | python3 -m venv /usr/local/share/virtualenvs/tap-facebook source /usr/local/share/virtualenvs/tap-facebook/bin/activate - pip install 'pip==21.1.3' + pip install 'pip==23.3.2' pip install 'setuptools==56.0.0' pip install .[dev] - slack/notify-on-failure: @@ -55,9 +55,8 @@ jobs: name: 'Run Unit Tests' command: | source /usr/local/share/virtualenvs/tap-facebook/bin/activate - pip install nose coverage - nosetests --with-coverage --cover-erase --cover-package=tap_facebook --cover-html-dir=htmlcov tests/unittests - coverage html + pip install nose2 + nose2 -v -s tests/unittests - store_test_results: path: test_output/report.xml - store_artifacts: diff --git a/CHANGELOG.md b/CHANGELOG.md index cd276b95..62f3c9fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 1.20.0 + * Run on python 3.11.7 [#237](https://github.com/singer-io/tap-facebook/pull/237) + ## 1.19.1 * Add retry logic for status code - 503 [#226](https://github.com/singer-io/tap-facebook/pull/226) diff --git a/setup.py b/setup.py index 1197dba7..9f504cd9 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup(name='tap-facebook', - version='1.19.1', + version='1.20.0', description='Singer.io tap for extracting data from the Facebook Ads API', author='Stitch', url='https://singer.io', @@ -11,11 +11,11 @@ py_modules=['tap_facebook'], install_requires=[ 'attrs==17.3.0', - 'backoff==1.8.0', + 'backoff==2.2.1', 'pendulum==1.2.0', 'facebook_business==17.0.2', 'requests==2.20.0', - 'singer-python==5.10.0', + 'singer-python==6.0.0', ], extras_require={ 'dev': [