Skip to content

Update for darkseid Price metadata breaking change#242

Merged
bpepple merged 2 commits intomainfrom
dev
May 1, 2026
Merged

Update for darkseid Price metadata breaking change#242
bpepple merged 2 commits intomainfrom
dev

Conversation

@bpepple
Copy link
Copy Markdown
Member

@bpepple bpepple commented May 1, 2026

Summary

  • Remove map_currency_to_country helper and pass price_currency directly to Price, matching darkseid's updated Price(amount, currency) signature which now expects an ISO 4217 currency code instead of a country code
  • Remove test_metadata_mapper_map_currency_to_country test and update price assertion to check currency == "USD" instead of country == "US"
  • Update deps

bpepple added 2 commits May 1, 2026 09:59
darkseid's Price class now takes an ISO 4217 currency code directly instead of a country code, so remove the map_currency_to_country conversion and pass price_currency through unchanged.
@bpepple bpepple self-assigned this May 1, 2026
@bpepple bpepple added the dependencies Pull requests that update a dependency file label May 1, 2026
@bpepple bpepple merged commit 0a51082 into main May 1, 2026
13 checks passed
@bpepple bpepple deleted the dev branch May 1, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant