Skip to content
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

Allow to specify target archeticture #1

Open
kadykov opened this issue Sep 12, 2023 · 0 comments
Open

Allow to specify target archeticture #1

kadykov opened this issue Sep 12, 2023 · 0 comments

Comments

@kadykov
Copy link

kadykov commented Sep 12, 2023

Thank you for this package, it is really easy to build conda packages with it!

However, I am struggling with building packages with target architectures other than "noarch":

[noarch_python] Noarch package contains binary script: daemon-name.exe

What do you think about adding an option to specify the target architecture?
For instance like that:

[tool.hatch.build.targets.conda]
target_architectures = ["win-64"]
Full log
(hatch) C:\Users\UserName\Documents\prog\package_name\package-name>hatch build -t conda
[conda]
meta.yaml:  defaultdict(, {'package': {'name': 'package-name', 'version': '0.0.1'}, 'source': {'path': 'C:\\Users\\UserName\\Documents\\prog\\package_name\\package-name'}, 'build': {'number': 0, 'noarch': 'python', 'script': 'python -m pip install --no-deps --ignore-installed .'}, 'requirements': {'build': [], 'host': ['python >=3.11', 'pip', 'hatchling'], 'run': ['python >=3.11', 'aioserial']}, 'test': {}, 'about': {'summary': 'Description of the package'}})
command ['conda-build', 'build', 'C:\\Users\\USERNAME~1\\AppData\\Local\\Temp\\tmpi86ghjml', '--output-folder', 'C:\\Users\\USERNAME~1\\AppData\\Local\\Temp\\tmpi86ghjml', '--override-channels', '--numpy', '1.22', '--channel', 'channel-name', '--channel', 'conda-forge']
C:\Users\UserName\mambaforge\envs\hatch\Scripts\conda-build-script.py:10: DeprecationWarning: conda_build.cli.main_build.main is deprecated and will be removed in 4.0.0. Use 'conda build' instead.
  sys.exit(main())
ERROR: Glob C:\Users\UserName\Documents\prog\package_name\package-name\build did not match in root_dir C:\Users\UserName\Documents\prog\package_name\package-name
Adding in variants from internal_defaults
Adding in variants from config.variant
Attempting to finalize metadata for package-name
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
BUILD START: ['package-name-0.0.1-py_0.tar.bz2']
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

Package Plan

environment location: C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553_h_env

The following NEW packages will be INSTALLED:

bzip2:              1.0.8-h8ffe710_4          conda-forge
ca-certificates:    2023.7.22-h56e8100_0      conda-forge
editables:          0.3-pyhd8ed1ab_0          conda-forge
hatchling:          1.18.0-pyhd8ed1ab_0       conda-forge
importlib-metadata: 6.8.0-pyha770c72_0        conda-forge
libexpat:           2.5.0-h63175ca_1          conda-forge
libffi:             3.4.2-h8ffe710_5          conda-forge
libsqlite:          3.43.0-hcfcfb64_0         conda-forge
libzlib:            1.2.13-hcfcfb64_5         conda-forge
openssl:            3.1.2-hcfcfb64_0          conda-forge
packaging:          23.1-pyhd8ed1ab_0         conda-forge
pathspec:           0.11.2-pyhd8ed1ab_0       conda-forge
pip:                23.2.1-pyhd8ed1ab_0       conda-forge
pluggy:             1.3.0-pyhd8ed1ab_0        conda-forge
python:             3.11.5-h2628c8c_0_cpython conda-forge
setuptools:         68.1.2-pyhd8ed1ab_0       conda-forge
tk:                 8.6.12-h8ffe710_0         conda-forge
tomli:              2.0.1-pyhd8ed1ab_0        conda-forge
trove-classifiers:  2023.8.7-pyhd8ed1ab_0     conda-forge
tzdata:             2023c-h71feb2d_0          conda-forge
ucrt:               10.0.22621.0-h57928b3_0   conda-forge
vc:                 14.3-h64f974e_17          conda-forge
vc14_runtime:       14.36.32532-hdcecf7f_17   conda-forge
vs2015_runtime:     14.36.32532-h05e6639_17   conda-forge
wheel:              0.41.2-pyhd8ed1ab_0       conda-forge
xz:                 5.2.6-h8d14728_0          conda-forge
zipp:               3.16.2-pyhd8ed1ab_0       conda-forge

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
WARNING: Using legacy MSVC compiler setup. This will be removed in conda-build 4.0. If this recipe does not use a compiler, this message is safe to ignore. Otherwise, use {{compiler('')}} jinja2 in requirements/build.
The system cannot find the path specified.

