Repository navigation
CI: Add Python 3.11 jobs - #8431
Conversation
|
I think you missed a flag allowing experimental pythons so 3.11rc2 was not found. |
|
These errors on Windows are disturbing: We are supposed to be used latest supported numpy which is supposed to automatically handle this. |
1a33259 to
dcd8815
Compare
|
I fixed the Python versions syntax. It looks like the Windows errors are unrelated, right? I would recommend reviewing and merging this PR #8430, which add a weekly scheduled run to the Azure pipelines. That way we can detect errors caused by upstream dependencies or changes in the build environment earlier. |
|
As for the Windows issue, what doesn't help, is that NumPy is installed once and then again. I suspect this is to do due to Beside that, the requirement files are currently a mess. Everything scattered over 4 files: setup.py, requirements.txt, requirements-dev.txt and pyproject.toml. Ideally should be just one file, with the dev requirements listed as an extras. I would recommend putting everything in the pyproject.toml, since that's the latest PEP standard. |
|
@EwoutH @bashtage Thanks for working on this. numpy abi mismatch also happens in from my current PR |
|
This is happending because pandas moved the locations of certain errors. You can delete the line |
I don't really know what that means, pyproject.toml doesn't have anything like this. Is the a different pyproject file? It looks like there is a separate issue building the documentation #8432 |
|
scipy issue is less likely because that is heavily unit tested. |
|
Scikit-learn also has issues with the latest SciPy release: scikit-learn/scikit-learn#24612 (comment) We probably should create a separate issue for this. |
|
Could just pin Scipy !=1.9.2 |
|
There is now also a discussion on the SciPy repo, we could see how that plays out: scipy/scipy#17191 |
|
@EwoutH if you rebase on main and force push it might pass now. |
|
The current issue is that lxml doesn't have Python 3.11 wheels available on PyPI, and it fails to build the wheels itself. There is a tracking issue for this: https://bugs.launchpad.net/lxml/+bug/1977998 The Python 3.10 error on Windows is the NumPy error again, and unrelated: I can highly recommend merging #8430 to catch those errors on the main branch early. |
|
If you rebase on main you should get past the windows error. It is a scipy build issue. |
I'm actually rebased on main. Could be another regression in SciPy 1.9.3 that released yesterday? |
|
How heavy is the dependency on lxml? I feel the repository is not that actively maintained, and their build infrastructure looks outdated and fragile. It could be a source of more build issues in the future. |
|
It isn't that important. I suspect it is needed by the doc build. Do you know what is requesting it? |
|
Difficult to say, I used pipdeptree and it doesn't look like a dependency of statsmodels itself. |
|
I looked and it is being pulled in by the sphinx-theme AFAICT. You could see hat happens if you comment out all of the docbuild stuff from requirements-dev. |
|
Testing it out at #8428, see this Azure pipeline run. |
|
I think one more rebase if you incorporate the changes in the requirements should get it done. |
|
Same for your other PRs. |
|
Progress, but now something to do with Cython. |
Add Python 3.11 jobs to the Azure pipelines CI.
|
Great news, everything is passing on my test PR! I ported the changes from that PR to this one, cleaned up and rebased. This PR is ready for review and merging! @bashtage Thanks for all the help! |
|
Close and reopen to retrigger CI |
The GitHub Actions macOS images are lagging a bit behind.
|
Fixed the issue, the macOS images are lacking a bit behind. |
|
@bashtage all checks pass, so I say let's go! |
|
One comment. Could you move the OSX back to 3.10. The latest marker is for lastest dependencies, not Python. We don't have a lot of capacity to debug OSX so something more stable than 3.11 makes sense for us. |
|
Thanks. |
|
Sorry, just saw you last comment, thanks for merging! Ironically Python 3.11.0 was just added to macOS runners (actions/setup-python#531 (comment)), so we don't need the pre-release anymore. I've created #8466 in which this is reverted. |
Add Python 3.11 jobs to the Azure pipelines CI.
NumPy's guide.