inveniosoftware / pytest-invenio

Pytest fixtures for Invenio.
https://pytest-invenio.readthedocs.io
Other
3 stars 22 forks source link

fix: pytest-pydocstyle 2.3 requires pytest 7 #85

Closed greut closed 2 years ago

greut commented 2 years ago

:heart: Thank you for your contribution!

Description

Pulling pytest-invenio from requirements-builder fails with

pkg_resources.ContextualVersionConflict: (pytest 6.2.5 (/home/yoan/soft/requirements-builder/.eggs/pytest-6.2.5-py3.10.egg), Requirement.parse('pytest>=7.0'), {'pytest-pydocstyle', 'pytest-pycodestyle'})

https://github.com/henry0312/pytest-pydocstyle/releases/tag/v2.3.0

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Third-party code

If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.
greut commented 2 years ago

pytest-pycodestyle has the same issue.

ntarocco commented 2 years ago

Hello, thank you for your PR! In general, if possible, we prefer to avoid upper pins whenever possible so that we can keep updating modules as soon as there is a change. I am closing this PR in favour of this commit: https://github.com/inveniosoftware/pytest-invenio/commit/59afe4922a1cab43dcb00637e9a95eabfd050d58