You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here I am just documenting issues; they may (or may not) be resolved when 1.7.4 is cut so I don't think it warrants immediate action.
There is an issue with the ForceBalance 1.7.2 build on Linux with Python 3.6. Installing ForceBalance onto a Linux machine with Python 3.6 will not raise any errors until trying to import it, which will fail since the build is virtually empty. Note the size of the different tarballs:
Downloading and opening up the bad one shows that it lacks most of the contents it should have. This is localized to just that build; Linux on 3.7 is fine, and macOS on both versions is fine. (Also, other packages, i.e. OFFTK do not report similar errors.) It's unclear the source, but it seems to be related to NumPy in some way. The logs for 1.7.2 report not finding the right version of NumPy, but that did not cause the build to crash, just to ship something with missing files. I thought that leeping/forcebalance#181 would fix it, but the builds on 1.7.3 also fail (albeit on Python 3.7 instead) for reasons that are not clear to me: #1044
I have tried a handful of things in PRs here, but none seem to have worked properly:
Import package after build #1042 aims to add something like a python -c "import mypackage" at the end of a build to catch the edge case of the build succeeding, but producing an improper package
Update numpy defaults #1043 aims to change the default versions of the --numpy flag, although this did not alone work and it's not clear to me how much this flag matters; you can see in some logs that other (newer) versions are pulled when packages are actually built. Revert NumPy<1.18 pin on Python 3.6 #1041 is related, but somewhat independent and may be out of scope here.
Again, it's unclear to me what the source of the issue is, but it at least appears to be related to pulling in NumPy. Possibly, it may by more obvious to somebody with more experience with this build environment.
The text was updated successfully, but these errors were encountered:
Here I am just documenting issues; they may (or may not) be resolved when 1.7.4 is cut so I don't think it warrants immediate action.
There is an issue with the ForceBalance 1.7.2 build on Linux with Python 3.6. Installing ForceBalance onto a Linux machine with Python 3.6 will not raise any errors until trying to import it, which will fail since the build is virtually empty. Note the size of the different tarballs:
Downloading and opening up the bad one shows that it lacks most of the contents it should have. This is localized to just that build; Linux on 3.7 is fine, and macOS on both versions is fine. (Also, other packages, i.e. OFFTK do not report similar errors.) It's unclear the source, but it seems to be related to NumPy in some way. The logs for 1.7.2 report not finding the right version of NumPy, but that did not cause the build to crash, just to ship something with missing files. I thought that leeping/forcebalance#181 would fix it, but the builds on 1.7.3 also fail (albeit on Python 3.7 instead) for reasons that are not clear to me: #1044
I have tried a handful of things in PRs here, but none seem to have worked properly:
python -c "import mypackage"
at the end of a build to catch the edge case of the build succeeding, but producing an improper package--numpy
flag, although this did not alone work and it's not clear to me how much this flag matters; you can see in some logs that other (newer) versions are pulled when packages are actually built. Revert NumPy<1.18 pin on Python 3.6 #1041 is related, but somewhat independent and may be out of scope here.Again, it's unclear to me what the source of the issue is, but it at least appears to be related to pulling in NumPy. Possibly, it may by more obvious to somebody with more experience with this build environment.
The text was updated successfully, but these errors were encountered: