Skip to content

Commit

Permalink
Prep for 4.0.0b2 release supporting py3.11 (#297)
Browse files Browse the repository at this point in the history
* prep for 4.0.0b2 release supporting py3.11

* update [email protected]

* update a few actions

* actions/[email protected]

* ilammy/[email protected]

* docker/[email protected]

* changelog
  • Loading branch information
ajfriend authored Nov 24, 2022
1 parent 939ebaa commit 3eece40
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coverage-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: tests

on:
push:
branches: [master, dev_v4]
branches: [master]
pull_request:
branches: [master, dev_v4]
branches: [master]

jobs:
tests:
Expand All @@ -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
Expand All @@ -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
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -183,6 +186,6 @@ jobs:
name: artifact
path: dist

- uses: pypa/[email protected].0
- uses: pypa/[email protected].1
with:
password: ${{ secrets.pypi_password }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down
3 changes: 2 additions & 1 deletion src/h3/_version.py
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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',
Expand Down

0 comments on commit 3eece40

Please sign in to comment.