-
Notifications
You must be signed in to change notification settings - Fork 2
Culling packages #3
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
Culling packages #3
Conversation
Hi! I'm the It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃 |
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.
@munkm can you take a look at the list of installed packages (and the ones being removed) to see if this environment would be suitable for your classes/needs?
@matthew-brett build actions are succeeding but test actions are all failing. We should try to sort that out in this PR I think.
Cull packages specific to MNE. Cull some visualization packages (VTK, pyvista etc). Cull some development packages (these can be installed later via the command line). Add `pyreadstat` (for SPSS etc import into Pandas).
81acada
to
6ffc064
Compare
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.
All of the dependencies that I would use for my class exist in the new version of the installer! Thank you for adapting this! I made a couple of minor comments unrelated to the packages I'd use in my class, but are relevant to the PR.
I think it's probably outside of the scope of this PR, but wanted to point out that there's a few MNE references up through line 50 that we'd probably want to update after this PR goes in. They include:
recipes/mne-python/construct.yaml
Outdated
# Viz | ||
# matplotilb is just matplotlib-base, tornado, and pyqt | ||
# https://github.com/conda-forge/matplotlib-feedstock/blob/main/recipe/meta.yaml | ||
- matplotlib-base =3.10.1 | ||
- matplotlib-base =3.10.3 | ||
- tornado =6.4.2 | ||
- pyside6 =6.8.2 # allow_outdated, PyVista (VTK 9.3.1) and Mayavi |
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.
Both VTK and Mayavi were removed as dependencies.
- pyside6 =6.8.2 # allow_outdated, PyVista (VTK 9.3.1) and Mayavi | |
- pyside6 =6.8.2 |
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 probably means that we can/should bump the pin? I'm guessing that the comment is used in tests that check that the pins reflect the most current available version, so if we simply remove it without bumping the pin, it will cause a test failure.
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.
I dropped Qt stuff completely - should it come back?
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.
I noticed a couple more places I can see MNE in these updated files. The main place I noticed was in installers, but the check_installation.sh
file refers to some things that probably need to be updated too.
- here this test refers to $MNE-MACHINE and also refers to an install path that was changed in the updated
construct.yaml
. - here we have some MNE references and paths
- here is another path that probably should be updated
- MNE install prefixes
Conda issue : conda/conda#14884 Meanwhile, trying fix to manually overwrite |
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.
OK tested fairly thoroughly on Linux. Some notes:
-
menu icons install into the "Other" folder. I think we can fix this later (there are I think built-in categories for "science" and "Development", either of these would be better).
-
I'm leaving some TODOs in the Makefile for folks building the package on Windows (again, can be added later).
-
To make it easy for others to develop / remix / build this installer locally, I think we should add either a Makefile recipe like this:
build-environment: @conda create -n sp-installer "python=3.11" conda-build conda-verify constructor joblib threadpoolctl && \ conda activate sp-installer
... or put a
dev
section inproject.optional_dependencies
ofpyproject.toml
that will install the necessary build deps. (can be done later).
I'll open separate issues for each of these suggestions.
assets/welcome_macOS.png
Outdated
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.
IIRC this logo ended up not looking super good in the macOS installer (shoved too far into the corner). mentioning as a TODO for later.
Almost there I think! But:
|
It looks like Windows isn't running the tests in any case - see https://github.com/scientific-python/installer/actions/runs/15333037607/job/43144153017?pr=3#step:6:441 |
Caveat: I don't fully understand the conda build process. But: IIUC
which references a Additionally, I also spotted this line:
which makes me think we should add |
this is probably a non-issue; the windows build was passing on 6dc0750 and the |
Cull packages specific to MNE.
Cull some visualization packages (VTK, pyvista etc).
Cull some development packages (these can be installed later via the command line).
Add
pyreadstat
(for SPSS etc import into Pandas) andnbclassic
(for users who prefer the classic Jupyter interface).