diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 6160178..c73df89 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -8,40 +8,52 @@ jobs: vmImage: ubuntu-latest strategy: matrix: - linux_64_mpimpichpython3.10.____cpython: - CONFIG: linux_64_mpimpichpython3.10.____cpython + linux_64_mpimpichnumpy1.22python3.10.____cpython: + CONFIG: linux_64_mpimpichnumpy1.22python3.10.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_mpimpichpython3.8.____cpython: - CONFIG: linux_64_mpimpichpython3.8.____cpython + linux_64_mpimpichnumpy1.22python3.8.____cpython: + CONFIG: linux_64_mpimpichnumpy1.22python3.8.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_mpimpichpython3.9.____cpython: - CONFIG: linux_64_mpimpichpython3.9.____cpython + linux_64_mpimpichnumpy1.22python3.9.____cpython: + CONFIG: linux_64_mpimpichnumpy1.22python3.9.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_mpinompipython3.10.____cpython: - CONFIG: linux_64_mpinompipython3.10.____cpython + linux_64_mpimpichnumpy1.23python3.11.____cpython: + CONFIG: linux_64_mpimpichnumpy1.23python3.11.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_mpinompipython3.8.____cpython: - CONFIG: linux_64_mpinompipython3.8.____cpython + linux_64_mpinompinumpy1.22python3.10.____cpython: + CONFIG: linux_64_mpinompinumpy1.22python3.10.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_mpinompipython3.9.____cpython: - CONFIG: linux_64_mpinompipython3.9.____cpython + linux_64_mpinompinumpy1.22python3.8.____cpython: + CONFIG: linux_64_mpinompinumpy1.22python3.8.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_mpiopenmpipython3.10.____cpython: - CONFIG: linux_64_mpiopenmpipython3.10.____cpython + linux_64_mpinompinumpy1.22python3.9.____cpython: + CONFIG: linux_64_mpinompinumpy1.22python3.9.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_mpiopenmpipython3.8.____cpython: - CONFIG: linux_64_mpiopenmpipython3.8.____cpython + linux_64_mpinompinumpy1.23python3.11.____cpython: + CONFIG: linux_64_mpinompinumpy1.23python3.11.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - linux_64_mpiopenmpipython3.9.____cpython: - CONFIG: linux_64_mpiopenmpipython3.9.____cpython + linux_64_mpiopenmpinumpy1.22python3.10.____cpython: + CONFIG: linux_64_mpiopenmpinumpy1.22python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_mpiopenmpinumpy1.22python3.8.____cpython: + CONFIG: linux_64_mpiopenmpinumpy1.22python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_mpiopenmpinumpy1.22python3.9.____cpython: + CONFIG: linux_64_mpiopenmpinumpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_mpiopenmpinumpy1.23python3.11.____cpython: + CONFIG: linux_64_mpiopenmpinumpy1.23python3.11.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 timeoutInMinutes: 360 @@ -57,6 +69,9 @@ jobs: - script: | export CI=azure + export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) + export remote_url=$(Build.Repository.Uri) + export sha=$(Build.SourceVersion) export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index e074c5b..487db89 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -8,32 +8,41 @@ jobs: vmImage: macOS-11 strategy: matrix: - osx_64_mpimpichpython3.10.____cpython: - CONFIG: osx_64_mpimpichpython3.10.____cpython + osx_64_mpimpichnumpy1.22python3.10.____cpython: + CONFIG: osx_64_mpimpichnumpy1.22python3.10.____cpython UPLOAD_PACKAGES: 'True' - osx_64_mpimpichpython3.8.____cpython: - CONFIG: osx_64_mpimpichpython3.8.____cpython + osx_64_mpimpichnumpy1.22python3.8.____cpython: + CONFIG: osx_64_mpimpichnumpy1.22python3.8.____cpython UPLOAD_PACKAGES: 'True' - osx_64_mpimpichpython3.9.____cpython: - CONFIG: osx_64_mpimpichpython3.9.____cpython + osx_64_mpimpichnumpy1.22python3.9.____cpython: + CONFIG: osx_64_mpimpichnumpy1.22python3.9.____cpython UPLOAD_PACKAGES: 'True' - osx_64_mpinompipython3.10.____cpython: - CONFIG: osx_64_mpinompipython3.10.____cpython + osx_64_mpimpichnumpy1.23python3.11.____cpython: + CONFIG: osx_64_mpimpichnumpy1.23python3.11.____cpython UPLOAD_PACKAGES: 'True' - osx_64_mpinompipython3.8.____cpython: - CONFIG: osx_64_mpinompipython3.8.____cpython + osx_64_mpinompinumpy1.22python3.10.____cpython: + CONFIG: osx_64_mpinompinumpy1.22python3.10.____cpython UPLOAD_PACKAGES: 'True' - osx_64_mpinompipython3.9.____cpython: - CONFIG: osx_64_mpinompipython3.9.____cpython + osx_64_mpinompinumpy1.22python3.8.____cpython: + CONFIG: osx_64_mpinompinumpy1.22python3.8.____cpython UPLOAD_PACKAGES: 'True' - osx_64_mpiopenmpipython3.10.____cpython: - CONFIG: osx_64_mpiopenmpipython3.10.____cpython + osx_64_mpinompinumpy1.22python3.9.____cpython: + CONFIG: osx_64_mpinompinumpy1.22python3.9.____cpython UPLOAD_PACKAGES: 'True' - osx_64_mpiopenmpipython3.8.____cpython: - CONFIG: osx_64_mpiopenmpipython3.8.____cpython + osx_64_mpinompinumpy1.23python3.11.____cpython: + CONFIG: osx_64_mpinompinumpy1.23python3.11.____cpython UPLOAD_PACKAGES: 'True' - osx_64_mpiopenmpipython3.9.____cpython: - CONFIG: osx_64_mpiopenmpipython3.9.____cpython + osx_64_mpiopenmpinumpy1.22python3.10.____cpython: + CONFIG: osx_64_mpiopenmpinumpy1.22python3.10.____cpython + UPLOAD_PACKAGES: 'True' + osx_64_mpiopenmpinumpy1.22python3.8.____cpython: + CONFIG: osx_64_mpiopenmpinumpy1.22python3.8.____cpython + UPLOAD_PACKAGES: 'True' + osx_64_mpiopenmpinumpy1.22python3.9.____cpython: + CONFIG: osx_64_mpiopenmpinumpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + osx_64_mpiopenmpinumpy1.23python3.11.____cpython: + CONFIG: osx_64_mpiopenmpinumpy1.23python3.11.____cpython UPLOAD_PACKAGES: 'True' timeoutInMinutes: 360 @@ -41,6 +50,9 @@ jobs: # TODO: Fast finish on azure pipelines? - script: | export CI=azure + export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) + export remote_url=$(Build.Repository.Uri) + export sha=$(Build.SourceVersion) export OSX_FORCE_SDK_DOWNLOAD="1" export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 5075c75..eedfd44 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -8,14 +8,17 @@ jobs: vmImage: windows-2022 strategy: matrix: - win_64_python3.10.____cpython: - CONFIG: win_64_python3.10.____cpython + win_64_numpy1.22python3.10.____cpython: + CONFIG: win_64_numpy1.22python3.10.____cpython UPLOAD_PACKAGES: 'True' - win_64_python3.8.____cpython: - CONFIG: win_64_python3.8.____cpython + win_64_numpy1.22python3.8.____cpython: + CONFIG: win_64_numpy1.22python3.8.____cpython UPLOAD_PACKAGES: 'True' - win_64_python3.9.____cpython: - CONFIG: win_64_python3.9.____cpython + win_64_numpy1.22python3.9.____cpython: + CONFIG: win_64_numpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + win_64_numpy1.23python3.11.____cpython: + CONFIG: win_64_numpy1.23python3.11.____cpython UPLOAD_PACKAGES: 'True' timeoutInMinutes: 360 variables: @@ -23,6 +26,7 @@ jobs: UPLOAD_TEMP: D:\\tmp steps: + - task: PythonScript@0 displayName: 'Download Miniforge' inputs: @@ -41,52 +45,17 @@ jobs: displayName: Add conda to PATH - script: | - call activate base - mamba.exe install "python=3.10" conda-build conda pip boa conda-forge-ci-setup=3 -c conda-forge --strict-channel-priority --yes - displayName: Install conda-build - - - script: set PYTHONUNBUFFERED=1 - displayName: Set PYTHONUNBUFFERED - - # Configure the VM - - script: | - call activate base - setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml - displayName: conda-forge CI setup - - # Configure the VM. - - script: | - set "CI=azure" - call activate base - run_conda_forge_build_setup - displayName: conda-forge build setup - - - script: | - call activate base - if EXIST LICENSE.txt ( - copy LICENSE.txt "recipe\\recipe-scripts-license.txt" - ) - conda.exe mambabuild "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% - displayName: Build recipe + call ".scripts\run_win_build.bat" + displayName: Run Windows build env: PYTHONUNBUFFERED: 1 - - script: | - set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" - call activate base - validate_recipe_outputs "%FEEDSTOCK_NAME%" - displayName: Validate Recipe Outputs - - - script: | - set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" - set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" - set "TEMP=$(UPLOAD_TEMP)" - if not exist "%TEMP%\" md "%TEMP%" - set "TMP=%TEMP%" - call activate base - upload_package --validate --feedstock-name="%FEEDSTOCK_NAME%" .\ ".\recipe" .ci_support\%CONFIG%.yaml - displayName: Upload package - env: + CONFIG: $(CONFIG) + CI: azure + flow_run_id: azure_$(Build.BuildNumber).$(System.JobAttempt) + remote_url: $(Build.Repository.Uri) + sha: $(Build.SourceVersion) + UPLOAD_PACKAGES: $(UPLOAD_PACKAGES) + UPLOAD_TEMP: $(UPLOAD_TEMP) BINSTAR_TOKEN: $(BINSTAR_TOKEN) FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) - STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) - condition: and(succeeded(), not(eq(variables['UPLOAD_PACKAGES'], 'False')), not(eq(variables['Build.Reason'], 'PullRequest'))) \ No newline at end of file + STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) \ No newline at end of file diff --git a/.ci_support/linux_64_mpimpichpython3.10.____cpython.yaml b/.ci_support/linux_64_mpimpichnumpy1.22python3.10.____cpython.yaml similarity index 98% rename from .ci_support/linux_64_mpimpichpython3.10.____cpython.yaml rename to .ci_support/linux_64_mpimpichnumpy1.22python3.10.____cpython.yaml index 26e1299..624d123 100644 --- a/.ci_support/linux_64_mpimpichpython3.10.____cpython.yaml +++ b/.ci_support/linux_64_mpimpichnumpy1.22python3.10.____cpython.yaml @@ -19,7 +19,7 @@ fortran_compiler: fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 mpi: - mpich mpich: diff --git a/.ci_support/linux_64_mpimpichpython3.8.____cpython.yaml b/.ci_support/linux_64_mpimpichnumpy1.22python3.8.____cpython.yaml similarity index 98% rename from .ci_support/linux_64_mpimpichpython3.8.____cpython.yaml rename to .ci_support/linux_64_mpimpichnumpy1.22python3.8.____cpython.yaml index 73aeccf..5330514 100644 --- a/.ci_support/linux_64_mpimpichpython3.8.____cpython.yaml +++ b/.ci_support/linux_64_mpimpichnumpy1.22python3.8.____cpython.yaml @@ -19,7 +19,7 @@ fortran_compiler: fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 mpi: - mpich mpich: diff --git a/.ci_support/linux_64_mpimpichpython3.9.____cpython.yaml b/.ci_support/linux_64_mpimpichnumpy1.22python3.9.____cpython.yaml similarity index 98% rename from .ci_support/linux_64_mpimpichpython3.9.____cpython.yaml rename to .ci_support/linux_64_mpimpichnumpy1.22python3.9.____cpython.yaml index b3fa9f3..22888b6 100644 --- a/.ci_support/linux_64_mpimpichpython3.9.____cpython.yaml +++ b/.ci_support/linux_64_mpimpichnumpy1.22python3.9.____cpython.yaml @@ -19,7 +19,7 @@ fortran_compiler: fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 mpi: - mpich mpich: diff --git a/.ci_support/linux_64_mpimpichnumpy1.23python3.11.____cpython.yaml b/.ci_support/linux_64_mpimpichnumpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..ab78901 --- /dev/null +++ b/.ci_support/linux_64_mpimpichnumpy1.23python3.11.____cpython.yaml @@ -0,0 +1,48 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +fortran_compiler: +- gfortran +fortran_compiler_version: +- '12' +hdf5: +- 1.14.3 +mpi: +- mpich +mpich: +- '4' +numpy: +- '1.23' +openmpi: +- '4' +openssl: +- '3' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - fortran_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_mpinompipython3.10.____cpython.yaml b/.ci_support/linux_64_mpinompinumpy1.22python3.10.____cpython.yaml similarity index 98% rename from .ci_support/linux_64_mpinompipython3.10.____cpython.yaml rename to .ci_support/linux_64_mpinompinumpy1.22python3.10.____cpython.yaml index a499253..c9b72ef 100644 --- a/.ci_support/linux_64_mpinompipython3.10.____cpython.yaml +++ b/.ci_support/linux_64_mpinompinumpy1.22python3.10.____cpython.yaml @@ -19,7 +19,7 @@ fortran_compiler: fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 mpi: - nompi mpich: diff --git a/.ci_support/linux_64_mpinompipython3.8.____cpython.yaml b/.ci_support/linux_64_mpinompinumpy1.22python3.8.____cpython.yaml similarity index 98% rename from .ci_support/linux_64_mpinompipython3.8.____cpython.yaml rename to .ci_support/linux_64_mpinompinumpy1.22python3.8.____cpython.yaml index d344a4d..3229a41 100644 --- a/.ci_support/linux_64_mpinompipython3.8.____cpython.yaml +++ b/.ci_support/linux_64_mpinompinumpy1.22python3.8.____cpython.yaml @@ -19,7 +19,7 @@ fortran_compiler: fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 mpi: - nompi mpich: diff --git a/.ci_support/linux_64_mpinompipython3.9.____cpython.yaml b/.ci_support/linux_64_mpinompinumpy1.22python3.9.____cpython.yaml similarity index 98% rename from .ci_support/linux_64_mpinompipython3.9.____cpython.yaml rename to .ci_support/linux_64_mpinompinumpy1.22python3.9.____cpython.yaml index e5b323f..acb3ca3 100644 --- a/.ci_support/linux_64_mpinompipython3.9.____cpython.yaml +++ b/.ci_support/linux_64_mpinompinumpy1.22python3.9.____cpython.yaml @@ -19,7 +19,7 @@ fortran_compiler: fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 mpi: - nompi mpich: diff --git a/.ci_support/linux_64_mpinompinumpy1.23python3.11.____cpython.yaml b/.ci_support/linux_64_mpinompinumpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..2275d6f --- /dev/null +++ b/.ci_support/linux_64_mpinompinumpy1.23python3.11.____cpython.yaml @@ -0,0 +1,48 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +fortran_compiler: +- gfortran +fortran_compiler_version: +- '12' +hdf5: +- 1.14.3 +mpi: +- nompi +mpich: +- '4' +numpy: +- '1.23' +openmpi: +- '4' +openssl: +- '3' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - fortran_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_mpiopenmpipython3.10.____cpython.yaml b/.ci_support/linux_64_mpiopenmpinumpy1.22python3.10.____cpython.yaml similarity index 98% rename from .ci_support/linux_64_mpiopenmpipython3.10.____cpython.yaml rename to .ci_support/linux_64_mpiopenmpinumpy1.22python3.10.____cpython.yaml index 0aa5285..8c3aef7 100644 --- a/.ci_support/linux_64_mpiopenmpipython3.10.____cpython.yaml +++ b/.ci_support/linux_64_mpiopenmpinumpy1.22python3.10.____cpython.yaml @@ -19,7 +19,7 @@ fortran_compiler: fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 mpi: - openmpi mpich: diff --git a/.ci_support/linux_64_mpiopenmpipython3.8.____cpython.yaml b/.ci_support/linux_64_mpiopenmpinumpy1.22python3.8.____cpython.yaml similarity index 98% rename from .ci_support/linux_64_mpiopenmpipython3.8.____cpython.yaml rename to .ci_support/linux_64_mpiopenmpinumpy1.22python3.8.____cpython.yaml index 3cb1d41..dca0036 100644 --- a/.ci_support/linux_64_mpiopenmpipython3.8.____cpython.yaml +++ b/.ci_support/linux_64_mpiopenmpinumpy1.22python3.8.____cpython.yaml @@ -19,7 +19,7 @@ fortran_compiler: fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 mpi: - openmpi mpich: diff --git a/.ci_support/linux_64_mpiopenmpipython3.9.____cpython.yaml b/.ci_support/linux_64_mpiopenmpinumpy1.22python3.9.____cpython.yaml similarity index 98% rename from .ci_support/linux_64_mpiopenmpipython3.9.____cpython.yaml rename to .ci_support/linux_64_mpiopenmpinumpy1.22python3.9.____cpython.yaml index 56c5f56..9c9cc8b 100644 --- a/.ci_support/linux_64_mpiopenmpipython3.9.____cpython.yaml +++ b/.ci_support/linux_64_mpiopenmpinumpy1.22python3.9.____cpython.yaml @@ -19,7 +19,7 @@ fortran_compiler: fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 mpi: - openmpi mpich: diff --git a/.ci_support/linux_64_mpiopenmpinumpy1.23python3.11.____cpython.yaml b/.ci_support/linux_64_mpiopenmpinumpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..0d9f756 --- /dev/null +++ b/.ci_support/linux_64_mpiopenmpinumpy1.23python3.11.____cpython.yaml @@ -0,0 +1,48 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +fortran_compiler: +- gfortran +fortran_compiler_version: +- '12' +hdf5: +- 1.14.3 +mpi: +- openmpi +mpich: +- '4' +numpy: +- '1.23' +openmpi: +- '4' +openssl: +- '3' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - fortran_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/migrations/hdf51141.yaml b/.ci_support/migrations/hdf51141.yaml deleted file mode 100644 index ef6f947..0000000 --- a/.ci_support/migrations/hdf51141.yaml +++ /dev/null @@ -1,7 +0,0 @@ -__migrator: - build_number: 1 - kind: version - migration_number: 1 -hdf5: -- 1.14.1 -migrator_ts: 1687165815.3104627 diff --git a/.ci_support/osx_64_mpimpichpython3.10.____cpython.yaml b/.ci_support/osx_64_mpimpichnumpy1.22python3.10.____cpython.yaml similarity index 96% rename from .ci_support/osx_64_mpimpichpython3.10.____cpython.yaml rename to .ci_support/osx_64_mpimpichnumpy1.22python3.10.____cpython.yaml index 9768b5a..28b2551 100644 --- a/.ci_support/osx_64_mpimpichpython3.10.____cpython.yaml +++ b/.ci_support/osx_64_mpimpichnumpy1.22python3.10.____cpython.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: c_compiler: - clang c_compiler_version: -- '15' +- '16' channel_sources: - conda-forge channel_targets: @@ -11,13 +11,13 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '15' +- '16' fortran_compiler: - gfortran fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 macos_machine: - x86_64-apple-darwin13.4.0 mpi: diff --git a/.ci_support/osx_64_mpimpichpython3.8.____cpython.yaml b/.ci_support/osx_64_mpimpichnumpy1.22python3.8.____cpython.yaml similarity index 96% rename from .ci_support/osx_64_mpimpichpython3.8.____cpython.yaml rename to .ci_support/osx_64_mpimpichnumpy1.22python3.8.____cpython.yaml index 4df11fb..ce00422 100644 --- a/.ci_support/osx_64_mpimpichpython3.8.____cpython.yaml +++ b/.ci_support/osx_64_mpimpichnumpy1.22python3.8.____cpython.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: c_compiler: - clang c_compiler_version: -- '15' +- '16' channel_sources: - conda-forge channel_targets: @@ -11,13 +11,13 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '15' +- '16' fortran_compiler: - gfortran fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 macos_machine: - x86_64-apple-darwin13.4.0 mpi: diff --git a/.ci_support/osx_64_mpimpichpython3.9.____cpython.yaml b/.ci_support/osx_64_mpimpichnumpy1.22python3.9.____cpython.yaml similarity index 96% rename from .ci_support/osx_64_mpimpichpython3.9.____cpython.yaml rename to .ci_support/osx_64_mpimpichnumpy1.22python3.9.____cpython.yaml index f0ea2fa..cef55d3 100644 --- a/.ci_support/osx_64_mpimpichpython3.9.____cpython.yaml +++ b/.ci_support/osx_64_mpimpichnumpy1.22python3.9.____cpython.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: c_compiler: - clang c_compiler_version: -- '15' +- '16' channel_sources: - conda-forge channel_targets: @@ -11,13 +11,13 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '15' +- '16' fortran_compiler: - gfortran fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 macos_machine: - x86_64-apple-darwin13.4.0 mpi: diff --git a/.ci_support/osx_64_mpimpichnumpy1.23python3.11.____cpython.yaml b/.ci_support/osx_64_mpimpichnumpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..17838b5 --- /dev/null +++ b/.ci_support/osx_64_mpimpichnumpy1.23python3.11.____cpython.yaml @@ -0,0 +1,48 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +c_compiler: +- clang +c_compiler_version: +- '16' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +fortran_compiler: +- gfortran +fortran_compiler_version: +- '12' +hdf5: +- 1.14.3 +macos_machine: +- x86_64-apple-darwin13.4.0 +mpi: +- mpich +mpich: +- '4' +numpy: +- '1.23' +openmpi: +- '4' +openssl: +- '3' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- osx-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - fortran_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_64_mpinompipython3.10.____cpython.yaml b/.ci_support/osx_64_mpinompinumpy1.22python3.10.____cpython.yaml similarity index 96% rename from .ci_support/osx_64_mpinompipython3.10.____cpython.yaml rename to .ci_support/osx_64_mpinompinumpy1.22python3.10.____cpython.yaml index a96c54e..eb848f0 100644 --- a/.ci_support/osx_64_mpinompipython3.10.____cpython.yaml +++ b/.ci_support/osx_64_mpinompinumpy1.22python3.10.____cpython.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: c_compiler: - clang c_compiler_version: -- '15' +- '16' channel_sources: - conda-forge channel_targets: @@ -11,13 +11,13 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '15' +- '16' fortran_compiler: - gfortran fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 macos_machine: - x86_64-apple-darwin13.4.0 mpi: diff --git a/.ci_support/osx_64_mpinompipython3.8.____cpython.yaml b/.ci_support/osx_64_mpinompinumpy1.22python3.8.____cpython.yaml similarity index 96% rename from .ci_support/osx_64_mpinompipython3.8.____cpython.yaml rename to .ci_support/osx_64_mpinompinumpy1.22python3.8.____cpython.yaml index fb34547..52edc54 100644 --- a/.ci_support/osx_64_mpinompipython3.8.____cpython.yaml +++ b/.ci_support/osx_64_mpinompinumpy1.22python3.8.____cpython.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: c_compiler: - clang c_compiler_version: -- '15' +- '16' channel_sources: - conda-forge channel_targets: @@ -11,13 +11,13 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '15' +- '16' fortran_compiler: - gfortran fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 macos_machine: - x86_64-apple-darwin13.4.0 mpi: diff --git a/.ci_support/osx_64_mpinompipython3.9.____cpython.yaml b/.ci_support/osx_64_mpinompinumpy1.22python3.9.____cpython.yaml similarity index 96% rename from .ci_support/osx_64_mpinompipython3.9.____cpython.yaml rename to .ci_support/osx_64_mpinompinumpy1.22python3.9.____cpython.yaml index 8c71c5b..94507af 100644 --- a/.ci_support/osx_64_mpinompipython3.9.____cpython.yaml +++ b/.ci_support/osx_64_mpinompinumpy1.22python3.9.____cpython.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: c_compiler: - clang c_compiler_version: -- '15' +- '16' channel_sources: - conda-forge channel_targets: @@ -11,13 +11,13 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '15' +- '16' fortran_compiler: - gfortran fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 macos_machine: - x86_64-apple-darwin13.4.0 mpi: diff --git a/.ci_support/osx_64_mpinompinumpy1.23python3.11.____cpython.yaml b/.ci_support/osx_64_mpinompinumpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..387ccb1 --- /dev/null +++ b/.ci_support/osx_64_mpinompinumpy1.23python3.11.____cpython.yaml @@ -0,0 +1,48 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +c_compiler: +- clang +c_compiler_version: +- '16' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +fortran_compiler: +- gfortran +fortran_compiler_version: +- '12' +hdf5: +- 1.14.3 +macos_machine: +- x86_64-apple-darwin13.4.0 +mpi: +- nompi +mpich: +- '4' +numpy: +- '1.23' +openmpi: +- '4' +openssl: +- '3' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- osx-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - fortran_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_64_mpiopenmpipython3.10.____cpython.yaml b/.ci_support/osx_64_mpiopenmpinumpy1.22python3.10.____cpython.yaml similarity index 96% rename from .ci_support/osx_64_mpiopenmpipython3.10.____cpython.yaml rename to .ci_support/osx_64_mpiopenmpinumpy1.22python3.10.____cpython.yaml index d0c58c9..6a7d57c 100644 --- a/.ci_support/osx_64_mpiopenmpipython3.10.____cpython.yaml +++ b/.ci_support/osx_64_mpiopenmpinumpy1.22python3.10.____cpython.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: c_compiler: - clang c_compiler_version: -- '15' +- '16' channel_sources: - conda-forge channel_targets: @@ -11,13 +11,13 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '15' +- '16' fortran_compiler: - gfortran fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 macos_machine: - x86_64-apple-darwin13.4.0 mpi: diff --git a/.ci_support/osx_64_mpiopenmpipython3.8.____cpython.yaml b/.ci_support/osx_64_mpiopenmpinumpy1.22python3.8.____cpython.yaml similarity index 96% rename from .ci_support/osx_64_mpiopenmpipython3.8.____cpython.yaml rename to .ci_support/osx_64_mpiopenmpinumpy1.22python3.8.____cpython.yaml index 10af024..a1dd38a 100644 --- a/.ci_support/osx_64_mpiopenmpipython3.8.____cpython.yaml +++ b/.ci_support/osx_64_mpiopenmpinumpy1.22python3.8.____cpython.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: c_compiler: - clang c_compiler_version: -- '15' +- '16' channel_sources: - conda-forge channel_targets: @@ -11,13 +11,13 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '15' +- '16' fortran_compiler: - gfortran fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 macos_machine: - x86_64-apple-darwin13.4.0 mpi: diff --git a/.ci_support/osx_64_mpiopenmpipython3.9.____cpython.yaml b/.ci_support/osx_64_mpiopenmpinumpy1.22python3.9.____cpython.yaml similarity index 96% rename from .ci_support/osx_64_mpiopenmpipython3.9.____cpython.yaml rename to .ci_support/osx_64_mpiopenmpinumpy1.22python3.9.____cpython.yaml index b84beef..d323670 100644 --- a/.ci_support/osx_64_mpiopenmpipython3.9.____cpython.yaml +++ b/.ci_support/osx_64_mpiopenmpinumpy1.22python3.9.____cpython.yaml @@ -3,7 +3,7 @@ MACOSX_DEPLOYMENT_TARGET: c_compiler: - clang c_compiler_version: -- '15' +- '16' channel_sources: - conda-forge channel_targets: @@ -11,13 +11,13 @@ channel_targets: cxx_compiler: - clangxx cxx_compiler_version: -- '15' +- '16' fortran_compiler: - gfortran fortran_compiler_version: - '12' hdf5: -- 1.14.2 +- 1.14.3 macos_machine: - x86_64-apple-darwin13.4.0 mpi: diff --git a/.ci_support/osx_64_mpiopenmpinumpy1.23python3.11.____cpython.yaml b/.ci_support/osx_64_mpiopenmpinumpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..f4fdcbc --- /dev/null +++ b/.ci_support/osx_64_mpiopenmpinumpy1.23python3.11.____cpython.yaml @@ -0,0 +1,48 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +c_compiler: +- clang +c_compiler_version: +- '16' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +fortran_compiler: +- gfortran +fortran_compiler_version: +- '12' +hdf5: +- 1.14.3 +macos_machine: +- x86_64-apple-darwin13.4.0 +mpi: +- openmpi +mpich: +- '4' +numpy: +- '1.23' +openmpi: +- '4' +openssl: +- '3' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- osx-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - fortran_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_64_python3.10.____cpython.yaml b/.ci_support/win_64_numpy1.22python3.10.____cpython.yaml similarity index 97% rename from .ci_support/win_64_python3.10.____cpython.yaml rename to .ci_support/win_64_numpy1.22python3.10.____cpython.yaml index 2ad914f..a33b490 100644 --- a/.ci_support/win_64_python3.10.____cpython.yaml +++ b/.ci_support/win_64_numpy1.22python3.10.____cpython.yaml @@ -7,7 +7,7 @@ channel_targets: cxx_compiler: - vs2019 hdf5: -- 1.14.2 +- 1.14.3 mpi: - nompi mpich: diff --git a/.ci_support/win_64_python3.8.____cpython.yaml b/.ci_support/win_64_numpy1.22python3.8.____cpython.yaml similarity index 97% rename from .ci_support/win_64_python3.8.____cpython.yaml rename to .ci_support/win_64_numpy1.22python3.8.____cpython.yaml index b6ca686..dcd4cdd 100644 --- a/.ci_support/win_64_python3.8.____cpython.yaml +++ b/.ci_support/win_64_numpy1.22python3.8.____cpython.yaml @@ -7,7 +7,7 @@ channel_targets: cxx_compiler: - vs2019 hdf5: -- 1.14.2 +- 1.14.3 mpi: - nompi mpich: diff --git a/.ci_support/win_64_python3.9.____cpython.yaml b/.ci_support/win_64_numpy1.22python3.9.____cpython.yaml similarity index 97% rename from .ci_support/win_64_python3.9.____cpython.yaml rename to .ci_support/win_64_numpy1.22python3.9.____cpython.yaml index 44cbce1..38b9c6f 100644 --- a/.ci_support/win_64_python3.9.____cpython.yaml +++ b/.ci_support/win_64_numpy1.22python3.9.____cpython.yaml @@ -7,7 +7,7 @@ channel_targets: cxx_compiler: - vs2019 hdf5: -- 1.14.2 +- 1.14.3 mpi: - nompi mpich: diff --git a/.ci_support/win_64_numpy1.23python3.11.____cpython.yaml b/.ci_support/win_64_numpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..18504bb --- /dev/null +++ b/.ci_support/win_64_numpy1.23python3.11.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- vs2019 +hdf5: +- 1.14.3 +mpi: +- nompi +mpich: +- '4' +numpy: +- '1.23' +openmpi: +- '4' +openssl: +- '3' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- win-64 +vc: +- '14' +zip_keys: +- - python + - numpy +zlib: +- '1.2' diff --git a/.gitignore b/.gitignore index c89ecb7..179afe5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,24 @@ -*.pyc +# User content belongs under recipe/. +# Feedstock configuration goes in `conda-forge.yml` +# Everything else is managed by the conda-smithy rerender process. +# Please do not modify + +# Ignore all files and folders in root +* +!/conda-forge.yml + +# Don't ignore any files/folders if the parent folder is 'un-ignored' +# This also avoids warnings when adding an already-checked file with an ignored parent. +!/**/ +# Don't ignore any files/folders recursively in the following folders +!/recipe/** +!/.ci_support/** -build_artifacts +# Since we ignore files/folders recursively, any folders inside +# build_artifacts gets ignored which trips some build systems. +# To avoid that we 'un-ignore' all files/folders recursively +# and only ignore the root build_artifacts folder. +!/build_artifacts/** +/build_artifacts + +*.pyc diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 595f8b5..f017291 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -28,14 +28,15 @@ conda-build: pkgs_dirs: - ${FEEDSTOCK_ROOT}/build_artifacts/pkg_cache - /opt/conda/pkgs +solver: libmamba CONDARC +export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 - -mamba install --update-specs --yes --quiet --channel conda-forge \ - conda-build pip boa conda-forge-ci-setup=3 -mamba update --update-specs --yes --quiet --channel conda-forge \ - conda-build pip boa conda-forge-ci-setup=3 +mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ + pip mamba conda-build boa conda-forge-ci-setup=4 +mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ + pip mamba conda-build boa conda-forge-ci-setup=4 # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" @@ -66,7 +67,8 @@ if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then else conda mambabuild "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ --suppress-variables ${EXTRA_CB_OPTIONS:-} \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" + --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ + --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" ( startgroup "Validating outputs" ) 2> /dev/null validate_recipe_outputs "${FEEDSTOCK_NAME}" diff --git a/.scripts/logging_utils.sh b/.scripts/logging_utils.sh index 57bc95c..aff009f 100644 --- a/.scripts/logging_utils.sh +++ b/.scripts/logging_utils.sh @@ -12,7 +12,7 @@ function startgroup { echo "##[group]$1";; travis ) echo "$1" - echo -en 'travis_fold:start:'"${1// /}"'\\r';; + echo -en 'travis_fold:start:'"${1// /}"'\r';; github_actions ) echo "::group::$1";; * ) @@ -28,7 +28,7 @@ function endgroup { azure ) echo "##[endgroup]";; travis ) - echo -en 'travis_fold:end:'"${1// /}"'\\r';; + echo -en 'travis_fold:end:'"${1// /}"'\r';; github_actions ) echo "::endgroup::";; esac diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh index 9236239..00f377a 100755 --- a/.scripts/run_docker_build.sh +++ b/.scripts/run_docker_build.sh @@ -21,6 +21,12 @@ if [ -z ${FEEDSTOCK_NAME} ]; then export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) fi +if [[ "${sha:-}" == "" ]]; then + pushd "${FEEDSTOCK_ROOT}" + sha=$(git rev-parse HEAD) + popd +fi + docker info # In order for the conda-build process in the container to write to the mounted @@ -91,6 +97,9 @@ docker run ${DOCKER_RUN_ARGS} \ -e CPU_COUNT \ -e BUILD_WITH_CONDA_DEBUG \ -e BUILD_OUTPUT_ID \ + -e flow_run_id \ + -e remote_url \ + -e sha \ -e BINSTAR_TOKEN \ -e FEEDSTOCK_TOKEN \ -e STAGING_BINSTAR_TOKEN \ diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index 5ef2a19..1fa8468 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -22,11 +22,13 @@ bash $MINIFORGE_FILE -b -p ${MINIFORGE_HOME} source ${MINIFORGE_HOME}/etc/profile.d/conda.sh conda activate base +export CONDA_SOLVER="libmamba" +export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 -mamba install --update-specs --quiet --yes --channel conda-forge \ - conda-build pip boa conda-forge-ci-setup=3 -mamba update --update-specs --yes --quiet --channel conda-forge \ - conda-build pip boa conda-forge-ci-setup=3 +mamba install --update-specs --quiet --yes --channel conda-forge --strict-channel-priority \ + pip mamba conda-build boa conda-forge-ci-setup=4 +mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ + pip mamba conda-build boa conda-forge-ci-setup=4 @@ -45,6 +47,10 @@ else echo -e "\n\nNot mangling homebrew as we are not running in CI" fi +if [[ "${sha:-}" == "" ]]; then + sha=$(git rev-parse HEAD) +fi + echo -e "\n\nRunning the build setup script." source run_conda_forge_build_setup @@ -73,7 +79,8 @@ else conda mambabuild ./recipe -m ./.ci_support/${CONFIG}.yaml \ --suppress-variables ${EXTRA_CB_OPTIONS:-} \ - --clobber-file ./.ci_support/clobber_${CONFIG}.yaml + --clobber-file ./.ci_support/clobber_${CONFIG}.yaml \ + --extra-meta flow_run_id="$flow_run_id" remote_url="$remote_url" sha="$sha" ( startgroup "Validating outputs" ) 2> /dev/null validate_recipe_outputs "${FEEDSTOCK_NAME}" diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat new file mode 100755 index 0000000..7bde26b --- /dev/null +++ b/.scripts/run_win_build.bat @@ -0,0 +1,120 @@ +:: PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here +:: will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent +:: changes to this script, consider a proposal to conda-smithy so that other feedstocks can also +:: benefit from the improvement. + +:: Note: we assume a Miniforge installation is available + +:: INPUTS (required environment variables) +:: CONFIG: name of the .ci_support/*.yaml file for this job +:: CI: azure, github_actions, or unset +:: UPLOAD_PACKAGES: true or false +:: UPLOAD_ON_BRANCH: true or false + +setlocal enableextensions enabledelayedexpansion + +call :start_group "Configuring conda" + +:: Activate the base conda environment +call activate base +:: Configure the solver +set "CONDA_SOLVER=libmamba" +if !errorlevel! neq 0 exit /b !errorlevel! +set "CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1" + +:: Provision the necessary dependencies to build the recipe later +echo Installing dependencies +mamba.exe install "python=3.10" pip mamba conda-build boa conda-forge-ci-setup=4 -c conda-forge --strict-channel-priority --yes +if !errorlevel! neq 0 exit /b !errorlevel! + +:: Set basic configuration +echo Setting up configuration +setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml +if !errorlevel! neq 0 exit /b !errorlevel! +echo Running build setup +CALL run_conda_forge_build_setup + + +if !errorlevel! neq 0 exit /b !errorlevel! + +if EXIST LICENSE.txt ( + echo Copying feedstock license + copy LICENSE.txt "recipe\\recipe-scripts-license.txt" +) + +if NOT [%flow_run_id%] == [] ( + set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --extra-meta flow_run_id=%flow_run_id% remote_url=%remote_url% sha=%sha%" +) + +call :end_group + +:: Build the recipe +echo Building recipe +conda.exe mambabuild "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% +if !errorlevel! neq 0 exit /b !errorlevel! + +:: Prepare some environment variables for the upload step +if /i "%CI%" == "github_actions" ( + set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%" + set "GIT_BRANCH=%GITHUB_REF:refs/heads/=%" + if /i "%GITHUB_EVENT_NAME%" == "pull_request" ( + set "IS_PR_BUILD=True" + ) else ( + set "IS_PR_BUILD=False" + ) + set "TEMP=%RUNNER_TEMP%" +) +if /i "%CI%" == "azure" ( + set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" + set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" + if /i "%BUILD_REASON%" == "PullRequest" ( + set "IS_PR_BUILD=True" + ) else ( + set "IS_PR_BUILD=False" + ) + set "TEMP=%UPLOAD_TEMP%" +) + +:: Validate +call :start_group "Validating outputs" +validate_recipe_outputs "%FEEDSTOCK_NAME%" +if !errorlevel! neq 0 exit /b !errorlevel! +call :end_group + +if /i "%UPLOAD_PACKAGES%" == "true" ( + if /i "%IS_PR_BUILD%" == "false" ( + call :start_group "Uploading packages" + if not exist "%TEMP%\" md "%TEMP%" + set "TMP=%TEMP%" + upload_package --validate --feedstock-name="%FEEDSTOCK_NAME%" .\ ".\recipe" .ci_support\%CONFIG%.yaml + if !errorlevel! neq 0 exit /b !errorlevel! + call :end_group + ) +) + +exit + +:: Logging subroutines + +:start_group +if /i "%CI%" == "github_actions" ( + echo ::group::%~1 + exit /b +) +if /i "%CI%" == "azure" ( + echo ##[group]%~1 + exit /b +) +echo %~1 +exit /b + +:end_group +if /i "%CI%" == "github_actions" ( + echo ::endgroup:: + exit /b +) +if /i "%CI%" == "azure" ( + echo ##[endgroup] + exit /b +) +exit /b \ No newline at end of file diff --git a/README.md b/README.md index fa5df3b..1ec341f 100644 --- a/README.md +++ b/README.md @@ -37,150 +37,199 @@ Current build status - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + @@ -264,7 +313,7 @@ available continuous integration services. Thanks to the awesome service provide [CircleCI](https://circleci.com/), [AppVeyor](https://www.appveyor.com/), [Drone](https://cloud.drone.io/welcome), and [TravisCI](https://travis-ci.com/) it is possible to build and upload installable packages to the -[conda-forge](https://anaconda.org/conda-forge) [Anaconda-Cloud](https://anaconda.org/) +[conda-forge](https://anaconda.org/conda-forge) [anaconda.org](https://anaconda.org/) channel for Linux, Windows and OSX respectively. To manage the continuous integration and simplify feedstock maintenance
VariantStatus
linux_64_mpimpichpython3.10.____cpythonlinux_64_mpimpichnumpy1.22python3.10.____cpython - variant + variant
linux_64_mpimpichpython3.8.____cpythonlinux_64_mpimpichnumpy1.22python3.8.____cpython - variant + variant
linux_64_mpimpichpython3.9.____cpythonlinux_64_mpimpichnumpy1.22python3.9.____cpython - variant + variant
linux_64_mpinompipython3.10.____cpythonlinux_64_mpimpichnumpy1.23python3.11.____cpython - variant + variant
linux_64_mpinompipython3.8.____cpythonlinux_64_mpinompinumpy1.22python3.10.____cpython - variant + variant
linux_64_mpinompipython3.9.____cpythonlinux_64_mpinompinumpy1.22python3.8.____cpython - variant + variant
linux_64_mpiopenmpipython3.10.____cpythonlinux_64_mpinompinumpy1.22python3.9.____cpython - variant + variant
linux_64_mpiopenmpipython3.8.____cpythonlinux_64_mpinompinumpy1.23python3.11.____cpython - variant + variant
linux_64_mpiopenmpipython3.9.____cpythonlinux_64_mpiopenmpinumpy1.22python3.10.____cpython - variant + variant
osx_64_mpimpichpython3.10.____cpythonlinux_64_mpiopenmpinumpy1.22python3.8.____cpython - variant + variant
osx_64_mpimpichpython3.8.____cpythonlinux_64_mpiopenmpinumpy1.22python3.9.____cpython - variant + variant
osx_64_mpimpichpython3.9.____cpythonlinux_64_mpiopenmpinumpy1.23python3.11.____cpython - variant + variant
osx_64_mpinompipython3.10.____cpythonosx_64_mpimpichnumpy1.22python3.10.____cpython - variant + variant
osx_64_mpinompipython3.8.____cpythonosx_64_mpimpichnumpy1.22python3.8.____cpython - variant + variant
osx_64_mpinompipython3.9.____cpythonosx_64_mpimpichnumpy1.22python3.9.____cpython - variant + variant
osx_64_mpiopenmpipython3.10.____cpythonosx_64_mpimpichnumpy1.23python3.11.____cpython - variant + variant
osx_64_mpiopenmpipython3.8.____cpythonosx_64_mpinompinumpy1.22python3.10.____cpython - variant + variant
osx_64_mpiopenmpipython3.9.____cpythonosx_64_mpinompinumpy1.22python3.8.____cpython - variant + variant
win_64_python3.10.____cpythonosx_64_mpinompinumpy1.22python3.9.____cpython - variant + variant
win_64_python3.8.____cpythonosx_64_mpinompinumpy1.23python3.11.____cpython - variant + variant
win_64_python3.9.____cpythonosx_64_mpiopenmpinumpy1.22python3.10.____cpython - variant + variant + +
osx_64_mpiopenmpinumpy1.22python3.8.____cpython + + variant + +
osx_64_mpiopenmpinumpy1.22python3.9.____cpython + + variant + +
osx_64_mpiopenmpinumpy1.23python3.11.____cpython + + variant + +
win_64_numpy1.22python3.10.____cpython + + variant + +
win_64_numpy1.22python3.8.____cpython + + variant + +
win_64_numpy1.22python3.9.____cpython + + variant + +
win_64_numpy1.23python3.11.____cpython + + variant