EnvironmentLocationNotFound: Not a conda environment: C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553_build_env

Copying C:\Users\UserName\Documents\prog\package_name\package-name to C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\work
source tree in: C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\work
Rewriting env in output: {'BUILD_PREFIX': 'C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\_build_env',
'PREFIX': 'C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\_h_env',
'SRC_DIR': 'C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\work'}

(hatch) %SRC_DIR%>IF "" == "" (call %SRC_DIR%\build_env_setup.bat )

(hatch) %SRC_DIR%>set "CONDA_BUILD=1"

(hatch) %SRC_DIR%>set "PYTHONNOUSERSITE=1"

(hatch) %SRC_DIR%>set "CONDA_DEFAULT_ENV=%PREFIX%"

(hatch) %SRC_DIR%>set "ARCH=64"

(hatch) %SRC_DIR%>set "PREFIX=%PREFIX%"

(hatch) %SRC_DIR%>set "BUILD_PREFIX=%BUILD_PREFIX%"

(hatch) %SRC_DIR%>set "SYS_PREFIX=C:\Users\UserName\mambaforge\envs\hatch"

(hatch) %SRC_DIR%>set "SYS_PYTHON=C:\Users\UserName\mambaforge\envs\hatch\python.exe"

(hatch) %SRC_DIR%>set "SUBDIR=win-64"

(hatch) %SRC_DIR%>set "build_platform=win-64"

(hatch) %SRC_DIR%>set "SRC_DIR=%SRC_DIR%"

(hatch) %SRC_DIR%>set "ROOT=C:\Users\UserName\mambaforge\envs\hatch"

(hatch) %SRC_DIR%>set "CONDA_PY=311"

(hatch) %SRC_DIR%>set "PY3K=1"

(hatch) %SRC_DIR%>set "PY_VER=3.11"

(hatch) %SRC_DIR%>set "STDLIB_DIR=%PREFIX%\Lib"

(hatch) %SRC_DIR%>set "SP_DIR=%PREFIX%\Lib\site-packages"

(hatch) %SRC_DIR%>set "PYTHON=%PREFIX%\python.exe"

(hatch) %SRC_DIR%>set "NPY_VER=1.22"

(hatch) %SRC_DIR%>set "CONDA_NPY=1.22"

(hatch) %SRC_DIR%>set "NPY_DISTUTILS_APPEND_FLAGS=1"

(hatch) %SRC_DIR%>set "PERL_VER=5.26"

(hatch) %SRC_DIR%>set "CONDA_PERL=5.26.2"

(hatch) %SRC_DIR%>set "LUA_VER=5"

(hatch) %SRC_DIR%>set "CONDA_LUA=5"

(hatch) %SRC_DIR%>set "R_VER=3.4"

(hatch) %SRC_DIR%>set "CONDA_R=3.4"

(hatch) %SRC_DIR%>set "PKG_NAME=package-name"

(hatch) %SRC_DIR%>set "PKG_VERSION=0.0.1"

(hatch) %SRC_DIR%>set "PKG_BUILDNUM=0"

(hatch) %SRC_DIR%>set "PKG_BUILD_STRING=placeholder"

(hatch) %SRC_DIR%>set "PKG_HASH=1234567"

(hatch) %SRC_DIR%>set "RECIPE_DIR=C:\Users\USERNAME~1\AppData\Local\Temp\tmpi86ghjml"

(hatch) %SRC_DIR%>set "CPU_COUNT=16"

(hatch) %SRC_DIR%>set "SHLIB_EXT=.dll"

