-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
WIP: try building 1.22.0rc's #248
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Note that this is currently dropping pypy 3.8, cf. conda-forge/conda-forge-pinning-feedstock#2089 |
Now with C++ :) |
windows:
|
So it looks like the include-guards of numpy/numpy#19355 don't fully work on windows; I commented upstream. Rest looks fine (aside from the absence of PyPy). |
Ah, well, actually...
This yields a passing run; it's"most likely one more of those "actually-needs-a- |
Ah, and PPC-through-QEMU being its usual charming self,
with examples such as this one:
This has happened a lot on the scipy feedstock (where it was discussed in depth), as well as the ones of scikit-learn and others, and the only reasonable option is not testing PPC through QEMU (or not building PPC, which was even less popular). |
e4b6032
to
a4fdf25
Compare
Well, it looks like windows failure of not finding ** with feasible effort and an acceptable maintenance burden |
@conda-forge/numpy @rgommers @charris Just a summary of the findings here (most important is last):
Finally, the most actionable point:
|
Asking NumPy to fix up the |
While I try to keep numpy/scipy cos6 compatible, I feel differently about VS. There I think we should just move on to vs2019 (including the vc142 toolchain), as the effective lower bound is defined by the upstream CI, and I don't think it's reasonable for the feedstock to try to close such gaps that will continue to appear. Having such native support would also mean that @isuruf disagrees about the toolchain bit, but I don't know how to set the toolchain version to vc141, and am not particularly motivated to find out. |
Cc @charris for the question of whether we intentionally dropped VS 2017 in NumPy and are fine keeping it that way. |
@rgommers The reason for moving to vs2019 was simply that azure will drop vs2017 support next March. I don't know if this causes problems with released Python, but assume that Microsoft tries to keep the vc14.x toolchain series backwards compatible. In general, The MS compilers have lagged behind others in standards compliance and I am happy to go with newer compilers if they work. @h-vetinari is in a better position than I am to make that decision. |
Well, I did have a look anyway, and it looks like we need to set this as an argument to |
@conda-forge/vc @conda-forge/core In any case, I'm not planning to spend more time chasing old ghosts (especially as upstream now has VS2019 as a lower bound in CI), so I wanted to notify people well in advance that unless there are further comments, I'm going to bump to VS2019 (and implicitly vc142) once numpy 1.22 final drops. ** compile errors with VS2017, I haven't dug further. |
Absolutely, which is why I've been trying to involve/inform people. All I said was that if there had been no response for weeks, I would have taken it as tacit consent (and it's not like it wouldn't be possible to bump the build number for a later fix). |
What do you mean no response? I mentioned that we should use VS2019 with v141 toolchain in conda-forge/conda-forge.github.io#1538 |
See my last two comments. |
Can we rephrase this as a request for help, making this comment concrete: "We just need to make sure that the conda compiler activation script works. The effort needed is probably less than the time we have spent on writing on this issue."? It sounds easy, but I admit I have no idea what this actually would take, and apparently nor does @h-vetinari. Right now this isn't urgent yet, but it'd be great if we could build the final |
See conda-forge/conda-smithy#1552. That should use VS2019 with v141 toolchain. |
Thanks a lot! I would have gone about this completely the wrong way (had no idea that vs2019 already uses vc141? Apparently I can't deciper the |
8756d12
to
04c68e7
Compare
@isuruf, this is still using VS2017 despite the newest conda-smithy. Not sure if I'm misunderstanding something or need to add something here, but it could be that it's not yet working as intended? Probably needs an update to the pinning-feedstock? |
No, it's not. It's using Visual studio 2019. If you look at the logs you'll see |
Hm, I was looking at 04c68e7, where I saw: channel_targets:
- conda-forge main
+cxx_compiler:
+- vs2017
libblas:
- 3.8 *netlib which was what I responded to. If indeed everything is working as intended, then we have the bigger problem that vc141 is not capable of building numpy, currently. Someone can fix up the include guards, but I fear such issues are going to keep happening (with upstream CI at VS2019@vc142), and I don't have the time/energy to fix them**, but of course I won't stand in the way of someone else doing the work. ** especially as there has been no counter-argument to my impression that the fall-out cost from switching to vc142 would be miniscule to non-existent; without a plausible reason that justifies the cost, it just feels like a massive waste of my time to try to out-support Microsoft. |
Sure. I don't expect you to work on that. However we will have to delay the release of 1.22.0 until someone comes up with a patch or until someone champions the move to vs2019 which means getting approval from core to move, announcing the move and giving time for users and then doing the switch itself. |
…nda-forge-pinning 2021.12.20.19.09.43
@conda-forge/core |
fixed by #251 |
Hot off the press: 1.22.0rc1 - let's try building it. 🙃