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 quince #920

Merged
merged 118 commits into from
Dec 11, 2023
Merged

feat: upgrade to quince #920

merged 118 commits into from
Dec 11, 2023

Conversation

regisb
Copy link
Contributor

@regisb regisb commented Oct 11, 2023

Here are my notes of the upgrade process.

  • checkout nightly branch
  • In __about__.py:
    • set __version__ = "17.0.0"
    • set __version_suffix__ = ""
  • In config/defaults.yml
    • set OPENEDX_COMMON_VERSION: "open-release/quince.master"
    • upgrade docker images for: Caddy, elasticsearch, mongodb, redis
  • Install new version: pip install -e
  • upgrade requirements with make upgrade-requirements && pip install -r requirements/dev.txt
  • Deprecation of the is_buildkit_enabled template filter
  • In "openedx" Dockerfile:
    • upgrade pyenv to 2.3.29
    • upgrade python to 3.8.18
    • upgrade setuptools to 68.2.2
    • upgrade pip to 23.2.1
    • upgrade wheel to 0.41.2
    • upgrade django-redis to 5.4.0
    • upgrade uwsgi to 2.0.22
    • upgrade ipython to 8.13.0 (latest version compatible with python 3.8)
  • Search and replace (almost) all instances of "palm" (case-insensitive)
  • Work in a temporary project root: export TUTOR_ROOT=~/.local/share/tutor-quince
  • Build images: tutor config save && tutor images build all
  • Launch platform: tutor local launch
  • commit changes: git commit -a -m "feat: upgrade to quince"
  • push to github.com on quince branch, open draft PR

TODOs

- [ ] uwsgi is no longer maintained, we should replace it: https://uwsgi-docs.readthedocs.io (postponed to Redwood)

regisb and others added 30 commits December 15, 2022 10:23
This removes an openedx/edx-platform commit backported as a patch to tutor to olive.1 release
Since the commit is already merged into edx-platform:master branch used
by tutor nightly,  there is no further need for it.
Adds `from __future__ import annotations` to the top of every module,
right below the module's docstring. Replaces any usages of t.List,
t.Dict, t.Set, t.Tuple, and t.Type with their built-in equivalents:
list, dict, set, tuple, and type. Ensures that make test still passes
under Python 3.7, 3.8 and 3.9.
* Remove redundant changelog line
* The change should NOT affect most developers ;)
@regisb regisb force-pushed the quince branch 2 times, most recently from 874b86f to d9de19c Compare November 27, 2023 07:42
@regisb regisb force-pushed the quince branch 2 times, most recently from 2af8981 to 77e59a2 Compare November 30, 2023 08:17
Overhang.IO and others added 4 commits December 8, 2023 11:02
before this, after enabling/disabling any plugins we should re-generate all files with tutor config save.
Also, update docs on `tutor config save`.

Note that we had to fix an issue where the plugin unload callback was
being called too late.
The new domain name points to 127.0.0.1, just like the previous one. We
keep the local.overhang.io domain names for backward compatibility. In
the future, we hope to migrate to "*.openedx.io" but that will not
happen before Redwood.

Close #945
@regisb regisb force-pushed the quince branch 4 times, most recently from b9eae90 to eec0c01 Compare December 9, 2023 23:35
@regisb regisb marked this pull request as ready for review December 9, 2023 23:37
@regisb regisb force-pushed the quince branch 5 times, most recently from 5a8642f to 4513e2f Compare December 11, 2023 18:15
@regisb regisb merged commit 0ccf486 into master Dec 11, 2023
1 check passed
@regisb regisb deleted the quince branch December 11, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

5 participants