(hatch) %SRC_DIR%>set "PATH=%BUILD_PREFIX%;%BUILD_PREFIX%\Library\mingw-w64\bin;%BUILD_PREFIX%\Library\usr\bin;%BUILD_PREFIX%\Library\bin;%BUILD_PREFIX%\Scripts;%BUILD_PREFIX%\bin;%PREFIX%;%PREFIX%\Library\mingw-w64\bin;%PREFIX%\Library\usr\bin;%PREFIX%\Library\bin;%PREFIX%\Scripts;%PREFIX%\bin;C:\Users\UserName\AppData\Local\hatch\env\virtual\package-name\srvG18nH\package-name-build\Scripts;C:\Users\UserName\mambaforge\envs\hatch;C:\Users\UserName\mambaforge\envs\hatch\Library\mingw-w64\bin;C:\Users\UserName\mambaforge\envs\hatch\Library\usr\bin;C:\Users\UserName\mambaforge\envs\hatch\Library\bin;C:\Users\UserName\mambaforge\envs\hatch\Scripts;C:\Users\UserName\mambaforge\envs\hatch\bin;C:\Users\UserName\mambaforge\condabin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Python27;C:\Python27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization\Sequencer;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\IVI Foundation\VISA\Win64\Bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\Git\cmd;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\dotnet;C:\Program Files\VSCodium\bin;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Docker\Docker\resources\bin;C:\Users\UserName\AppData\Local\Microsoft\WindowsApps;C:\Users\UserName.cargo\bin;C:\Users\UserName\AppData\Roaming\npm;C:\Strawberry\perl\bin;C:\Users\UserName\Documents\EPICS\base-7.0.7\bin\windows-x64;C:\Users\UserName\Documents\EPICS\tools;."

(hatch) %SRC_DIR%>set "SCRIPTS=%PREFIX%\Scripts"

(hatch) %SRC_DIR%>set "LIBRARY_PREFIX=%PREFIX%\Library"

(hatch) %SRC_DIR%>set "LIBRARY_BIN=%PREFIX%\Library\bin"

(hatch) %SRC_DIR%>set "LIBRARY_INC=%PREFIX%\Library\include"

(hatch) %SRC_DIR%>set "LIBRARY_LIB=%PREFIX%\Library\lib"

(hatch) %SRC_DIR%>set "CYGWIN_PREFIX=/cygdrive/c/Users/UserName/mambaforge/envs/hatch/conda-bld/package-name_1694511734553/_h_env"

(hatch) %SRC_DIR%>set "ALLUSERSPROFILE=C:\ProgramData"

(hatch) %SRC_DIR%>set "APPDATA=C:\Users\UserName\AppData\Roaming"

(hatch) %SRC_DIR%>set "CommonProgramFiles=C:\Program Files\Common Files"

(hatch) %SRC_DIR%>set "CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files"

(hatch) %SRC_DIR%>set "CommonProgramW6432=C:\Program Files\Common Files"

(hatch) %SRC_DIR%>set "COMPUTERNAME=computer-name"

(hatch) %SRC_DIR%>set "ComSpec=C:\Windows\system32\cmd.exe"

(hatch) %SRC_DIR%>set "HOMEDRIVE=C:"

(hatch) %SRC_DIR%>set "HOMEPATH=\Users\UserName"

(hatch) %SRC_DIR%>set "LOCALAPPDATA=C:\Users\UserName\AppData\Local"

(hatch) %SRC_DIR%>set "LOGONSERVER=\computer-name"

(hatch) %SRC_DIR%>set "NUMBER_OF_PROCESSORS=16"

(hatch) %SRC_DIR%>set "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"

(hatch) %SRC_DIR%>set "ProgramData=C:\ProgramData"

(hatch) %SRC_DIR%>set "ProgramFiles=C:\Program Files"

(hatch) %SRC_DIR%>set "ProgramFiles(x86)=C:\Program Files (x86)"

(hatch) %SRC_DIR%>set "ProgramW6432=C:\Program Files"

(hatch) %SRC_DIR%>set "PROMPT=(hatch) $P$G"

(hatch) %SRC_DIR%>set "PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization\Sequencer\AppvPkgConverter;C:\Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization\Sequencer\AppvSequencer;C:\Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization"

(hatch) %SRC_DIR%>set "PUBLIC=C:\Users\Public"

(hatch) %SRC_DIR%>set "SystemDrive=C:"

(hatch) %SRC_DIR%>set "SystemRoot=C:\Windows"

(hatch) %SRC_DIR%>set "TEMP=C:\Users\USERNAME~1\AppData\Local\Temp"

(hatch) %SRC_DIR%>set "TMP=C:\Users\USERNAME~1\AppData\Local\Temp"

(hatch) %SRC_DIR%>set "USERDOMAIN=computer-name"

(hatch) %SRC_DIR%>set "USERNAME=UserName"

(hatch) %SRC_DIR%>set "USERPROFILE=C:\Users\UserName"

