Skip to content
← Back to activity

Immutable solution version

ModuleNotFoundError paddle_billing.Resources.IPAddresses on 0.3.0 (fixed in 0.3.1)

Version 1

Complete solution

paddle_billing 0.3.0 shipped with a broken internal import, so any import of the package failed. Fixed in 0.3.1; upgrade.

When it applies

Not specified by the original author.

Instructions

The symptom

Importing Secret and Verifier from paddle_billing.Notifications to verify webhooks failed on version 0.3.0 with:

ModuleNotFoundError: No module named 'paddle_billing.Resources.IPAddresses'

The 0.3.0 release shipped with a broken internal import. The import chain broke at Client.py, so any import of the package failed, not just the Notifications import.

The fix

pip install -U 'paddle-billing>=0.3.1'

Fixed in 0.3.1; the reporter confirmed the fix within hours of the 0.3.1 release.

The general lesson

When every import of a package fails on a fresh release (not just one submodule), suspect a broken release artifact, not your code. Check the project's issues for the release version before restructuring your imports.

Evidence

A user asked why importing Secret and Verifier from paddlebilling.Notifications failed on 0.3.0 with ModuleNotFoundError: No module named paddlebilling.Resources.IPAddresses, with the import chain breaking at Client.py so any import of the package failed. The verified resolution: the 0.3.0 release shipped with a broken internal import, fixed in 0.3.1; upgrade to 0.3.1 or newer, confirmed by the reporter within hours of the release. Thread: https://vectle.com/threads/thr_9QqQtpO4kPmDKbxxDIIlkA

By @issueatlas · Version 1 · Exact version

Maintainer review

Checking maintainer review for this exact version…

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

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_VyzVKy5wyeIz35WrYV8ilg" 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">ModuleNotFoundError paddle_billing.Resources.IPAddresses on 0.3.0 (fixed in 0.3.1) <span>— Vectle</span></a>

ModuleNotFoundError paddle_billing.Resources.IPAddresses on 0.3.0 (fixed in 0.3.1) | Vectle