Skip to content

Conversation

@eerovaher
Copy link
Member

Running Astropy tests with pytest-doctestplus 0.8.0 or pytest-cov 2.3.0 results in failure. This pull request updates the requirements so that they correspond to reality. See the commit messages for more details.

eerovaher added 2 commits June 2, 2021 23:28
The previous minimum required version was 2.0, and the minimum required
pytest version is 4.6. However, pytest-cov versions up to (and
including) 2.3.0 are incompatible with pytest starting from 4.0. The
minimum version actually required by Astropy tests is 2.3.1. See
pytest-dev/pytest-cov#125 for more details.
The previous minimum required version was 0.2.0. However, Astropy
documentation testing makes use of the '+SHOW_WARNINGS' option, which
was introduced by scientific-python/pytest-doctestplus#136 and therefore the
actual minimum required pytest-doctestplus version is 0.9.0.
Copy link
Member

@pllim pllim left a comment

Choose a reason for hiding this comment

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

Good catch. Probably an oversight for when we released packages like pytest-doctestplus and forgot to update this meta-package. And given pip often pulls the latest releases anyway, we don't notice when the minversions get out of date. Thank you very much!

@pllim pllim merged commit 20a9ff7 into astropy:main Jun 3, 2021
@eerovaher eerovaher deleted the update-requirements branch June 9, 2021 14:22
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