(hatch) %SRC_DIR%>set "windir=C:\Windows"

(hatch) %SRC_DIR%>set "PROCESSOR_ARCHITECTURE=AMD64"

(hatch) %SRC_DIR%>set "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel"

(hatch) %SRC_DIR%>set "BUILD=amd64-pc-windows-19.0.0"

(hatch) %SRC_DIR%>set "pin_run_as_build=OrderedDict([('python', OrderedDict([('min_pin', 'x.x'), ('max_pin', 'x.x')])), ('r-base', OrderedDict([('min_pin', 'x.x'), ('max_pin', 'x.x')]))])"

(hatch) %SRC_DIR%>set "extend_keys={'pin_run_as_build', 'ignore_build_only_deps', 'extend_keys', 'ignore_version'}"

(hatch) %SRC_DIR%>set "ignore_build_only_deps={'python', 'numpy'}"

(hatch) %SRC_DIR%>set "cxx_compiler=vs2017"

(hatch) %SRC_DIR%>set "fortran_compiler=gfortran"

(hatch) %SRC_DIR%>set "c_compiler=vs2017"

(hatch) %SRC_DIR%>set "cpu_optimization_target=nocona"

(hatch) %SRC_DIR%>set "r_base=3.4"

(hatch) %SRC_DIR%>set "target_platform=win-64"

(hatch) %SRC_DIR%>set "cran_mirror=https://cran.r-project.org"

(hatch) %SRC_DIR%>set "vc=14"

(hatch) %SRC_DIR%>set "CONDA_BUILD_STATE=BUILD"

(hatch) %SRC_DIR%>set "PIP_NO_BUILD_ISOLATION=False"

(hatch) %SRC_DIR%>set "PIP_NO_DEPENDENCIES=True"

(hatch) %SRC_DIR%>set "PIP_IGNORE_INSTALLED=True"

(hatch) %SRC_DIR%>set "PIP_CACHE_DIR=C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\pip_cache"

(hatch) %SRC_DIR%>set "PIP_NO_INDEX=True"

(hatch) %SRC_DIR%>set "PYTHONDONTWRITEBYTECODE=True"

(hatch) %SRC_DIR%>set DISTUTILS_USE_SDK=1

(hatch) %SRC_DIR%>set MSSdk=1

(hatch) %SRC_DIR%>set PY_VCRUNTIME_REDIST=%PREFIX%\Library\bin\vcruntime140.dll

(hatch) %SRC_DIR%>set "VS_VERSION=14.0"

(hatch) %SRC_DIR%>set "VS_MAJOR=14"

(hatch) %SRC_DIR%>set "VS_YEAR=2015"

(hatch) %SRC_DIR%>set "CMAKE_GENERATOR=Visual Studio 14 2015 Win64"

(hatch) %SRC_DIR%>set "MSYS2_ARG_CONV_EXCL=/AI;/AL;/OUT;/out"

(hatch) %SRC_DIR%>set "MSYS2_ENV_CONV_EXCL=CL"

(hatch) %SRC_DIR%>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64

(hatch) %SRC_DIR%>set "INCLUDE=%PREFIX%\Library\include;"

(hatch) %SRC_DIR%>set "LIB=%PREFIX%\Library\lib;"

(hatch) %SRC_DIR%>call "C:\Users\UserName\mambaforge\envs\hatch\Scripts..\condabin\conda_hook.bat"

(hatch) %SRC_DIR%>call "C:\Users\UserName\mambaforge\envs\hatch\Scripts..\condabin\conda.bat" activate "%PREFIX%"
Processing c:\users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\work
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: package-name
Building wheel for package-name (pyproject.toml): started
Building wheel for package-name (pyproject.toml): finished with status 'done'
Created wheel for package-name: filename=yaqd_mercury-0.0.1-py3-none-any.whl size=8517 sha256=9d3678b4752b22e484aabda94c860092647b46c8f39eea519d2b3613931f2ee1
Stored in directory: C:\Users\UserName\AppData\Local\Temp\pip-ephem-wheel-cache-lj5fo78r\wheels\46\78\63\17ab0c08ea723afecb650f46e73936824be1b35a8baef8faf5
Successfully built package-name
Installing collected packages: package-name
Successfully installed package-name-0.0.1

