Upgrade to Python 3.10.

Shapely doesn't have a Windows wheel on pypi yet, but we can get them
from https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely. This unblocks
(and because wheels are matched to python versions, *requires*)
upgrading to Python 3.10.
This commit is contained in:
Dan Albert 2021-11-21 11:25:29 -08:00
parent 7c4d1e2f60
commit 85e7b1762d
6 changed files with 107 additions and 107 deletions

View File

@ -10,10 +10,10 @@ jobs:
with: with:
submodules: true submodules: true
- name: Set up Python 3.9 - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.9 python-version: "3.10"
- name: Install environment - name: Install environment
run: | run: |

View File

@ -2,10 +2,9 @@ name: Release Pipeline
on: on:
push: push:
tags: [ '*' ] tags: ["*"]
jobs: jobs:
build: build:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
@ -13,10 +12,10 @@ jobs:
with: with:
submodules: true submodules: true
- name: Set up Python 3.9 - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.9 python-version: "3.10"
- name: Install environment - name: Install environment
run: | run: |
@ -96,7 +95,6 @@ jobs:
draft: false draft: false
prerelease: ${{ steps.version.outputs.prerelease }} prerelease: ${{ steps.version.outputs.prerelease }}
- uses: actions/upload-release-asset@v1 - uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -105,4 +103,3 @@ jobs:
asset_path: ./dcs_liberation.${{ steps.version.outputs.number }}.zip asset_path: ./dcs_liberation.${{ steps.version.outputs.number }}.zip
asset_name: dcs_liberation.${{ steps.version.outputs.number }}.zip asset_name: dcs_liberation.${{ steps.version.outputs.number }}.zip
asset_content_type: application/zip asset_content_type: application/zip

View File

@ -3,7 +3,6 @@ name: Test
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
@ -11,10 +10,10 @@ jobs:
with: with:
submodules: true submodules: true
- name: Set up Python 3.9 - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.9 python-version: "3.10"
- name: Install environment - name: Install environment
run: | run: |

View File

@ -35,7 +35,7 @@ pytest==7.0.1
python-dateutil==2.8.2 python-dateutil==2.8.2
pywin32-ctypes==0.2.0 pywin32-ctypes==0.2.0
PyYAML==6.0 PyYAML==6.0
Shapely==1.8.0 ./wheels/Shapely-1.8.0-cp310-cp310-win_amd64.whl
shiboken2==5.15.2.1 shiboken2==5.15.2.1
six==1.16.0 six==1.16.0
tabulate==0.8.9 tabulate==0.8.9

4
wheels/README.md Normal file
View File

@ -0,0 +1,4 @@
# Wheels
This directory contains Windows wheels for packages that do not yet have wheels
on PyPI. Wheels are downloaded from https://www.lfd.uci.edu/~gohlke/pythonlibs/.

Binary file not shown.