Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin dependencies for py36 compatibility [train backport] #637

Merged

Conversation

freyes
Copy link
Member

@freyes freyes commented Dec 14, 2023

macaroonbakery in version 1.3.4 started depending on protobuf>3.20 which it's not compatible with python 3.6, so this change pins macaroonbakery to 1.3.2 which was the last release compatible with older versions of protobuf.

For more details see:

It's worth to mention that there is no protobuf-4.0, it goes from 3.20 to 4.21 - https://pypi.org/project/protobuf/#history

(cherry picked from commit a8e4de5) (cherry picked from commit 300c5bb)

macaroonbakery in version 1.3.4 started depending on protobuf>3.20 which
it's not compatible with python 3.6, so this change pins macaroonbakery
to 1.3.2 which was the last release compatible with older versions of
protobuf.

For more details see:

- go-macaroon-bakery/py-macaroon-bakery#92
- protocolbuffers/protobuf#10076

It's worth to mention that there is no protobuf-4.0, it goes from 3.20
to 4.21 - https://pypi.org/project/protobuf/#history

(cherry picked from commit a8e4de5)
(cherry picked from commit 300c5bb)
@freyes freyes requested review from ajkavanagh and coreycb December 14, 2023 14:59
The ubuntu-latest image doesn't support python 3.6
The python-libjuju 2.9.45 release introduced the use of the walrus
operator which is incompatible with python 3.6, more details at
juju/python-libjuju#993
@freyes freyes force-pushed the py36-compatibility-train branch from e9e752d to 776675b Compare December 14, 2023 19:16
Copy link
Collaborator

@ajkavanagh ajkavanagh left a comment

Choose a reason for hiding this comment

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

I'm happy with the changes; the tests are failing due to unit test problems that are unrelated to this change, and thus it wouldn't be appropriate to include them in the change. I'll raise a separate error for them for this branch.

@ajkavanagh ajkavanagh merged commit 737896e into openstack-charmers:stable/train Jan 19, 2024
1 of 5 checks passed
@ajkavanagh
Copy link
Collaborator

#644 raised over assert issues

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