Skip to content

Bump protobuf from 3.19.4 to 4.21.5#41

Open
Hydeo wants to merge 1 commit intotvwenger:masterfrom
Hydeo:protobuf-4.21.5
Open

Bump protobuf from 3.19.4 to 4.21.5#41
Hydeo wants to merge 1 commit intotvwenger:masterfrom
Hydeo:protobuf-4.21.5

Conversation

@Hydeo
Copy link

@Hydeo Hydeo commented Dec 30, 2022

Solves this crash which happens when cloning and ruining the install script on pop-os (ubuntu based)

image

@Hydeo Hydeo changed the title Bump protobuf from 3.19.4 to .21.5 Bump protobuf from 3.19.4 to 4.21.5 Dec 30, 2022
author_email='tvwenger@gmail.com',
packages=['maxfield'],
install_requires=['numpy', 'networkx', 'scipy', 'ortools', 'protobuf==3.19.4',
install_requires=['numpy', 'networkx', 'scipy', 'ortools', 'protobuf==4.21.5',
Copy link

@Artoria2e5 Artoria2e5 May 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ortools now wants protobuf >= 4.25.3: https://github.com/google/or-tools/blob/stable/ortools/python/setup.py.in

Maybe we should use >= or ~= instead of ==, so we don't get in the way of dependency resolution again?

Suggested change
install_requires=['numpy', 'networkx', 'scipy', 'ortools', 'protobuf==4.21.5',
install_requires=['numpy', 'networkx', 'scipy', 'ortools', 'protobuf~=4.21.5',

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants