Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,21 @@ on:

jobs:
check:
name: Lint, validate and build
runs-on: ubuntu-latest
name: Lint, validate and build (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.14"

- name: Install build backend
run: python -m pip install --upgrade build
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

`cnmaps-data` 的重要变更会记录在这里。

## 1.1.2

- 放宽 Python 版本约束,默认不再因为未来 Python 3.x 新版本发布而阻塞安装。
- 将 `tqdm` 从运行时依赖调整为仅开发依赖,避免普通用户安装时引入不必要的额外依赖。
- 将 CI 扩展为在 Ubuntu、macOS、Windows 上覆盖 Python 3.9-3.14。

## 1.1.1

- 切换国外国家级边界到世界银行官方边界源,并补充中国周边边界处理说明与示意图。
Expand Down
2 changes: 1 addition & 1 deletion cnmaps_data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Official data package for cnmaps."""

__version__ = "1.1.1"
__version__ = "1.1.2"
2 changes: 1 addition & 1 deletion cnmaps_data/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cnmaps-data",
"provider": "official",
"version": "1.1.1",
"version": "1.1.2",
"cnmaps_data_api_version": "1",
"datasets": {
"administrative": {
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cnmaps-data"
version = "1.1.1"
version = "1.1.2"
description = "Official data package for cnmaps"
authors = ["Clarmy <clarmyleewt@gmail.com>"]
license = "MIT"
Expand All @@ -15,12 +15,12 @@ include = [
exclude = ["**/.DS_Store"]

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
tqdm = "^4.67.1"
python = ">=3.9"

[tool.poetry.group.dev.dependencies]
flake8 = "^7.3.0"
build = "^1.4.2"
tqdm = "^4.67.1"

[tool.poetry.scripts]
cnmaps-data-check = "cnmaps_data.checker:main"
Expand Down
Loading