diff --git a/.ci_support/linux_64_python3.12.____cpython.yaml b/.ci_support/linux_64_python3.13.____cp313.yaml similarity index 89% rename from .ci_support/linux_64_python3.12.____cpython.yaml rename to .ci_support/linux_64_python3.13.____cp313.yaml index 56ef49f..3c05b9f 100644 --- a/.ci_support/linux_64_python3.12.____cpython.yaml +++ b/.ci_support/linux_64_python3.13.____cp313.yaml @@ -1,5 +1,5 @@ ace: -- 8.0.4 +- 8.0.5 c_compiler: - gcc c_compiler_version: @@ -8,8 +8,6 @@ c_stdlib: - sysroot c_stdlib_version: - '2.17' -cdt_name: -- conda channel_sources: - conda-forge channel_targets: @@ -27,6 +25,6 @@ pin_run_as_build: min_pin: x.x max_pin: x.x python: -- 3.12.* *_cpython +- 3.13.* *_cp313 target_platform: - linux-64 diff --git a/.ci_support/linux_aarch64_python3.12.____cpython.yaml b/.ci_support/linux_aarch64_python3.13.____cp313.yaml similarity index 89% rename from .ci_support/linux_aarch64_python3.12.____cpython.yaml rename to .ci_support/linux_aarch64_python3.13.____cp313.yaml index ab25125..c82de09 100644 --- a/.ci_support/linux_aarch64_python3.12.____cpython.yaml +++ b/.ci_support/linux_aarch64_python3.13.____cp313.yaml @@ -1,5 +1,5 @@ ace: -- 8.0.4 +- 8.0.5 c_compiler: - gcc c_compiler_version: @@ -8,8 +8,6 @@ c_stdlib: - sysroot c_stdlib_version: - '2.17' -cdt_name: -- conda channel_sources: - conda-forge channel_targets: @@ -27,6 +25,6 @@ pin_run_as_build: min_pin: x.x max_pin: x.x python: -- 3.12.* *_cpython +- 3.13.* *_cp313 target_platform: - linux-aarch64 diff --git a/.ci_support/osx_64_python3.12.____cpython.yaml b/.ci_support/osx_64_python3.13.____cp313.yaml similarity index 94% rename from .ci_support/osx_64_python3.12.____cpython.yaml rename to .ci_support/osx_64_python3.13.____cp313.yaml index 3d32c2a..2169572 100644 --- a/.ci_support/osx_64_python3.12.____cpython.yaml +++ b/.ci_support/osx_64_python3.13.____cp313.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: MACOSX_SDK_VERSION: - '10.13' ace: -- 8.0.4 +- 8.0.5 c_compiler: - clang c_compiler_version: @@ -29,6 +29,6 @@ pin_run_as_build: min_pin: x.x max_pin: x.x python: -- 3.12.* *_cpython +- 3.13.* *_cp313 target_platform: - osx-64 diff --git a/.ci_support/osx_arm64_python3.12.____cpython.yaml b/.ci_support/osx_arm64_python3.13.____cp313.yaml similarity index 94% rename from .ci_support/osx_arm64_python3.12.____cpython.yaml rename to .ci_support/osx_arm64_python3.13.____cp313.yaml index 698e82e..4064f78 100644 --- a/.ci_support/osx_arm64_python3.12.____cpython.yaml +++ b/.ci_support/osx_arm64_python3.13.____cp313.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: MACOSX_SDK_VERSION: - '11.0' ace: -- 8.0.4 +- 8.0.5 c_compiler: - clang c_compiler_version: @@ -29,6 +29,6 @@ pin_run_as_build: min_pin: x.x max_pin: x.x python: -- 3.12.* *_cpython +- 3.13.* *_cp313 target_platform: - osx-arm64 diff --git a/.ci_support/win_64_python3.12.____cpython.yaml b/.ci_support/win_64_python3.13.____cp313.yaml similarity index 90% rename from .ci_support/win_64_python3.12.____cpython.yaml rename to .ci_support/win_64_python3.13.____cp313.yaml index 43da9f9..577a1b4 100644 --- a/.ci_support/win_64_python3.12.____cpython.yaml +++ b/.ci_support/win_64_python3.13.____cp313.yaml @@ -1,5 +1,5 @@ ace: -- 8.0.4 +- 8.0.5 c_compiler: - vs2022 c_stdlib: @@ -19,6 +19,6 @@ pin_run_as_build: min_pin: x.x max_pin: x.x python: -- 3.12.* *_cpython +- 3.13.* *_cp313 target_platform: - win-64 diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 01617d4..1b0d454 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -23,14 +23,14 @@ jobs: name: Make SDist runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v6.0.1 with: fetch-depth: 0 - name: Build SDist run: pipx run build --sdist - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6.0.0 with: name: cibw-sdist path: dist/*.tar.gz @@ -41,31 +41,31 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-14, macos-13] + os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest, macos-15-intel] include: - os: ubuntu-latest cibw_archs: x86_64 cibw_build: "*" - cibw_skip: "pp* *musllinux* cp314*" + cibw_skip: "pp* *musllinux* cp314t*" - os: ubuntu-24.04-arm cibw_archs: aarch64 cibw_build: "*" - cibw_skip: "cp38* pp* *musllinux* cp314*" + cibw_skip: "cp38* pp* *musllinux* cp314t*" - os: windows-latest cibw_archs: AMD64 cibw_build: "*" - cibw_skip: "pp* *musllinux* cp314*" - - os: macos-14 + cibw_skip: "pp* *musllinux* cp314t*" + - os: macos-latest cibw_archs: arm64 cibw_build: "*" - cibw_skip: "pp* *musllinux* cp314*" - - os: macos-13 + cibw_skip: "pp* *musllinux* cp314t*" + - os: macos-15-intel cibw_archs: x86_64 cibw_build: "*" - cibw_skip: "pp* *musllinux* cp314*" + cibw_skip: "pp* *musllinux* cp314t*" steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v6.0.1 with: fetch-depth: 0 @@ -77,7 +77,7 @@ jobs: CIBW_SKIP: ${{ matrix.cibw_skip }} - name: Upload wheels - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6.0.0 with: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} path: wheelhouse/*.whl @@ -93,14 +93,14 @@ jobs: if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/download-artifact@v6 + - uses: actions/download-artifact@v7 with: pattern: cibw-* path: dist merge-multiple: true - name: Generate artifact attestations - uses: actions/attest-build-provenance@v3.0.0 + uses: actions/attest-build-provenance@v3.1.0 with: subject-path: "dist/*" diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index d161ca2..ff3ab40 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -23,37 +23,37 @@ jobs: fail-fast: false matrix: include: - - CONFIG: linux_64_python3.12.____cpython - SHORT_CONFIG: linux_64_python3.12.____cpython + - CONFIG: linux_64_python3.13.____cp313 + SHORT_CONFIG: linux_64_python3.13.____cp313 UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - - CONFIG: linux_aarch64_python3.12.____cpython - SHORT_CONFIG: linux_aarch64_python3.12.____cpython + - CONFIG: linux_aarch64_python3.13.____cp313 + SHORT_CONFIG: linux_aarch64_python3.13.____cp313 UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - - CONFIG: osx_64_python3.12.____cpython - SHORT_CONFIG: osx_64_python3.12.____cpython + - CONFIG: osx_64_python3.13.____cp313 + SHORT_CONFIG: osx_64_python3.13.____cp313 UPLOAD_PACKAGES: True os: macos - runs_on: ['macos-13'] - - CONFIG: osx_arm64_python3.12.____cpython - SHORT_CONFIG: osx_arm64_python3.12.____cpython + runs_on: ['macos-15-intel'] + - CONFIG: osx_arm64_python3.13.____cp313 + SHORT_CONFIG: osx_arm64_python3.13.____cp313 UPLOAD_PACKAGES: True os: macos - runs_on: ['macos-13'] - - CONFIG: win_64_python3.12.____cpython - SHORT_CONFIG: win_64_python3.12.____cpython + runs_on: ['macos-15-intel'] + - CONFIG: win_64_python3.13.____cp313 + SHORT_CONFIG: win_64_python3.13.____cp313 UPLOAD_PACKAGES: True os: windows runs_on: ['windows-latest'] steps: - name: Checkout code - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v4.1.4 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: fetch-depth: 0 @@ -194,7 +194,7 @@ jobs: fi - name: Store conda build artifacts - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: ${{ always() && steps.prepare-artifacts.outcome == 'success' }} with: name: ${{ steps.prepare-artifacts.outputs.BLD_ARTIFACT_NAME }} @@ -203,7 +203,7 @@ jobs: continue-on-error: true - name: Store conda build environment artifacts - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 # only relevant if build failed, see above if: ${{ always() && steps.determine-status.outputs.status == 'failure' && steps.prepare-artifacts.outcome == 'success' }} with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f6e71ed..5b64070 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest name: flake8-black steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v6.0.1 - name: Set up Python environment uses: actions/setup-python@v6 with: diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index ef01544..7d466cf 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -63,6 +63,25 @@ if [[ "${sha:-}" == "" ]]; then sha=$(git rev-parse HEAD) fi +if [[ "${OSX_SDK_DIR:-}" == "" ]]; then + if [[ "${CI:-}" == "" ]]; then + echo "Please set OSX_SDK_DIR to a directory where SDKs can be downloaded to. Aborting" + exit 1 + else + export OSX_SDK_DIR=/opt/conda-sdks + /usr/bin/sudo mkdir -p "${OSX_SDK_DIR}" + /usr/bin/sudo chown "${USER}" "${OSX_SDK_DIR}" + fi +else + if tmpf=$(mktemp -p "$OSX_SDK_DIR" tmp.XXXXXXXX 2>/dev/null); then + rm -f "$tmpf" + echo "OSX_SDK_DIR is writeable without sudo, continuing" + else + echo "User-provided OSX_SDK_DIR is not writeable for current user! Aborting" + exit 1 + fi +fi + echo -e "\n\nRunning the build setup script." source run_conda_forge_build_setup diff --git a/recipes/conda/meta.yaml b/recipes/conda/meta.yaml index bc0b58e..1698450 100644 --- a/recipes/conda/meta.yaml +++ b/recipes/conda/meta.yaml @@ -17,7 +17,7 @@ source: build: number: 0 - skip: true # [os.environ.get("RENDER_LIMIT_PYTHON") and py != 312] + skip: true # [os.environ.get("RENDER_LIMIT_PYTHON") and py != 313] run_exports: - {{ pin_subpackage('digital_rf') }} entry_points: