Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STCOM-1379 pin currency-codes to avoid unexpected dupes #2383

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

zburke
Copy link
Member

@zburke zburke commented Nov 1, 2024

Data that was uniquely keyed up through v2.1.0 is not so in v2.2.0 (there are multiple entries for the currency Bolívar Soberano). It is not clear if the uniqueness property was intentional or incidental (see freeall/currency-codes#46).

Since we have tests that directly rely on the data we import, we should always depend on a specific version in order to avoid this kind of problem, and so we can choose when to address it instead of being forced to address it whenever the third-party dependency happens to publish a new release.

Refs STCOM-1379

Data that was uniquely keyed up through `v2.1.0` is not so in `v2.2.0`
(there are multiple entries for the currency `Bolívar Soberano`). It is
not clear if the uniqueness property was intentional or incidental.

Since we have tests that directly rely on the data we import, we should
_always_ depend on a specific version in order to avoid this kind of
problem, and so we can choose when to address it instead of being forced
to address it whenever the third-party dependency happens to publish a
new release.

Refs STCOM-1379
@zburke zburke requested a review from JohnC-80 November 1, 2024 18:29
Copy link

github-actions bot commented Nov 1, 2024

Bigtest Unit Test Results

    1 files  ±0      1 suites  ±0   15s ⏱️ ±0s
1 531 tests +3  1 523 ✅ +3  8 💤 ±0  0 ❌ ±0 
1 533 runs  +3  1 525 ✅ +3  8 💤 ±0  0 ❌ ±0 

Results for commit a9c5981. ± Comparison against base commit 70b9605.

Copy link

sonarqubecloud bot commented Nov 1, 2024

@zburke zburke merged commit 651f68c into master Nov 1, 2024
15 checks passed
@zburke zburke deleted the STCOM-1379 branch November 1, 2024 19:57
github-actions bot pushed a commit that referenced this pull request Nov 1, 2024
Data that was uniquely keyed up through `v2.1.0` is not so in `v2.2.0`
(there are multiple entries for the currency `Bolívar Soberano`). It is
not clear if the uniqueness property was intentional or incidental.

Since we have tests that directly rely on the data we import, we should
_always_ depend on a specific version in order to avoid this kind of
problem, and so we can choose when to address it instead of being forced
to address it whenever the third-party dependency happens to publish a
new release.

Refs STCOM-1379
zburke added a commit that referenced this pull request Nov 8, 2024
Data that was uniquely keyed up through `v2.1.0` is not so in `v2.2.0`
(there are multiple entries for the currency `Bolívar Soberano`). It is
not clear if the uniqueness property was intentional or incidental.

Since we have tests that directly rely on the data we import, we should
_always_ depend on a specific version in order to avoid this kind of
problem, and so we can choose when to address it instead of being forced
to address it whenever the third-party dependency happens to publish a
new release.

Refs STCOM-1379

(cherry picked from commit 651f68c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants