Questions tagged [conda-build]

Conda-build refers to the toolset used for creating Conda package builds. Questions should relate to package build creation, management, and testing. Questions about using Conda or Conda packages should use the [conda] tag. Questions about installation behavior could overlap.

Conda-build is a toolset for generating package builds for Conda, a multi-language, multi-platform package and virtual environment management system. Like much of the Conda infrastructure, it is distributed as a Python package with entry points that define a CLI for common operations.

In addition to supporting de novo package development, it also provides a set of quick-start tools, such as conda-build skeleton, that allow users to easily generate a Conda package from existing packages in language-specific repositories, such as PyPI or CRAN.

Resources

Official Documentation

GitHub Repository

161 questions
0
votes
0 answers

Stages for Conda environment.yml

I'm trying to reduce the build time for my package's test stage on Azure. My environment.yml which is used by conda contains all required dependencies: core, test and docs dependencies. For the testing stage I would like to skip docs dependencies as…
mtsokol
  • 170
  • 1
  • 12
0
votes
1 answer

Why is my previously successful Chaco build suddenly failing w/ Qt4 vs. Qt5 error?

A previously (several years ago) successful conda build ... of Chaco v5.0.0 is now failing with: RuntimeError: Importing from qt4 backend after selecting qt5 backend! What have I broken and how do I fix it?
dbanas
  • 1,707
  • 14
  • 24
0
votes
1 answer

conda build: ResolvePackageNotFound depending on machine

I'm building a custom conda package with that depends on four other packages from a custom channel. When I try conda build . on machine A, these packages are reported as unsatifiable (see below). On machine B, with the same commit, conda build…
Jann Poppinga
  • 444
  • 4
  • 18
0
votes
1 answer

Conda build fails with `Aborting implicit building of eggs.` message

I am trying to build a new conda package based on an old one. The repo and code is available for Theme Material Darcula. Theme-material-darcula Jupyter labextension builds and install perfectly fine on my system. But the conda build . command fails…
Anurag Dhadse
  • 1,722
  • 1
  • 13
  • 26
0
votes
0 answers

how conda-build avoids checking incompatibility

I am building a conda package and use the command conda-build xxx --python 3.8. But it always checks the conda environment and finally fails due to package incompatibility. Is there anyone knowing how I can avoid this step of checking…
0
votes
1 answer

Remove builds from conda custom channel with same version

In a custom conda channel for a DEV environment, we may and up with several builds having the same version number. This can just be caused by several merges into the develop branch and triggering your CID process. Is there an accurate way to ensure…
tschaka1904
  • 1,303
  • 2
  • 17
  • 39
0
votes
0 answers

Broke my conda. Can't install packages from custom channel any longer

I've inherited a machine, with an Anaconda installation, on which I must manage my python environments. I have a custom channel, on a network share, that I host my conda packages on. It has the highest priority. Everything was working to my…
Griffin
  • 13,184
  • 4
  • 29
  • 43
0
votes
1 answer

ISIS error protobuf in Fedora 35 OS (Protocol Buffer runtime library)

I am new to ISIS. When I run the ./qview application the following error display. [libprotobuf FATAL google/protobuf/stubs/common.cc:68] This program requires version 3.9.0 of the Protocol Buffer runtime library, but the installed version is 3.5.1. …
0
votes
0 answers

Symbol not found by linker but correct file present

I'm building something with conda-build and cmake. cmake is being invoked with: cmake -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX -DCMAKE_CXX_FLAGS="-O3 -fstack-protector -pthread -D_GLIBCXX_USE_CXX11_ABI=0 --std=gnu++17 -L$CONDA_PREFIX/lib/…
Ben Taylor
  • 483
  • 2
  • 13
0
votes
0 answers

conda does not install dependencies from meta.yaml when creating a custom package

I've a pip package and want to create a conda package of that same pacakge as well. Most of the packages are not available on official anaconda so gonna create from conda-forge The build goes successful by this command conda build . -c…
UsmanMaan
  • 56
  • 5
0
votes
0 answers

Conda Build and Finding Conflicts

I have a project that uses multiple requirements. The are as follows: dependencies = [ "urllib3 >=1.25.10", "cachetools", "six", "lxml", "cryptography", "ipywidgets >=7", "widgetsnbextension…
JabberJabber
  • 341
  • 2
  • 17
0
votes
0 answers

conda-build recipe: install pip package in bld.bat

I have a conda recipe for a custom package that depends on a pip package in a private index. Looking at the documentation, and the example it links to, it would seem that it should be possible to install the pip package from the bld.bat file in my…
Griffin
  • 13,184
  • 4
  • 29
  • 43
0
votes
1 answer

How to create a custom conda package from python files?

I'm trying to write my first conda package consisting simply of python files. I'm following documentation from a few sources, including here and here. My problem When I run conda-build against my package directory, I get this error triggered from my…
Griffin
  • 13,184
  • 4
  • 29
  • 43
0
votes
1 answer

conda-build error: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found

Hej all, I am trying to build a conda package for a little program I wrote. When I run conda-build, I get the error Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found. I have researched this for some hours now (found…
sequence_hard
  • 5,115
  • 10
  • 30
  • 50
0
votes
0 answers

ImportError: cannot import name dist in conda-build

I am trying to get my python package installed on conda-forge following their guide: https://conda-forge.org/docs/maintainer/adding_pkgs.html. So far, I have managed to successfully setup my package to be installable from pip (and have tested pip…
Zintho
  • 1
  • 2