Open ReimarBauer opened 6 months ago
Preparing transaction: ...working... done
Verifying transaction: ...working...
ClobberWarning: This transaction has incompatible packages due to a shared path.
packages: conda-forge/win-64::git-2.45.0-h57928b3_1, conda-forge/win-64::git-2.45.0-h57928b3_1
path: 'menu/menu-windows.json'
ClobberWarning: This transaction has incompatible packages due to a shared path.
packages: local/win-64::mss-alpha-py310_1000, local/win-64::mss-alpha-py310_1000
path: 'menu/mss_menu.json'
done
Executing transaction: ...working... done
set PREFIX=C:\Users\user\miniforge\conda-bld\mss_1714996915129\_test_env
set SRC_DIR=C:\Users\user\miniforge\conda-bld\mss_1714996915129\test_tmp
(base) %SRC_DIR%>call "%SRC_DIR%\conda_test_env_vars.bat"
(base) %SRC_DIR%>set "CONDA_SHLVL=" &&
(base) %SRC_DIR%>conda activate "%PREFIX%"
import: 'mslib'
import: 'mslib'
Fatal error in launcher: Unable to create process using '"C:\Users\user\miniforge\conda-bld\mss_1714996915129\_h_env\python.exe" "C:\Users\user\miniforge\conda-bld\mss_1714996915129\_test_env\Scripts\mswms.exe" -h': Das System kann die angegebene Datei nicht finden.
WARNING: Tests failed for mss-alpha-py310_1000.tar.bz2 - moving package to C:\Users\user\miniforge\conda-bld\broken
TESTS FAILED: mss-alpha-py310_1000.tar.bz2
This is an example for this problem https://github.com/Open-MSS/MSS/tree/develop/localbuild
We need to use a https://github.com/Open-MSS/MSS/blob/develop/localbuild/bld.bat with %PYTHON% setup.py install --single-version-externally-managed --record record.txt
and can't build by %PYTHON% -m pip install . --no-deps -vv
Let me know if I can improve our build or if you need further informations.
Checklist
What happened?
in the https://docs.conda.io/projects/conda-build/en/stable/user-guide/tutorials/build-pkgs.html#writing-the-build-script-files-build-sh-and-bld-bat
you describe
"%PYTHON%" setup.py install if errorlevel 1 exit 1
but that call is deprecated, https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
I am not sure if only the documentation has it old style. Please have a look.
In linux new style works, in windows not.
Conda Info
Conda Config
Conda list
Additional Context
No response