Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing auxlib.packaging #1903

Open
1 task done
rhc54 opened this issue Apr 4, 2024 · 1 comment
Open
1 task done

Missing auxlib.packaging #1903

rhc54 opened this issue Apr 4, 2024 · 1 comment
Labels

Comments

@rhc54
Copy link

rhc54 commented Apr 4, 2024

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I installed conda, and then did:

$ conda install -n root -c conda-forge conda-smithy

which completed without error. However, when I try to run smithy, I keep hitting the following error:

$ conda smithy ci-skeleton pmix
Traceback (most recent call last):
  File "/opt/anaconda3/bin/conda-smithy", line 6, in <module>
    from conda_smithy.cli import main
  File "/opt/anaconda3/lib/python3.11/site-packages/conda_smithy/cli.py", line 13, in <module>
    import conda_build.api
  File "/opt/anaconda3/lib/python3.11/site-packages/conda_build/api.py", line 21, in <module>
    from .config import DEFAULT_PREFIX_LENGTH as _prefix_length
  File "/opt/anaconda3/lib/python3.11/site-packages/conda_build/config.py", line 18, in <module>
    from .conda_interface import (
  File "/opt/anaconda3/lib/python3.11/site-packages/conda_build/conda_interface.py", line 11, in <module>
    from conda.auxlib.packaging import (  # noqa: F401
ModuleNotFoundError: No module named 'conda.auxlib.packaging'

Doesn't matter what smithy command I use - always the same error. I have been unable to find anywhere that I can install the missing package.

Probably something dumb I've done, but I could use a pointer!

Installed packages

$ conda list
# packages in environment at /opt/anaconda3/envs/condaenv:
#
# Name                    Version                   Build  Channel

Environment info

$ conda info

     active environment : condaenv
    active env location : /opt/anaconda3/envs/condaenv
            shell level : 2
       user config file : /Users/rhc/.condarc
 populated config files : /Users/rhc/.condarc
          conda version : 24.3.0
    conda-build version : 24.1.2
         python version : 3.11.8.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=m1
                          __conda=24.3.0=0
                          __osx=14.4.1=0
                          __unix=0=0
       base environment : /opt/anaconda3  (writable)
      conda av data dir : /opt/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-arm64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-arm64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/anaconda3/pkgs
                          /Users/rhc/.conda/pkgs
       envs directories : /opt/anaconda3/envs
                          /Users/rhc/.conda/envs
               platform : osx-arm64
             user-agent : conda/24.3.0 requests/2.31.0 CPython/3.11.8 Darwin/23.4.0 OSX/14.4.1 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.6 aau/0.4.3 c/2x41voVhcC66KadZBRxqAA s/6BVZkSimYMg4Dn-tQ7yIVg e/VxtgPFvXHwT-UZjwZjJ5Jg
                UID:GID : 501:20
             netrc file : None
           offline mode : False
@rhc54 rhc54 added the bug label Apr 4, 2024
@tm-slavik57
Copy link

tm-slavik57 commented Aug 11, 2024

We have a similar issue when using conda 24.7.1 which started this weekend in our CI pipeline.
It started without any change to the code, the pipeline worked on Thursday on a PR and now it stopped working on the same PR on top of the same main branch.
Any news on this?


Edit:
Updating the conda-build package from 3.28.4 to the latest version 24.7.1 solved the issue for us.
Still weird it started happening all of a sudden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants