Skip to content

Compatibility with pytest 5.1 #63

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 5 commits into from
Aug 16, 2019
Merged

Conversation

pllim
Copy link
Contributor

@pllim pllim commented Aug 16, 2019

See https://github.com/pytest-dev/pytest/releases/tag/5.1.0 . This is to fix:

E   AttributeError: 'FixtureRequest' object has no attribute 'getfuncargvalue'

Example log: https://circleci.com/gh/astropy/astropy/40431

p.s. How far back do we need to be backward compatible? Or is a simple renaming like this okay?

xref pytest-dev/pytest#2682

@pllim pllim requested review from astrofrog and bsipocz August 16, 2019 18:57
@bsipocz
Copy link
Member

bsipocz commented Aug 16, 2019

I don't know what to do with appveyor, it's quite annoyingly broken upstream.

@bsipocz
Copy link
Member

bsipocz commented Aug 16, 2019

The travis matrix needs to be revised, too. Sadly we don't seem to test against the latest 5.+ pytest versions...

@pllim
Copy link
Contributor Author

pllim commented Aug 16, 2019

I updated the Travis matrix and skipped Appveyor. 😬

@pllim
Copy link
Contributor Author

pllim commented Aug 16, 2019

I made the pytest warning check super strict but it still didn't catch the deprecation warning. 🤷‍♀

@bsipocz
Copy link
Member

bsipocz commented Aug 16, 2019

Yeah, not sure why it does it, I recall seeing RemovedInPytest4Warning before.

@bsipocz
Copy link
Member

bsipocz commented Aug 16, 2019

Anyway, I don't see a reason to not to merge this asap, but we need to fix the windows testing before going ahead with a new release. In the meantime, I suppose, we need to limit pytest version for the astropy CI.

@pllim
Copy link
Contributor Author

pllim commented Aug 16, 2019

Sounds like a plan. Thanks!

@bsipocz bsipocz merged commit 50dba35 into scientific-python:master Aug 16, 2019
@bsipocz
Copy link
Member

bsipocz commented Aug 16, 2019

Thanks @pllim!

@pllim pllim deleted the pytest-5.1 branch August 16, 2019 20:53
lpsinger added a commit to lpsinger/ligo.skymap that referenced this pull request Aug 28, 2019
@pllim pllim mentioned this pull request Aug 28, 2019
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