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

Make sure the charm can be installed bionic #70

Merged
merged 4 commits into from
Nov 26, 2024
Merged

Conversation

chanchiwai-ray
Copy link
Contributor

@chanchiwai-ray chanchiwai-ray commented Nov 25, 2024

This is an regression of #68

This is because that's an unexpected usage of `envdir` in `tox < 4` and is
removed in `tox >= 4`.
@chanchiwai-ray
Copy link
Contributor Author

Looks like the old juju-local isn't working on bionic (or need specify care for LXD setup). The new juju-local does not have bionic support

@chanchiwai-ray
Copy link
Contributor Author

chanchiwai-ray commented Nov 25, 2024

The failing tests are likely due to this bug: https://bugs.launchpad.net/juju/+bug/1926192 (experiencing it in local tests)

@chanchiwai-ray chanchiwai-ray changed the title Add bionic into functional test Make sure the charm can be installed bionic Nov 26, 2024
@chanchiwai-ray
Copy link
Contributor Author

Changed the scope since we can't test on bionic due to the above bug mentioned (locally and also in CI). Still this PR is fixing the bug that it failed to install on bionic because latest packaging=24.2 is not compatible with python < 3.7.

packaging = 21.3 is the last version support all 3 ubuntu releases: https://github.com/pypa/packaging/blob/21.3/setup.py#L60-L64

Copy link
Contributor

@jneo8 jneo8 left a comment

Choose a reason for hiding this comment

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

The change is LGTM.
The commit message is a little bit mess up, please make sure it's clear when you squash and merge.

@chanchiwai-ray chanchiwai-ray merged commit 283722f into main Nov 26, 2024
5 checks passed
@chanchiwai-ray chanchiwai-ray deleted the regression/#68 branch November 26, 2024 05:40
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