You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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%>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
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.
The text was updated successfully, but these errors were encountered:
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":
What do you think about adding an option to specify the target architecture?
For instance like that:
Full log
The text was updated successfully, but these errors were encountered: