Skip to content

Commit

Permalink
Upgrade python version to 3.11.7 (#99)
Browse files Browse the repository at this point in the history
* test ga4 on python 3.11

* test fix, changelog update and version bump

* keep on standard tap-tester, can pass on both python versiosn [skip ci]

-----------------------------
  • Loading branch information
leslievandemark authored Jan 23, 2024
1 parent 406106a commit b776f12
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
command: |
python3 -mvenv /usr/local/share/virtualenvs/tap-ga4
source /usr/local/share/virtualenvs/tap-ga4/bin/activate
pip install 'pip==21.1.3'
pip install 'pip==23.3.2'
pip install 'setuptools==60.8.2'
pip install .[dev]
aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox /usr/local/share/virtualenvs/dev_env.sh
Expand Down Expand Up @@ -60,9 +60,8 @@ jobs:
command: |
source /usr/local/share/virtualenvs/tap-ga4/bin/activate
source /usr/local/share/virtualenvs/dev_env.sh
pip install nose coverage
nosetests --with-coverage --cover-erase --cover-package=tap_ga4 --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:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Changelog
## v0.1.0
* Update libraries to run on python 3.11.7 [#99](https://github.com/singer-io/tap-ga4/pull/99)
## v0.0.32
* Update cached field exclusions to match changes made in the GA4 Data API [#97](https://github.com/singer-io/tap-ga4/pull/97)
## v0.0.31
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@

setup(
name="tap-ga4",
version="0.0.32",
version="0.1.0",
description="Singer.io tap for extracting data",
author="Stitch",
url="http://singer.io",
classifiers=["Programming Language :: Python :: 3 :: Only"],
py_modules=["tap_ga4"],
install_requires=[
"google-analytics-data==0.14.0",
"singer-python==5.12.2",
"singer-python==6.0.0",
"requests==2.28.1",
"backoff==1.8.0",
"backoff==2.2.1",
],
extras_require={
'dev': [
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class GA4PaginationTest(PaginationTest, GA4Base):
"""GA4 pagination test implementation """

start_date = GA4Base.timedelta_formatted(dt.now(), delta=timedelta(days=-300))
start_date = GA4Base.timedelta_formatted(dt.now(), delta=timedelta(days=-330))
request_window_size = 100

@staticmethod
Expand Down

0 comments on commit b776f12

Please # to comment.