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

Upgrade python to 3.12 & Django to 4.2.19 #1161

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

marslanabdulrauf
Copy link

What are the relevant tickets?

#1108

Description (What does it do?)

This PR upgrades:

  1. Python to 3.12
  2. required packages to support 3.12
  3. fixes tests

How can this be tested?

  1. Checkout to this branch and rebuild docker
  2. Run command ./scripts/test/test_suite.sh and verify all tests cases are green
  3. Run basic flow:
    • Log in
    • Create Collection
    • Upload Videos

NOTE: Video transcoding might not work as I have commented the usage of dj_elastictranscoder in this PR. Reasons:

  • It does not support django 4
  • we are already working on replacing it with MediaConvert so shouldn't put extra effort
  • Once our new pacakge/plugin is ready we can integrate/replace that.

@arslanashraf7 arslanashraf7 changed the base branch from marslan/1108-upgrade-django42 to master February 25, 2025 12:45
@arslanashraf7 arslanashraf7 changed the title Upgrade python to 3.12 Upgrade python to 3.12 & Django to 4.2.19 Feb 25, 2025
url(r"^transcode/", include("dj_elastictranscoder.urls")),
url(
r"^api/v0/upload_videos/$",
# path("transcode/", include("dj_elastictranscoder.urls")),
Copy link
Author

Choose a reason for hiding this comment

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

We have commented this as we are replacing transcoder elastictranscoder with MediaConvert
@umar8hassan will integrate that in a different PR

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.

2 participants