mctools / simplebuild-dgcode

dgcode: the Geant4-based simulation framework of the ESS Detector Group. Provided as simple-build-system bundles.
https://mctools.github.io/simplebuild-dgcode/
Other
2 stars 1 forks source link

Ensure all deps are ready for M1 @ conda-forge #5

Closed tkittel closed 7 months ago

tkittel commented 9 months ago

We should cross-check for our dependencies that all of them (+cif2hkl to be nice) are enabled for M1 in this file:

https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/migrations/osx_arm64.txt

If not, we need a PR.

tkittel commented 9 months ago

missing tomli and bash. Perhaps they are OK due to some noarch magic? Need an M1 to test...

tkittel commented 7 months ago

List of missing dependencies in the M1 migrations file @ conda-forge is actually:

zlib
expat
openscenegraph
pysimplegui
tomli
bash

@willend when you have time could you kindly check on your M1 which of the above are in fact not able to be installed from conda-forge (nodefaults)? I have a feeling that some of them might be available even though they are not explicitly listed in the M1 migrations file.

tkittel commented 7 months ago

Using the search box at anaconda.org, I actually find all of the above packages in the conda-forge channel and platform osx-arm64, with the exception of pysimplegui which is noarch. So perhaps the migrations/osx_arm64.txt is simply not an exclusive list, and all is well.

willend commented 7 months ago

They seem to all be there:

(base) CIN-969631:~ peterwillendrup$ conda config --show channels
channels:
  - conda-forge
  - mantid
  - nodefaults
(base) CIN-969631:~ peterwillendrup$ mamba search zlib
Loading channels: done
# Name                       Version           Build  Channel             
zlib                          1.2.11   h31e879b_1009  conda-forge         
zlib                          1.2.11   h90dfc92_1014  conda-forge         
zlib                          1.2.11   hee7b306_1011  conda-forge         
zlib                          1.2.11   hee7b306_1012  conda-forge         
zlib                          1.2.11   hee7b306_1013  conda-forge         
zlib                          1.2.12      h03a7124_3  conda-forge         
zlib                          1.2.12      h03a7124_4  conda-forge         
zlib                          1.2.12      h90dfc92_0  conda-forge         
zlib                          1.2.12      ha287fd2_1  conda-forge         
zlib                          1.2.12      ha287fd2_2  conda-forge         
zlib                          1.2.13      h03a7124_4  conda-forge         
zlib                          1.2.13      h53f4e23_5  conda-forge         
zlib                             1.3      h0d3ecfb_0  conda-forge         
(base) CIN-969631:~ peterwillendrup$ mamba search expat
Loading channels: done
# Name                       Version           Build  Channel             
expat                          2.2.9      h9f76cd9_3  conda-forge         
expat                          2.2.9      hc88da5d_2  conda-forge         
expat                         2.2.10      h9f76cd9_0  conda-forge         
expat                          2.3.0      h9f76cd9_0  conda-forge         
expat                          2.4.1      hbdafb3b_0  conda-forge         
expat                          2.4.2      hbdafb3b_0  conda-forge         
expat                          2.4.3      hbdafb3b_0  conda-forge         
expat                          2.4.4      hbdafb3b_0  conda-forge         
expat                          2.4.5      h6b3803e_0  conda-forge         
expat                          2.4.6      h6b3803e_0  conda-forge         
expat                          2.4.7      h6b3803e_0  conda-forge         
expat                          2.4.8      h6b3803e_0  conda-forge         
expat                          2.4.9      hb7217d7_0  conda-forge         
expat                          2.5.0      hb7217d7_0  conda-forge         
expat                          2.5.0      hb7217d7_1  conda-forge         
(base) CIN-969631:~ peterwillendrup$ mamba search openscenegraph
Loading channels: done
# Name                       Version           Build  Channel             
openscenegraph                 3.6.5     h3494f9e_16  conda-forge         
openscenegraph                 3.6.5     h51bb309_15  conda-forge         
openscenegraph                 3.6.5     h5a15a81_14  conda-forge         
openscenegraph                 3.6.5     h71ba0d9_18  conda-forge         
openscenegraph                 3.6.5     ha0111ab_13  conda-forge         
openscenegraph                 3.6.5     hbf6730c_17  conda-forge         
(base) CIN-969631:~ peterwillendrup$ mamba search pysimplegui
Loading channels: done
# Name                       Version           Build  Channel             
pysimplegui                    4.1.0            py_0  conda-forge         
pysimplegui                    4.2.0            py_0  conda-forge         
pysimplegui                    4.3.1            py_0  conda-forge         
pysimplegui                    4.3.2            py_0  conda-forge         
pysimplegui                    4.4.0            py_0  conda-forge         
pysimplegui                    4.4.1            py_0  conda-forge         
pysimplegui                    4.5.0            py_0  conda-forge         
pysimplegui                    4.6.0            py_0  conda-forge         
pysimplegui                   4.15.2            py_0  conda-forge         
pysimplegui                   4.18.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.18.2    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.19.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.20.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.21.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.22.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.24.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.25.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.26.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.27.4    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.28.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.29.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.30.0    pyh9f0ad1d_0  conda-forge         
pysimplegui                   4.31.0    pyhd3deb0d_0  conda-forge         
pysimplegui                   4.32.1    pyhd3deb0d_0  conda-forge         
pysimplegui                   4.33.0    pyhd3deb0d_0  conda-forge         
pysimplegui                   4.34.0    pyh44b312d_0  conda-forge         
pysimplegui                   4.38.0    pyh44b312d_0  conda-forge         
pysimplegui                   4.40.0    pyh44b312d_0  conda-forge         
pysimplegui                   4.40.0    pyh44b312d_1  conda-forge         
pysimplegui                   4.44.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.45.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.46.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.47.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.48.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.49.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.50.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.52.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.53.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.55.1    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.56.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.57.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.59.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.60.0    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.60.1    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.60.3    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.60.4    pyhd8ed1ab_0  conda-forge         
pysimplegui                   4.60.5    pyhd8ed1ab_0  conda-forge         
(base) CIN-969631:~ peterwillendrup$ mamba search tomli
Loading channels: done
# Name                       Version           Build  Channel             
tomli                          1.0.0    pyhd8ed1ab_0  conda-forge         
tomli                          1.0.1    pyhd8ed1ab_0  conda-forge         
tomli                          1.0.2    pyhd8ed1ab_0  conda-forge         
tomli                          1.0.3    pyhd8ed1ab_0  conda-forge         
tomli                          1.0.4    pyhd8ed1ab_0  conda-forge         
tomli                          1.1.0    pyhd8ed1ab_0  conda-forge         
tomli                          1.2.0    pyhd8ed1ab_0  conda-forge         
tomli                          1.2.1    pyhd8ed1ab_0  conda-forge         
tomli                          1.2.2    pyhd8ed1ab_0  conda-forge         
tomli                          2.0.0    pyhd8ed1ab_1  conda-forge         
tomli                          2.0.1    pyhd8ed1ab_0  conda-forge         
(base) CIN-969631:~ peterwillendrup$ mamba search bash
Loading channels: done
# Name                       Version           Build  Channel             
bash                          5.1.16      h9f973b2_0  conda-forge         
bash                          5.2.15      h5a893de_1  conda-forge         
bash                          5.2.15      h97bf9b2_0  conda-forge         
bash                          5.2.21      h15d410d_0  conda-forge    

