From 97d7273fbdb4c3e4400c43b7fe7da83d63d02dc8 Mon Sep 17 00:00:00 2001 From: jpaten Date: Sun, 26 Jan 2025 15:21:32 -0800 Subject: [PATCH] chore: updated analytics package version to 3.3.1 (#4317) --- .../generate_sheets_report.ipynb | 28 ++++++----- analytics/requirements.txt | 49 ++++++++++++++++++- 2 files changed, 63 insertions(+), 14 deletions(-) diff --git a/analytics/hca-explorer-sheets/generate_sheets_report.ipynb b/analytics/hca-explorer-sheets/generate_sheets_report.ipynb index 810ee30d2..fdd23624f 100644 --- a/analytics/hca-explorer-sheets/generate_sheets_report.ipynb +++ b/analytics/hca-explorer-sheets/generate_sheets_report.ipynb @@ -2,7 +2,17 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Update this line to the path of your ga4 credentials. Make sure these are never stored in a version controlled folder.\n", + "%env HCA_ANALYTICS_REPORTING_CLIENT_SECRET_PATH=../../../do_not_commit_ga4_credentials.json" + ] + }, + { + "cell_type": "code", + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -15,17 +25,9 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Please visit this URL to authorize this application: https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=425030666072-vun85q7nt3038skng8gs0f03juh97e17.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A8082%2F&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fanalytics.readonly+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fspreadsheets&state=gQXcCGWIVhfxgIYwz935kc6SSgk4Wp&access_type=offline\n" - ] - } - ], + "outputs": [], "source": [ "ga_authentication, drive_authentication = ga.authenticate(\n", " SECRET_NAME,\n", @@ -52,7 +54,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -61,7 +63,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ diff --git a/analytics/requirements.txt b/analytics/requirements.txt index e757fb8e3..5d3f308a2 100644 --- a/analytics/requirements.txt +++ b/analytics/requirements.txt @@ -1,14 +1,21 @@ accessible-pygments==0.0.5 alabaster==0.7.16 --e git+https://github.com/DataBiosphere/data-browser.git@6d65fae358f74ca0c6f7fb817c4b0bf89336c5f8#egg=analytics&subdirectory=analytics/analytics_package +-e git+https://github.com/DataBiosphere/data-browser.git@e0ce2c7464107bbbc166f7e21fcc3c4426b6e553#egg=analytics&subdirectory=analytics/analytics_package +anyio==4.7.0 appdirs==1.4.4 appnope==0.1.4 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 asttokens==2.4.1 +async-lru==2.0.4 attrs==24.2.0 babel==2.16.0 beautifulsoup4==4.12.3 +bleach==6.2.0 cachetools==5.5.0 certifi==2024.8.30 +cffi==1.17.1 charset-normalizer==3.3.2 click==8.1.7 comm==0.2.2 @@ -16,10 +23,12 @@ contourpy==1.3.0 cycler==0.12.1 debugpy==1.8.5 decorator==5.1.1 +defusedxml==0.7.1 docutils==0.20.1 executing==2.1.0 fastjsonschema==2.20.0 fonttools==4.53.1 +fqdn==1.5.1 google-api-core==2.19.2 google-api-python-client==2.146.0 google-auth==2.34.0 @@ -28,20 +37,37 @@ google-auth-oauthlib==1.2.1 googleapis-common-protos==1.65.0 gspread==6.1.4 gspread-formatting==1.2.0 +h11==0.14.0 +httpcore==1.0.7 httplib2==0.22.0 +httpx==0.28.1 idna==3.10 imagesize==1.4.1 importlib_metadata==8.5.0 ipykernel==6.29.5 ipython==8.27.0 +ipywidgets==8.1.5 +isoduration==20.11.0 jedi==0.19.1 Jinja2==3.1.4 +json5==0.10.0 +jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 +jupyter==1.1.1 jupyter-book==1.0.2 jupyter-cache==1.0.0 +jupyter-console==6.6.3 +jupyter-events==0.10.0 +jupyter-lsp==2.2.5 jupyter_client==8.6.3 jupyter_core==5.7.2 +jupyter_server==2.14.2 +jupyter_server_terminals==0.5.3 +jupyterlab==4.3.3 +jupyterlab_pygments==0.3.0 +jupyterlab_server==2.27.3 +jupyterlab_widgets==3.0.13 kiwisolver==1.4.7 latexcodec==3.0.0 linkify-it-py==2.0.3 @@ -51,19 +77,26 @@ matplotlib==3.9.2 matplotlib-inline==0.1.7 mdit-py-plugins==0.4.2 mdurl==0.1.2 +mistune==3.0.2 myst-nb==1.1.1 myst-parser==2.0.0 nbclient==0.10.0 +nbconvert==7.16.4 nbformat==5.10.4 nest-asyncio==1.6.0 +notebook==7.3.1 +notebook_shim==0.2.4 numpy==2.1.1 oauthlib==3.2.2 +overrides==7.7.0 packaging==24.1 pandas==2.2.2 +pandocfilters==1.5.1 parso==0.8.4 pexpect==4.9.0 pillow==10.4.0 platformdirs==4.3.6 +prometheus_client==0.21.1 prompt_toolkit==3.0.47 proto-plus==1.24.0 protobuf==5.28.1 @@ -74,22 +107,28 @@ pyasn1==0.6.1 pyasn1_modules==0.4.1 pybtex==0.24.0 pybtex-docutils==1.0.3 +pycparser==2.22 pydata-sphinx-theme==0.15.4 pyee==11.1.1 Pygments==2.18.0 pyparsing==3.1.4 pyppeteer==2.0.0 python-dateutil==2.9.0.post0 +python-json-logger==3.2.1 pytz==2024.2 PyYAML==6.0.2 pyzmq==26.2.0 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 rpds-py==0.20.0 rsa==4.9 +Send2Trash==1.8.3 setuptools==75.1.0 six==1.16.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.6 Sphinx==7.4.7 @@ -112,15 +151,23 @@ sphinxcontrib-serializinghtml==2.0.0 SQLAlchemy==2.0.35 stack-data==0.6.3 tabulate==0.9.0 +terminado==0.18.1 +tinycss2==1.4.0 tornado==6.4.1 tqdm==4.66.5 traitlets==5.14.3 +types-python-dateutil==2.9.0.20241206 typing_extensions==4.12.2 tzdata==2024.1 uc-micro-py==1.0.3 +uri-template==1.3.0 uritemplate==4.1.1 urllib3==1.26.20 wcwidth==0.2.13 +webcolors==24.11.1 +webencodings==0.5.1 +websocket-client==1.8.0 websockets==10.4 wheel==0.44.0 +widgetsnbextension==4.0.13 zipp==3.20.2