You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UPDATE: found pallets/click#2558 which confirms the above, and also that many others are seeing this same problem.
#3749 is a follow-up tech debt ticket that can be worked on if/when the underlying click issue above is fixed and released.
Steps to Reproduce
nox -s clean
nox -s dev -- shell
in the container shell, run mypy and notice failures
Expected behavior
mypy should run successfully on our codebase! :)
Environment
The only thing to note here is that local docker cache can seemingly prevent this from appearing by not getting the latest click version and relying on a cached, older version instead. Running nox -s clean clears out this cache, and allows the error to be reproducible.
Most importantly, the error is consistently reproducible on CI runs.
Additional context
This is purely a CI/static check bug, so although it's annoying, it doesn't impact application runtime (as far as i can tell). Still, we should get it fixed.
The text was updated successfully, but these errors were encountered:
OK, now seeing that this looks to be heavily reported here: pallets/click#2558
looks like a fix is in progress. in the meantime, i propose we ignore the type checking at the relevant spots in our codebase (as is suggested by a click library maintainer ) and #3749 is in place as a tech debt ticket to revert if/when the typing issue is fixed in click
Bug Description
Changes introduced in the newly released
click
version8.1.4
, which now gets pulled into freshly baked images as a dependency, are seemingly causing mypy failures (e.g. https://github.com/ethyca/fides/actions/runs/5487381560/jobs/9998767180) in our CI runs. From an initial analysis, it seems like these changes specifically are what's responsible for the new mypy failures.UPDATE: found pallets/click#2558 which confirms the above, and also that many others are seeing this same problem.
#3749 is a follow-up tech debt ticket that can be worked on if/when the underlying
click
issue above is fixed and released.Steps to Reproduce
nox -s clean
nox -s dev -- shell
mypy
and notice failuresExpected behavior
mypy should run successfully on our codebase! :)
Environment
The only thing to note here is that local docker cache can seemingly prevent this from appearing by not getting the latest
click
version and relying on a cached, older version instead. Runningnox -s clean
clears out this cache, and allows the error to be reproducible.Most importantly, the error is consistently reproducible on CI runs.
Additional context
This is purely a CI/static check bug, so although it's annoying, it doesn't impact application runtime (as far as i can tell). Still, we should get it fixed.
The text was updated successfully, but these errors were encountered: