#1336 Document explicitly that %tox requires %pyproject_buildrequires -t/-e
Merged 2 months ago by churchyard. Opened 3 months ago by churchyard.
churchyard/packaging-committee tox_must  into  master

@@ -1049,7 +1049,7 @@ 

  A popular testing tool, and one which is well integrated in Fedora,

  is `+tox+`.

  Upstream, it is commonly used to test against multiple Python versions.

- In a Fedora package, BuildRequire test dependencies

+ In a Fedora package, BuildRequire test dependencies via `+%pyproject_buildrequires -t+` or `+-e+`

  (see _Test dependencies_ below)

  and run `+tox+` with:

  
@@ -1551,6 +1551,9 @@ 

  +

  Run tests using `+tox+`.

  +

+ This macro needs BuildRequires generated by the `+-t+` or `+-e+` option of

+ <<pyproject_buildrequires,the `+%pyproject_buildrequires+` macro>>.

+ +

  Different environments may be specified with `+-e+`, for example:

  +

  [source,spec]

Thank you, LGTM! That's perfect.

Pull-Request has been merged by churchyard

2 months ago
Metadata