Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0cc6662
add setTablesToInclude to Context along with checks that is not set a…
JanCaha Jun 11, 2026
948fb61
passing empty array clears the list and sets the TablesFilterMode to…
JanCaha Jun 11, 2026
2c112cd
rename enum value
JanCaha Jun 11, 2026
ea24f52
add to C interface
JanCaha Jun 11, 2026
4efc407
update cli
JanCaha Jun 11, 2026
23e3d83
add include tables to python API
JanCaha Jun 11, 2026
7d078fc
add tests
JanCaha Jun 11, 2026
c536deb
black
JanCaha Jun 11, 2026
22bb793
fix ci
JanCaha Jun 11, 2026
d03073e
try update visual studio
JanCaha Jun 11, 2026
dda6396
update visual studio generator
JanCaha Jun 11, 2026
785183c
drop unnecessary AWin32 parameter
JanCaha Jun 11, 2026
3de20c3
fix settings
JanCaha Jun 11, 2026
93b8e5b
add parameter
JanCaha Jun 11, 2026
4f1593c
bring back old python packaging only update visual stuido to 18
JanCaha Jun 11, 2026
f7abc04
just update generator
JanCaha Jun 11, 2026
89a5b01
bump version
JanCaha Jun 26, 2026
a989432
properly handle the error and its passsing to pygeodiff
JanCaha Jun 26, 2026
6afa022
black
JanCaha Jun 26, 2026
9270315
update docstring
JanCaha Jun 29, 2026
dfdd320
update help
JanCaha Jun 29, 2026
da685cf
fix
JanCaha Jun 29, 2026
47f135c
drop windows 32 bit wheels
JanCaha Jun 29, 2026
82f8c9b
try older visual studio
JanCaha Jun 29, 2026
351d3ac
use available VS
JanCaha Jun 29, 2026
5eb64db
try newer pytho n and cbuildwheel action
JanCaha Jun 29, 2026
9e47565
Revert "try newer pytho n and cbuildwheel action"
JanCaha Jun 29, 2026
24e8a23
try older runner with older VS
JanCaha Jun 29, 2026
9ec4470
Revert "try older runner with older VS"
JanCaha Jun 29, 2026
e53041f
try building only the latest python
JanCaha Jun 29, 2026
931e2bf
Revert "try building only the latest python"
JanCaha Jun 29, 2026
f8af823
try fix from opus
JanCaha Jun 29, 2026
80de3bf
try new packaging from opus
JanCaha Jun 29, 2026
70253f8
drop env variable
JanCaha Jun 30, 2026
7ee8f11
Revert "drop env variable"
JanCaha Jun 30, 2026
aa389f2
update the build CI to match
JanCaha Jun 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 5 additions & 49 deletions .github/workflows/python_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
CIBW_ARCHS: x86_64
CIBW_BEFORE_ALL_LINUX: dnf makecache && dnf install --assumeyes sqlite-devel
CIBW_BEFORE_BUILD: pip install setuptools scikit-build wheel cmake
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()"

steps:
Expand All @@ -36,7 +35,6 @@ jobs:
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:
Expand All @@ -59,11 +57,12 @@ jobs:
name: Build wheels on Windows
runs-on: windows-2025
env:
CMAKE_GENERATOR: "Visual Studio 17 2022"
CMAKE_GENERATOR: "Visual Studio 18 2026"
SQLite3_ROOT: "C:/vcpkg/installed/x64-windows"
CIBW_SKIP: "*-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}"
MSBUILDDISABLENODEREUSE: "1"

steps:
- uses: actions/checkout@v3
Expand All @@ -77,7 +76,7 @@ jobs:
run: |
C:/vcpkg/vcpkg install sqlite3[rtree,fts3,json1] --triplet x64-windows
C:/vcpkg/vcpkg integrate install
pip install setuptools scikit-build wheel cmake delvewheel
pip install delvewheel
dir "C:/vcpkg/installed/x64-windows/bin"

