-
Notifications
You must be signed in to change notification settings - Fork 31
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
Hotfix/make token more unique #1618
Conversation
9c8065a
to
9a91118
Compare
9a91118
to
bb33b81
Compare
b6ff9ee
to
e17b2de
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.
Could you add a test for this please? Just need to call get_object
and make sure it actually works!
f99f42d
to
34a0649
Compare
requirements/base.txt
Outdated
@@ -16,6 +16,7 @@ redis==4.6.0 | |||
Pillow==9.5.0 | |||
icalendar==5.0.7 | |||
dealer==2.1.0 | |||
setuptools==58.2.0 |
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.
It looks like this is an error with pyYAML
. We're using 5.4.1
and the latest is 6.0.1
. I took a look at the changelog and the version after the one we're on seems to fix this.
So I think the solution here is to upgrade pyYAML
rather than pin setuptools to an older version.
6b0a2cc
to
ac5a6a8
Compare
1ca3fa7
to
7bb71f3
Compare
7bb71f3
to
935ae94
Compare
co-authored @symroe
Ref https://democracy-club-gp.sentry.io/issues/4152565476/?project=1426221&query=feedback&referrer=issue-stream&statsPeriod=14d&stream_index=0
Previous to this change, tokens were being set to
None
as a default which caused aMultiple objects returned
error. Here, we've set the token in the model and tested for uniqueness.In the course of this work, I ran into a deprecation issue with
setuptools
which is a dependency.