Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Published 6.4.1 requires_dist has inconsistent coremltools version #3342

@malcolmgreaves

Description

@malcolmgreaves

The PyPi published package for turicreate version 6.4.1 has inconsistent dependency information.

The package's requires_dist from pypi/turicreate/json has "coremltools (==3.3)". (From curl -sL https://pypi.org/pypi/turicreate/json | jq '.info.requires_dist').

However, the wheel's requires_dist is different: executing $ pkginfo requires_distturicreate-6.4.1-cp38-cp38-manylinux1_x86_64.whl lists the dependency as 'coremltools (==4.0b3)'.

This means that installation of turicreate with tools that use the published requires_dist will fail for Python 3.8 environments. For instance, I ran into this when using poetry: python-poetry/poetry#3011.

Given that setup.py puts the version at 4.0b3 for Python 3.8 and 3.3 for Python 3.7, I believe that the install_requires in setup.py should specify the compatible versions explicitly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions