uv/crates/uv
konsti 5493deff65
Fix marker merging for requirements.txt for psycopg (#11298)
Given an input in the shape:

```
foo[bar]==1.0.0; sys_platform == 'linux'
foo==1.0.0; sys_platform != 'linux'
```

We would write either

```
foo==1.0.0; sys_platform == 'linux'
```
or
```
foo==1.0.0
```

depending on the iteration order, as the first one is from the marker
proxy package and the second one from the package without marker.

The fix correctly merges graph entries when there are two nodes with
different extras and different markers.

I tried to write a packse test but it failed due to a different
iteration order showing the correct case directly instead of the failing
one we'd need.

Only `strip_extras` is affected, since `combine_extras` uses
`version_marker`.
2025-02-06 22:31:53 +01:00
..
src Acquire reporter lock once (#11278) 2025-02-06 09:49:44 +00:00
tests/it Fix marker merging for requirements.txt for psycopg (#11298) 2025-02-06 22:31:53 +01:00
Cargo.toml Bump version to 0.5.29 (#11267) 2025-02-05 19:59:29 -05:00