-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Update for new menuinst and friends and new Spyder feedstock (Installers) #21647
PR: Update for new menuinst and friends and new Spyder feedstock (Installers) #21647
Conversation
08b1733
to
68003e1
Compare
d414896
to
d251168
Compare
446a100
to
ca0e463
Compare
f999509
to
b79eac3
Compare
Hello @mrclary! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-02-06 03:49:30 UTC |
2268400
to
4acf354
Compare
5af365f
to
22c0d55
Compare
22c0d55
to
3333f6a
Compare
menuinst
and friends and new Spyder feedstock
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.
Looks good to me now, thanks @mrclary!
Conda install of spyder package clobbers Menu/* and breaks the app. Including Menu in standard conda package makes standard installs register as conda-based apps if checking for spyder-menu.json. So the solution is to use a file that only the installer will create: conda-based-app in the Menu directory.
…t v2 support; remove bundle_tools_3 channel dependence. Sometime between mamba=1.4.2 and mamba=1.5.6, mamba mambabuild generates error "ValueError: unrecognized 'args' object". This does not affect conda mambabuild. Ensure correct versions of conda and menuinst are installed in base environment. Now that all packages are in conda-forge, strict channel priority will continue to work but flexible doesn't hurt.
Generally, macOS uses BSD sed and Linux uses GNU sed. However, in some circumstances (CI macOS arm64) it appears that macOS may be using GNU instead of BSD. Therefore it is best to check sed directly for BSD/GNU rather than using the platform as a proxy. Remove patch for old-style markers.
Add aliases to all shell init files in user mode. Fixed issue where post-install script would prematurely exit when adding alias to shell init files. Use menuinst to remove shortcut when uninstalling.
Show progress notifications (macOS)
Add spyder_kernels_rc and spyder_dev channels so that non-stable releases can be resolved.
…ev, and conda-forge; and flexible priority
…ipt so that spyder post-link script can see it.
…sion to get correct sed options for BSD
…staller_test.sh script Note that using the shabang line is not effective since the path to the base environment python executable is not known until install time. The post-install script could modify the cli script, but that is too convoluted; also, it wouldn't benefit Windows either.
* Make uninstall script executable to all * Check for write permissions and warn user when sudo is required.
Co-authored-by: Carlos Cordoba <[email protected]>
e0cd6c3
to
accc1c2
Compare
Let's merge to start the release of alpha4. |
Description of Changes
conda 23.11.0
,conda-standalone 23.11.0
,menuinst 2.0.2
, andconstructor 3.6.0
.conda-based-app
next tospyder-menu.json
.is_conda_based_app
checks forconda-based-app
instead ofspyder-menu.json
. This is required sincespyder-menu.json
is will not be unique to our standalone installer.spyder-menu.json
and relevant files as they are included in the standard feedstock.Merge after:
Issue(s) Resolved
Fixes #21640