From 419dd8808e4e55409f0aa66334a55f1e0b3b8322 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Fri, 13 Sep 2024 11:45:50 -0500 Subject: [PATCH] qiskit-aer v0.15.1 and drop Python 3.8 (#40) * updated v0.15.1 * Add CUDA compiler version 12.0 to list conda-smithy uses this list to know how to order CUDA versions and pulls in version 12.0 from somewhere else and crashes if it is not also in this list. * MNT: Re-rendered with conda-build 24.5.0, conda-smithy 3.39.1, and conda-forge-pinning 2024.09.13.11.38.09 --------- Co-authored-by: Will Shanks --- .azure-pipelines/azure-pipelines-linux.yml | 12 ------ .azure-pipelines/azure-pipelines-osx.yml | 6 --- .azure-pipelines/azure-pipelines-win.yml | 3 -- ...mpiler_version13python3.8.____cpython.yaml | 41 ------------------ ...iler_version13.2python3.8.____cpython.yaml | 41 ------------------ ...mpiler_version11python3.8.____cpython.yaml | 41 ------------------ .ci_support/migrations/cuda120.yaml | 1 + .ci_support/osx_64_python3.8.____cpython.yaml | 38 ----------------- .../osx_arm64_python3.8.____cpython.yaml | 38 ----------------- ...iler_versionNonepython3.8.____cpython.yaml | 29 ------------- README.md | 42 ------------------- build-locally.py | 5 ++- recipe/meta.yaml | 4 +- 13 files changed, 7 insertions(+), 294 deletions(-) delete mode 100644 .ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.8.____cpython.yaml delete mode 100644 .ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.8.____cpython.yaml delete mode 100644 .ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml delete mode 100644 .ci_support/osx_64_python3.8.____cpython.yaml delete mode 100644 .ci_support/osx_arm64_python3.8.____cpython.yaml delete mode 100644 .ci_support/win_64_cuda_compilerNonecuda_compiler_versionNonepython3.8.____cpython.yaml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 289b500..0473e0d 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -20,10 +20,6 @@ jobs: CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.12.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.8.____cpython: - CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.8.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython: CONFIG: linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython UPLOAD_PACKAGES: 'True' @@ -40,10 +36,6 @@ jobs: CONFIG: linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.12.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.8.____cpython: - CONFIG: linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.8.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.9.____cpython: CONFIG: linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.9.____cpython UPLOAD_PACKAGES: 'True' @@ -60,10 +52,6 @@ jobs: CONFIG: linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.12.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 - linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython: - CONFIG: linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython: CONFIG: linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython UPLOAD_PACKAGES: 'True' diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 79030d5..49fe09a 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -17,9 +17,6 @@ jobs: osx_64_python3.12.____cpython: CONFIG: osx_64_python3.12.____cpython UPLOAD_PACKAGES: 'True' - osx_64_python3.8.____cpython: - CONFIG: osx_64_python3.8.____cpython - UPLOAD_PACKAGES: 'True' osx_64_python3.9.____cpython: CONFIG: osx_64_python3.9.____cpython UPLOAD_PACKAGES: 'True' @@ -32,9 +29,6 @@ jobs: osx_arm64_python3.12.____cpython: CONFIG: osx_arm64_python3.12.____cpython UPLOAD_PACKAGES: 'True' - osx_arm64_python3.8.____cpython: - CONFIG: osx_arm64_python3.8.____cpython - UPLOAD_PACKAGES: 'True' osx_arm64_python3.9.____cpython: CONFIG: osx_arm64_python3.9.____cpython UPLOAD_PACKAGES: 'True' diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 987f640..2c757fe 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -17,9 +17,6 @@ jobs: win_64_cuda_compilerNonecuda_compiler_versionNonepython3.12.____cpython: CONFIG: win_64_cuda_compilerNonecuda_compiler_versionNonepython3.12.____cpython UPLOAD_PACKAGES: 'True' - win_64_cuda_compilerNonecuda_compiler_versionNonepython3.8.____cpython: - CONFIG: win_64_cuda_compilerNonecuda_compiler_versionNonepython3.8.____cpython - UPLOAD_PACKAGES: 'True' win_64_cuda_compilerNonecuda_compiler_versionNonepython3.9.____cpython: CONFIG: win_64_cuda_compilerNonecuda_compiler_versionNonepython3.9.____cpython UPLOAD_PACKAGES: 'True' diff --git a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.8.____cpython.yaml b/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.8.____cpython.yaml deleted file mode 100644 index c4c5b1b..0000000 --- a/.ci_support/linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.8.____cpython.yaml +++ /dev/null @@ -1,41 +0,0 @@ -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- gxx -cxx_compiler_version: -- '13' -docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 -libblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython -spdlog: -- '1.14' -target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - c_stdlib_version - - cdt_name - - cuda_compiler - - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.8.____cpython.yaml b/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.8.____cpython.yaml deleted file mode 100644 index 92d3649..0000000 --- a/.ci_support/linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.8.____cpython.yaml +++ /dev/null @@ -1,41 +0,0 @@ -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- '12.5' -cxx_compiler: -- gxx -cxx_compiler_version: -- '13.2' -docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 -libblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython -spdlog: -- '1.14' -target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - c_stdlib_version - - cdt_name - - cuda_compiler - - cuda_compiler_version - - docker_image diff --git a/.ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml b/.ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml deleted file mode 100644 index b0a1a8e..0000000 --- a/.ci_support/linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython.yaml +++ /dev/null @@ -1,41 +0,0 @@ -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.8' -cxx_compiler: -- gxx -cxx_compiler_version: -- '11' -docker_image: -- quay.io/condaforge/linux-anvil-cuda:11.8 -libblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython -spdlog: -- '1.14' -target_platform: -- linux-64 -zip_keys: -- - cxx_compiler_version - - c_stdlib_version - - cdt_name - - cuda_compiler - - cuda_compiler_version - - docker_image diff --git a/.ci_support/migrations/cuda120.yaml b/.ci_support/migrations/cuda120.yaml index 505cbe3..c04a069 100644 --- a/.ci_support/migrations/cuda120.yaml +++ b/.ci_support/migrations/cuda120.yaml @@ -66,6 +66,7 @@ __migrator: - 11.1 # [(linux64 or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 11.2 # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 11.8 # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12.0 # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 12.5 # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] commit_message: | Rebuild for CUDA 12 w/arch + Windows support diff --git a/.ci_support/osx_64_python3.8.____cpython.yaml b/.ci_support/osx_64_python3.8.____cpython.yaml deleted file mode 100644 index 1d94bd0..0000000 --- a/.ci_support/osx_64_python3.8.____cpython.yaml +++ /dev/null @@ -1,38 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.13' -MACOSX_SDK_VERSION: -- '10.13' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '10.13' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -llvm_openmp: -- '17' -macos_machine: -- x86_64-apple-darwin13.4.0 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython -spdlog: -- '1.14' -target_platform: -- osx-64 diff --git a/.ci_support/osx_arm64_python3.8.____cpython.yaml b/.ci_support/osx_arm64_python3.8.____cpython.yaml deleted file mode 100644 index c8a1234..0000000 --- a/.ci_support/osx_arm64_python3.8.____cpython.yaml +++ /dev/null @@ -1,38 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '11.0' -MACOSX_SDK_VERSION: -- '11.0' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '11.0' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '17' -libblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -llvm_openmp: -- '17' -macos_machine: -- arm64-apple-darwin20.0.0 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython -spdlog: -- '1.14' -target_platform: -- osx-arm64 diff --git a/.ci_support/win_64_cuda_compilerNonecuda_compiler_versionNonepython3.8.____cpython.yaml b/.ci_support/win_64_cuda_compilerNonecuda_compiler_versionNonepython3.8.____cpython.yaml deleted file mode 100644 index ae00006..0000000 --- a/.ci_support/win_64_cuda_compilerNonecuda_compiler_versionNonepython3.8.____cpython.yaml +++ /dev/null @@ -1,29 +0,0 @@ -c_stdlib: -- vs -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- None -cuda_compiler_version: -- None -cxx_compiler: -- vs2019 -libblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython -spdlog: -- '1.14' -target_platform: -- win-64 -zip_keys: -- - cuda_compiler - - cuda_compiler_version diff --git a/README.md b/README.md index 0e9af02..01e76ac 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,6 @@ Current build status variant - - linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.8.____cpython - - - variant - - linux_64_cuda_compilerNonecuda_compiler_versionNonecxx_compiler_version13python3.9.____cpython @@ -82,13 +75,6 @@ Current build status variant - - linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.8.____cpython - - - variant - - linux_64_cuda_compilercuda-nvcccuda_compiler_version12.5cxx_compiler_version13.2python3.9.____cpython @@ -117,13 +103,6 @@ Current build status variant - - linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.8.____cpython - - - variant - - linux_64_cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11python3.9.____cpython @@ -152,13 +131,6 @@ Current build status variant - - osx_64_python3.8.____cpython - - - variant - - osx_64_python3.9.____cpython @@ -187,13 +159,6 @@ Current build status variant - - osx_arm64_python3.8.____cpython - - - variant - - osx_arm64_python3.9.____cpython @@ -222,13 +187,6 @@ Current build status variant - - win_64_cuda_compilerNonecuda_compiler_versionNonepython3.8.____cpython - - - variant - - win_64_cuda_compilerNonecuda_compiler_versionNonepython3.9.____cpython diff --git a/build-locally.py b/build-locally.py index d78427b..8ac9b84 100755 --- a/build-locally.py +++ b/build-locally.py @@ -1,8 +1,11 @@ -#!/usr/bin/env python3 +#!/bin/sh +"""exec' "python3" "$0" "$@" #""" # fmt: off # fmt: on # # This file has been generated by conda-smithy in order to build the recipe # locally. # +# The line above this comment is a bash / sh / zsh guard +# to stop people from running it with the wrong interpreter import glob import os import platform diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 5d5efa9..716f007 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "qiskit-aer" %} -{% set version = "0.15" %} +{% set version = "0.15.1" %} {% set build = 0 %} {% if cuda_compiler_version in (None, "None", True, False) %} @@ -15,7 +15,7 @@ package: source: url: https://github.com/Qiskit/{{ name }}/archive/refs/tags/{{ version }}.tar.gz - sha256: dd3799fedeb7c552363939e39f4b43ff7ba26b28137ec82aeb7f109a81bad225 + sha256: e1c45f10467ec1c64b021d44b6ab9a69b645dfc444036960e057b3058f70c6dd build: script: