From bffaf05299da76a75a83decb49ca1455fa9624d2 Mon Sep 17 00:00:00 2001 From: Parth Poply Date: Mon, 29 Jun 2026 15:36:35 +0400 Subject: [PATCH 1/2] release: bump pylerc to v4.1.1 and update build configurations --- .github/workflows/build_wheels.yml | 9 +++------ OtherLanguages/Python/lerc/__init__.py | 2 +- OtherLanguages/Python/pyproject.toml | 2 +- OtherLanguages/Python/setup.py | 6 +++--- build/conda/lerc/meta.yaml | 2 +- 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index eb96419..b09d4ec 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -7,18 +7,14 @@ on: - 'OtherLanguages/Python/**' - 'src/**' - '.github/workflows/build_wheels.yml' - tags: - 'v*' - pull_request: paths: - 'OtherLanguages/Python/**' - '.github/workflows/build_wheels.yml' - workflow_dispatch: - jobs: build_wheels: name: Build on ${{ matrix.os }} @@ -33,6 +29,7 @@ jobs: - name: Build C++ Binaries (CMake) run: | + rm -rf cmake_build mkdir cmake_build cd cmake_build cmake .. -DCMAKE_BUILD_TYPE=Release @@ -55,13 +52,13 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.11' # Safe baseline to compile cross-compatible wheels - name: Build Wheel run: | python -m pip install --upgrade pip setuptools wheel build cd OtherLanguages/Python - python -m build + python -m build --wheel - name: Upload Artifacts uses: actions/upload-artifact@v4 diff --git a/OtherLanguages/Python/lerc/__init__.py b/OtherLanguages/Python/lerc/__init__.py index 9fd5919..6bdbee9 100644 --- a/OtherLanguages/Python/lerc/__init__.py +++ b/OtherLanguages/Python/lerc/__init__.py @@ -1,3 +1,3 @@ -__version__ = "4.1" +__version__ = "4.1.1" from ._lerc import * diff --git a/OtherLanguages/Python/pyproject.toml b/OtherLanguages/Python/pyproject.toml index fed528d..9787c3b 100644 --- a/OtherLanguages/Python/pyproject.toml +++ b/OtherLanguages/Python/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" diff --git a/OtherLanguages/Python/setup.py b/OtherLanguages/Python/setup.py index d04b6dd..e44f0a9 100644 --- a/OtherLanguages/Python/setup.py +++ b/OtherLanguages/Python/setup.py @@ -26,8 +26,7 @@ def get_tag(self): except Exception: long_description = "Limited Error Raster Compression" -# Using MANIFEST.in doesn't respect relative paths above the package root. -# Instead, inspect the location and copy in the binaries if newer. +# Stage binaries from repo root into package root BINARY_TYPES = ["*.dll", "*.lib", "*.so*", "*.dylib"] PLATFORMS = ["Linux", "MacOS", "windows"] for platform in PLATFORMS: @@ -41,7 +40,7 @@ def get_tag(self): setuptools.setup( name="pylerc", - version="4.1", + version="4.1.1", author="esri", author_email="python@esri.com", description="Limited Error Raster Compression", @@ -56,6 +55,7 @@ def get_tag(self): "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "License :: OSI Approved :: Apache Software License", ], package_data={"lerc": BINARY_TYPES}, diff --git a/build/conda/lerc/meta.yaml b/build/conda/lerc/meta.yaml index 3ef43b5..3074aec 100644 --- a/build/conda/lerc/meta.yaml +++ b/build/conda/lerc/meta.yaml @@ -1,6 +1,6 @@ package: name: pylerc - version: 4.1 + version: 4.1.1 build: noarch: python From bdf420fd3d7585195c4f900f64074a9e9279f644 Mon Sep 17 00:00:00 2001 From: Parth Poply Date: Mon, 29 Jun 2026 15:42:59 +0400 Subject: [PATCH 2/2] fix(ci): remove invalid shell cleanup command breaking windows runner --- .github/workflows/build_wheels.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index b09d4ec..53ffa37 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -29,7 +29,6 @@ jobs: - name: Build C++ Binaries (CMake) run: | - rm -rf cmake_build mkdir cmake_build cd cmake_build cmake .. -DCMAKE_BUILD_TYPE=Release @@ -52,7 +51,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' # Safe baseline to compile cross-compatible wheels + python-version: '3.11' - name: Build Wheel run: |