Resource usage statistics from building package-name:
Process count: 1
CPU time: Sys=0:00:00.0, User=-
Memory: 4.6M
Disk usage: 54.0K
Time elapsed: 0:00:02.1

Packaging package-name
Packaging package-name-0.0.1-py_0

(hatch) C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\work>call "C:\Users\UserName\mambaforge\envs\hatch\Scripts..\condabin\conda_hook.bat"

(hatch) C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\work>call "C:\Users\UserName\mambaforge\envs\hatch\Scripts..\condabin\conda.bat" activate "C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553_h_env"

(C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553_h_env) (hatch) C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\work>call "C:\Users\UserName\mambaforge\envs\hatch\Scripts..\condabin\conda.bat" activate --stack "C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553_build_env"

EnvironmentLocationNotFound: Not a conda environment: C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553_build_env

(C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553_h_env) (hatch) C:\Users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\work>python -m pip install --no-deps --ignore-installed .
Processing c:\users\UserName\mambaforge\envs\hatch\conda-bld\package-name_1694511734553\work
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: package-name
Building wheel for package-name (pyproject.toml): started
Building wheel for package-name (pyproject.toml): finished with status 'done'
Created wheel for package-name: filename=yaqd_mercury-0.0.1-py3-none-any.whl size=8517 sha256=9d3678b4752b22e484aabda94c860092647b46c8f39eea519d2b3613931f2ee1
Stored in directory: C:\Users\UserName\AppData\Local\Temp\pip-ephem-wheel-cache-9jeip1sm\wheels\46\78\63\17ab0c08ea723afecb650f46e73936824be1b35a8baef8faf5
Successfully built package-name
Installing collected packages: package-name
Successfully installed package-name-0.0.1

Resource usage statistics from bundling package-name:
Process count: 3
CPU time: Sys=0:00:03.1, User=0:00:05.6
Memory: 140.2M
Disk usage: 54.5K
Time elapsed: 0:00:14.2

number of files: 14
INFO: sysroot: 'C:/Windows/' files: '['winhlp32.exe', 'win.ini', 'twain_32/wiatwain.ds', 'twain_32.dll']'
INFO (package-name,Scripts/daemon-name.exe): Needed DSO C:/Windows/System32/KERNEL32.dll found in $SYSROOT
INFO (package-name,Scripts/daemon-name.exe): Needed DSO C:/Windows/System32/SHLWAPI.dll found in $SYSROOT
INFO (package-name): Interpreted package 'package-name' is interpreted by 'python'
[noarch_python] Noarch package contains binary script: daemon-name.exe
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\UserName\AppData\Local\hatch\env\virtual\package-name\srvG18nH\package-name-build\Lib\site-packages\hatchling_main
.py", line 6, in
sys.exit(hatchling())
^^^^^^^^^^^
File "C:\Users\UserName\AppData\Local\hatch\env\virtual\package-name\srvG18nH\package-name-build\Lib\site-packages\hatchling\cli_init
.py", line 26, in hatchling
command(**kwargs)
File "C:\Users\UserName\AppData\Local\hatch\env\virtual\package-name\srvG18nH\package-name-build\Lib\site-packages\hatchling\cli\build_init_.py", line 75, in build_impl
for artifact in builder.build(
File "C:\Users\UserName\AppData\Local\hatch\env\virtual\package-name\srvG18nH\package-name-build\Lib\site-packages\hatchling\builders\plugin\interface.py", line 158, in build
artifact = version_api[version](directory, **build_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\UserName\AppData\Local\hatch\env\virtual\package-name\srvG18nH\package-name-build\Lib\site-packages\hatch_conda_build\plugin.py", line 120, in build_standard
conda_build_filename = conda_build(
^^^^^^^^^^^^
File "C:\Users\UserName\AppData\Local\hatch\env\virtual\package-name\srvG18nH\package-name-build\Lib\site-packages\hatch_conda_build\plugin.py", line 96, in conda_build
subprocess.run(command, check=True, stderr=sys.stderr, stdout=sys.stdout)
File "C:\Users\UserName\mambaforge\envs\env-name\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['conda-build', 'build', 'C:\Users\USERNAME1\AppData\Local\Temp\tmpi86ghjml', '--output-folder', 'C:\Users\USERNAME1\AppData\Local\Temp\tmpi86ghjml', '--override-channels', '--numpy', '1.22', '--channel', 'channel-name', '--channel', 'conda-forge']' returned non-zero exit status 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant