diff --git a/.copier-answers.yml b/.copier-answers.yml index a62b2c46..61b638b9 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v0.8.40 +_commit: v0.8.42 _src_path: https://github.com/serious-scaffold/ss-pybind11 author_email: msclock@126.com author_name: l.feng diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 4377e0b1..1bc821ba 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -19,7 +19,11 @@ jobs: RENOVATE_PLATFORM: github RENOVATE_REPOSITORIES: '["${{ github.repository }}"]' RENOVATE_REPOSITORY_CACHE: enabled +<<<<<<< before updating image: ghcr.io/renovatebot/renovate:44.199.2@sha256:0538f498be1b074e2434f8449cab7b2be30f8c0d0baf3b72814010f19db5bcfb +======= + image: ghcr.io/renovatebot/renovate:40.42.3@sha256:de4644ae20be68a74909fcf25572c8d38861f67e2f02adc6ab3d6e35b447256e +>>>>>>> after updating options: --user root runs-on: ubuntu-24.04 steps: diff --git a/.github/workflows/reuseable_cibuildwheel.yml b/.github/workflows/reuseable_cibuildwheel.yml index 6e99bfe1..fc2386bc 100644 --- a/.github/workflows/reuseable_cibuildwheel.yml +++ b/.github/workflows/reuseable_cibuildwheel.yml @@ -23,6 +23,7 @@ jobs: arch: [x86_64, i686, aarch64, ppc64le, s390x, armv7l, riscv64] build: [manylinux, musllinux] include: +<<<<<<< before updating - {arch: x86_64, group: auto} - {arch: i686, group: auto} - {arch: aarch64, group: extra} @@ -34,6 +35,13 @@ jobs: - {os: windows-latest, arch: x86, build: win, group: extra} - {os: windows-2022, arch: ARM64, build: win, group: auto} - {os: macos-14, arch: universal2, build: macos, group: auto} +======= + - {os: windows-2025, arch: AMD64, build: win} + - {os: windows-2025, arch: x86, build: win} + - {os: windows-2025, arch: ARM64, build: win} + - {os: macos-13, arch: x86_64, build: macos} + - {os: macos-14, arch: arm64, build: macos} +>>>>>>> after updating steps: - uses: actions/checkout@v7 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3fd19be5..8e735def 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,7 +56,11 @@ repos: # Mypy Check - repo: https://github.com/pre-commit/mirrors-mypy +<<<<<<< before updating rev: v2.4.0 +======= + rev: v1.16.0 +>>>>>>> after updating hooks: - id: mypy files: src|tests @@ -132,7 +136,11 @@ repos: # Clang format the codebase automatically - repo: https://github.com/pre-commit/mirrors-clang-format +<<<<<<< before updating rev: v20.1.8 +======= + rev: v20.1.5 +>>>>>>> after updating hooks: - id: clang-format types_or: [c++, c, cuda] @@ -145,7 +153,11 @@ repos: # Check for renovate config - repo: https://github.com/renovatebot/pre-commit-hooks +<<<<<<< before updating rev: 44.199.2 +======= + rev: 40.36.8 +>>>>>>> after updating hooks: - id: renovate-config-validator stages: [manual] diff --git a/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake b/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake index 4124ce0e..21e17a4b 100644 --- a/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake +++ b/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake @@ -101,7 +101,35 @@ function(_vcpkg_tool_bootstrap vcpkg_root) RESULT_VARIABLE result) if(NOT result EQUAL "0") +<<<<<<< before updating message(FATAL_ERROR "${bootstrap_cmd} failed with ${result}") +======= + if(CMAKE_HOST_UNIX) + message(STATUS "Retry to build vcpkg from source...") + set(bootstrap_impl "${vcpkg_root}/scripts/bootstrap.sh") + file(READ "${bootstrap_impl}" file_contents) + string(REPLACE [[elif [ "$ARCH" = "x86_64" ]; then]] + [[elif [ "$ARCH" = "" ]; then]] file_contents + "${file_contents}") + message(STATUS "Replace vcpkg sources") + string( + REPLACE + [[(cd "$buildDir" && cmake --build .) || exit 1]] + [[(sed -i 's/InternalFeatureSet separate_features{{FeatureNameCore.to_string(), feature->name}};/InternalFeatureSet separate_features{{FeatureNameCore.to_string()}}; separate_features.push_back(feature->name);/' $srcDir/src/vcpkg/commands.test-features.cpp && cd "$buildDir" && cmake --build .) || exit 1]] + file_contents + "${file_contents}") + file(WRITE "${bootstrap_impl}" "${file_contents}") + + execute_process( + COMMAND ${bootstrap_cmd} -disableMetrics + WORKING_DIRECTORY ${vcpkg_root} + RESULT_VARIABLE result) + endif() + + if(NOT result EQUAL "0") + message(FATAL_ERROR "${bootstrap_cmd} failed with ${result}") + endif() +>>>>>>> after updating endif() endfunction() diff --git a/vcpkg.json b/vcpkg.json index 443eacf8..391f7217 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -55,7 +55,11 @@ "registries": [ { "kind": "git", +<<<<<<< before updating "baseline": "762a01c0f8624fdaf1e2e682dd6b91f90900945e", +======= + "baseline": "5909aec4d2a472ab4c734832c7391926bce7ce18", +>>>>>>> after updating "repository": "https://github.com/msclock/cmake-registry", "packages": [ "cmake-modules",