-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
__hash__
implementation in Component
attempts to hash unhashable properties list if present
#153
Comments
expected fix:
|
madpah
added a commit
that referenced
this issue
Jan 31, 2022
Signed-off-by: Paul Horton <[email protected]>
Agree @jkowalleck. This will require a fair bit of work to do "right", but will include a temp fix for this in the next release and leave this open to track a proper fix. |
Thanks for the report @0t1s1 ! |
Merged
madpah
added a commit
that referenced
this issue
Feb 1, 2022
…dded tests #153 Signed-off-by: Paul Horton <[email protected]>
madpah
added a commit
that referenced
this issue
Feb 2, 2022
* fix: implemented correct `__hash__` methods in models (#153) Signed-off-by: Paul Horton <[email protected]>
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
Component
class'__hash__
implementation attempts to hash an unhashable list ofProperty
objects if present. This preventsComponent
objects from being compared, which in turn prevents one from addingComponent
objects toBom
objects viaBom
'sadd_component
method.Example:
Results in
Library version: 1.3.0
OS: CentOS 8
The text was updated successfully, but these errors were encountered: