Skip to content

remove the MARK_INFO_ATTRIBUTE warning until we can fix internal usage #2585

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

Merged
merged 1 commit into from
Jul 19, 2017

Conversation

RonnyPfannschmidt
Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt commented Jul 18, 2017

fixes #2573

Thanks for submitting a PR, your contribution is really appreciated!

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

  • Add a new news fragment into the changelog folder
    • 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 the pr
    • 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."
  • Target: for bugfix, vendor, doc or trivial fixes, target master; for removals or features target features;
  • Make sure to include reasonable tests for your change if necessary

Unless your change is a trivial or a documentation fix (e.g., a typo or reword of a small section) please:

  • Add yourself to AUTHORS;

@The-Compiler
Copy link
Member

Not sure if it makes sense to have a changelog for something which was never released - but LGTM otherwise, the features branch seems to work fine with qutebrowser's testsuite now!

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 91.88% when pulling 8df2635 on RonnyPfannschmidt:fix-2573 into 1485a3a on pytest-dev:features.

@The-Compiler
Copy link
Member

Looks like flake8 is failing because there's now an unused MARK_INFO_ATTRIBUTE attribute.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 91.88% when pulling 8df2635 on RonnyPfannschmidt:fix-2573 into 1485a3a on pytest-dev:features.

@nicoddemus
Copy link
Member

I agree we don't need the changelog. 👍

@The-Compiler
Copy link
Member

btw, while we're at it, can we please add a test which fails on features and passes with this PR, so we can make sure we catch this when reintroducing the warning?

@nicoddemus
Copy link
Member

while we're at it, can we please add a test which fails on features and passes with this PR

Definitely 👍

@nicoddemus
Copy link
Member

What if we turn all warnings into errors, explicitly ignoring those we have no control over (from external libraries for example) and overwrite specific rules in tests which expect the warnings to be displayed? I think this would prevent this error and others from creeping at us in the future.

@The-Compiler
Copy link
Member

So essentially running pytest's testsuite with --pythonwarnings error then? Sounds good to me, but probably is quite a bit of work.

@nicoddemus
Copy link
Member

Sounds good to me, but probably is quite a bit of work.

Possibly. What do you think @RonnyPfannschmidt? I guess you are short on time and won't be able to do this in this PR right? If that's the case, I propose to create a separate issue and tackle this soon®. I might have some time later this week, but if somebody else can get to this before then the better.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 91.88% when pulling e8ccb71 on RonnyPfannschmidt:fix-2573 into 1485a3a on pytest-dev:features.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 91.88% when pulling 3dd31bb on RonnyPfannschmidt:fix-2573 into 1485a3a on pytest-dev:features.

@nicoddemus
Copy link
Member

Thanks @RonnyPfannschmidt, only thing left is removing the news file. Want me to do it before merging?

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 91.88% when pulling 62556ba on RonnyPfannschmidt:fix-2573 into 1485a3a on pytest-dev:features.

@nicoddemus
Copy link
Member

Thanks @RonnyPfannschmidt!

@nicoddemus nicoddemus merged commit 2c03000 into pytest-dev:features Jul 19, 2017
@RonnyPfannschmidt RonnyPfannschmidt deleted the fix-2573 branch November 13, 2017 10:06
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.

4 participants