- name: Build wheels
Expand All @@ -88,41 +87,6 @@ jobs:
path: ./wheelhouse/*.whl
name: dist-windows

build_windows_32_wheels:
name: Build 32bit wheels on Windows
runs-on: windows-2025
env:
CMAKE_GENERATOR: "Visual Studio 17 2022"
CMAKE_GENERATOR_PLATFORM: "Win32"
SQLite3_ROOT: "C:/vcpkg/installed/x86-windows"
CIBW_SKIP: 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}"

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
name: Install Python
with:
python-version: '3.9'
architecture: x86

- name: Install Deps
run: |
C:/vcpkg/vcpkg install sqlite3[rtree,fts3,json1] --triplet x86-windows
C:/vcpkg/vcpkg integrate install
pip install setuptools scikit-build wheel cmake delvewheel
dir "C:/vcpkg/installed/x86-windows/bin"

- name: Build wheels
uses: pypa/cibuildwheel@v3.3.1

- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: dist-windows_32

build_macos_arm64_wheels:
name: Build wheels on macos-15 (arm64)
runs-on: macos-15
Expand All @@ -146,10 +110,6 @@ jobs:
with:
python-version: '3.9'

- name: Install Deps
run: |
pip install setuptools scikit-build wheel cmake

- name: Build wheels
uses: pypa/cibuildwheel@v3.3.1

Expand Down Expand Up @@ -181,10 +141,6 @@ jobs:
with:
python-version: '3.9'

- name: Install Deps
run: |
pip install setuptools scikit-build wheel cmake

- name: Build wheels
uses: pypa/cibuildwheel@v3.3.1

Expand All @@ -207,10 +163,10 @@ jobs:
- name: Install deps
run: |
pip install --upgrade pip
pip install setuptools twine scikit-build wheel cmake
pip install build twine

- name: Build sdist
run: python setup.py sdist
run: python -m build --sdist

- uses: actions/upload-artifact@v4
with:
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/win_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,14 @@ jobs:
runs-on: windows-2025
steps:
- name: Checkout Geodiff
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: install deps
run: |
C:/vcpkg/vcpkg install sqlite3[rtree,fts3,json1] --triplet x64-windows
C:/vcpkg/vcpkg integrate install
dir "C:/vcpkg/installed/x64-windows/bin"

- name: set compiler environment
shell: cmd
run: |
CALL "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=x86

- name: build geodiff
shell: pwsh
run: |
Expand All @@ -37,7 +32,7 @@ jobs:
cd $env:GITHUB_WORKSPACE
mkdir build
cd build
exec { cmake -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DENABLE_TESTS=ON -DWITH_POSTGRESQL=FALSE ../geodiff }
exec { cmake -G "Visual Studio 18 2026" -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DENABLE_TESTS=ON -DWITH_POSTGRESQL=FALSE ../geodiff }
exec { cmake --build . --config Debug }

- name: Run tests
Expand Down
11 changes: 0 additions & 11 deletions MANIFEST.in

This file was deleted.

8 changes: 6 additions & 2 deletions geodiff/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# GEODIFF (MIT License)
# Copyright (C) 2019 Peter Petrik

CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
CMAKE_MINIMUM_REQUIRED(VERSION 3.15)
PROJECT(geodiffproject)
SET(CMAKE_CXX_VISIBILITY_PRESET hidden)
SET(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
Expand All @@ -26,7 +26,11 @@ ENDIF()

IF(SKBUILD)
MESSAGE(STATUS "The geodiff is built using scikit-build for pygeodiff Python package")
FIND_PACKAGE(PythonExtensions REQUIRED)
# scikit-build-core provides the project version as SKBUILD_PROJECT_VERSION;
# allow an explicit -DPYGEODIFFVERSION override for standalone invocations.
IF(NOT PYGEODIFFVERSION)
SET(PYGEODIFFVERSION "${SKBUILD_PROJECT_VERSION}")
ENDIF()
SET(GEODIFF_NAME "pygeodiff-${PYGEODIFFVERSION}-python${GEODIFF_NAME_SUFFIX}")
IF (CMAKE_GENERATOR_PLATFORM STREQUAL "Win32")
SET(GEODIFF_NAME "${GEODIFF_NAME}-win32")
Expand Down
Loading
Loading