Skip to content

Conversation

@Lakshyadevelops
Copy link
Contributor

@Lakshyadevelops Lakshyadevelops commented Mar 22, 2023

  • I am familiar with the contributing guidelines
  • Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for 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`).
  • Pull request is nearly complete and ready for detailed review.
  • Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

While running the benchmark I found that minimum scipy version in asv.conf.json was throwing error on incrementing It to 1.5.0 from 1.4.0 runs it. On further Investigation for 1.4.0 requires numpy>=1.17.3 which was greater than minimum.
image
but for 1.5.0 numpy requirement is lesser than minimum required
image

The error is thrown when I tested it using environment built by asv

@kandersolar
Copy link
Member

On further Investigation for 1.4.0 requires numpy>=1.17.3

The screenshot says numpy>=1.17.3 is required when using Python 3.8, but we use scipy==1.4.0 in the Python 3.7 environment. The screenshot says that only numpy>=1.14.5 is required for python 3.7. We use numpy==1.16.5 for that environment, so I don't see any problem with the scipy/numpy versions. Additionally, that environment builds successfully in our CI: https://github.com/pvlib/pvlib-python/actions/runs/4455677669/jobs/7825630747#step:5:34

So I don't see why this PR is necessary. @Lakshyadevelops what do you think?

@Lakshyadevelops
Copy link
Contributor Author

Ok, I see numpy,scipy is not the issue.
Running using asv dev in py3.7 does not throw error. But asv run still throws could not resolve scipy 1.4.0 . conda actually does not have scipy 1.4.0 conda-forge has 1.4.0.
image
image

I tried to run with 1.4.1 and it runs.
I tried to modify asv.conf.json to re-order package order from condaforge->defaults but none worked.
Is it a windows issue of conda-forge not able to get package?

@Lakshyadevelops
Copy link
Contributor Author

As per #1661 I see

benchmarks should not be run locally specially on windows because of environment issues.

I will be closing this issue.

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.

2 participants