-
Notifications
You must be signed in to change notification settings - Fork 686
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 #4036 Updates setuptools for ci #4041
Conversation
Nice - so since we don't use the Dockerfile in prod, how do you think we should get this change onto prod servers? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @kushaldas, see my comment here. I think merging this is the best path forward. Before you merge can you verify and comment to confirm that the 2FA issues are not impacted by this change? (I've updated the PR description to indicate this is the case)
@@ -24,6 +24,8 @@ COPY requirements requirements | |||
RUN pip install -r requirements/securedrop-app-code-requirements.txt && \ | |||
pip install -r requirements/test-requirements.txt | |||
|
|||
RUN pip install --upgrade setuptools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment above explaining that this was added due to #4036?
hey @kushaldas check out my comment above - I think this is ready to go and will close one of the Xenial app tickets 😇 |
@redshiftzero This PR is actually fixing the 2fa tests along with i18n ones :)
|
67f6ee0
to
2f8c993
Compare
Hey - check out my comment in #4037 which explains why you see passing tests when you run the 2fa tests via |
Ah, I will update the commit message accordingly. |
With the upgraded setuptools package, pybabel starts working again.
2f8c993
to
2251d9f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now, approving
Status
Ready for Review
Description of Changes
Fixes #4036
With the upgraded setuptools package, the errors
in the issue gets fixed.
Testing
To see only the effected tests:
$ BASE_OS=xenial securedrop/bin/dev-shell bin/run-test -v tests/test_i18n_tool.py tests/test_i18n.py
make test-xenial
Deployment
None yet.
Checklist
If you made changes to the server application code:
make ci-lint
) and tests (make -C securedrop test
) pass in the development containerIf you made changes to
securedrop-admin
:make -C admin test
) pass in the admin development containerIf you made changes to the system configuration:
If you made non-trivial code changes:
If you made changes to documentation:
make docs-lint
) passed locally