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

Serialization/Deserialization was dropping longrepr.sections #171

Merged
merged 2 commits into from
Jun 28, 2017
Merged

Serialization/Deserialization was dropping longrepr.sections #171

merged 2 commits into from
Jun 28, 2017

Conversation

timyhou
Copy link

@timyhou timyhou commented Jun 28, 2017

This was introduced in PR 164. I forgot to serialize/deserialize the sections attribute from ExceptionRepr which is on longrepr. This affects users who append or modify longrepr.sections for custom reporting.

Wasn't sure if I should have filed an issue first then a PR. This was a stupid oversight on my part. Sorry for the bug.

Here's a quick checklist that should be present in PRs:

  • Make sure to include reasonable tests for your change if necessary

  • Add a news file into the changelog folder, following these guidelines:

    • Name it $issue_id.$type for example 588.bug

    • If you don't have an issue_id change it to the PR id after creating it

    • Ensure type is one of removal, feature, bugfix, vendor, doc or trivial

    • Make sure to use full sentences with correct case and punctuation, for example:

      Fix issue with non-ascii contents in doctest text files.
      

@RonnyPfannschmidt
Copy link
Member

just include the pr id in the news fragment

Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

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

change looks good, please add to the news fragment

@nicoddemus as there was no release i wonder if we should skip the news fragment and/or update the existing one

@nicoddemus
Copy link
Member

@RonnyPfannschmidt actually I did the 1.18.0 release. 😉

@RonnyPfannschmidt
Copy link
Member

oh, i missed, well then please add a news fragment then we will merge and do a patch release ^^

@timyhou
Copy link
Author

timyhou commented Jun 28, 2017

Added a changelog.

Unrelated - is there a way to skip the checks if the commit change is something trivial like a changelog?

@nicoddemus
Copy link
Member

Unrelated - is there a way to skip the checks if the commit change is something trivial like a changelog?

Not AFAIK.

Thanks for adding the changelog!

@nicoddemus nicoddemus merged commit 5320d25 into pytest-dev:master Jun 28, 2017
@timyhou timyhou deleted the longrepr.sections_issue branch June 30, 2017 22:00
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.

3 participants