I also just installed them without any apparent issues:

(base) CIN-969631:~ peterwillendrup$ mamba install zlib expat openscenegraph pysimplegui tomli bash

Looking for: ['zlib', 'expat', 'openscenegraph', 'pysimplegui', 'tomli', 'bash']

warning  libmamba Cache file "/Users/peterwillendrup/mambaforge/pkgs/cache/a850f475.json" was modified by another program
warning  libmamba Cache file "/Users/peterwillendrup/mambaforge/pkgs/cache/09cdf8bf.json" was modified by another program
warning  libmamba Cache file "/Users/peterwillendrup/mambaforge/pkgs/cache/f51ba96f.json" was modified by another program
mantid/osx-arm64 (check zst)                        Checked  0.4s
warning  libmamba Cache file "/Users/peterwillendrup/mambaforge/pkgs/cache/cdc1707a.json" was modified by another program
mantid/noarch (check zst)                           Checked  0.2s
warning  libmamba Could not parse mod/etag header
nodefaults/osx-arm64 (check zst)                    Checked  0.3s
warning  libmamba Could not parse mod/etag header
nodefaults/noarch (check zst)                       Checked  0.3s
mantid/osx-arm64                                   125.0 B @ 258.0 B/s  0.5s
mantid/noarch                                        1.4kB @   2.8kB/s  0.5s
nodefaults/osx-arm64                               125.0 B @ 248.0 B/s  0.5s
nodefaults/noarch                                  116.0 B @ 155.0 B/s  0.3s
conda-forge/osx-arm64                                8.4MB @   8.3MB/s  1.0s
conda-forge/noarch                                  13.4MB @  10.9MB/s  1.2s

Pinned packages:
  - python 3.10.*

Transaction

  Prefix: /Users/peterwillendrup/mambaforge

  Updating specs:

   - zlib
   - expat
   - openscenegraph
   - pysimplegui
   - tomli
   - bash
   - ca-certificates
   - certifi
   - openssl

  Package                         Version  Build             Channel           Size
─────────────────────────────────────────────────────────────────────────────────────
  Install:
