Skip to content

Fix deprecated conda._vendor.distro import in `conda_interface.py #1315

Description

@lrandersson

The file constructor/conda_interface.py: imports distro from conda._vendor, which is deprecated and slated for removal in conda 26.3 the existing try/except ImportError silently swallows the failure, leaving distro = None). This means preconda.py's linux_distribution() info silently stops being collected once conda drops the vendored module, with no visible error.

This is probably resolved by adding the package distro and making necessary changes to account for the additional package.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions