Closed timmc-edx closed 4 years ago
I'd be happy to submit a PR, but would you mind pushing master first? It's currently one behind v0.6.0, so I'm hesitant to make a PR against it.
Here's a branch if you'd like to merge it: https://github.com/jotes/django-cookies-samesite/compare/v0.6.0...timmc-edx:setup-requirements
Thanks @timmc-edx, give me a moment.
@timmc-edx can you check if 0.6.1 fixes the problem for you?
It does, thank you!
Description
When upgrading the version of django-cookies-samesite used in https://github.com/edx/edx-platform and running tests, we found that django-cookies-samesite was importing the ua_parser module but not declaring the ua-parser dependency in its setup.py file (although it is in the requirements.txt file).
What I Did
Here's the automated PR that tries to upgrade all of our dependencies: https://github.com/edx/edx-platform/pull/23984/files -- you can see that it found the new django-cookies-samesite but doesn't see that ua-parser is now also required.
Here's a sample error: https://build.testeng.edx.org/job/edx-platform-python-pipeline-pr/17720/testReport/junit/common.djangoapps.student.tests.test_retirement/TestRegisterRetiredUsername/Run_Tests___lms_unit___test_username_close_to_retired_format_active/