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

Fixes #5453 updates cffi & argon2_cffi #5458

Merged
merged 2 commits into from
Aug 24, 2020
Merged

Fixes #5453 updates cffi & argon2_cffi #5458

merged 2 commits into from
Aug 24, 2020

Conversation

kushaldas
Copy link
Contributor

@kushaldas kushaldas commented Aug 18, 2020

Status

Ready for review

Description of Changes

Fixes #5453

Updates both the releases to the latest, these versions builds
properly on Python3.8 on Ubuntu Focal 20.04

Testing

Deployment

Any special considerations for deployment? Consider both:

  1. Upgrading existing production instances.
  2. New installs.

Checklist

If you made changes to the server application code:

  • Linting (make lint) and tests (make test) pass in the development container

If you made changes to securedrop-admin:

  • Linting and tests (make -C admin test) pass in the admin development container

If you made changes to the system configuration:

If you made non-trivial code changes:

  • I have written a test plan and validated it for this PR

If you made changes to documentation:

  • Doc linting (make docs-lint) passed locally

If you added or updated a code dependency:

Choose one of the following:

  • I have performed a diff review and pasted the contents to the packaging wiki
  • I would like someone else to do the diff review

--hash=sha256:edabd457cd23a02965166026fd9bfd196f4324fe6032e866d0f3bd0301cd486f \
--hash=sha256:fdf1c1dc5bafc32bc5d08b054f94d659422b05aba244d6be4ddc1c72d9aa70fb \
# via argon2-cffi, cryptography
cffi==1.14.0 \
Copy link
Contributor

Choose a reason for hiding this comment

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

cffi version reviewed in the PR description is 1.14.2, as such, the hashes are different. Should we use 1.14.2 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will update it in some time.

Updates both the releases to the latest, these versions builds
properly on Python3.8 on Ubuntu Focal 20.04
Copy link
Contributor

@emkll emkll left a comment

Choose a reason for hiding this comment

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

Went through the test plan and everything looks good to me:

One last question for you @kushaldas : would it make sense to track the same version of cffi (1.4.2) in develop-requirements.txt as well? It's currently on 1.4.0 [1](which may have been the source of the initial confusion). It seems fine for me to merge as-is, but curious what you think.

[1] https://github.com/freedomofpress/securedrop/blob/upgrade_ffi_twins/securedrop/requirements/python3/develop-requirements.txt#L109

kushaldas added a commit that referenced this pull request Aug 24, 2020
@kushaldas kushaldas mentioned this pull request Aug 24, 2020
9 tasks
Based on the review feedback we now have the same version in
development and main application requirements files.
Copy link
Contributor

@emkll emkll left a comment

Choose a reason for hiding this comment

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

Thanks @kushaldas , good to merge when CI passes

@emkll emkll merged commit d6cdc0f into develop Aug 24, 2020
@emkll emkll deleted the upgrade_ffi_twins branch August 24, 2020 16:01
kushaldas added a commit that referenced this pull request Aug 24, 2020
kushaldas added a commit that referenced this pull request Aug 27, 2020
kushaldas added a commit that referenced this pull request Sep 2, 2020
kushaldas added a commit that referenced this pull request Sep 3, 2020
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.

cffi and argon2_cffi needs update for buiding in Ubuntu 20.04
2 participants