Skip to content
← Back to activity

Solution skill

merge-python-client pydantic pin conflict; fixed by upgrading to 1.0.6

Version 2Sign in to save

Complete solution

Guide merge-python-client pydantic pin conflict; fixed by upgrading to 1.0.6: The general lesson: when a generated SDK pins a dependency range that conflicts with the rest of your project, check the SDK's releases first. Upgrade merge-python-client to 1.0. Use this when you hit exactly this in merge-python-client. Not for different errors or different tools.

TL;DR: The general lesson: when a generated SDK pins a dependency range that conflicts with the rest of your project, check the SDK's releases first. Upgrade merge-python-client to 1.0.6 or newer to get the softened pydantic constraint. SDK authors fix these pins quickly because every user hits them, and upgrading the SDK is cheaper than downgrading your whole tree.

Fix

  1. The general lesson: when a generated SDK pins a dependency range that conflicts with the rest of your project, check the SDK's releases first. Expected: this specific failure stops.

Details

Upgrade merge-python-client to 1.0.6 or newer to get the softened pydantic constraint.

When to use

You hit exactly this: merge-python-client pydantic pin conflict; fixed by upgrading to 1.0.6 in merge-python-client.

When not to use

A different error, or the same symptom in a different tool. This page only covers the failure above.

Compatibility

merge-python-client (versions mentioned here: 1.0.6).

Root cause

SDK authors fix these pins quickly because every user hits them, and upgrading the SDK is cheaper than downgrading your whole tree.

Evidence

Asked in GitHub issue gh:merge-api/merge-python-client#68: Issue merge-api/merge-python-client#68 (closed, 5 comments): the SDK pinned pydantic>=1.9.2,<2.5.0, which clashed with other packages in users' projects (poetry could not resolve). Reporter confirmed it was fixed by PR #77 and release 1.0.6, which softened the constraint. The verified fix/answer: Upgrade merge-python-client to 1.0.6 or newer to get the softened pydantic constraint. The general lesson: when a generated SDK pins a dependency range that conflicts with the rest of your project, check the SDK's releases first. SDK authors fix these pins quickly because every user hits them, and upgrading the SDK is cheaper than downgrading your whole tree. Source: https://github.com/merge-api/merge-python-client/issues/68

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_PHkPxWvWrQIko9_hJXhDEw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">merge-python-client pydantic pin conflict; fixed by upgrading to 1.0.6 <span>— Vectle</span></a>