─────────────────────────────────────────────────────────────────────────────────────

  + expat                           2.5.0  hb7217d7_1        conda-forge      118kB
  + bash                           5.2.21  h15d410d_0        conda-forge        2MB
  + pcre                             8.45  hbdafb3b_0        conda-forge      236kB
  + aom                             3.6.1  hb765f3a_0        conda-forge        2MB
  + libvpx                         1.13.1  hb765f3a_0        conda-forge        1MB
  + svt-av1                         1.4.1  h7ea286d_0        conda-forge        1MB
  + libtasn1                       4.19.0  h1a8c8d9_0        conda-forge      117kB
  + nettle                          3.9.1  h40ed0f5_0        conda-forge      510kB
  + lame                            3.100  h1a8c8d9_1003     conda-forge      529kB
  + openh264                        2.3.1  hb7217d7_2        conda-forge      588kB
  + x264                       1!164.3095  h57fd34a_2        conda-forge      717kB
  + x265                              3.5  hbc6ce65_3        conda-forge        2MB
  + libunistring                   0.9.10  h3422bc3_0        conda-forge        2MB
  + libboost                       1.82.0  h489e689_6        conda-forge        2MB
  + fontconfig                     2.14.2  h82840c6_0        conda-forge      238kB
  + p11-kit                        0.24.1  h29577a5_0        conda-forge      891kB
  + libidn2                         2.3.7  h93a5062_0        conda-forge      134kB
  + collada-dom                     2.5.0  h458611f_7        conda-forge        1MB
  + gnutls                          3.7.9  hd26332c_0        conda-forge        2MB
  + font-ttf-dejavu-sans-mono        2.37  hab24e00_0        conda-forge      397kB
  + pysimplegui                    4.60.5  pyhd8ed1ab_0      conda-forge      439kB
  + font-ttf-inconsolata            3.000  h77eed37_0        conda-forge       97kB
  + font-ttf-source-code-pro        2.038  h77eed37_0        conda-forge      701kB
  + font-ttf-ubuntu                  0.83  h77eed37_1        conda-forge        2MB
  + fonts-conda-forge                   1  0                 conda-forge        4kB
  + fonts-conda-ecosystem               1  0                 conda-forge        4kB
  + ffmpeg                          4.4.2  gpl_h3f99325_113  conda-forge        8MB
  + openscenegraph                  3.6.5  h71ba0d9_18       conda-forge        7MB

  Upgrade:
─────────────────────────────────────────────────────────────────────────────────────

  - ca-certificates            2023.11.17  hf0a4a13_0        conda-forge     Cached
  + ca-certificates              2024.2.2  hf0a4a13_0        conda-forge      156kB
  - openssl                         3.2.0  h0d3ecfb_1        conda-forge     Cached
  + openssl                         3.2.1  h0d3ecfb_0        conda-forge        3MB
  - certifi                    2023.11.17  pyhd8ed1ab_0      conda-forge     Cached
  + certifi                      2024.2.2  pyhd8ed1ab_0      conda-forge      161kB

  Summary:

  Install: 28 packages
  Upgrade: 3 packages

  Total download: 40MB

─────────────────────────────────────────────────────────────────────────────────────

Confirm changes: [Y/n] y
expat                                              117.9kB @ 467.8kB/s  0.3s
ca-certificates                                    155.7kB @ 588.8kB/s  0.3s
pcre                                               235.6kB @ 665.2kB/s  0.4s
openh264                                           587.7kB @ 809.2kB/s  0.5s
bash                                                 1.6MB @   1.6MB/s  1.0s
libunistring                                         1.6MB @   1.4MB/s  0.8s
pysimplegui                                        438.9kB @ 389.1kB/s  0.2s
aom                                                  2.1MB @   1.7MB/s  1.2s
fonts-conda-ecosystem                                3.7kB @   3.1kB/s  0.1s
openssl                                              2.9MB @   2.3MB/s  0.9s
nettle                                             510.2kB @ 382.1kB/s  0.1s
collada-dom                                          1.3MB @ 975.7kB/s  0.6s
libvpx                                               1.1MB @ 832.5kB/s  0.2s
font-ttf-dejavu-sans-mono                          397.4kB @ 280.7kB/s  0.1s
font-ttf-source-code-pro                           700.8kB @ 486.4kB/s  0.3s
p11-kit                                            890.7kB @ 590.8kB/s  0.2s
font-ttf-ubuntu                                      1.6MB @   1.1MB/s  0.2s
certifi                                            160.6kB @  98.2kB/s  0.1s
fontconfig                                         237.7kB @ 144.4kB/s  0.1s
x265                                                 1.8MB @   1.1MB/s  0.4s
lame                                               528.8kB @ 306.7kB/s  0.3s
x264                                               717.0kB @ 372.5kB/s  0.3s
libidn2                                            134.5kB @  66.7kB/s  0.1s
gnutls                                               1.8MB @ 855.3kB/s  0.4s
libtasn1                                           116.7kB @  54.3kB/s  0.1s
svt-av1                                              1.2MB @ 551.5kB/s  0.4s
fonts-conda-forge                                    4.1kB @   1.8kB/s  0.1s
openscenegraph                                       6.5MB @   2.9MB/s  0.8s
font-ttf-inconsolata                                96.5kB @  42.7kB/s  0.1s
libboost                                             2.0MB @ 863.9kB/s  0.2s
ffmpeg                                               8.4MB @   3.1MB/s  1.1s

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
tkittel commented 7 months ago

Great, then I don't have to start begging the maintainers to create PRs! :-)

Thanks!