diff --git a/.github/workflows/coverage-lint.yml b/.github/workflows/coverage-lint.yml index 6d33368b..a43ba663 100644 --- a/.github/workflows/coverage-lint.yml +++ b/.github/workflows/coverage-lint.yml @@ -2,9 +2,9 @@ name: coverage-lint on: push: - branches: [master, dev_v4] + branches: [master] pull_request: - branches: [master, dev_v4] + branches: [master] jobs: tests: @@ -16,7 +16,7 @@ jobs: with: submodules: recursive - - uses: actions/setup-python@v3.1.1 + - uses: actions/setup-python@v4.3.0 with: python-version: 3.8 diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 360dc002..7d8e8893 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -18,7 +18,7 @@ jobs: with: submodules: recursive - - uses: actions/setup-python@v3.1.1 + - uses: actions/setup-python@v4.3.0 with: python-version: 3.8 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 072e21ca..3275d568 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,9 +2,9 @@ name: tests on: push: - branches: [master, dev_v4] + branches: [master] pull_request: - branches: [master, dev_v4] + branches: [master] jobs: tests: @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest, ubuntu-latest] - python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] exclude: - os: windows-latest python-version: 2.7 @@ -26,12 +26,12 @@ jobs: with: submodules: recursive - - uses: actions/setup-python@v3.1.1 + - uses: actions/setup-python@v4.3.0 with: python-version: "${{ matrix.python-version }}" ## Start Windows stuff - - uses: ilammy/msvc-dev-cmd@v1.10.0 + - uses: ilammy/msvc-dev-cmd@v1.12.0 if: startsWith(matrix.os, 'windows') - name: Set Windows Compiler diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index a02f51d5..64ef1086 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -2,9 +2,9 @@ name: wheels on: push: - branches: [master, dev_v4] + branches: [master] pull_request: - branches: [master, dev_v4] + branches: [master] types: # Opened, synchronize, and reopened are the default types # We add ready_for_review to additionally trigger when converting from draft to non-draft @@ -33,7 +33,7 @@ jobs: submodules: recursive - name: Setup Python - uses: actions/setup-python@v3.1.2 + uses: actions/setup-python@v4.3.0 - name: Make sdist run: | @@ -128,6 +128,9 @@ jobs: - os: ubuntu-latest build: "cp310-manylinux_aarch64" name: Linux Aarch64 3.10 + - os: ubuntu-latest + build: "cp311-manylinux_aarch64" + name: Linux Aarch64 3.11 steps: - uses: actions/checkout@v3 @@ -136,7 +139,7 @@ jobs: ## Setup Env - - uses: ilammy/msvc-dev-cmd@v1.10.0 + - uses: ilammy/msvc-dev-cmd@v1.12.0 if: runner.os == 'Windows' - name: Set Windows variables @@ -148,13 +151,13 @@ jobs: - name: Set up QEMU if: runner.os == 'Linux' - uses: docker/setup-qemu-action@v1.2.0 + uses: docker/setup-qemu-action@v2.1.0 with: platforms: aarch64 ## Build - - uses: pypa/cibuildwheel@v2.4.0 + - uses: pypa/cibuildwheel@v2.11.2 env: CIBW_TEST_REQUIRES: pytest numpy CIBW_TEST_COMMAND: pytest {project}/tests @@ -183,6 +186,6 @@ jobs: name: artifact path: dist - - uses: pypa/gh-action-pypi-publish@v1.5.0 + - uses: pypa/gh-action-pypi-publish@v1.5.1 with: password: ${{ secrets.pypi_password }} diff --git a/CHANGELOG.md b/CHANGELOG.md index d5fba1af..7fb30c6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,10 @@ avoid adding features or APIs which do not map onto the - None +## [4.0.0b2] - 2022-11-23 + +- Build Python 3.11 wheels (#297) + ## [4.0.0b1] - 2022-08-23 Beta release; feedback welcome! diff --git a/src/h3/_version.py b/src/h3/_version.py index 55bd81ec..56fe6870 100644 --- a/src/h3/_version.py +++ b/src/h3/_version.py @@ -1,4 +1,4 @@ -__version__ = '4.0.0b1' +__version__ = '4.0.0b2' __description__ = 'Hierarchical hexagonal geospatial indexing system' __url__ = 'https://github.com/uber/h3-py' __license__ = 'Apache 2.0 License' @@ -18,6 +18,7 @@ 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX :: Linux', 'Operating System :: Microsoft :: Windows',