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

chore: Remove remaining Python 3.8 compatibility #123

Merged
merged 5 commits into from
Jan 28, 2025
Merged

Conversation

bmtcril
Copy link
Contributor

@bmtcril bmtcril commented Jan 23, 2025

This is in draft because I haven't done the manual testing steps yet.

Closes #81

Merge checklist:
Check off if complete or not applicable:

  • Version bumped
  • Documentation updated (not only docstrings)
  • Fixup commits are squashed away
  • Unit tests added/updated
  • Manual testing instructions provided
  • Noted any: Concerns, dependencies, migration issues, deadlines, tickets

Manual testing:

  • Assumption: you're starting from a working Tutor local environment with Aspects installed
  • Update your Tutor patches for openedx-dev-dockerfile-post-python-requirements and openedx-dockerfile-post-python-requirements to use this branch for installing platform-plugin-aspects either using a local Tutor plugin or by making a temporary branch in the Aspects plugin
  • tutor config save
  • tutor images build openedx
  • tutor local stop
  • tutor local do init -l aspects
  • tutor local start -d
  • Browse a course and make sure events are populating by viewing the Celery logs and/or Ralph logs and/or Clickhouse events
  • Visit the embedded Superset dashboards in the instructor dashboard and make sure they load correctly
  • Run the Tutor command tutor local do dump_data_to_clickhouse --service cms --object course_overviews --options "--force" and make sure that the data correctly moves to Clickhouse by monitoring the cms-worker and checking Clickhouse for new entries in event_sink.course_blocks

Copy link

github-actions bot commented Jan 23, 2025

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  platform_plugin_aspects
  __init__.py
  xblock.py
  platform_plugin_aspects/extensions
  filters.py
Project Total  

This report was generated by python-coverage-comment-action

This wasn't being consistently used, and the changelog for releases has
better informations.
Going to version 1 due to breaking changes in removing Python 3.8
functionality.
@bmtcril bmtcril force-pushed the bmtcril/drop_py_38 branch from 96782e0 to 82172e3 Compare January 23, 2025 20:49
This command can be tricky, adding a link to a slightly better long-form
resource. We should break up the readme into real docs with a lot more
detail on some of these options.
@bmtcril bmtcril marked this pull request as ready for review January 24, 2025 19:49
@bmtcril
Copy link
Contributor Author

bmtcril commented Jan 24, 2025

Tested locally and here: openedx/tutor-contrib-aspects#1014

@bmtcril bmtcril merged commit bb8d7b5 into main Jan 28, 2025
10 checks passed
@bmtcril bmtcril deleted the bmtcril/drop_py_38 branch January 28, 2025 18:07
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.

Move on from deprecated pkg_resources api
2 participants