From c0954339106ad1e8551ea2b4a3f94d2e49685227 Mon Sep 17 00:00:00 2001 From: mmcky Date: Sat, 2 Nov 2024 13:33:07 +1100 Subject: [PATCH 1/6] MAINT: maintenance of cloud infrastructure --- .github/workflows/cache.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index ca5700df..57d5049b 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -24,7 +24,7 @@ jobs: - name: Build HTML shell: bash -l {0} run: | - jb build lectures --path-output ./ + jb build lectures --path-output ./ -W --keep-going - name: Upload "_build" folder (cache) uses: actions/upload-artifact@v4 with: From 6e0a997ad7b0f744bd30830df37ded43a6c6428b Mon Sep 17 00:00:00 2001 From: mmcky Date: Sat, 2 Nov 2024 13:40:36 +1100 Subject: [PATCH 2/6] TST: upgrade anaconda and software stack --- environment.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/environment.yml b/environment.yml index 270024e8..5787c78b 100644 --- a/environment.yml +++ b/environment.yml @@ -2,15 +2,11 @@ name: lecture-datascience channels: - default dependencies: - - python=3.9 - - anaconda=2022.10 + - python=3.12 + - anaconda=2024.06 - pip - pip: # Build Requirements - - pandas == 1.5.3 - - matplotlib <= 3.8.4 - - pandas-datareader == 0.10.0 - - numpy == 1.23.5 - jupyter-book==0.15.1 - docutils==0.17.1 - quantecon-book-theme==0.4.1 From d4dfe0ba112fba43a407ca6065fac7925e5e8f60 Mon Sep 17 00:00:00 2001 From: mmcky Date: Sat, 2 Nov 2024 13:44:31 +1100 Subject: [PATCH 3/6] update to python=3.12 in ci workflow --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 734c07d4..a9e4da63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: 3.9 + python-version: 3.12 environment-file: environment.yml activate-environment: lecture-datascience - name: Display Conda Environment Versions From 8f290b518589c70c0321ec6a07445c318ce76780 Mon Sep 17 00:00:00 2001 From: mmcky Date: Sat, 2 Nov 2024 13:47:54 +1100 Subject: [PATCH 4/6] simply build and work through missing dependencies --- environment.yml | 53 +++++++++++++++++++++++-------------------------- 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/environment.yml b/environment.yml index 5787c78b..2ea360ec 100644 --- a/environment.yml +++ b/environment.yml @@ -19,33 +19,30 @@ dependencies: - sphinx-togglebutton==0.3.1 - arviz==0.13.0 # Datascience Requirements - - joblib == 1.2.0 - - interpolation == 2.2.4 - - networkx == 3.0 - - fiona == 1.9.2 - - geopandas == 0.12.2 - - pyLDAvis == 3.4.0 - - gensim == 4.3.1 - - folium == 0.14.0 - - descartes == 1.1.0 - - pyarrow == 11.0.0 - - xgboost == 1.7.5 - - graphviz == 0.20.1 - - bokeh == 3.1.0 - - sphinxcontrib-bibtex == 2.5.0 - - nltk == 3.8.1 - - seaborn == 0.12.2 - - patsy == 0.5.3 - - quandl == 3.7.0 - - statsmodels == 0.13.5 - - quantecon == 0.6.0 - - openpyxl == 3.1.2 - - pandas_datareader == 0.10.0 - - plotly == 5.14.0 - - lxml == 4.9.2 - - scikit-learn == 1.2.2 - - numba == 0.56.4 - - ipywidgets == 8.0.6 - - scipy == 1.10 + # - joblib + # - interpolation + # - networkx + # - fiona + # - geopandas + # - pyLDAvis + # - gensim + # - folium + # - descartes + # - pyarrow + # - xgboost + # - graphviz + # - bokeh + # - nltk + # - seaborn + # - patsy + # - statsmodels + # - quantecon + # - openpyxl + # - plotly + # - lxml + # - scikit-learn + # - numba + # - ipywidgets + # - scipy - conda: - python-graphviz From 77369d237630e819b20c53764ecd7d00a45758b6 Mon Sep 17 00:00:00 2001 From: mmcky Date: Sat, 2 Nov 2024 14:18:41 +1100 Subject: [PATCH 5/6] import some dependencies --- environment.yml | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/environment.yml b/environment.yml index 2ea360ec..22f41f8b 100644 --- a/environment.yml +++ b/environment.yml @@ -20,29 +20,30 @@ dependencies: - arviz==0.13.0 # Datascience Requirements # - joblib - # - interpolation + - interpolation # - networkx - # - fiona - # - geopandas - # - pyLDAvis - # - gensim - # - folium - # - descartes + - fiona + - geopandas + - pyLDAvis + - gensim + - folium + - descartes # - pyarrow - # - xgboost - # - graphviz + - xgboost + - graphviz # - bokeh # - nltk - # - seaborn - # - patsy - # - statsmodels - # - quantecon - # - openpyxl - # - plotly - # - lxml - # - scikit-learn + - seaborn + - patsy + - statsmodels + - quantecon + - quandl + - openpyxl + - plotly + - lxml + - scikit-learn # - numba - # - ipywidgets + - ipywidgets # - scipy - conda: - python-graphviz From 6ab7e2525d6888e407f4ff938c6a6df5c666c08b Mon Sep 17 00:00:00 2001 From: mmcky Date: Sat, 2 Nov 2024 14:41:50 +1100 Subject: [PATCH 6/6] enable more dependencies --- environment.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 22f41f8b..a29c7b4f 100644 --- a/environment.yml +++ b/environment.yml @@ -21,7 +21,7 @@ dependencies: # Datascience Requirements # - joblib - interpolation - # - networkx + - networkx - fiona - geopandas - pyLDAvis @@ -33,8 +33,10 @@ dependencies: - graphviz # - bokeh # - nltk + - pandas-datareader - seaborn - patsy + - pyarrow - statsmodels - quantecon - quandl