Commit db041b6
committed
fix!: replace v2 extra with compat-v2
The `v2` group of optional dependencies unfortunately results in an
issue when Pact Python is installed using `pip`, as `pip` tries to parse
the group name as if it were a version. To avoid this, the group has
been renamed to `compat-v2` which should bypass the version parsing.
While this is a bug in `pip`, pip comes pre-bundled in many situations
and is rarely at the latest version; so it is impractical to wait for
the upstream issue to be resolved.
BREAKING CHANGE: Installing Pact Python with v2 compatibility requires
`pip install 'pact-python[compat-v2]'`, and the old `pip install
'pact-python[v2]'` is no longer supported.
Fixes: #1275
Ref: pypa/packaging#938
Signed-off-by: JP-Ellis <[email protected]>1 parent 8b503a8 commit db041b6
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
0 commit comments