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

Bump unyt to 2.7.2 #2705

Merged
merged 2 commits into from
Jun 30, 2020
Merged

Bump unyt to 2.7.2 #2705

merged 2 commits into from
Jun 30, 2020

Conversation

matthewturk
Copy link
Member

We had been installing unyt from git, but this bumps the requirement to
the newly-released 2.7.2.

Copy link
Member

@munkm munkm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. I wonder if having such a new unyt requirement bumps up the minimal supported version for our minimal requirements (and if we should update those required versions). What has yt done in the past with these?

appveyor.yml Outdated
@@ -32,7 +32,7 @@ install:
# Install specified version of numpy and dependencies
- "conda install --yes -c conda-forge numpy scipy nose pytest setuptools ipython git
Cython sympy fastcache h5py matplotlib=3.1.3 mock pandas cartopy conda-build pooch pyyaml"
- "pip install git+https://github.com/yt-project/unyt@de443dff7671f1e68557306d77582cd117cc94f8#egg=unyt"
- "pip install unyt"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason to leave unyt as pip installed and not with the other conda installs in the lines above? I assume we used pip to get the specific hash when installing from source.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably did. I'll go back to conda.

@@ -437,7 +437,7 @@ def run(self):
'sympy>=1.2',
'numpy>=1.10.4',
'IPython>=1.0',
'unyt>=2.2.2',
'unyt>=2.7.2',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are our unyt fixes not backwards compatible with previous unyt versions? They have to install this version of unyt for yt to work?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say that since our answer tests require this version, we should as well -- the main thing I want to make sure of is the mu symbol being correct.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think it's reasonable that we at least match the versions we test in test_minimal_requirements. Hopefully as time moves on the versions between test_requirements and test_minimal_requiements start to differ.

@munkm munkm added infrastructure Related to CI, versioning, websites, organizational issues, etc units yt core Core components and algorithms in yt labels Jun 29, 2020
@Xarthisius Xarthisius merged commit 33009f6 into yt-project:master Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Related to CI, versioning, websites, organizational issues, etc units yt core Core components and algorithms in yt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants