hdx-python-country 4.2.6__tar.gz → 4.2.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/.github/workflows/publish.yaml +2 -2
  2. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/.github/workflows/run-python-tests.yaml +4 -4
  3. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/.pre-commit-config.yaml +2 -2
  4. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/PKG-INFO +2 -2
  5. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/pyproject.toml +2 -2
  6. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/src/hdx/location/Countries & Territories Taxonomy MVP - C&T Taxonomy.csv +255 -255
  7. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/src/hdx/location/__init__.py +0 -0
  8. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/src/hdx/location/_version.py +2 -2
  9. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/src/hdx/location/adminlevel.py +22 -24
  10. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/src/hdx/location/country.py +33 -33
  11. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/src/hdx/location/currency.py +33 -36
  12. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/src/hdx/location/int_timestamp.py +1 -1
  13. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/src/hdx/location/wfp_api.py +2 -2
  14. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/hdx/location/Countries_UZB_Deleted.csv +254 -254
  15. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/hdx/location/__init__.py +0 -0
  16. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/hdx/location/test_adminlevel.py +399 -399
  17. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/hdx/location/test_country.py +24 -24
  18. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/hdx/location/test_currency.py +0 -0
  19. hdx_python_country-4.2.8/tests/hdx/location/test_wfp_exchangerates.py +71 -0
  20. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/uv.lock +185 -182
  21. hdx_python_country-4.2.6/tests/hdx/location/test_wfp_exchangerates.py +0 -69
  22. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/.gitignore +0 -0
  23. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/LICENSE +0 -0
  24. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/README.md +0 -0
  25. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/documentation/.readthedocs.yaml +0 -0
  26. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/documentation/index.md +0 -0
  27. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/documentation/mkdocs.yaml +0 -0
  28. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/src/hdx/location/wfp_exchangerates.py +0 -0
  29. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/adminlevel.yaml +0 -0
  30. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/adminlevelparent.yaml +0 -0
  31. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/fixtures-download-global-pcode-lengths.csv +0 -0
  32. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/fixtures-download-global-pcodes-adm-1-2.csv +0 -0
  33. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/secondary_historic_rates.csv +0 -0
  34. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/secondary_rates.json +0 -0
  35. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_List_1.json +0 -0
  36. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_List_2.json +0 -0
  37. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_UsdIndirectQuotation_1.json +0 -0
  38. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_UsdIndirectQuotation_10.json +0 -0
  39. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_UsdIndirectQuotation_2.json +0 -0
  40. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_UsdIndirectQuotation_3.json +0 -0
  41. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_UsdIndirectQuotation_4.json +0 -0
  42. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_UsdIndirectQuotation_5.json +0 -0
  43. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_UsdIndirectQuotation_6.json +0 -0
  44. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_UsdIndirectQuotation_7.json +0 -0
  45. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_UsdIndirectQuotation_8.json +0 -0
  46. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Currency_UsdIndirectQuotation_9.json +0 -0
  47. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Markets_List_AFG_1.json +0 -0
  48. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/fixtures/wfp/Markets_List_AFG_2.json +0 -0
  49. {hdx_python_country-4.2.6 → hdx_python_country-4.2.8}/tests/hdx/location/conftest.py +0 -0
@@ -17,7 +17,7 @@ jobs:
17
17
  contents: read
18
18
 
19
19
  steps:
20
- - uses: actions/checkout@v6
20
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
21
21
 
22
22
  - name: Get history and tags for versioning to work
23
23
  run: |
@@ -25,7 +25,7 @@ jobs:
25
25
  git fetch --depth=1 origin +refs/tags/*:refs/tags/*
26
26
 
27
27
  - name: Install uv
28
- uses: astral-sh/setup-uv@v7
28
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
29
29
 
30
30
  - name: Build with uv
31
31
  run: uv build
@@ -16,10 +16,10 @@ jobs:
16
16
  pull-requests: write
17
17
 
18
18
  steps:
19
- - uses: actions/checkout@v6
19
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20
20
 
21
21
  - name: Install uv
22
- uses: astral-sh/setup-uv@v7
22
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
23
23
  with:
24
24
  enable-cache: true
25
25
  python-version: "3.13"
@@ -36,13 +36,13 @@ jobs:
36
36
  run: uv run pytest
37
37
 
38
38
  - name: Publish Unit Test Results
39
- uses: EnricoMi/publish-unit-test-result-action@v2
39
+ uses: EnricoMi/publish-unit-test-result-action@7622c5bf3d112a72ab4fa3951c2aa5723d8ab92d # v2.25.0
40
40
  if: success()
41
41
  with:
42
42
  files: test-results.xml
43
43
 
44
44
  - name: Publish in Coveralls
45
- uses: coverallsapp/github-action@v2
45
+ uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8
46
46
  if: always()
47
47
  with:
48
48
  flag-name: tests
@@ -10,7 +10,7 @@ repos:
10
10
  - id: check-ast
11
11
 
12
12
  - repo: https://github.com/astral-sh/ruff-pre-commit
13
- rev: v0.14.13
13
+ rev: v0.17.3
14
14
  hooks:
15
15
  # Run the linter.
16
16
  - id: ruff-check
@@ -19,7 +19,7 @@ repos:
19
19
  - id: ruff-format
20
20
 
21
21
  - repo: https://github.com/astral-sh/uv-pre-commit
22
- rev: 0.9.25
22
+ rev: 0.13.6
23
23
  hooks:
24
24
  # Ensure the lockfile is up-to-date with pyproject.toml
25
25
  - id: uv-lock
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: hdx-python-country
3
- Version: 4.2.6
3
+ Version: 4.2.8
4
4
  Summary: HDX Python country code and exchange rate (fx) utilities
5
5
  Project-URL: Homepage, https://github.com/OCHA-DAP/hdx-python-country
6
6
  Project-URL: Repository, https://github.com/OCHA-DAP/hdx-python-country
@@ -26,7 +26,7 @@ Classifier: Programming Language :: Python :: 3.13
26
26
  Classifier: Programming Language :: Python :: 3.14
27
27
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
28
  Requires-Python: >=3.11
29
- Requires-Dist: hdx-python-utilities<5,>=4.2.5
29
+ Requires-Dist: hdx-python-utilities<5,>=4.2.6
30
30
  Requires-Dist: tenacity
31
31
  Provides-Extra: docs
32
32
  Requires-Dist: mkapi; extra == 'docs'
@@ -35,7 +35,7 @@ dynamic = ["version"]
35
35
  requires-python = ">=3.11"
36
36
 
37
37
  dependencies = [
38
- "hdx-python-utilities>=4.2.5,<5",
38
+ "hdx-python-utilities>=4.2.6,<5",
39
39
  "tenacity",
40
40
  ]
41
41
 
@@ -48,7 +48,7 @@ dev = [
48
48
  "pytest",
49
49
  "pytest-cov",
50
50
  "pre-commit",
51
- "ruff==0.14.13",
51
+ "ruff==0.17.3",
52
52
  "data-bridges-client>=9.0.0,<10",
53
53
  ]
54
54