-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* python 3.10 * deprecate python 3.6 * add musllinux
- Loading branch information
1 parent
84defd1
commit ae04748
Showing
4 changed files
with
41 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ jobs: | |
name: Build wheels for manylinux_2_24 | ||
runs-on: ubuntu-latest | ||
env: | ||
CIBW_SKIP: pp* cp27-* cp35-* *-i686 | ||
CIBW_SKIP: pp* cp27-* cp35-* cp36-* *-i686 *musllinux* | ||
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_24 | ||
CIBW_MANYLINUX_I686_IMAGE: manylinux_2_24 | ||
CIBW_BEFORE_ALL_LINUX: apt-get update -y && apt-get install libsqlite3-dev | ||
|
@@ -22,7 +22,7 @@ jobs: | |
python-version: '3.8' | ||
|
||
- name: Build wheels | ||
uses: pypa/cibuildwheel@v1.12.0 | ||
uses: pypa/cibuildwheel@v2.3.1 | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
|
@@ -32,7 +32,7 @@ jobs: | |
name: Build wheels for manylinux2014 | ||
runs-on: ubuntu-latest | ||
env: | ||
CIBW_SKIP: pp* cp27-* cp35-* *-i686 | ||
CIBW_SKIP: pp* cp27-* cp35-* cp36-* *-i686 *musllinux* | ||
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 | ||
CIBW_MANYLINUX_I686_IMAGE: manylinux2014 | ||
CIBW_BEFORE_ALL_LINUX: yum install -y sqlite-devel | ||
|
@@ -48,19 +48,43 @@ jobs: | |
python-version: '3.8' | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
uses: pypa/[email protected] | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
|
||
build_linux_wheels_musllinux_x86_64: | ||
name: Build wheels for musllinux_x86_64 (alpine) | ||
runs-on: ubuntu-latest | ||
env: | ||
CIBW_BUILD: "*musllinux*" | ||
CIBW_BEFORE_ALL_LINUX: apk add sqlite-dev | ||
CIBW_BEFORE_BUILD: pip install setuptools scikit-build wheel cmake | ||
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: '3.8' | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
|
||
build_windows_wheels: | ||
name: Build wheels on windows-latest | ||
runs-on: windows-latest | ||
runs-on: windows-2019 | ||
env: | ||
CMAKE_GENERATOR: "Visual Studio 16 2019" | ||
SQLite3_ROOT: "C:/vcpkg/installed/x64-windows" | ||
CIBW_SKIP: cp27-* cp35-* *-win32 | ||
CIBW_SKIP: cp27-* cp35-* cp36-* *-win32 | ||
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()" | ||
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair --add-path C:/vcpkg/installed/x64-windows/bin --no-mangle-all -v -w {dest_dir} {wheel}" | ||
|
||
|
@@ -79,20 +103,20 @@ jobs: | |
dir "C:/vcpkg/installed/x64-windows/bin" | ||
- name: Build wheels | ||
uses: pypa/cibuildwheel@v1.12.0 | ||
uses: pypa/cibuildwheel@v2.3.1 | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
|
||
build_windows_32_wheels: | ||
name: Build 32bit wheels on windows-latest | ||
runs-on: windows-latest | ||
runs-on: windows-2019 | ||
env: | ||
CMAKE_GENERATOR: "Visual Studio 16 2019" | ||
CMAKE_GENERATOR_PLATFORM: "Win32" | ||
SQLite3_ROOT: "C:/vcpkg/installed/x86-windows" | ||
CIBW_SKIP: cp27-* cp35-* pp* *-win_amd64 | ||
CIBW_SKIP: cp27-* cp35-* cp36-* pp* *-win_amd64 | ||
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()" | ||
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair --add-path C:/vcpkg/installed/x86-windows/bin --no-mangle-all -v -w {dest_dir} {wheel}" | ||
|
||
|
@@ -112,7 +136,7 @@ jobs: | |
dir "C:/vcpkg/installed/x86-windows/bin" | ||
- name: Build wheels | ||
uses: pypa/cibuildwheel@v1.12.0 | ||
uses: pypa/cibuildwheel@v2.3.1 | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
|
@@ -123,7 +147,7 @@ jobs: | |
runs-on: macos-latest | ||
env: | ||
SQLite3_ROOT: /usr/local/opt/sqlite | ||
CIBW_SKIP: cp27-* cp35-* | ||
CIBW_SKIP: cp27-* cp35-* cp36-* | ||
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()" | ||
|
||
steps: | ||
|
@@ -140,7 +164,7 @@ jobs: | |
pip install setuptools scikit-build wheel cmake nose2 | ||
- name: Build wheels | ||
uses: pypa/cibuildwheel@v1.12.0 | ||
uses: pypa/cibuildwheel@v2.3.1 | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
|
@@ -170,7 +194,7 @@ jobs: | |
path: dist/*.tar.gz | ||
|
||
upload_pypi: | ||
needs: [build_windows_wheels, build_linux_wheels_manylinux_2_24, build_linux_wheels_manylinux2014, build_macos_wheels, build_sdist] | ||
needs: [build_windows_wheels, build_linux_wheels_manylinux_2_24, build_linux_wheels_manylinux2014, build_linux_wheels_musllinux_x86_64, build_macos_wheels, build_sdist] | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
__description__ = 'Diff tool for geo-spatial data' | ||
__url__ = 'https://github.com/lutraconsulting/geodiff' | ||
# use scripts/update_version.py to update the version here and in other places at once | ||
__version__ = '1.0.5' | ||
__version__ = '1.0.6' | ||
__author__ = 'Peter Petrik' | ||
__author_email__ = '[email protected]' | ||
__maintainer__ = 'Peter Petrik' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters