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

DM-11727: Update miniconda baseline to python3.6 #68

Merged
merged 2 commits into from Sep 18, 2017
Merged

Conversation

timj
Copy link
Member

@timj timj commented Sep 15, 2017

No description provided.

@timj timj requested a review from jhoblitt September 15, 2017 16:45
@@ -633,7 +633,7 @@ n8l::python_check() {
if [[ $pyverok != true ]]; then
cat <<-EOF

Thanks. After you install Python 2.7 or 3.5 and the required modules,
Copy link
Member

Choose a reason for hiding this comment

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

Could you use variable interpolation similar to the above 2 (>=2.${minver2}) or 3 (>=3.${minver3})? That would eliminate a set of hard coded version strings.

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed reference to versions completely. This message comes just after we've already reported the version required.

Copy link
Member

Choose a reason for hiding this comment

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

👍

@@ -567,7 +567,7 @@ else:

#
# Test/warn about Python versions, offer to get miniconda if not supported.
# LSST currently mandates Python 3.5 and, optionally, 2.7. We assume that the
# LSST currently mandates Python 3.6 and, optionally, 2.7. We assume that the
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps remove the sentence with the hard coded version strings?

@timj
Copy link
Member Author

timj commented Sep 16, 2017

@jhoblitt those rspec tests are really annoying. This patch is fine but fails because the test is checking the exact wording of the echo statement. Why are we testing that?

@timj
Copy link
Member Author

timj commented Sep 18, 2017

@jhoblitt can you please fix this test failure?

@jhoblitt
Copy link
Member

@timj The test that is failing is checking the error message reporting the minimum python versions is in sync with the version parameters to n8l::pyverok. This stdout check can probably be removed now since the script shouldn't be able to lie about the minimum versions after this PR.

@timj
Copy link
Member Author

timj commented Sep 18, 2017

I know why it's failing. I said so above. Please can you fix it as I think we do need to get this update merged and I am too busy today to deal with it the way you probably want it done.

@jhoblitt
Copy link
Member

I'm not sure why travis is failing. I just tired this branch locally and it passes.

@timj
Copy link
Member Author

timj commented Sep 18, 2017

One last try. I haven't got this stuff running locally so I'm iterating with travis.

@timj timj merged commit 7940a23 into master Sep 18, 2017
@ktlim ktlim deleted the tickets/DM-11727 branch August 25, 2018 06:15
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.

None yet

2 participants