[MAINT]: Remove tests from wheel distro#2277
Conversation
|
I haven't checked whether |
|
I think there shouldn't be any problem with conda-forge. It doesn't run the tests, nor does it rely on the presence of the test data files. Additionally, the process is entirely driven by the sdist (not wheel) files on PyPI anyway, so if we only change the wheel files, I think there can't be an issue. For reference, here's the conda-forge recipe for pvlib-python: https://github.com/conda-forge/pvlib-python-feedstock/blob/main/recipe/meta.yaml |
AdamRJensen
left a comment
There was a problem hiding this comment.
A brief review from my phone. But I like it!
Co-authored-by: Adam R. Jensen <39184289+AdamRJensen@users.noreply.github.com>
|
As I posted in #2271, I'm +1 to making the flat layout. Feel free to react to this message if you [dis]agree. Btw, can you guys add the appropriate labels? I understand it may be too soon for a milestone. |
|
That's it. Flat structure serious proposal. One thing, the |
|
@echedey-ls any idea why some data files are showing as having their contents changed? |
Windows magic!! @kandersolar , it's the carriage return character. Now that I look at |
a848e6c to
0774a91
Compare
|
I was utterly wrong - they were committed as CRLF, now they will stay like that. In any case, 100% recommend normalization of the line endings 🌞 |
kandersolar
left a comment
There was a problem hiding this comment.
I think the time has come to move forward with this PR. @echedey-ls there's a merge conflict, and two last comments below.
|
Thanks, Kevin 😃 |

docs/sphinx/source/referencefor API changes.docs/sphinx/source/whatsnewfor all changes. Includes link to the GitHub Issue with:issue:`num`or this Pull Request with:pull:`num`. Includes contributor name and/or GitHub username (link with:ghuser:`user`).remote-data) and Milestone are assigned to the Pull Request and linked Issue.My biggest fear is that
setuptoolsis caching things so please make a fresh local test. So far everything looks great to me:Partially addresses #1056 by moving all data files exclusively used for testing into
pvlib/tests/dataWhatsnew already updated with quantified sizes from wheel both zipped and once extracted compared against
v0.11.1.Pending or relevant changes for the future