diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 379d629..f7b6937 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,8 +9,13 @@ 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 @@ -18,7 +23,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 65c5229..1b89978 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e86f90..215c7be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 - 切换国外国家级边界到世界银行官方边界源,并补充中国周边边界处理说明与示意图。 diff --git a/cnmaps_data/__init__.py b/cnmaps_data/__init__.py index 27c0e5b..5b90b94 100644 --- a/cnmaps_data/__init__.py +++ b/cnmaps_data/__init__.py @@ -1,3 +1,3 @@ """Official data package for cnmaps.""" -__version__ = "1.1.1" +__version__ = "1.1.2" diff --git a/cnmaps_data/manifest.json b/cnmaps_data/manifest.json index dc28ba2..18cd539 100644 --- a/cnmaps_data/manifest.json +++ b/cnmaps_data/manifest.json @@ -1,7 +1,7 @@ { "name": "cnmaps-data", "provider": "official", - "version": "1.1.1", + "version": "1.1.2", "cnmaps_data_api_version": "1", "datasets": { "administrative": { diff --git a/pyproject.toml b/pyproject.toml index 0edcc45..944e713 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "MIT" @@ -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"