Skip to content

Fix django major version to 3#89

Merged
JackWilb merged 1 commit intomainfrom
django-major-ver
Jan 13, 2022
Merged

Fix django major version to 3#89
JackWilb merged 1 commit intomainfrom
django-major-ver

Conversation

@JackWilb
Copy link
Copy Markdown
Member

@JackWilb JackWilb commented Jan 13, 2022

Does this PR close any open issues?

No, I have noticed this issue when rebuilding the django container locally, though.

Give a longer description of what this PR addresses and why it's needed

This fixes the django major (and maybe minor version) to 3(.2). This stops the django containers, and presumably the heroku deployment, from using django v4.0, which our code is not compatible with. We're using some deprecated and removed functions.

We should hold off on merging any other PR until this is merged.

Provide pictures/videos of the behavior before and after these changes (optional)

N/A

Are there any additional TODOs before this PR is ready to go?

No

Copy link
Copy Markdown
Contributor

@waxlamp waxlamp left a comment

Choose a reason for hiding this comment

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

This does indeed fix the version to be 3.2.x. I think that's fine for now. We can be more deliberate about what Django version we're on at some point but right now that seems like the right choice.

@jjnesbitt
Copy link
Copy Markdown
Member

The reason that the tests for this are failing is due to an upstream change in django-s3-file-field regarding testing. These two PRs detail the change:

I think we can merge this PR, and I can open a separate PR to fix the tests.

@JackWilb JackWilb merged commit 64a982c into main Jan 13, 2022
@JackWilb JackWilb deleted the django-major-ver branch January 13, 2022 22:37
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