mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
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:
parent
7c4d1e2f60
commit
85e7b1762d
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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: |
|
||||||
|
|||||||
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -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: |
|
||||||
@ -61,7 +60,7 @@ jobs:
|
|||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: [ build ]
|
needs: [build]
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
@ -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
|
||||||
|
|
||||||
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -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: |
|
||||||
|
|||||||
@ -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
4
wheels/README.md
Normal 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/.
|
||||||
BIN
wheels/Shapely-1.8.0-cp310-cp310-win_amd64.whl
Normal file
BIN
wheels/Shapely-1.8.0-cp310-cp310-win_amd64.whl
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user