google / google/ml-metadata

ml-metadata==1.15.0 not available for Python 3.11

Open
#198 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
685
Forks
185
PR merge metrics
No merged PRs in 30d

Description

On pypi, `ml-metadata==1.15.0` is advertised as Python 3.11 compatible:
- ![image](https://github.com/google/ml-metadata/assets/1699252/e2292c4c-4e6b-4e0d-a572-d6ec98102efd)
- https://github.com/google/ml-metadata/blob/abcb0705e71ccb71d064ad3d7ba6bdea5645cf91/setup.py#L150
- ![image](https://github.com/google/ml-metadata/assets/1699252/3abdc02f-f283-4cc1-be9f-481e8d6344a7)
- https://github.com/google/ml-metadata/blob/abcb0705e71ccb71d064ad3d7ba6bdea5645cf91/setup.py#L169

however that is not really the case, since it appears to be distributed only for Python 3.9 and 3.10, by looking on this page: https://pypi.org/project/ml-metadata/1.15.0/#files

As a consequence, it makes impossible to:
```
pip install "ml-metadata==1.15.0" -vv
```

on a x86 linux box with Python 3.11.

Example screenshot using pip and Python 3.11:
![Screenshot from 2024-06-01 22-14-52](https://github.com/google/ml-metadata/assets/1699252/f3bd0425-de83-4c29-ba20-44715768b40e)

Example screenshot using a poetry-based project:
![Screenshot from 2024-06-01 22-13-34](https://github.com/google/ml-metadata/assets/1699252/79e5c480-6182-4100-adbc-01c3890b204c)

Related issues:
- only partially related https://github.com/google/ml-metadata/issues/191#issuecomment-2034936062

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.