canonical / charmcraft

Collaborate, build and publish charmed operators for Kubernetes, Linux and Windows.
Apache License 2.0
66 stars 69 forks source link

`pip check` linter #1889

Open lengau opened 2 weeks ago

lengau commented 2 weeks ago

What needs to get done

Create a linter that checks that the venv is consistent using pip check

Why it needs to get done

With strict dependencies, we want to give people a build-time error about missing dependencies rather than runtime.

syncronize-issues-to-jira[bot] commented 2 weeks ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3369.

This message was autogenerated

sergiusens commented 1 week ago

Is this a Craft Application or Charmcraft analyze feature?

lengau commented 1 week ago

@sergiusens this would be a charmcraft linter (both in analyse and at the end of packing). I'm not sure how we could feasibly do this in craft-application.