Конда сборка выдает DependencyNeedsBuildingError для несвязанного пакета
Я поднял билет на это, но подумал, что я также хотел бы спросить здесь, видел ли кто-нибудь подобное.
Tl; dr: сборка вроде бы идёт нормально, потом в конце я получаю эту ошибку:
Copying c:\work\Tools\farmlib to C:\bin\Anaconda3\conda-bld\farmlib_1563266968782\work
Collecting package metadata: ...working... done
Solving environment: ...working... failed
Leaving build/test directories:
Work:
C:\bin\Anaconda3\conda-bld\work
Test:
C:\bin\Anaconda3\conda-bld\test_tmp
Leaving build/test environments:
Test:
source activate C:\bin\Anaconda3\conda-bld\_test_env
Build:
source activate C:\bin\Anaconda3\conda-bld\_build_env
Traceback (most recent call last):
File "C:\bin\Anaconda3\lib\site-packages\conda_build\environ.py", line 753, in get_install_actions
actions = install_actions(prefix, index, specs, force=True)
File "C:\bin\Anaconda3\lib\site-packages\conda\common\io.py", line 88, in decorated
return f(*args, **kwds)
File "C:\bin\Anaconda3\lib\site-packages\conda\plan.py", line 473, in install_actions
txn = solver.solve_for_transaction(prune=prune, ignore_pinned=not pinned)
File "C:\bin\Anaconda3\lib\site-packages\conda\core\solve.py", line 107, in solve_for_transaction
force_remove, force_reinstall)
File "C:\bin\Anaconda3\lib\site-packages\conda\core\solve.py", line 145, in solve_for_diff
force_remove)
File "C:\bin\Anaconda3\lib\site-packages\conda\core\solve.py", line 242, in solve_final_state
ssc = self._run_sat(ssc)
File "C:\bin\Anaconda3\lib\site-packages\conda\common\io.py", line 88, in decorated
return f(*args, **kwds)
File "C:\bin\Anaconda3\lib\site-packages\conda\core\solve.py", line 475, in _run_sat
conflicting_specs = ssc.r.get_conflicting_specs(tuple(final_environment_specs))
File "C:\bin\Anaconda3\lib\site-packages\conda\resolve.py", line 852, in get_conflicting_specs
reduced_index = self.get_reduced_index(specs)
File "C:\bin\Anaconda3\lib\site-packages\conda\common\io.py", line 88, in decorated
return f(*args, **kwds)
File "C:\bin\Anaconda3\lib\site-packages\conda\resolve.py", line 356, in get_reduced_index
specs, features = self.verify_specs(specs)
File "C:\bin\Anaconda3\lib\site-packages\conda\resolve.py", line 244, in verify_specs
raise ResolvePackageNotFound(bad_deps)
conda.exceptions.ResolvePackageNotFound:
- poppler[version='<=0.62']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\bin\Anaconda3\Scripts\conda-build-script.py", line 10, in <module>
sys.exit(main())
File "C:\bin\Anaconda3\lib\site-packages\conda_build\cli\main_build.py", line 456, in main
execute(sys.argv[1:])
File "C:\bin\Anaconda3\lib\site-packages\conda_build\cli\main_build.py", line 447, in execute
verify=args.verify, variants=args.variants)
File "C:\bin\Anaconda3\lib\site-packages\conda_build\api.py", line 208, in build
notest=notest, need_source_download=need_source_download, variants=variants)
File "C:\bin\Anaconda3\lib\site-packages\conda_build\build.py", line 2314, in build_tree
notest=notest,
File "C:\bin\Anaconda3\lib\site-packages\conda_build\build.py", line 1324, in build
output_metas = expand_outputs([(m, need_source_download, need_reparse_in_env)])
File "C:\bin\Anaconda3\lib\site-packages\conda_build\render.py", line 735, in expand_outputs
for (output_dict, m) in _m.copy().get_output_metadata_set(permit_unsatisfiable_variants=False):
File "C:\bin\Anaconda3\lib\site-packages\conda_build\metadata.py", line 2038, in get_output_metadata_set
bypass_env_check=bypass_env_check)
File "C:\bin\Anaconda3\lib\site-packages\conda_build\metadata.py", line 721, in finalize_outputs_pass
permit_unsatisfiable_variants=permit_unsatisfiable_variants)
File "C:\bin\Anaconda3\lib\site-packages\conda_build\render.py", line 509, in finalize_metadata
exclude_pattern)
File "C:\bin\Anaconda3\lib\site-packages\conda_build\render.py", line 371, in add_upstream_pins
permit_unsatisfiable_variants, exclude_pattern)
File "C:\bin\Anaconda3\lib\site-packages\conda_build\render.py", line 359, in _read_upstream_pin_files
permit_unsatisfiable_variants=permit_unsatisfiable_variants)
File "C:\bin\Anaconda3\lib\site-packages\conda_build\render.py", line 143, in get_env_dependencies
channel_urls=tuple(m.config.channel_urls))
File "C:\bin\Anaconda3\lib\site-packages\conda_build\environ.py", line 755, in get_install_actions
raise DependencyNeedsBuildingError(exc, subdir=subdir)
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform win-64: {"poppler[version='<=0.62']"}
Я не знаю почему conda
думает, что мне нужно poppler
(это не в моем рецепте, или в зависимостях этих пакетов), или зачем ему нужна эта версия. Самая низкая версия доступна для win-64
0,77.
Я думаю, что могу проигнорировать эту ошибку, потому что пакет устанавливается и работает нормально, но я хотел бы, чтобы сборка прошла без проблем, прежде чем я буду уверен.