Skip to content

Commit

Permalink
Bump version 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Jan 4, 2025
1 parent ea4a57b commit 91221b7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@ In the future, when the authority reorganize administrative divisions, we need t
- Find the button "Xuất Excel".
- Tick the "Quận Huyện Phường Xã" checkbox.
- Click the button to export and download list of units in Excel (XLS) file.
- Use LibreOffice to convert Excel file to CSV file. For example, we name it *Xa_2023-05-07.csv*.
- Use LibreOffice to convert Excel file to CSV file. For example, we name it *Xa_2025-01-04.csv*.
- Run this tool to compute data to JSON format:

.. code-block:: sh
python3 -m dev -i dev/seed-data/Xa_2023-05-07.csv -o vietnam_provinces/data/nested-divisions.json
python3 -m dev -i dev/seed-data/Xa_2025-01-04.csv -o vietnam_provinces/data/nested-divisions.json
You can run

Expand All @@ -190,7 +190,7 @@ Generate Python code

.. code-block:: sh
python3 -m dev -i dev/seed-data/Xa_2023-05-07.csv -f python
python3 -m dev -i dev/seed-data/Xa_2025-01-04.csv -f python
Data source
Expand Down
11 changes: 5 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
[tox]
envlist = py37,py38,py39,py310,py311
envlist = py310,py311,py312,py313
isolated_build = True
skipsdist = True
skip_missing_interpreters = true

[testenv]
allowlist_externals = poetry
allowlist_externals = uv
commands =
poetry install --no-root -v
uv sync --no-install-project
pytest

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
2 changes: 1 addition & 1 deletion vietnam_provinces/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .base import VietNamDivisionType, Province, District, Ward


__version__ = '0.5.8'
__version__ = '0.6.0'
# Data retrieval date, in UTC
__data_version__ = '2025-01-04'
NESTED_DIVISIONS_JSON_PATH = Path(__file__).parent / 'data' / 'nested-divisions.json'
Expand Down

0 comments on commit 91221b7

Please sign in to comment.