tarcheck.py
works and what the inputs are
No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
Multiple meta.yaml files found. The meta.yaml file in the base directory will be used.
WARNING:conda_build.utils:Multiple meta.yaml files found. The meta.yaml file in the base directory will be used.
WARNING conda_build.utils:find_recipe(1219): Multiple meta.yaml files found. The meta.yaml file in the base directory will be used.
C:\opt\conda-win-32\lib\site-packages\conda_build\environ.py:447: UserWarning: The environment variable 'PY_INTERP_LINKAGE_NATURE' is being passed through with value ''. If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.
warnings.warn(
C:\opt\conda-win-32\lib\site-packages\conda_build\environ.py:447: UserWarning: The environment variable 'PY_INTERP_DEBUG' is being passed through with value 'no'. If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.
warnings.warn(
C:\opt\conda-win-32\lib\site-packages\conda_build\environ.py:447: UserWarning: The environment variable 'OPENSSL_DIR' is being passed through with value '%PREFIX%\Library'. If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.
warnings.warn(
C:\opt\conda-win-32\lib\site-packages\conda_build\environ.py:447: UserWarning: The environment variable 'SQLITE3_DIR' is being passed through with value '%PREFIX%\Library'. If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.
warnings.warn(
C:\opt\conda-win-32\lib\site-packages\conda_build\environ.py:447: UserWarning: The environment variable 'CONDA_FORGE' is being passed through with value 'yes'. If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.
warnings.warn(
INFO:conda_build.metadata:Attempting to finalize metadata for python
Hi all, hoping someone can help me, struggling a bit with conda-build. I am trying to package a closed-source c++ library which is distirbuted as tarball. I want to accomplish a (seemingly) simple task: produce a conda package from a the headers and static libraries from this tarball. I have the following meta.yaml file:
package:
name: my-package
version: 1.0
source:
url: http://path/to/tar.gz
sha256: here
build:
number: 0
outputs:
- name: my-package
script: dev-files.py
The dev-files.py file script selects the header files from the current (ie work) directory and copies them into the corresponding $PREFIX
directory (I assume this is correct - it's not documented). The copy task seems to work but then the packaging job fails with this error:
Failed to rename host env directory despite sleeping and retrying. This is some Windows file locking mis-bahaviour.
Which is interesting because I'm not on Windows. Any help appreciated.
Hey folks. I am getting a strange build error when using conda build
. It has not happened before and googling did not yield any results. I built my package, but when uploading to anaconda.org I get this error.
Uploading nyuki-0.0.3-py_0.tar.bz2 to anaconda.org
Traceback (most recent call last):
File "/media/krishnab/lakshmi/anaconda3/bin/conda-build", line 11, in <module>
sys.exit(main())
File "/media/krishnab/lakshmi/anaconda3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 474, in main
execute(sys.argv[1:])
File "/media/krishnab/lakshmi/anaconda3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 465, in execute
verify=args.verify, variants=args.variants)
File "/media/krishnab/lakshmi/anaconda3/lib/python3.7/site-packages/conda_build/api.py", line 210, in build
notest=notest, variants=variants)
File "/media/krishnab/lakshmi/anaconda3/lib/python3.7/site-packages/conda_build/build.py", line 3155, in build_tree
handle_anaconda_upload(tarballs, config=config)
File "/media/krishnab/lakshmi/anaconda3/lib/python3.7/site-packages/conda_build/build.py", line 3236, in handle_anaconda_upload
subprocess.call(cmd + [package])
File "/media/krishnab/lakshmi/anaconda3/lib/python3.7/subprocess.py", line 339, in call
with Popen(*popenargs, **kwargs) as p:
File "/media/krishnab/lakshmi/anaconda3/lib/python3.7/subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "/media/krishnab/lakshmi/anaconda3/lib/python3.7/subprocess.py", line 1465, in _execute_child
executable = os.fsencode(executable)
File "/media/krishnab/lakshmi/anaconda3/lib/python3.7/os.py", line 812, in fsencode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not list
So it is execting a string or os.PathLike object, and not a list. I am not sure where this error could come coming from. Does it seem familiar to anyone. The only other thing I found in the entire build stdout is a reference to that ERROR:conda_build.utils:Failed to rename work directory despite sleeping and retrying. This is some Windows file locking mis-bahaviour.
errro that someone mentioned yesterday or a few days ago.
meta.yaml
file if it would be useful. Seems like the build process completed, but this message arises when uploading to anaconda.org.
foo-nightly
with versions 1.0.0-nightly-AAAAMMDD
, but maybe there is a better solution? Ideally, I'd like the -nightly
package to be incompatible with the real releases, to avoid conflicts