Skip to content

Commit

Permalink
Version 0.4.2: Support Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Jul 10, 2021
1 parent 31f771b commit 04f0b38
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
PLATFORM: ${{ matrix.platform }}
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Install
pip3 install vietnam-provinces
This library is compatible with Python 3.7+ (due to the use of *dataclass*).
This library is compatible with Python 3.6+.


Development
Expand Down
2 changes: 1 addition & 1 deletion README.vi_VN.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Cài đặt
pip3 install vietnam-provinces
Thư viện này tương thích với Python 3.7 trở lên (do có sử dụng *dataclass*).
Thư viện này tương thích với Python 3.6 trở lên.


Phát triển
Expand Down
18 changes: 16 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "vietnam-provinces"
version = "0.4.1"
version = "0.4.2"
description = "Library to provide list of Vietnam administrative divisions (tỉnh thành, quận huyện, phường xã)."
authors = ["Nguyễn Hồng Quân <ng.hong.quan@gmail.com>"]
repository = "https://github.com/sunshine-tech/VietnamProvinces.git"
Expand All @@ -21,11 +21,12 @@ classifiers = [
]

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.6.1"
logbook = "^1.5.3"
single-version = "^1.5.1"
Unidecode = "^1.1.2"
fast-enum = "^1.3.0"
dataclasses = { version = "^0.8", markers = "python_version < '3.7'" }


[tool.poetry.dev-dependencies]
Expand All @@ -36,7 +37,7 @@ astor = "^0.8.1"
python-rapidjson = "^0.9.1"
requests = "^2.23.0"
click = "^7.0"
pydantic = "^1.7.3"
pydantic = "^1.8.2"
black = "^20.8b1"

[build-system]
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[tox]
envlist = py37,py38,py39
envlist = py36,py37,py38,py39
isolated_build = True
skipsdist = True
skip_missing_interpreters = true

[testenv]
deps=
py36: pip >= 20
whitelist_externals = poetry
commands =
poetry install -v
Expand Down

0 comments on commit 04f0b38

Please sign in to comment.