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

Update siwe library to support did/wildcard URIs in SIWE message string; drop Python 3.8 support #3521

Merged
merged 14 commits into from
Jul 23, 2024

Conversation

derekpierre
Copy link
Member

@derekpierre derekpierre commented Jul 16, 2024

Type of PR:

  • Bugfix
  • Feature
  • Documentation
  • Other

Required reviews:

  • 1
  • 2
  • 3

What this does:

  • Update version of siwe-py used that includes fix for proper URI handling
  • Relock dependencies
    • Fix regressions post-relock of updated dependencies
  • Drop python 3.8 support for better dependency management.

Issues fixed/closed:

  • Fixes #...

Depends on:

Related to https://github.com/nucypher/sprints/issues/24

Why it's needed:

siwe v2.4.1 does not properly handle did/wildcard URIs. This was fixed in siwe 3.0.0 via spruceid/siwe-py#60. However updating to version 3.0.0 or greater introduces some dependency conflicts with eth-ape. We needed spruceid/siwe-py#70 to be merged into siwe-py and a fresh release for the conflicts to go away.

Notes for reviewers:

What should reviewers focus on?
Is there a particular commit/function/section of your PR that requires more attention from reviewers?

@derekpierre derekpierre self-assigned this Jul 16, 2024
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.93%. Comparing base (6090b92) to head (1c4334c).

Additional details and impacted files
@@            Coverage Diff             @@
##           v7.4.x    #3521      +/-   ##
==========================================
- Coverage   84.94%   84.93%   -0.02%     
==========================================
  Files         123      123              
  Lines       11397    11396       -1     
==========================================
- Hits         9681     9679       -2     
- Misses       1716     1717       +1     
Flag Coverage Δ
acceptance 95.19% <ø> (+0.05%) ⬆️
integration 84.93% <100.00%> (-0.02%) ⬇️
unit 84.93% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@derekpierre derekpierre changed the title [WIP] Update siwe library to support did/wildcard URIs in SIWE message string Update siwe library to support did/wildcard URIs in SIWE message string Jul 23, 2024
@derekpierre derekpierre changed the title Update siwe library to support did/wildcard URIs in SIWE message string Update siwe library to support did/wildcard URIs in SIWE message string; drop Python 3.8 support Jul 23, 2024
@derekpierre derekpierre marked this pull request as ready for review July 23, 2024 12:24
@derekpierre derekpierre merged commit ce70f7d into nucypher:v7.4.x Jul 23, 2024
8 checks passed
@derekpierre derekpierre mentioned this pull request Jul 23, 2024
17 tasks
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.

3 participants