~gabrielcocenza/charm-juju-lint:bug/1993334

Last commit made on 2022-10-21
Get this branch:
git clone -b bug/1993334 https://git.launchpad.net/~gabrielcocenza/charm-juju-lint
Only Gabriel Cocenza can upload to this branch. If you are Gabriel Cocenza please log in for upload directions.

Branch merges

Branch information

Name:
bug/1993334
Repository:
lp:~gabrielcocenza/charm-juju-lint

Recent commits

40c6b01... by Gabriel Cocenza

add timeout for running auto_lint.py

- hook enter into error state instead of holding machine lock
- change juju loop(deprecated) to jasyncio

Closes-Bug: #1993334

e83a021... by Mert Kirpici

Close LP #1987367

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-juju-lint/+git/charm-juju-lint/+merge/429478
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: Sudeep Bhandari <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

4f44212... by Mert Kirpici

charmcraft: add comment for multiple builds

Signed-off-by: Mert Kırpıcı <email address hidden>

39e6aef... by Mert Kirpici

build: add comments to charmcraft and README

Signed-off-by: Mert Kırpıcı <email address hidden>

8f39202... by Mert Kirpici

tests/functional: update juju-local charm

charm-juju-local is moved under a new name in charmhub. Accomodate that
change here.

See: LP #1989554

Signed-off-by: Mert Kırpıcı <email address hidden>

4f61759... by Mert Kirpici

build: add jammy support

snapcraft>1.4.0 builds python packages listed under
`charm-python-packages` from source during build time[0], creating
platform dependence for compiled components of libraries like bcrypt and
cryptography which are required as dependencies of paramiko. This
behavior ends up having ABI incompatibilities when packages are built
and run in different ubuntu series, which is sometimes surfacing as a
GLIBC soversion problem during runtime. In order to eliminate that we
are allowing installation of prebuilt wheel for paramiko using
`charm-binary-python-packages`, since it is supported on multiple
platforms much better. Also we no longer need the whole rust toolchain
and ffi headers, so they are removed as well.

Also we are now producing 2 charms since the installed websockets
library during build time drops support for either python3.10(jammy) or
python3.6(bionic) depending on the build environment. See libjuju's
dependencies[1] and websockets changelog[2].

[0] https://github.com/canonical/charmcraft/releases/tag/1.4.0
[1] https://github.com/juju/python-libjuju/blob/3.0.1/setup.py#L38
[2]
https://websockets.readthedocs.io/en/stable/project/changelog.html#id8

Closes-Bug: 1987367
Signed-off-by: Mert Kırpıcı <email address hidden>

0197b12... by Przemyslaw Lal

Rewrite auto_lint.py when creating it from the template

Reviewed-on: https://code.launchpad.net/~przemeklal/charm-juju-lint/+git/charm-juju-lint/+merge/420741
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

8f8ec04... by Przemyslaw Lal

Rewrite auto_lint.py when creating it from the template

Fixes LP: #1970753

Signed-off-by: Przemyslaw Lal <email address hidden>

7f43938... by Xav Paice

add charmcraft.yaml

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-juju-lint/+git/charm-juju-lint/+merge/417016
Reviewed-by: Przemysław Lal <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

dc86a25... by Xav Paice

pin typing-extensions for Python 3.6 support