parmed is built when included as a pip-dependency.
Collecting parmed
Downloading parmed-4.3.1.tar.gz (20.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.2/20.2 MB 115.1 MB/s 0:00:00
Installing build dependencies: started
...
Building wheels for collected packages: parmed
Building wheel for parmed (pyproject.toml): started
Building wheel for parmed (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for parmed (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [158 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-312/parmed
copying parmed/_version.py -> build/lib.linux-x86_64-cpython-312/parmed
...
set build/lib.linux-x86_64-cpython-312/parmed/_version.py to '4.3.1'
running build_ext
building 'parmed.amber._rdparm' extension
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -fno-merge-constants -isystem /home/runner/micromamba/envs/mda/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/python-split_1788361757984/work=/usr/local/src/conda/python-split-3.12.14 -fuse-linker-plugin -ffat-lto-objects -partition=none -fPIC -O2 -fno-merge-constants -isystem /home/runner/micromamba/envs/mda/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/python-split_1788361757984/work=/usr/local/src/conda/python-split-3.12.14 -fuse-linker-plugin -ffat-lto-objects -partition=none -fPIC -I/tmp/pip-install-e4pv3ajk/parmed_aabac9a74e5b468da92bdffb8baefd1d/src -I/home/runner/micromamba/envs/mda/include/python3.12 -c src/_rdparm.cpp -o build/temp.linux-x86_64-cpython-312/src/_rdparm.o
g++: error: unrecognized command-line option ‘-partition=none’; did you mean ‘-flto-partition=none’?
g++: error: unrecognized command-line option ‘-partition=none’; did you mean ‘-flto-partition=none’?
error: Command '['g++', '-fno-strict-overflow', '-Wsign-compare', '-DNDEBUG', '-O2', '-Wall', '-fPIC', '-O2', '-fno-merge-constants', '-isystem', '/home/runner/micromamba/envs/mda/include', '-fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/python-split_1788361757984/work=/usr/local/src/conda/python-split-3.12.14', '-fuse-linker-plugin', '-ffat-lto-objects', '-partition=none', '-fPIC', '-O2', '-fno-merge-constants', '-isystem', '/home/runner/micromamba/envs/mda/include', '-fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/python-split_1788361757984/work=/usr/local/src/conda/python-split-3.12.14', '-fuse-linker-plugin', '-ffat-lto-objects', '-partition=none', '-fPIC', '-I/tmp/pip-install-e4pv3ajk/parmed_aabac9a74e5b468da92bdffb8baefd1d/src', '-I/home/runner/micromamba/envs/mda/include/python3.12', '-c', 'src/_rdparm.cpp', '-o', 'build/temp.linux-x86_64-cpython-312/src/_rdparm.o']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for parmed
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> parmed
Failed to build parmed
Error: Process completed with exit code 1.
Expected behavior
parmed is built when included as a pip-dependency.
Actual behavior
https://github.com/MDAnalysis/mdanalysis/actions/runs/33691158259/job/100449952947?pr=5439
Code to reproduce the behavior
See above, eg in PR #5439