Skip to content
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

Vendor attrs to avoid unpickle issues #3179 #3192 #3193

Merged
merged 7 commits into from
Jan 17, 2023

Conversation

pombredanne
Copy link
Member

@pombredanne pombredanne commented Jan 9, 2023

We have vendored attrs only for its use in licensedcode.models. With this, we avoid updates to the attrs library that would make unpickling the license index fail.

Reported-by: Soim @soimkim
Reference: #3192
Reference: #3179
Signed-off-by: Philippe Ombredanne [email protected]

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁

We have vendored attrs only for its use in licensedcode.models.
With this, we avoid updates to the attrs library that would make
unpickling the license index fail.

Reported-by: Soim @soimkim
Reference: #3192
Reference: #3179
Signed-off-by: Philippe Ombredanne <[email protected]>
@pombredanne
Copy link
Member Author

Note: this PR is for a hot fix release and not designed to be merged as-is in develop. It will need some backporting and resolution of conflicts, or can be reapplied by hand.

Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
This was restored with the introduction of packvers

Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
Copy link
Member

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes #3179 and we already have a release out with that.

I've merged develop into this to make this PR merge ready, but there is #3195 btw but it's not crashing the install so we can probably handle that in v32? or do we have to backport that fix too?

some CIs are failing because scancode checkout is taking an hour fsr, probably a fluke?

@AyanSinhaMahapatra AyanSinhaMahapatra added this to the v32.0 milestone Jan 12, 2023
Copy link
Member Author

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thank you.

@pombredanne pombredanne merged commit 2124157 into develop Jan 17, 2023
@pombredanne pombredanne deleted the v31.2.3-branch-hotfix branch January 17, 2023 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants