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

Avoid broken macaroonbakery release #628

Merged
merged 4 commits into from
Dec 12, 2023

Conversation

coreycb
Copy link

@coreycb coreycb commented Dec 8, 2023

macaroonbakery 1.3.3 has a broken protobuf dependency, add a requirement to avoid that specific release:
go-macaroon-bakery/py-macaroon-bakery#94

Conflicts:
test-requirements.txt

Also drop py36 from github workflow as it is no longer available
on ubuntu-latest and not needed for xena which is focal based.

(cherry picked from commit 8be4948)

@coreycb coreycb force-pushed the macroon-xena branch 2 times, most recently from 6d5399d to d468a74 Compare December 8, 2023 18:24
lathiat and others added 2 commits December 8, 2023 13:45
macaroonbakery 1.3.3 has a broken protobuf dependency, add a requirement
to avoid that specific release:
go-macaroon-bakery/py-macaroon-bakery#94

Conflicts:
    test-requirements.txt

(cherry picked from commit 8be4948)
Add separate workflow for testing on Python 3.6 as this
requires an older Ubuntu release.

Fixup unit tests for compatibility with newer versions of mock.

Drop latest/stable functional test targets - this is actually
2.9.x of Juju and is already covered by the 2.9 targets and we
want to avoid suddenly picking up a new Juju version because
this will break with the new approach to version alignment in the
Python module for Juju.

Drop 2.8 functional test target - its broken and we don't really
support this version any longer.

Fixup iptables forwarding issues from LXD containers with a flush
and re-create of rules.

(cherry picked from commit 9277a94)
(cherry picked from commit ee92b9b)
(cherry picked from commit 355ad7a)
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (16fb0e7) 82.45% compared to head (9a31f0e) 82.27%.

Additional details and impacted files
@@               Coverage Diff               @@
##           stable/xena     #628      +/-   ##
===============================================
- Coverage        82.45%   82.27%   -0.18%     
===============================================
  Files               30       30              
  Lines             2781     2776       -5     
===============================================
- Hits              2293     2284       -9     
- Misses             488      492       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

These are no longer needed on the stable/xena branch.

(cherry picked from commit 6122daa)
(cherry picked from commit 772f976)
@coreycb coreycb force-pushed the macroon-xena branch 3 times, most recently from 7e868c3 to 2f33d29 Compare December 8, 2023 21:00
This avoids running with py310 which doesn't make sense for focal.
Copy link
Member

@freyes freyes left a comment

Choose a reason for hiding this comment

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

LGTM. This fixes the build, so merging with a single +2. The failure on coverage is "ok" since this may be a side effect of the mock fixes.

@freyes freyes merged commit edea0e0 into openstack-charmers:stable/xena Dec 12, 2023
5 of 6 checks passed
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.

4 participants