Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 1, 2024. It is now read-only.

Upgrade edx-enterprise-data to 0.2.5 and unpin many requirements#206

Merged
georgebabey merged 1 commit intomasterfromgbabey/upgrade-enterprise-0.2.5
Aug 30, 2018

Conversation

@georgebabey
Copy link
Contributor

@georgebabeygeorgebabey commentedAug 29, 2018
edited
Loading

Unpinned a number of requirements so they would be upgraded as part of
make upgrade as recommended by OEP-18. In particular the edx-enterprise-data
django app was not pinning edx-drf-extensions which resulted in 2 different
versions of DRF in the requirements (one for enterprise-data and one for this
IDA).

Upgrading DRF resulting in an assertion failure that was added in DRF 3.7.4

Cannot both declare the field 'created' and include it in the CourseProgramMetadataSerializer'exclude' option. Remove the field or, if inherited from a parent serializer, disable with `created = None`.

encode/django-rest-framework#5599

Because the created date was being excluded, it is not needed in the CourseProgramMetadataSerializer and has been removed.

Unpinned a number of requirements so they would be upgraded as part of`make upgrade` as recommended by OEP-18. In particular the edx-enterprise-datadjango app was not pinning edx-drf-extensions which resulted in 2 differentversions of DRF in the requirements (one for enterprise-data and one for thisIDA).Upgrading DRF resulting in an assertion failure that was added in DRF 3.7.4```Cannot both declare the field 'created' and include it in the CourseProgramMetadataSerializer'exclude' option. Remove the field or, if inherited from a parent serializer, disable with `created = None`.```encode/django-rest-framework#5599Because the created date was being excluded, it is not needed in the CourseProgramMetadataSerializer andhas been removed.
@codecov
Copy link

codecovbot commentedAug 29, 2018

Codecov Report

Merging#206 intomaster willnot change coverage.
The diff coverage is100%.

Impacted file tree graph

@@           Coverage Diff           @@##           master     #206   +/-   ##=======================================  Coverage   97.85%   97.85%           =======================================  Files          53       53             Lines        3173     3173             Branches      247      247           =======================================  Hits         3105     3105             Misses         43       43             Partials       25       25
Impacted FilesCoverage Δ
analytics_data_api/v0/serializers.py94.46% <100%> (ø)⬆️

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update9f7a1aa...36af300. Read thecomment docs.

Copy link
Contributor

@adamstankiewiczadamstankiewicz left a comment

Choose a reason for hiding this comment

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

LGTM:shipit:

Copy link
Contributor

@christopappaschristopappas left a comment

Choose a reason for hiding this comment

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

Ran the tests, all pass!

@georgebabeygeorgebabey merged commit6d28122 intomasterAug 30, 2018
@georgebabeygeorgebabey deleted the gbabey/upgrade-enterprise-0.2.5 branchAugust 30, 2018 13:45
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

2 more reviewers

@adamstankiewiczadamstankiewiczadamstankiewicz approved these changes

@christopappaschristopappaschristopappas approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@georgebabey@adamstankiewicz@christopappas

[8]ページ先頭

©2009-2025 Movatter.jp