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

Change dev & production envs to Python 3.10 #93

Merged
merged 17 commits into from
Mar 3, 2022
Merged

Change dev & production envs to Python 3.10 #93

merged 17 commits into from
Mar 3, 2022

Conversation

douglatornell
Copy link
Member

Recovery from 1-Mar-2022 failure of /SalishSeaCast production deployment SSD
gave us a trial by fire of running production on Python 3.10.

douglatornell and others added 17 commits November 18, 2021 15:57
Initially, to confirm that a Python 3.10 conda env solution is possible.
Requires addition of tomli package as dependency.
It was already implicitly in the env;
this makes it an explicit dependency so that it is sure to stay.
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.4 to 4.6.5.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](lxml/lxml@lxml-4.6.4...lxml-4.6.5)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
gra-dtn1.computecanada.ca (ssh aliased as graham-dtn) is optimized for data
transfer in comparison to login nodes.
Parker changed files distribution from sftp from boiler to publishing them on
https://liveocean.apl.uw.edu/output/.
lib.mkdir() accepts Path-like objects
# Conflicts:
#	envs/requirements.txt
Recovery from 1-Mar-2022 failure of /SalishSeaCast production deployment SSD
gave us a trial by fire of running production on Python 3.10.
With some manual intervention to avoid ugly breaks in dict lookups.
@douglatornell douglatornell self-assigned this Mar 3, 2022
@douglatornell douglatornell added Framework maintenance Codebase maintenance labels Mar 3, 2022
@codecov
Copy link

codecov bot commented Mar 3, 2022

Codecov Report

Merging #93 (7ce49b7) into main (ea64fc7) will decrease coverage by 0.00%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #93      +/-   ##
==========================================
- Coverage   73.02%   73.01%   -0.01%     
==========================================
  Files         122      122              
  Lines       16062    16066       +4     
  Branches     1098     1308     +210     
==========================================
+ Hits        11729    11731       +2     
- Misses       4283     4285       +2     
  Partials       50       50              
Flag Coverage Δ
unittests 73.01% <83.33%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
nowcast/figures/comparison/sandheads_winds.py 20.18% <0.00%> (ø)
...st/figures/fvcom/publish/second_narrows_current.py 20.00% <ø> (ø)
nowcast/figures/publish/surface_current_tiles.py 13.33% <0.00%> (ø)
nowcast/workers/download_live_ocean.py 74.02% <100.00%> (+0.34%) ⬆️
tests/workers/test_download_live_ocean.py 100.00% <100.00%> (ø)
nowcast/workers/make_surface_current_tiles.py 27.05% <0.00%> (-0.17%) ⬇️
nowcast/residuals.py 14.79% <0.00%> (-0.05%) ⬇️
nowcast/workers/watch_NEMO_hindcast.py 86.12% <0.00%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea64fc7...7ce49b7. Read the comment docs.

@douglatornell douglatornell added this to the v22.1 milestone Mar 3, 2022
@douglatornell douglatornell merged commit ab7e17c into main Mar 3, 2022
@douglatornell douglatornell deleted the py310 branch March 3, 2022 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework maintenance Codebase maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant