Попытка передать простой тест импорта в действие github. Он компилируется, строится довольно хорошо, но проверка импорта не проходит. Я запустил этот скрипт установки, который находится в meta.yaml локально, и он работает нормально, но не с conda-build. Не могли бы вы указать на проблему?
Meta.yaml
{% set version = "0.1.1rc81" %}
package:
name: blablabla
version: {{ version }}
source:
url: https://files.pythonhosted.org/packages/source/b/blablabla/blablabla-0.1.1rc81.tar.gz
build:
noarch: python
number: 0
script: pip install --progress-bar off .[dev]
python setup.py build_ext --inplace
python setup.py install
requirements:
host:
- python
- pip
- numpy==1.16.5
- cython
run:
- python
test:
requires:
- python
- pip
- nose
- numpy==1.16.5
- mdtraj
- cython
run:
- python
imports:
- blablabla
about:
home: https://github.com/blablabla/blablabla
license: GPLv3
summary: 'MSMs at Scale'
description: |
blablabla
dev_url: https://github.com/blablabla/blablabla
doc_url: https://pypi.org/project/blablabla/
doc_source_url: https://blablabla.readthedocs.io/en/latest/index.html
скрипт, о котором я говорю, это скрипт ниже.
script: pip install --progress-bar off .[dev]
python setup.py build_ext --inplace
python setup.py install
log из действия github.
2020-04-19T00:57:53.4283229Z + /opt/conda/bin/conda build .
2020-04-19T00:57:54.0214060Z No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
2020-04-19T00:57:54.0214334Z WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
2020-04-19T00:57:54.0408591Z INFO:conda_build.variants:Adding in variants from internal_defaults
2020-04-19T00:57:54.0408784Z Adding in variants from internal_defaults
2020-04-19T00:57:54.0836143Z INFO:conda_build.metadata:Attempting to finalize metadata for blablabla
2020-04-19T00:57:54.0836513Z Attempting to finalize metadata for blablabla
2020-04-19T00:58:31.4417120Z Collecting package metadata (repodata.json): ...working... done
2020-04-19T00:58:33.9900528Z Solving environment: ...working... done
2020-04-19T00:58:55.0747157Z Collecting package metadata (repodata.json): ...working... done
2020-04-19T00:59:02.7587457Z Solving environment: ...working... done
2020-04-19T00:59:02.8687690Z BUILD START: ['blablabla-0.1.1rc81-py_0.tar.bz2']
2020-04-19T00:59:09.0023251Z Collecting package metadata (repodata.json): ...working... done
2020-04-19T00:59:16.7728897Z Solving environment: ...working... done
2020-04-19T00:59:20.3708115Z
2020-04-19T00:59:20.3708467Z ## Package Plan ##
2020-04-19T00:59:20.3708560Z
2020-04-19T00:59:20.3709934Z environment location: /opt/conda/conda-bld/blablabla_1587257874039/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place
2020-04-19T00:59:20.3710124Z
2020-04-19T00:59:20.3710227Z
2020-04-19T00:59:20.3710364Z The following NEW packages will be INSTALLED:
2020-04-19T00:59:20.3710454Z
2020-04-19T00:59:20.3710824Z _libgcc_mutex: 0.1-conda_forge conda-forge
2020-04-19T00:59:20.3711149Z _openmp_mutex: 4.5-1_llvm conda-forge
2020-04-19T00:59:20.3711475Z ca-certificates: 2020.4.5.1-hecc5488_0 conda-forge
2020-04-19T00:59:20.3711798Z certifi: 2020.4.5.1-py37hc8dfbb8_0 conda-forge
2020-04-19T00:59:20.3712119Z cython: 0.29.16-py37h3340039_0 conda-forge
2020-04-19T00:59:20.3712845Z ld_impl_linux-64: 2.34-h53a641e_0 conda-forge
2020-04-19T00:59:20.3713532Z libblas: 3.8.0-16_openblas conda-forge
2020-04-19T00:59:20.3714059Z libcblas: 3.8.0-16_openblas conda-forge
2020-04-19T00:59:20.3714567Z libffi: 3.2.1-he1b5a44_1007 conda-forge
2020-04-19T00:59:20.3715070Z libgcc-ng: 9.2.0-h24d8f2e_2 conda-forge
2020-04-19T00:59:20.3715579Z libgfortran-ng: 7.3.0-hdf63c60_5 conda-forge
2020-04-19T00:59:20.3716097Z liblapack: 3.8.0-16_openblas conda-forge
2020-04-19T00:59:20.3716598Z libopenblas: 0.3.9-h5ec1e0e_0 conda-forge
2020-04-19T00:59:20.3717093Z libstdcxx-ng: 9.2.0-hdf63c60_2 conda-forge
2020-04-19T00:59:20.3717599Z llvm-openmp: 10.0.0-hc9558a2_0 conda-forge
2020-04-19T00:59:20.3718094Z ncurses: 6.1-hf484d3e_1002 conda-forge
2020-04-19T00:59:20.3718592Z numpy: 1.16.5-py37h95a1406_0 conda-forge
2020-04-19T00:59:20.3719096Z openssl: 1.1.1f-h516909a_0 conda-forge
2020-04-19T00:59:20.3719591Z pip: 20.0.2-py_2 conda-forge
2020-04-19T00:59:20.3720416Z python: 3.7.6-h8356626_5_cpython conda-forge
2020-04-19T00:59:20.3720929Z python_abi: 3.7-1_cp37m conda-forge
2020-04-19T00:59:20.3721425Z readline: 8.0-hf8c457e_0 conda-forge
2020-04-19T00:59:20.3721931Z setuptools: 46.1.3-py37hc8dfbb8_0 conda-forge
2020-04-19T00:59:20.3722427Z sqlite: 3.30.1-hcee41ef_0 conda-forge
2020-04-19T00:59:20.3722920Z tk: 8.6.10-hed695b0_0 conda-forge
2020-04-19T00:59:20.3723404Z wheel: 0.34.2-py_1 conda-forge
2020-04-19T00:59:20.3723900Z xz: 5.2.5-h516909a_0 conda-forge
2020-04-19T00:59:20.3724392Z zlib: 1.2.11-h516909a_1006 conda-forge
2020-04-19T00:59:20.3724610Z
2020-04-19T00:59:20.6735886Z Preparing transaction: ...working... done
2020-04-19T00:59:22.2380211Z Verifying transaction: ...working... done
2020-04-19T00:59:24.1353401Z Executing transaction: ...working... done
2020-04-19T00:59:30.1882914Z Collecting package metadata (repodata.json): ...working... done
2020-04-19T00:59:35.1651687Z Solving environment: ...working... done
2020-04-19T00:59:35.1888145Z INFO:conda_build.source:Source cache directory is: /opt/conda/conda-bld/src_cache
2020-04-19T00:59:35.1888865Z Source cache directory is: /opt/conda/conda-bld/src_cache
2020-04-19T00:59:35.1890738Z INFO conda_build.source:download_to_cache(43): Source cache directory is: /opt/conda/conda-bld/src_cache
2020-04-19T00:59:35.1891260Z Downloading source to cache: blablabla-0.1.1rc81.tar.gz
2020-04-19T00:59:35.1892531Z No hash (md5, sha1, sha256) provided for blablabla-0.1.1rc81.tar.gz. Source download forced. Add hash to recipe to use source cache.
2020-04-19T00:59:35.1892998Z Downloading https://files.pythonhosted.org/packages/source/b/blablabla/blablabla-0.1.1rc81.tar.gz
2020-04-19T00:59:35.1894031Z WARNING:conda_build.source:No hash (md5, sha1, sha256) provided for blablabla-0.1.1rc81.tar.gz. Source download forced. Add hash to recipe to use source cache.
2020-04-19T00:59:35.1894820Z WARNING conda_build.source:download_to_cache(59): No hash (md5, sha1, sha256) provided for blablabla-0.1.1rc81.tar.gz. Source download forced. Add hash to recipe to use source cache.
2020-04-19T00:59:35.1895399Z INFO:conda_build.source:Downloading source to cache: blablabla-0.1.1rc81.tar.gz
2020-04-19T00:59:35.1895954Z INFO conda_build.source:download_to_cache(66): Downloading source to cache: blablabla-0.1.1rc81.tar.gz
2020-04-19T00:59:35.1896628Z INFO:conda_build.source:Downloading https://files.pythonhosted.org/packages/source/b/blablabla/blablabla-0.1.1rc81.tar.gz
2020-04-19T00:59:35.1897304Z INFO conda_build.source:download_to_cache(80): Downloading https://files.pythonhosted.org/packages/source/b/blablabla/blablabla-0.1.1rc81.tar.gz
2020-04-19T00:59:35.3234167Z INFO:conda_build.source:Success
2020-04-19T00:59:35.3234382Z Success
2020-04-19T00:59:35.3235004Z INFO conda_build.source:download_to_cache(91): Success
2020-04-19T00:59:35.5673060Z INFO:conda_build.build:Packaging blablabla
2020-04-19T00:59:35.5673255Z Extracting download
2020-04-19T00:59:35.5674453Z INFO conda_build.build:build(1571): Packaging blablabla
2020-04-19T00:59:35.5675326Z source tree in: /opt/conda/conda-bld/blablabla_1587257874039/work
2020-04-19T00:59:35.5675844Z Packaging blablabla
2020-04-19T00:59:35.5771293Z INFO:conda_build.build:Packaging blablabla-0.1.1rc81-py_0
2020-04-19T00:59:35.5771649Z Packaging blablabla-0.1.1rc81-py_0
2020-04-19T00:59:35.5772548Z INFO conda_build.build:bundle_conda(891): Packaging blablabla-0.1.1rc81-py_0
2020-04-19T00:59:35.6073115Z No files or script found for output blablabla
2020-04-19T00:59:35.6073313Z WARNING:conda_build.build:No files or script found for output blablabla
2020-04-19T00:59:35.6073497Z WARNING conda_build.build:bundle_conda(971): No files or script found for output blablabla
2020-04-19T00:59:43.7745366Z Importing conda-verify failed. Please be sure to test your packages. conda install conda-verify to make this message go away.
2020-04-19T00:59:43.7746605Z WARNING:conda_build.build:Importing conda-verify failed. Please be sure to test your packages. conda install conda-verify to make this message go away.
2020-04-19T00:59:43.7747494Z WARNING conda_build.build:bundle_conda(1042): Importing conda-verify failed. Please be sure to test your packages. conda install conda-verify to make this message go away.
2020-04-19T00:59:48.6472724Z INFO:conda_build.variants:Adding in variants from /tmp/tmpadp11ypm/info/recipe/conda_build_config.yaml
2020-04-19T00:59:48.6472975Z number of files: 0
2020-04-19T00:59:48.6474398Z INFO conda_build.variants:_combine_spec_dictionaries(188): Adding in variants from /tmp/tmpadp11ypm/info/recipe/conda_build_config.yaml
2020-04-19T00:59:48.6474579Z Fixing permissions
2020-04-19T00:59:48.6475760Z TEST START: /opt/conda/conda-bld/noarch/blablabla-0.1.1rc81-py_0.tar.bz2
2020-04-19T00:59:48.6476118Z Adding in variants from /tmp/tmpadp11ypm/info/recipe/conda_build_config.yaml
2020-04-19T00:59:49.7441577Z Renaming work directory, /opt/conda/conda-bld/blablabla_1587257874039/work to /opt/conda/conda-bld/blablabla_1587257874039/work_moved_blablabla-0.1.1rc81-py_0_noarch
2020-04-19T00:59:55.9018507Z Collecting package metadata (repodata.json): ...working... done
2020-04-19T01:00:01.0601904Z Solving environment: ...working... done
2020-04-19T01:00:09.9460185Z
2020-04-19T01:00:09.9461172Z ## Package Plan ##
2020-04-19T01:00:09.9461457Z
2020-04-19T01:00:09.9462822Z environment location: /opt/conda/conda-bld/blablabla_1587257874039/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_
2020-04-19T01:00:09.9463689Z
2020-04-19T01:00:09.9463949Z
2020-04-19T01:00:09.9464286Z The following NEW packages will be INSTALLED:
2020-04-19T01:00:09.9464558Z
2020-04-19T01:00:09.9465128Z _libgcc_mutex: 0.1-conda_forge conda-forge
2020-04-19T01:00:09.9465965Z _openmp_mutex: 4.5-1_llvm conda-forge
2020-04-19T01:00:09.9467126Z blosc: 1.18.1-he1b5a44_0 conda-forge
2020-04-19T01:00:09.9467699Z bzip2: 1.0.8-h516909a_2 conda-forge
2020-04-19T01:00:09.9468282Z ca-certificates: 2020.4.5.1-hecc5488_0 conda-forge
2020-04-19T01:00:09.9468849Z certifi: 2020.4.5.1-py37hc8dfbb8_0 conda-forge
2020-04-19T01:00:09.9469404Z cython: 0.29.16-py37h3340039_0 conda-forge
2020-04-19T01:00:09.9469951Z blablabla: 0.1.1rc81-py_0 local
2020-04-19T01:00:09.9470504Z hdf5: 1.10.6-nompi_h3c11f04_100 conda-forge
2020-04-19T01:00:09.9471053Z ld_impl_linux-64: 2.34-h53a641e_0 conda-forge
2020-04-19T01:00:09.9471599Z libblas: 3.8.0-16_openblas conda-forge
2020-04-19T01:00:09.9472150Z libcblas: 3.8.0-16_openblas conda-forge
2020-04-19T01:00:09.9472731Z libffi: 3.2.1-he1b5a44_1007 conda-forge
2020-04-19T01:00:09.9473284Z libgcc-ng: 9.2.0-h24d8f2e_2 conda-forge
2020-04-19T01:00:09.9473838Z libgfortran-ng: 7.3.0-hdf63c60_5 conda-forge
2020-04-19T01:00:09.9474388Z liblapack: 3.8.0-16_openblas conda-forge
2020-04-19T01:00:09.9474956Z libopenblas: 0.3.9-h5ec1e0e_0 conda-forge
2020-04-19T01:00:09.9475512Z libstdcxx-ng: 9.2.0-hdf63c60_2 conda-forge
2020-04-19T01:00:09.9476062Z llvm-openmp: 10.0.0-hc9558a2_0 conda-forge
2020-04-19T01:00:09.9476606Z lzo: 2.10-h14c3975_1000 conda-forge
2020-04-19T01:00:09.9477159Z mdtraj: 1.9.3-py37h1c801a5_1 conda-forge
2020-04-19T01:00:09.9477707Z mock: 3.0.5-py37hc8dfbb8_1 conda-forge
2020-04-19T01:00:09.9478867Z ncurses: 6.1-hf484d3e_1002 conda-forge
2020-04-19T01:00:09.9479463Z nose: 1.3.7-py37hc8dfbb8_1004 conda-forge
2020-04-19T01:00:09.9480207Z numexpr: 2.7.1-py37h0da4684_1 conda-forge
2020-04-19T01:00:09.9480667Z numpy: 1.16.5-py37h95a1406_0 conda-forge
2020-04-19T01:00:09.9481106Z openssl: 1.1.1f-h516909a_0 conda-forge
2020-04-19T01:00:09.9481737Z pandas: 1.0.3-py37h0da4684_1 conda-forge
2020-04-19T01:00:09.9482185Z pip: 20.0.2-py_2 conda-forge
2020-04-19T01:00:09.9482804Z pytables: 3.6.1-py37h56451d4_2 conda-forge
2020-04-19T01:00:09.9483264Z python: 3.7.6-h8356626_5_cpython conda-forge
2020-04-19T01:00:09.9483961Z python-dateutil: 2.8.1-py_0 conda-forge
2020-04-19T01:00:09.9484436Z python_abi: 3.7-1_cp37m conda-forge
2020-04-19T01:00:09.9484908Z pytz: 2019.3-py_0 conda-forge
2020-04-19T01:00:09.9485534Z readline: 8.0-hf8c457e_0 conda-forge
2020-04-19T01:00:09.9486008Z scipy: 1.4.1-py37ha3d9a3c_3 conda-forge
2020-04-19T01:00:09.9486472Z setuptools: 46.1.3-py37hc8dfbb8_0 conda-forge
2020-04-19T01:00:09.9487073Z six: 1.14.0-py_1 conda-forge
2020-04-19T01:00:09.9487850Z sqlite: 3.30.1-hcee41ef_0 conda-forge
2020-04-19T01:00:09.9488518Z tk: 8.6.10-hed695b0_0 conda-forge
2020-04-19T01:00:09.9488970Z wheel: 0.34.2-py_1 conda-forge
2020-04-19T01:00:09.9489420Z xz: 5.2.5-h516909a_0 conda-forge
2020-04-19T01:00:09.9489867Z zlib: 1.2.11-h516909a_1006 conda-forge
2020-04-19T01:00:09.9490085Z
2020-04-19T01:00:10.4216006Z Preparing transaction: ...working... done
2020-04-19T01:00:12.5141168Z Verifying transaction: ...working... done
2020-04-19T01:00:14.7524004Z Executing transaction: ...working... done
2020-04-19T01:00:15.1365654Z Traceback (most recent call last):
2020-04-19T01:00:15.1366684Z File "/opt/conda/conda-bld/blablabla_1587257874039/test_tmp/run_test.py", line 2, in <module>
2020-04-19T01:00:15.1366856Z import blablabla
2020-04-19T01:00:15.1367180Z ModuleNotFoundError: No module named 'blablabla'
2020-04-19T01:00:16.8398434Z Tests failed for blablabla-0.1.1rc81-py_0.tar.bz2 - moving package to /opt/conda/conda-bld/broken
2020-04-19T01:00:16.8399024Z WARNING:conda_build.build:Tests failed for blablabla-0.1.1rc81-py_0.tar.bz2 - moving package to /opt/conda/conda-bld/broken
2020-04-19T01:00:16.8399465Z WARNING conda_build.build:tests_failed(2231): Tests failed for blablabla-0.1.1rc81-py_0.tar.bz2 - moving package to /opt/conda/conda-bld/broken
2020-04-19T01:00:16.9824780Z TESTS FAILED: blablabla-0.1.1rc81-py_0.tar.bz2
2020-04-19T01:00:16.9825719Z export PREFIX=/opt/conda/conda-bld/blablabla_1587257874039/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_
2020-04-19T01:00:16.9826122Z export SRC_DIR=/opt/conda/conda-bld/blablabla_1587257874039/test_tmp
2020-04-19T01:00:16.9826378Z import: 'blablabla'
2020-04-19T01:00:24.9876348Z Post job cleanup.
2020-04-19T01:00:25.0734457Z [command]/usr/bin/git version
2020-04-19T01:00:25.0796594Z git version 2.26.1
2020-04-19T01:00:25.0834085Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2020-04-19T01:00:25.0864142Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2020-04-19T01:00:25.1087864Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-04-19T01:00:25.1112324Z http.https://github.com/.extraheader
2020-04-19T01:00:25.1121301Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2020-04-19T01:00:25.1150178Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2020-04-19T01:00:25.1398270Z Cleaning up orphan processes
PS Скажите, пожалуйста, если вам нужна дополнительная информация