Skip to content

Commit

Permalink
Reenable Python 3.12 wheel building (shapely#1893)
Browse files Browse the repository at this point in the history
* Reenable Python 3.12 wheel building
* Add Python 3.12 to tests.yml
* Ignore dateutil warning during tests

---------

Co-authored-by: Mike Taves <mwtoews@gmail.com>
  • Loading branch information
djhoese and mwtoews committed Sep 27, 2023
1 parent 24a71b4 commit 6ba799a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
uses: pypa/cibuildwheel@v2.16.0
env:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_SKIP: cp36-* pp* *musllinux* *-manylinux_i686 cp312-*
CIBW_SKIP: cp36-* pp* *musllinux* *-manylinux_i686
CIBW_ENVIRONMENT_LINUX:
GEOS_VERSION=${{ env.GEOS_VERSION }}
GEOS_INSTALL=/host${{ runner.temp }}/geos-${{ env.GEOS_VERSION }}
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,18 @@ jobs:
geos: 3.11.2
numpy: 1.23.4
# 2023
- python: "3.11"
- python: "3.12"
geos: 3.12.0
numpy: 1.24.4
numpy: 1.26.0
matplotlib: true
doctest: true
extra_pytest_args: "-W error" # error on warnings
# extra ignore for dateutil Python 3.12 warning fixed upstream (waiting on release 2.8.3+)
extra_pytest_args: "-W error -W ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning" # error on warnings
# dev
- python: "3.11"
- python: "3.12"
geos: main
extra_pytest_args: "-W error" # error on warnings
# extra ignore for dateutil Python 3.12 warning fixed upstream (waiting on release 2.8.3+)
extra_pytest_args: "-W error -W ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning" # error on warnings
# enable two 32-bit windows builds:
- os: windows-2019
architecture: x86
Expand Down Expand Up @@ -95,6 +97,7 @@ jobs:
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.architecture }}
allow-prereleases: true

- name: Cache GEOS and pip packages
uses: actions/cache@v3
Expand Down

0 comments on commit 6ba799a

Please sign in to comment.