Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter docker: new full build with latest of everything #137

Merged
merged 95 commits into from
Nov 14, 2024
Merged

Conversation

tlvu
Copy link
Contributor

@tlvu tlvu commented May 10, 2024

Overview

New full build with latest of everything.

Changes

  • New: save output of conda env export and environment size directly in the docker image for ease of tracking change between releases.
  • Updated pull request template for new docker release.
  • Jupyter env changes:
-  - bokeh=3.4.1=pyhd8ed1ab_0    
+  - bokeh=3.5.2=pyhd8ed1ab_0          

-  - cartopy=0.23.0=py311h320fe9a_0
+  - cartopy=0.24.0=py311h7db5c69_0

-  - cf_xarray=0.9.0=pyhd8ed1ab_0
+  - cf_xarray=0.10.0=pyhd8ed1ab_0

-  - cfgrib=0.9.11.0=pyhd8ed1ab_0      
+  - cfgrib=0.9.14.1=pyhd8ed1ab_0

-  - cftime=1.6.3=py311h1f0f07a_0
+  - cftime=1.6.4=py311h9f3472d_1   
   
-  - climpred=2.4.0=pyhd8ed1ab_0 
+  - climpred=2.5.0=pyhd8ed1ab_0   

-  - clisops=0.13.0=pyhca7485f_0 
+  - clisops=0.14.1=pyhd8ed1ab_0  

-  - dask=2024.5.0=pyhd8ed1ab_0   
+  - dask=2024.10.0=pyhd8ed1ab_0     

-  - esmf=8.4.0=nompi_hdb2cfa9_4      
+  - esmf=8.6.1=nompi_h4441c20_3   

-  - fiona=1.9.1=py311h3f14cef_0      
+  - fiona=1.9.5=py311hf8e0aa6_2    

-  - gdal=3.6.2=py311hadb6153_6          
+  - gdal=3.8.5=py311hf92cf48_11  

-  - geopandas=0.14.4=pyhd8ed1ab_0
+  - geopandas=1.0.1=pyhd8ed1ab_1      

-  - hvplot=0.9.2=pyhd8ed1ab_0        
+  - hvplot=0.11.1=pyhd8ed1ab_0    

-  - libnetcdf=4.8.1=nompi_h261ec11_106
+  - libnetcdf=4.9.2=nompi_h135f659_114

-  - numba=0.59.1=py311h96b013e_0     
+  - numba=0.60.0=py311h4bc866e_0        

-  - numpy=1.24.4=py311h64a7726_0 
+  - numpy=1.26.4=py311h64a7726_0  

-  - owslib=0.28.1=pyhd8ed1ab_0      
+  - owslib=0.32.0=pyhd8ed1ab_0       

-  - pandas=2.1.4=py311h320fe9a_0  
+  - pandas=2.2.3=py311h7db5c69_1     

-  - panel=1.4.2=pyhd8ed1ab_0       
+  - panel=1.5.3=pyhd8ed1ab_0         

-  - pydantic=2.7.1=pyhd8ed1ab_0
+      - pydantic==2.7.4                                                       

-  - pyogrio=0.5.1=py311h3f14cef_0                                                    
+  - pyogrio=0.7.2=py311hf8e0aa6_1 

-  - python=3.11.6=hab00c5b_0_cpython               
+  - python=3.11.10=hc5c86c4_3_cpython              

-  - rasterio=1.3.6=py311h567e639_0                 
+  - rasterio=1.3.10=py311h239598e_2                

-  - raven-hydro=0.2.4=py311h64a4d7b_0              
+  - raven-hydro=0.3.2=py311h81cb690_1              

-      - ravenpy==0.13.1     
+  - ravenpy=0.16.0=pyhd8ed1ab_0                                                                         

-  - rioxarray=0.15.5=pyhd8ed1ab_0                  
+  - rioxarray=0.17.0=pyhd8ed1ab_0                         

-  - roocs-utils=0.6.8=pyhd8ed1ab_0                        
+  - roocs-utils=0.6.9=pyhd8ed1ab_0                        

-  - scipy=1.13.0=py311h517d4fd_1                          
+  - scipy=1.14.1=py311he9a78e4_1                          

-  - shapely=2.0.1=py311h0f577a2_0                         
+  - shapely=2.0.4=py311h0bed3d6_1                         

-  - xarray=2023.8.0=pyhd8ed1ab_0                          
+  - xarray=2024.9.0=pyhd8ed1ab_1                          

