-
Notifications
You must be signed in to change notification settings - Fork 132
[objectbox_generator] Upgrade cryptography #638
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
Comments
Thanks! However, the current version constraint does allow the latest version of objectbox-dart/generator/pubspec.yaml Line 23 in 045460f
Maybe try to use |
I've made a PR dint-dev/cryptography#181 for that over a month ago, but it's not been merged yet. Until it's merged you can either reference the PR directly or just use dependency overrides, i.e. dependency_overrides:
js: ^0.7.1 |
@techouse Thanks! So this is nothing that can be fixed by this library. Closing then. |
@greenrobot-team sadly https://github.com/dint-dev/cryptography looks abandoned. Maybe think of a drop-in replacement? |
@techouse Thanks for the hint! Last update in September 2023, so would not go that far. Anyhow, had a quick look and I don't really see any good alternatives. Suggestions are welcome! |
Reopened because we should do something about this as Internal issue: The current workaround is to add a dependency override. |
@greenrobot-team FYI |
Release To update to this release, for a Flutter project run |
Is there an existing issue?
Use case
Because cryptography >=2.0.0 <2.1.0 depends on js ^0.6.3 and cryptography >=2.1.0 <2.6.0 depends on js ^0.6.2, cryptography >=2.0.0 <2.6.0 requires js ^0.6.2.
And because cryptography >=2.6.0 depends on js ^0.6.7, cryptography >=2.0.0 requires js ^0.6.2.
And because objectbox_generator 4.0.0 depends on cryptography ^2.0.5 and mixpanel_flutter >=2.3.0 depends on js ^0.7.1, objectbox_generator 4.0.0 is incompatible with mixpanel_flutter >=2.3.0.
So, because app depends on both mixpanel_flutter 2.3.1 and objectbox_generator 4.0.0, version solving failed.
Proposed solution
Upgrade cryptography that is using a newer version of js
Describe alternatives you've considered
Downgrading Mixpanel to 2.2.0 for now
Additional context
cryptopgrahy is used by objectbox_generator
The text was updated successfully, but these errors were encountered: