You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
allow defining negative conditional factors with a leading ! (tox-dev#694)
* allow defining negative conditional factors with a leading ! * add negated factor conditions changelog entry * touch up the `package_formats` idea feature draft docs - moved `package_formats` related config settings together in the example - simplified the envlist declaration - added missing expected output line * touch up factor condition config to env matching docs * add negated factor conditions docs * add Jurko to the CONTRIBUTORS file
Copy file name to clipboardExpand all lines: doc/drafts/extend-envs-and-packagebuilds.md
+19-3Lines changed: 19 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Goal: drive building of packages and the environments needed to test them, exerc
18
18
19
19
It should be possible to build other kinds of packages than just the standard sdist and it should also be possible to create different kinds of builds that can be used from different environments. To make this possible there has to be some concept of factorized package definitions and a way to match these factorized builds to environments with a similar way of matching like what is in place already to generate environments. sdist would for example would match to a "sdist" factor to only be matched against virtualenvs as the default.
20
20
21
-
This could then be used to hae virtualenv, conda, nixos, docker, pyenv, rpm, deb, etc. builds and tie them to concrete test environments.
21
+
This could then be used to have virtualenv, conda, nixos, docker, pyenv, rpm, deb, etc. builds and tie them to concrete test environments.
22
22
23
23
To summarize - we would need a:
24
24
@@ -114,19 +114,35 @@ Illustrate how to exclude a certain package format for a factor:
114
114
```ini
115
115
[tox]
116
116
plugins=conda
117
-
envlist={py27,py35}, py27-xdist
117
+
envlist=py27,py35,py27-xdist
118
118
119
119
[testenv]
120
-
package_formats=sdist wheel conda
121
120
commands = py.test
121
+
package_formats=sdist wheel conda
122
122
exclude_package_formats= # new option which filters out packages
123
123
py27-xdist: wheel
124
124
```
125
125
126
+
or possibly using the negated factor condition support:
0 commit comments