-
Notifications
You must be signed in to change notification settings - Fork 9
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
MAINT: Use bundle_tools_3 and fix various bugs #195
Conversation
Btw I am uploading a new constructor beta so re-run the CI in ~30min to 1h to use it. It contains a fix for permission escalation. |
@jaimergp can you remind me how to make the step more verbose so we can see why Windows fails as the NSIS step? |
No dice with
|
I ran it locally and got this:
It looks like it doesn't like the RTF files for some weird reason? 🤔 |
Awesome -- maybe/probably because there is unicode... I'll try opening it in Windows and re-saving it. If that doesn't work I'll remove the unicode and try again! |
None of the unicode rendered well in Windows except for one folder icon, so I just deleted the unicode business and re-saved them. Looks like all files got smaller. 🤞 |
This reverts commit f378242.
Mm, no I think it's a bug introduced in this release (probably this line). I think the only workaround for now is to disable the custom conclusion file on Windows installers. I'll open a PR on constructor next week. Can you open an issue to track this in |
@larsoner Can you revert the change to the RTF file please? |
Have you checked to see if they render on Windows? Only one worked when I loaded it in WordPad and Word for me, all other Unicode characters rendered as weird vertical lines. f you haven't checked I will, and if they don't show on Windows we can either have two sets of files or (my preference) live with not having Unicode anywhere... |
@jaimergp looks like that was the bug on Windows! For macOS now we get an error on installation:
and on Linux we have a post-install script meant to fix the
Any thoughts on these? |
@larsoner We're applying a number of patches, maybe they need modification… Edit: Then again, this is just for post-install… |
Actually I don't see these used anywhere other than
Notably the So the macOS install failure seems new and relevant with |
I would list the contents of the directory. They should be there, but maybe I think the names are now "slugified" so it'd be all lowercase, no spaces etc. Also, I will fix the .desktop |
Turns out this had been done a while ago too. |
FYI I set the data retention period to 5 days for this repo directly in Hopefully the latest commit I pushed is the last one I'll need, and I'll update the URL above to have the latest artifact link once it finishes! |
assets/Menu/mne_open_prompt.bat
Outdated
:: This is used to initialize the bash prompt on Windows. | ||
@ECHO OFF | ||
|
||
call %/home/conda/feedstock_root/build_artifacts/mne-python_1692127656949/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_%\Scripts\Activate.bat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes me think that the hack of doing menuinst
ourselves will not work. Either menuinst
or constructor
must do something magical here. I'll revert for now but c5dfc2a seems close to what we want
This reverts commit c5dfc2a.
Co-authored-by: Richard Höchenberger <[email protected]>
Quick question, what is the difference between single-user and system-wide modes? Many apps install into Do we mention what exactly happens when running our installers? I'm always concerned with installers modifying stuff that cannot be easily reverted, so if we describe what we're actually doing (e.g. creating which folder) for both modes that would be a great way for people like me to try out our installers. |
It would be a good idea to add a note about that to the installers page of the MNE-Python docs after we merge this, especially since on Linux and macOS there is no uninstaller so you have to remove things manually |
... actually I don't like how macOS installs stuff to
Then macOS and Windows both uninstall the way users would expect (I think), and Linux is the only annoying one ( |
The choice for |
But with the changes @larsoner made in this PR, this is now the case, or no? I like that everything is contained in a single folder, which makes uninstalling everything a trivial task. |
I now put everything in Applications, which has the advantage of easy uninstallation but will break if people move things around. |
Move what around? There's just one folder - it breaks when they move it? If that's the issue, we can document this behavior and tell people to uninstall and then reinstall in the desired location. Or point out that the folder cannot be moved, which is OK, because it is in the expected standard location. Can you explain the difference between system-wide and user installation? |
If you try the installer it will probably become clear. But by single user I mean installing to |
Okay I added some basic set of dev dependencies (I couldn't even run https://github.com/mne-tools/mne-installers/actions/runs/6091167620?pr=195#artifacts Unless anyone objects I'll merge tomorrow to keep things moving and we can deal with other stuff in follow-up PRs. |
A naive attempt at conda/constructor#474 (comment)
Closes #204
Closes #191
Closes #190
Closes #182
Closes #181
Closes #131