-  - xclim=0.47.0=py311h38be061_0                          
+  - xclim=0.53.2=pyhd8ed1ab_0                                                 

-  - xesmf=0.8.5=pyhd8ed1ab_0                                                                                          
+  - xesmf=0.8.8=pyhd8ed1ab_0                                                  

-  - xscen=0.8.2=pyhd8ed1ab_0                                                  
+  - xscen=0.10.1=pyhd8ed1ab_0                                                 

Test

Related Issue / Discussion

Additional Information

Full diff conda env export:
release-py311-240506-update240508...f8c1c58

Full new conda env export:
https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests/blob/0b3419bba4aa42ee5a1fa9a8de0c8a6b91bf8547/docker/saved_buildout/conda-env-export.yml

DockerHub build log
https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests/blob/0b3419bba4aa42ee5a1fa9a8de0c8a6b91bf8547/docker/saved_buildout/docker-buildlogs.txt

…ompute it again

And also to avoid breaking the build since the diff exit code is 1.
… lots of output change

ValueError: These variables cannot be found in this dataset: ['rotated_pole']

PAVICS-landing-fix-pjei-11/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb::Cell 5
ValueError: group_dqm_train failed on block with coords : Coordinates:

RavenPy-fix-pjei-12/docs/notebooks/08_Getting_and_bias_correcting_CMIP6_data.ipynb::Cell 14
RavenPy-fix-pjei-12/docs/notebooks/paper/Perform_a_climate_change_impact_study_on_a_watershed.ipynb::Cell 14
@tlvu tlvu changed the title New docker build Jupyter docker: new full build with latest of everything Nov 13, 2024
@tlvu tlvu merged commit 5d816cf into master Nov 14, 2024
@tlvu tlvu deleted the new-docker-build branch November 14, 2024 20:04
tlvu added a commit to Ouranosinc/PAVICS-landing that referenced this pull request Nov 14, 2024
Fixes 1/2 of
Ouranosinc/pavics-jupyter-env-issues#11

For new Jupyter env in
Ouranosinc/PAVICS-e2e-workflow-tests#137

### Changes

* Updates the ensemble analysis tools to use the latest xclim
conventions
* Updates the pre-commit configuration
* Uses `https` for external links where possible
* Fixes a small typo in the ReadMe file
tlvu added a commit to Ouranosinc/pavics-sdi that referenced this pull request Nov 14, 2024
tlvu added a commit to CSHS-CWRA/RavenPy that referenced this pull request Nov 14, 2024
…Raven code conventions (#395)

Fixes 1/2 of
Ouranosinc/pavics-jupyter-env-issues#12

For new Jupyter env in
Ouranosinc/PAVICS-e2e-workflow-tests#137.

FYI @tlvu 

### Changes

- Updates the date handling of datasets so that chunking with `dask` is
properly performed
- Minor fixes to comments (formatting, typos).
@tlvu
Copy link
Contributor Author

tlvu commented Nov 14, 2024

@tlogan2000 The new Jupyter env is live on PAVICS. You can notify users to restart their servers to get the new version.

tlvu added a commit to bird-house/birdhouse-deploy that referenced this pull request Nov 14, 2024
## Overview

Update Jupyter env to latest version, see
Ouranosinc/PAVICS-e2e-workflow-tests#137 for
more info.

## Changes

**Non-breaking changes**
- Update Jupyter env to version `py311-241111`.

**Breaking changes**
- This new Jupyter env requires the Jenkins host to be updated.
Jenkins host upgrade problem found and fix on Ouranos side can be found
here Ouranosinc/jenkins-config#16.

## Related Issue / Discussion

- Resolves [issue id](url)

## Additional Information

Links to other issues or sources.

- [ ] Things to do...

## CI Operations

<!--
The test suite can be run using a different DACCS config with
``birdhouse_daccs_configs_branch: branch_name`` in the PR description.
To globally skip the test suite regardless of the commit message use
``birdhouse_skip_ci`` set to ``true`` in the PR description.

Using ``[<cmd>]`` (with the brackets) where ``<cmd> = skip ci`` in the
commit message will override ``birdhouse_skip_ci`` from the PR
description.
Such commit command can be used to override the PR description behavior
for a specific commit update.
However, a commit message cannot 'force run' a PR which the description
turns off the CI.
To run the CI, the PR should instead be updated with a ``true`` value,
and a running message can be posted in following PR comments to trigger
tests once again.
-->

birdhouse_daccs_configs_branch: master
birdhouse_skip_ci: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant