-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Use Pixi in macOS-intel CI #13704
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
base: main
Are you sure you want to change the base?
Use Pixi in macOS-intel CI #13704
Changes from all commits
37ff4b3
9bf2882
e736f17
07ff86e
7fa7b7d
c26c307
1ff8624
03b2f29
8b73058
962a49e
05359d8
460c24a
5a16daa
dc25bec
d1c45e2
14c0687
0376aae
a207603
4f0770f
e0d0865
7c44343
fe5a459
c2f8a97
de6704c
6e651d8
a46fc3b
0e6aeaf
1ca07e7
79291ff
e246da4
c0e16a2
83c66f5
cb0f159
d798ce9
43f4b96
2422d58
676a845
b56aa5c
ad9df3f
38dd081
f40a537
e1dba77
9f747ae
e10c59a
ca03ac8
bb8e9a7
336495e
649e2b2
a09b734
ab625ba
22ba9eb
279fa65
e08d2cd
25073c6
a3db53d
ad04dec
ed263ed
92e30fa
0cd364a
69d264c
2a645f0
b02265c
019ddf4
f4eab60
c856ffa
4fc7fb6
4a03f47
ea8861d
4025a14
4446fca
d28bda6
a441306
b7ed6ff
803e324
7d20814
93e2dff
8996abd
95a5266
132aa53
1b0b26f
3a031ba
1cfaeb5
b7971c3
105f23a
ca4ba7f
5130043
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| # THIS FILE IS AUTO-GENERATED BY tools/hooks/update_environment_file.py AND WILL BE OVERWRITTEN | ||
| [workspace] | ||
| authors = ["Scott Huberty <seh33@uw.edu>"] # TODO: fix this | ||
| channels = ["conda-forge"] | ||
| name = "mne" | ||
| platforms = ["osx-64"] | ||
| version = "0.1.0" | ||
|
|
||
| [tasks] | ||
|
|
||
| [dependencies] | ||
| python = "3.13.*" | ||
| antio = ">=0.5.0" | ||
| curryreader = ">=0.1.2" | ||
| darkdetect = "*" | ||
| decorator = "*" | ||
| defusedxml = "*" | ||
| dipy = "*" | ||
| edfio = ">=0.4.10" | ||
| eeglabio = "*" | ||
| filelock = ">=3.18.0" | ||
| h5io = ">=0.2.4" | ||
| h5py = "*" | ||
| imageio = ">=2.6.1" | ||
| imageio-ffmpeg = ">=0.4.1" | ||
| ipyevents = "*" | ||
| ipympl = "*" | ||
| ipython = "!=8.7.0" | ||
| ipywidgets = "*" | ||
| jinja2 = "*" | ||
| joblib = "*" | ||
| jupyter = "*" | ||
| lazy_loader = ">=0.3" | ||
| mamba = "*" | ||
| matplotlib = ">=3.8" | ||
| mffpy = ">=0.5.7" | ||
| mne-qt-browser = "*" | ||
| nibabel = "*" | ||
| nilearn = "*" | ||
| nomkl = "*" | ||
| numba = "*" | ||
| numpy = ">=1.26,<3" | ||
| openmeeg = ">=2.5.7" | ||
| packaging = "*" | ||
| pandas = ">=2.2" | ||
| pillow = "*" | ||
| pip = "*" | ||
| pooch = ">=1.5" | ||
| pyarrow = "*" | ||
| pybv = "*" | ||
| pymatreader = "*" | ||
| pyside6 = "==6.9.2" | ||
| python-neo = "*" | ||
| python-picard = "*" | ||
| pyvista = ">=0.43" | ||
| pyvistaqt = ">=0.11" | ||
| qdarkstyle = "!=3.2.2" | ||
| qtpy = "*" | ||
| scikit-learn = ">=1.4" | ||
| scipy = ">=1.12" | ||
| sip = "*" | ||
| snirf = "*" | ||
| statsmodels = "*" | ||
| threadpoolctl = "*" | ||
| tqdm = "*" | ||
| traitlets = "*" | ||
| trame = "*" | ||
| trame-vtk = "*" | ||
| trame-vuetify = "*" | ||
| vtk = "==9.5.1" | ||
| xlrd = "*" | ||
|
|
||
| [pypi-dependencies] | ||
| nest-asyncio2 = "*" | ||
| pymef = "*" | ||
| pyobjc-framework-cocoa = ">=5.2.0" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # Authors: The MNE-Python contributors. | ||
| # License: BSD-3-Clause | ||
| # Copyright the MNE-Python contributors. | ||
|
|
||
| import tomlkit | ||
| import tomllib | ||
|
|
||
| with open("../pyproject.toml", "rb") as fid: | ||
| foo = tomllib.load(fid) | ||
|
Comment on lines
+8
to
+9
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So that this script can be run from any dir, this is better and the name shouldn't be
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes of course. Still in draft mode ; ) |
||
|
|
||
| # in keys: build-system, dependency-groups, project, tool | ||
|
|
||
| # out keys: workspace, dependencies, pypi-dependencies (may need tasks) | ||
| out = dict() | ||
| workspace = dict( | ||
| authors=["MNE-Python contributors"], | ||
| channels=["conda-forge"], | ||
| name=foo["project"]["name"], | ||
| platforms=["osx-64"], | ||
| version="0.1.0", | ||
| ) | ||
| dependencies = foo["project"]["dependencies"] | ||
| dependencies.extend(foo["dependency-groups"]["test"]) | ||
| dependencies.extend(foo["dependency-groups"]["test_extra"]) | ||
| dependencies.extend(foo["project"]["optional-dependencies"]["hdf5"]) | ||
| dependencies.extend(foo["project"]["optional-dependencies"]["full-no-qt"]) | ||
| dependencies.extend(foo["project"]["optional-dependencies"]["full-pyside6"]) | ||
| dependencies = list( | ||
| filter(lambda x: isinstance(x, str) and "mne[" not in x, dependencies) | ||
| ) | ||
| dependencies = sorted(set(dependencies)) | ||
|
|
||
| out = {"workspace": workspace, "dependencies": dependencies, "pypi-dependencies": []} | ||
|
|
||
| with open("pixi-new.toml", "w") as fid: | ||
| tomlkit.dump(out, fid, sort_keys=True) | ||
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 file is missing a comment at the top about being autogenerated like
mne-python/environment.yml
Line 1 in eb0758a