Skip to content

PyPi repository for 4.21.0 doesn't specify required Python version #10053

Closed
@codrin-lanterne

Description

@codrin-lanterne

Because the 4.21.0 release of protobuf on PyPi (https://pypi.org/project/protobuf/4.21.0) doesn't specify the required Python version, this leads to the installation of the library via pip install protobuf to fail when using Python versions smaller than 3.7 (leading to protobuf requires Python '>=3.7' but the running Python is 3.6.9 for example). This also leads to other libraries such as ortools to fail installation.

How to replicate (the commands were ran from an Ubuntu 18.04.5 LTS machine):

  1. python3.6 -m venv venv
  2. . venv/bin/activate
  3. pip install protobuf

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions