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

Feat!: Upgrade to django42 #349

Merged
merged 2 commits into from
Oct 18, 2023
Merged

Feat!: Upgrade to django42 #349

merged 2 commits into from
Oct 18, 2023

Conversation

UsamaSadiq
Copy link
Member

@UsamaSadiq UsamaSadiq commented Oct 5, 2023

Description

TODO

Checklist for IDA before merging Django 4.2 upgrade PR

  • Verify Django is upgraded to 4.2 at all places

  • USE_DEPRECATED_PYTZ settings is added to base/common.py with an explanatory comment

  • memcached backend is changed from MemcachedCache to PyMemcacheCache in edx-internal (remote config/ argocd configs) - - - - No Cache Configured in edx-notes-api so this step is not needed.

  • CSRF_TRUSTED_ORIGINS are updated in configurations

@UsamaSadiq UsamaSadiq requested a review from a team as a code owner October 5, 2023 14:46
@UsamaSadiq UsamaSadiq force-pushed the upgrade-to-django42 branch 2 times, most recently from b1f29af to 4d1d9b3 Compare October 9, 2023 08:17
@UsamaSadiq UsamaSadiq force-pushed the upgrade-to-django42 branch from 19af084 to 7aef431 Compare October 9, 2023 08:37
run: |
pip install -r requirements/travis.txt
docker exec -e TOXENV=${{ matrix.python-version }}-${{ matrix.django-version }} --env DB_HOST=${{ matrix.db-version }} -u root edx_notes_api \
Copy link
Member Author

Choose a reason for hiding this comment

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

system packages needed to install mysqlclient==2.2.0. See release notes https://github.com/PyMySQL/mysqlclient#linux for details.

# via pyjwt
django==3.2.20
django==4.2.6
Copy link
Member Author

Choose a reason for hiding this comment

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

Django version upgraded.

Copy link

@mattcarter mattcarter left a comment

Choose a reason for hiding this comment

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

approved

@mattcarter mattcarter merged commit 2b5238a into master Oct 18, 2023
7 checks passed
@mattcarter mattcarter deleted the upgrade-to-django42 branch October 18, 2023 18:32
iamsobanjaved added a commit that referenced this pull request Oct 19, 2023
iamsobanjaved added a commit that referenced this pull request Oct 19, 2023
@awais786 awais786 restored the upgrade-to-django42 branch October 26, 2023 12:38
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.

4 participants