-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add bare environment CI tests #790
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
Changes from all commits
d06f366
3f30845
9dc049b
ff445bc
40c920b
60b0e20
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,6 +129,8 @@ Testing | |
in NSRDB (:issue:`733`) | ||
* Added tests for methods in bifacial.py. | ||
* Added tests for changes to cell temperature models. | ||
* Add tests configuration for bare python environment (no conda). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can't comment on the test configuration being added. But here: past tense "Added" or present tense "Add"? No reason to hold up the PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a mix of past and present throughout the file, so I'm going to keep it as is for now. I'm ok setting a loose standard if someone wants to do the background research into what the rest of the python ecosystem uses. I can see arguments for either past or present. Separate issue. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
(:issue:`727`) | ||
* Added tests for changes to IAM models. | ||
* Added test for `ModelChain.infer_aoi_model`. | ||
|
||
|
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.
Just for my own information, where does the choice of @ versions come from here and below?
Uh oh!
There was an error while loading. Please reload this page.
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.
I'm not sure that I understand the scope of the question, so let me know if this doesn't actually answer it. It's probably fine to just choose 1 python version for this bare environment test, but it's easy enough to add the matrix option so I figured why not. In general, we want to test pvlib against all supported Python versions. This is stated in the readme and installation docs as "3.5 and above". 3.8 just came out, so I will look into adding that in a few weeks. I'm pretty confident that pvlib itself will not have any issues with 3.8, but it often takes a few weeks for the dependencies to release new wheels and/or Anaconda to add compiled packages.
Azure Pipelines does not yet provide a 3.8 environment, so it's definitely not yet an option on the bare environment test. Looks like it's not yet available from Anaconda defaults either.
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.
More specifically, how do you know what the @0, @1, and @3 suffixes refer to?
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.
Oh, I don’t understand that part of the spec. I’m just following the docs here https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/python?view=azure-devops
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.
Specifies the task version number: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/tasks?view=azure-devops&tabs=yaml#task-versions
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.
Oh I think I get it now. Microsoft supplies those task versions so they don’t break people’s pipelines when they make changes.