Skip to content

pip install ml-metadata==1.14.0 doesn't work with Python >= 3.11 #191

@hbelmiro

Description

@hbelmiro

When we run pip install ml-metadata with versions 3.11 or newer it doesn't install ml-metadata==1.14.0. We get 0.13.1.dev0 installed. And if we force 1.14.0 with pip install ml-metadata==1.14.0, it can't be found.

With Python 3.10

$ python --version               
Python 3.10.13
$ pip install ml-metadata==1.14.0          
Collecting ml-metadata==1.14.0
  Downloading ml_metadata-1.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)
Collecting absl-py<2.0.0,>=0.9 (from ml-metadata==1.14.0)
  Using cached absl_py-1.4.0-py3-none-any.whl.metadata (2.3 kB)
Collecting attrs<22,>=20.3 (from ml-metadata==1.14.0)
  Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting grpcio<2,>=1.8.6 (from ml-metadata==1.14.0)
  Downloading grpcio-1.60.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Collecting protobuf<4,>=3.13 (from ml-metadata==1.14.0)
  Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 1.4 MB/s eta 0:00:00
Collecting six<2,>=1.10 (from ml-metadata==1.14.0)
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Downloading ml_metadata-1.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.5/7.5 MB 5.9 MB/s eta 0:00:00
Using cached absl_py-1.4.0-py3-none-any.whl (126 kB)
Downloading grpcio-1.60.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.4/5.4 MB 1.8 MB/s eta 0:00:00
Installing collected packages: six, protobuf, grpcio, attrs, absl-py, ml-metadata
Successfully installed absl-py-1.4.0 attrs-21.4.0 grpcio-1.60.1 ml-metadata-1.14.0 protobuf-3.20.3 six-1.16.0

With Python 3.11

$ python --version
Python 3.11.7
$ pip install ml-metadata==1.14.0
ERROR: Could not find a version that satisfies the requirement ml-metadata==1.14.0 (from versions: 0.12.0.dev0, 0.13.0.dev0, 0.13.1.dev0)
ERROR: No matching distribution found for ml-metadata==1.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions