Skip to content

Conversation

kandersolar
Copy link
Member

@kandersolar kandersolar commented Sep 19, 2025

Python 3.9 is end of life starting October 2025. Might as well drop it now.

I also took the opportunity to advance our minimum numpy, scipy, pandas versions to the lowest that are available for Python 3.10+.

@kandersolar kandersolar added build tools Pipelines, CI, GH actions dependency labels Sep 19, 2025
@kandersolar kandersolar added this to the v0.13.1 milestone Sep 19, 2025
@kandersolar
Copy link
Member Author

@echedey-ls do you have any idea why the failing py 3.10-min job is trying to install numpy==1.19.3 instead of 1.21.2? It makes no sense to me. https://github.com/pvlib/pvlib-python/actions/runs/17867208211/job/50812293647?pr=2547#step:4:213

@kandersolar kandersolar mentioned this pull request Sep 19, 2025
4 tasks
@echedey-ls
Copy link
Contributor

Definitely black magic. Citing the logs:

Installing pip packages: h5py==3.0.0, numpy==1.21.2, pandas==1.3.3, scipy==1.7.2, pytest-rerunfailures, pytest-remotedata, requests-mock
    error: subprocess-exited-with-error
    
    × pip subprocess to install backend dependencies did not run successfully.
    │ exit code: 1
    ╰─> [956 lines of output]
        Collecting numpy==1.19.3
          Downloading numpy-1.19.3.zip (7.3 MB)

In https://github.com/mamba-org/setup-micromamba
There is this link in the readme, to redirect users that want to know caching better (both for downloading and environment): mamba-org/provision-with-micromamba#38 (comment)
In the end, a user reports his issue is the same as this one: mamba-org/setup-micromamba#50 (short conversation, must read all through it).

I know we have:

		uses: mamba-org/setup-micromamba@v2
        with:
          cache-downloads: false
          cache-environment: false

However, I guess it is caching things, what a coincidence that it's the last numpy version... I won't be able to trace the problem down, so I suggest we wait for 8 days till the cache gets deleted, or just merge as is. I believe in this diff more than that action docs. We could also try to use bare python for the minimal CI - that would require translating the ci files into requirements.txt syntax thou.

It makes no sense to me.

Neither to me. Can we delete .github? I beg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build tools Pipelines, CI, GH actions dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants