-
Notifications
You must be signed in to change notification settings - Fork 42
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
xarray version update #323
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
0593a21
xarray version update
dabhicusp de97d97
Added test case for memory.
dabhicusp fcfc007
fixed lint errors.
dabhicusp 735ae2d
Fixed CI/CD xarray version.
dabhicusp 834a7de
Updated ci.yml cache value.
dabhicusp 8321789
Revert "Updated ci.yml cache value."
dabhicusp 8960314
Added flag for channel priority in ci.yml.
dabhicusp cd0e961
Revert "Added flag for channel priority in ci.yml."
dabhicusp 8c57ae7
Fixed xarray issue in CI/CD.
dabhicusp 3048a66
Fixed pip dependency in ci/cd.
dabhicusp 6d95593
Updated NetCDF file Generation code.
dabhicusp f2eddef
Lint error resolved.
dabhicusp e657623
Context manager added in write_netcdf.
dabhicusp 7d28454
bumping weather-mv version to v0.2.13
dabhicusp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ | |
"dataclasses", | ||
"numpy==1.22.4", | ||
"pandas==1.5.1", | ||
"xarray==2022.11.0", | ||
"xarray==2023.1.0", | ||
"cfgrib==0.9.10.2", | ||
"netcdf4==1.6.1", | ||
"geojson==2.5.0", | ||
|
@@ -62,7 +62,7 @@ | |
packages=find_packages(), | ||
author='Anthromets', | ||
author_email='[email protected]', | ||
version='0.2.12', | ||
version='0.2.13', | ||
url='https://weather-tools.readthedocs.io/en/latest/weather_mv/', | ||
description='A tool to load weather data into BigQuery.', | ||
install_requires=beam_gcp_requirements + base_requirements, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second though: we may get weird link errors with our conda deploy if we don't include this as a conda dependency. Has this been published on conda forge yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While trying to install the
xarray=2023.1.0
package in the CI/CD pipeline via theconda-forge
channel, I encountered an error. However, the installation process worked without any issues when I tried it locally. Here's an error message that I received during the CI/CD run:Link
Do you have any suggestions for resolving this issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like 2023.4.2 is available on conda (I think this is the latest release). How about we try upgrading to that version?
https://github.com/conda-forge/xarray-feedstock#current-release-info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned in the PR Description
This is the last updated version of xarray that python 3.8 supported
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I'm getting ahead of myself. I'm happy to keep the pip (vs the conda) version, if we can test our local and docker deployment to prove that there are no link errors. Let's also create a follow-up CL to deprecate python 3.8 and include python 3.10. How does this sound?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @alxmrs, I have tested both the
local
anddocker
deployments and did not encounter any errors.Yes, this sounds good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for confirming!