Skip to content

conda pypi is preferring conda channel over local converted channel #139

@ryanskeith

Description

@ryanskeith

Description:

During install it seem that conda pypi seems to not convert if there is a dependency available on a conda channel.

conda pypi install black
Inspecting pypi and conda dependencies
PYPI index channels:
 - https://pypi.org/simple/
Conda channels:
 - file:///Users/rkeith/Library/Application%20Support/conda-pypi
 - main
 - r
Converting required pypi packages: done
Installing environment
Retrieving notices: done
Channels:
 - file:///Users/rkeith/Library/Application%20Support/conda-pypi
 - main
 - r
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /Users/rkeith/miniconda3/envs/cnda-pypi-dev

  added / updated specs:
    - black


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    black-25.1.0               |   py39hca03da5_0         422 KB  main
    ------------------------------------------------------------
                                           Total:         422 KB

The following NEW packages will be INSTALLED:

  black              main/osx-arm64::black-25.1.0-py39hca03da5_0
  mypy_extensions    main/osx-arm64::mypy_extensions-1.0.0-py39hca03da5_0

The following packages will be UPDATED:

  ca-certificates                      2025.7.15-hca03da5_0 --> 2025.9.9-hca03da5_0
  certifi                           2025.8.3-py39hca03da5_0 --> 2025.10.5-py39hca03da5_0
  openssl                                 3.0.17-h4ee41c1_0 --> 3.0.18-h9b4081a_0


Proceed ([y]/n)? n

Suggested Resolution:

As the user is asking for something on a simple PyPI like index, they should be given it. The code needs to use the converted PyPI wheel if it exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions