-
Notifications
You must be signed in to change notification settings - Fork 11
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
issues with mypy typing when importing fideslang
#138
Comments
@adamsachs I think I've got the issues figured out! Even though we had added So these are all valid errors in I'll start going through and fixing all of these errors in |
ah ha! makes a lot of sense. thanks a bunch for tracking down 👍 - let me know if i can help with cleaning some of the stuff up on the |
@adamsachs thank you for the offer! I'm slowly chewing through the |
OK sounds good 👍 . i've also got some higher priority things i think i need to make progress on, so i can't look at the moment (a bit of an empty offer i made, sorry! 😬 ). but if i find some time i could try to start knocking off the if you do make any progress that's worth checkpointing, maybe throw your incremental progress on a branch in case it'd make sense for me or someone else to pick up from where you are? |
@adamsachs you know me, PR first thing! ethyca/fides#3839 |
Bug Description
Still not 100% sure this is a bug in
fideslang
, but something seems to have changed with the packaging updates in1.4.3
that's making our mypy runs infides
complain about our imports offideslang
, if usingfideslang>=1.4.3
.We need to get this fixed one way or another (again, the "fix" may turn out to be adjusting something over in the dependent library, e.g.
fides
!) since it's causing false negatives and CI failures infides
andfidesplus
.Steps to Reproduce
nox -s mypy
infides
(orfidesplus
)main
offides
, e.g. https://github.com/ethyca/fides/actions/runs/5588801027/jobs/10216115614Expected behavior
we should be effectively not receiving these errors in our dependent libraries, or we should be effectively suppressing them!
Additional context
This was noticed and discussed first on this draft PR. i figured i'd make a proper ticket out of it now, since it's now causing CI failures on
main
in both repos.We can re-ticket over in
fides
andfidesplus
if this is a problem on their side in how they're referencingfideslang
now with the new packaging scheme.The text was updated successfully, but these errors were encountered: