Commit 092d9ac
committed
📦 Pass desired release to PEP 517 tox env
This patch fixes passing the release version string from the release
automation script to the tox's PEP 517 frontend, so that the backend
machinery bits (namely, `setuptools-scm`) could access the environment
variable; as indentified in the attempt to release pytest v9.0.1 [[1]].
The solution uses the `[pkgenv]` section of `tox.ini` that corresponds
to the PEP 517 build env tox manages internally.
[1]: https://github.com/pytest-dev/pytest/pull/13928/files#r2514197778
(cherry picked from commit bc0db40)1 parent 0fa11ae commit 092d9ac
1 file changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
26 | 46 | | |
27 | 47 | | |
28 | 48 | | |
| |||
49 | 69 | | |
50 | 70 | | |
51 | 71 | | |
52 | | - | |
53 | 72 | | |
54 | 73 | | |
55 | 74 | | |
| |||
141 | 160 | | |
142 | 161 | | |
143 | 162 | | |
144 | | - | |
145 | | - | |
146 | 163 | | |
147 | 164 | | |
148 | 165 | | |
| |||
0 commit comments