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: upgrading django-simple-history. #2001

Merged
merged 4 commits into from
Aug 8, 2023

Conversation

awais786
Copy link
Contributor

@awais786 awais786 commented Jul 28, 2023

During the attempt to upgrade history package in the edx-platform repo, the check-migrations-test encountered a failure with new migrations. The updated package includes some enhancements that introduce new migrations. However, these migrations do not involve any alterations to the existing fields; instead, they are focused on meta changes aimed at improving the ordering functionality e.g options={'get_latest_by': ('history_date', 'history_id'

https://django-simple-history.readthedocs.io/en/latest/#section-1
Upgrading the package to 3.1.1

These are due to the package. Related PR jazzband/django-simple-history#862 ( this pr shows the get_latest_by usage )

Similar PR merged in credentials

@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (8145367) 95.08% compared to head (e922688) 95.08%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2001   +/-   ##
=======================================
  Coverage   95.08%   95.08%           
=======================================
  Files         158      158           
  Lines       17429    17429           
  Branches     1626     1626           
=======================================
  Hits        16572    16572           
  Misses        642      642           
  Partials      215      215           
Flag Coverage Δ
unittests 95.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

django-simple-history==3.3.0
# via -r requirements/base.in
django-waffle==3.0.0
django-simple-history==3.1.1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

django-simple-history==3.1.1

@awais786 awais786 force-pushed the update-simple-history-package-version branch from 1ce8b24 to e34ac25 Compare August 8, 2023 08:09
@awais786 awais786 marked this pull request as ready for review August 8, 2023 08:35
@awais786 awais786 requested a review from a team as a code owner August 8, 2023 08:35
@awais786
Copy link
Contributor Author

awais786 commented Aug 8, 2023

We have to add pending migrations in edx-platform coming due to django-history-table. So ignoring docs build.

@UsamaSadiq
Copy link
Member

docs check failure will be fixed in the PR #2017 so merging with failing check to resolve django-simple-history blocker for edx-platform due to this package.

@UsamaSadiq UsamaSadiq merged commit 07abe19 into master Aug 8, 2023
6 checks passed
@UsamaSadiq UsamaSadiq deleted the update-simple-history-package-version branch August 8, 2023 11:17
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