Closed wpotrzebowski closed 4 months ago
Can we unhook travis now even though we are not putting commits on the slack channel?
Τravis builds are failing because scipy/numpy dropped support for python 3.6.
It is probably worth to split it into sub-issues. 1) Testing Windows installer (done partially) 2) Deployment for Linux and OSX (partially done too) 3) Adding certificates signing for OSX and Windows 4) Adding notarization step 5) Explore bandwidth of the free solution and feasibility of using it in the future (alternative - self-hosted servers).
re 1. Looks good, python 3.9 is a very welcome addition. Things discovered so far:
matplotlib
does not like nonposy
argument on set_yscale
Is it possible to write tests to find each of these problems in CI? That would be a good outcome.
re: pyzmq - my local tests show that we need to downgrade pyzmq to pyzmq=19.0.1
for the console to work properly. This dependency should probably be added to the yaml. And there we go again to restricting versions based on functionality but I don't see any other solution.
Similarly with MPL - we either downgrade MPL or replace nonposy='clip'
with nonpositive='clip'
in our source.
The empty charts might be a separate issue
I am able to produce dmg file with OSX installer https://github.com/SasView/sasview/actions/runs/879815924 but is spectacularly crashing with Seg Fault... Happy pyinstaller debugging to come.
OSX dmg seems to work now. There is some issue with matplolib scalling:
10:27:42 - ERROR: Traceback (most recent call last): File "sas/qtgui/MainWindow/GuiManager.py", line 1203, in showPlot File "sas/qtgui/MainWindow/DataExplorer.py", line 1104, in displayData File "sas/qtgui/MainWindow/DataExplorer.py", line 1173, in plotData File "sas/qtgui/Plotting/Plotter.py", line 138, in plot File "sas/qtgui/Plotting/PlotterBase.py", line 183, in yscale File "matplotlib/axes/_base.py", line 3938, in set_yscale File "matplotlib/axis.py", line 744, in _set_scale File "matplotlib/scale.py", line 632, in scale_factory TypeError: __init__() got an unexpected keyword argument 'nonposy
But other than that it seems to work fine.
Signing step still needs to be added.
Notarization step needs revisit.
Windows code signing will soon be fully automated, based on the new DigiCert KeyLocker feature. https://docs.digicert.com/en/digicert-keylocker/general/benefits.html
We are getting this as soon as the subscription renews (Sept)
Now that we have a windows signing mechanism, this should be resolved. Closing
The current versions of github actions:
but it does not yet do that travis does:
and it does not yet do but travis doesn't either:
As noted in #1644, future development could extend these actions/add additional actions to build/test installers and even publish installers and wheels for the packages.