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

Fix Code becoming integer. #1

Open
wants to merge 12 commits into
base: issues/545
Choose a base branch
from

Conversation

esunar
Copy link

@esunar esunar commented Aug 24, 2023

Value of the Code key in the returned Dict is str in master branch. However while trying to get compatible with juju 3.x series it became int. Now it is not conforming to the function signature. Also there are usages in some tests so it reverted back to str.

javacruft and others added 12 commits February 24, 2023 10:59
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)
…t-fixes

Misc fixes for failing github workflows
Juju is pinned to <3.0 earlier. This
patch pins the juju version to <3.2
so that libjuju 3.1 version is used.

Modified run_on_unit to wait for
completion and update results based
on output.
Update channel in github workflows to use Juju 3.1.

Drop --no-gui flag usage as this is the default now.
Update model configuration default-series to focal.

Drop --classic flag for Juju installation.
When juju is strictly confined, random temp directories under /tmp
are not accessible - render any templated bundle files under $HOME
instead as this should be readable.
Add a wrapper to the scale command so k8s applications can be
scaled in and out.

(cherry picked from commit 05cd81d)
…bjuju3.1

Add helper for scaling k8s charms
Value of the Code key in the returned Dict is str in master branch. However
while trying to get compatible with juju 3.x series it became int. Now it is
not conforming to the function signature. Also there are usages in some
tests so it reverted back to str.
@freyes freyes force-pushed the issues/545 branch 2 times, most recently from b46dc7a to c42c965 Compare January 17, 2024 18:53
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