pytest-dev / pytest

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
https://pytest.org
MIT License
11.62k stars 2.58k forks source link

@RonnyPfannschmidt this results in the `|release|` RST substitution having the value of `8.2` which might have a weird perception in changelog draft titles: https://docs.pytest.org/en/8.2.x/changelog.html#to-be-included-in-vrelease-if-present / https://docs.pytest.org/en/latest/changelog.html#to-be-included-in-vrelease-if-present. #12538

Open RonnyPfannschmidt opened 6 days ago

RonnyPfannschmidt commented 6 days ago

@RonnyPfannschmidt this results in the |release| RST substitution having the value of 8.2 which might have a weird perception in changelog draft titles: https://docs.pytest.org/en/8.2.x/changelog.html#to-be-included-in-vrelease-if-present / https://docs.pytest.org/en/latest/changelog.html#to-be-included-in-vrelease-if-present.

Should this be something like +dev in the end but without a variable component, something static? Though, perhaps in RTD it'd be okay to use the long original version.

_Ursprünglich gepostet von @webknjaz in https://github.com/pytest-dev/pytest/pull/12467#discussion_r1654683921_

webknjaz commented 6 days ago

I filed an upstream issue on letting these not influence the caching mechanism: https://github.com/sphinx-doc/sphinx/issues/12480.