diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml
index abb9749..aef462c 100755
--- a/.azure-pipelines/azure-pipelines-linux.yml
+++ b/.azure-pipelines/azure-pipelines-linux.yml
@@ -12,6 +12,10 @@ jobs:
CONFIG: linux_64_
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
+ linux_aarch64_:
+ CONFIG: linux_aarch64_
+ UPLOAD_PACKAGES: 'True'
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
linux_ppc64le_:
CONFIG: linux_ppc64le_
UPLOAD_PACKAGES: 'True'
diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml
index 0983ebb..ba17c95 100755
--- a/.azure-pipelines/azure-pipelines-win.yml
+++ b/.azure-pipelines/azure-pipelines-win.yml
@@ -27,7 +27,7 @@ jobs:
scriptSource: inline
script: |
import urllib.request
- url = 'https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe'
+ url = 'https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe'
path = r"$(Build.ArtifactStagingDirectory)/Miniforge.exe"
urllib.request.urlretrieve(url, path)
diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml
index 8165f6c..8ef62cf 100644
--- a/.ci_support/linux_64_.yaml
+++ b/.ci_support/linux_64_.yaml
@@ -1,13 +1,13 @@
c_compiler:
- gcc
c_compiler_version:
-- '12'
+- '13'
c_stdlib:
- sysroot
c_stdlib_version:
-- '2.12'
+- '2.17'
cdt_name:
-- cos6
+- cos7
channel_sources:
- conda-forge
channel_targets:
diff --git a/.ci_support/linux_aarch64_.yaml b/.ci_support/linux_aarch64_.yaml
index 118940c..2395eeb 100644
--- a/.ci_support/linux_aarch64_.yaml
+++ b/.ci_support/linux_aarch64_.yaml
@@ -3,7 +3,7 @@ BUILD:
c_compiler:
- gcc
c_compiler_version:
-- '12'
+- '13'
c_stdlib:
- sysroot
c_stdlib_version:
@@ -17,7 +17,7 @@ channel_sources:
channel_targets:
- conda-forge main
docker_image:
-- quay.io/condaforge/linux-anvil-aarch64
+- quay.io/condaforge/linux-anvil-cos7-x86_64
target_platform:
- linux-aarch64
zip_keys:
diff --git a/.ci_support/linux_ppc64le_.yaml b/.ci_support/linux_ppc64le_.yaml
index abe6443..2a529bd 100644
--- a/.ci_support/linux_ppc64le_.yaml
+++ b/.ci_support/linux_ppc64le_.yaml
@@ -1,7 +1,7 @@
c_compiler:
- gcc
c_compiler_version:
-- '12'
+- '13'
c_stdlib:
- sysroot
c_stdlib_version:
diff --git a/.ci_support/osx_64_.yaml b/.ci_support/osx_64_.yaml
index 8f1e756..8f428db 100644
--- a/.ci_support/osx_64_.yaml
+++ b/.ci_support/osx_64_.yaml
@@ -5,7 +5,7 @@ MACOSX_SDK_VERSION:
c_compiler:
- clang_bootstrap
c_compiler_version:
-- '16'
+- '17'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
diff --git a/.ci_support/osx_arm64_.yaml b/.ci_support/osx_arm64_.yaml
index 131b4b1..6eb9cb1 100644
--- a/.ci_support/osx_arm64_.yaml
+++ b/.ci_support/osx_arm64_.yaml
@@ -5,7 +5,7 @@ MACOSX_SDK_VERSION:
c_compiler:
- clang_bootstrap
c_compiler_version:
-- '16'
+- '17'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh
index 899ba03..ba4b251 100755
--- a/.scripts/build_steps.sh
+++ b/.scripts/build_steps.sh
@@ -72,6 +72,12 @@ else
--suppress-variables ${EXTRA_CB_OPTIONS:-} \
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \
--extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}"
+ ( startgroup "Inspecting artifacts" ) 2> /dev/null
+
+ # inspect_artifacts was only added in conda-forge-ci-setup 4.6.0
+ command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts || echo "inspect_artifacts needs conda-forge-ci-setup >=4.6.0"
+
+ ( endgroup "Inspecting artifacts" ) 2> /dev/null
( startgroup "Validating outputs" ) 2> /dev/null
validate_recipe_outputs "${FEEDSTOCK_NAME}"
diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh
index 07dff21..420f051 100755
--- a/.scripts/run_osx_build.sh
+++ b/.scripts/run_osx_build.sh
@@ -11,7 +11,7 @@ MINIFORGE_HOME=${MINIFORGE_HOME:-${HOME}/miniforge3}
( startgroup "Installing a fresh version of Miniforge" ) 2> /dev/null
MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download"
-MINIFORGE_FILE="Mambaforge-MacOSX-$(uname -m).sh"
+MINIFORGE_FILE="Miniforge3-MacOSX-$(uname -m).sh"
curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}"
rm -rf ${MINIFORGE_HOME}
bash $MINIFORGE_FILE -b -p ${MINIFORGE_HOME}
@@ -85,6 +85,13 @@ else
--suppress-variables ${EXTRA_CB_OPTIONS:-} \
--clobber-file ./.ci_support/clobber_${CONFIG}.yaml \
--extra-meta flow_run_id="$flow_run_id" remote_url="$remote_url" sha="$sha"
+
+ ( startgroup "Inspecting artifacts" ) 2> /dev/null
+
+ # inspect_artifacts was only added in conda-forge-ci-setup 4.6.0
+ command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts || echo "inspect_artifacts needs conda-forge-ci-setup >=4.6.0"
+
+ ( endgroup "Inspecting artifacts" ) 2> /dev/null
( 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
index 6d54697..65650bf 100755
--- a/.scripts/run_win_build.bat
+++ b/.scripts/run_win_build.bat
@@ -58,6 +58,11 @@ echo Building recipe
conda-build.exe "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS%
if !errorlevel! neq 0 exit /b !errorlevel!
+call :start_group "Inspecting artifacts"
+:: inspect_artifacts was only added in conda-forge-ci-setup 4.6.0
+WHERE inspect_artifacts >nul 2>nul && inspect_artifacts || echo "inspect_artifacts needs conda-forge-ci-setup >=4.6.0"
+call :end_group
+
:: Prepare some environment variables for the upload step
if /i "%CI%" == "github_actions" (
set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%"
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 05d64a4..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# This file was generated automatically from conda-smithy. To update this configuration,
-# update the conda-forge.yml and/or the recipe/meta.yaml.
-
-language: generic
-
-
-
-matrix:
- include:
- - env: CONFIG=linux_aarch64_ UPLOAD_PACKAGES=True PLATFORM=linux-aarch64 DOCKER_IMAGE=quay.io/condaforge/linux-anvil-aarch64
- os: linux
- arch: arm64
- dist: focal
-
-script:
- - export CI=travis
- - export GIT_BRANCH="$TRAVIS_BRANCH"
- - export flow_run_id="travis_$TRAVIS_JOB_ID"
- - export sha="$TRAVIS_COMMIT"
- - export remote_url="https://github.com/$TRAVIS_REPO_SLUG"
- - export FEEDSTOCK_NAME=$(basename ${TRAVIS_REPO_SLUG})
- - if [[ "${TRAVIS_PULL_REQUEST:-}" == "false" ]]; then export IS_PR_BUILD="False"; else export IS_PR_BUILD="True"; fi
-
-
- - if [[ ${PLATFORM} =~ .*linux.* ]]; then CONDA_FORGE_DOCKER_RUN_ARGS="--network=host --security-opt=seccomp=unconfined" ./.scripts/run_docker_build.sh; fi
\ No newline at end of file
diff --git a/README.md b/README.md
index e3337e5..7aea96d 100644
--- a/README.md
+++ b/README.md
@@ -21,14 +21,7 @@ Current build status
====================
-
- Travis |
-
-
-
-
- |
-
+
Azure |
diff --git a/build-locally.py b/build-locally.py
index e0d408d..8ac9b84 100755
--- a/build-locally.py
+++ b/build-locally.py
@@ -1,13 +1,16 @@
-#!/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.
#
-import os
+# 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
import subprocess
from argparse import ArgumentParser
-import platform
def setup_environment(ns):
diff --git a/conda-forge.yml b/conda-forge.yml
index 5acb8fc..6c1f5d9 100644
--- a/conda-forge.yml
+++ b/conda-forge.yml
@@ -1,8 +1,8 @@
-provider: {linux_aarch64: default, linux_ppc64le: default}
conda_forge_output_validation: true
build_platform:
- osx_arm64: osx_64
+ linux_aarch64: linux_64
linux_ppc64le: linux_64
+ osx_arm64: osx_64
win_arm64: win_64
github:
branch_name: main
diff --git a/recipe/bld.bat b/recipe/bld.bat
index a02c027..930d9d5 100644
--- a/recipe/bld.bat
+++ b/recipe/bld.bat
@@ -70,8 +70,5 @@ copy %LIBRARY_LIB%\zlib.lib %LIBRARY_LIB%\z.lib || exit 1
:: Qt in particular goes looking for this one (as of 4.8.7).
copy %LIBRARY_LIB%\zlib.lib %LIBRARY_LIB%\zdll.lib || exit 1
-:: Copy license file to the source directory so conda-build can find it.
-copy %RECIPE_DIR%\license.txt %SRC_DIR%\license.txt || exit 1
-
:: python>=3.10 depend on this being at %PREFIX%
copy %LIBRARY_BIN%\zlib.dll %PREFIX%\zlib.dll || exit 1
diff --git a/recipe/build.sh b/recipe/build.sh
index 297d012..5b5f506 100644
--- a/recipe/build.sh
+++ b/recipe/build.sh
@@ -22,6 +22,3 @@ make install
# Remove man files.
rm -rf $PREFIX/share
-
-# Copy license file to the source directory so conda-build can find it.
-cp $RECIPE_DIR/license.txt $SRC_DIR/license.txt
diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml
index 029a4a8..4f9165d 100644
--- a/recipe/conda_build_config.yaml
+++ b/recipe/conda_build_config.yaml
@@ -1,2 +1,3 @@
-c_compiler: # [osx]
- - clang_bootstrap # [osx]
+# compiler on osx depends on zlib itself -> use the bootstrap compiler
+c_compiler: # [osx]
+ - clang_bootstrap # [osx]
diff --git a/recipe/license.txt b/recipe/license.txt
deleted file mode 100644
index fc16f58..0000000
--- a/recipe/license.txt
+++ /dev/null
@@ -1,23 +0,0 @@
- zlib.h -- interface of the 'zlib' general purpose compression library
- version 1.2.7, May 2nd, 2012
-
- Copyright (C) 1995-2012 Jean-loup Gailly and Mark Adler
-
- This software is provided 'as-is', without any express or implied
- warranty. In no event will the authors be held liable for any damages
- arising from the use of this software.
-
- Permission is granted to anyone to use this software for any purpose,
- including commercial applications, and to alter it and redistribute it
- freely, subject to the following restrictions:
-
- 1. The origin of this software must not be misrepresented; you must not
- claim that you wrote the original software. If you use this software
- in a product, an acknowledgment in the product documentation would be
- appreciated but is not required.
- 2. Altered source versions must be plainly marked as such, and must not be
- misrepresented as being the original software.
- 3. This notice may not be removed or altered from any source distribution.
-
- Jean-loup Gailly Mark Adler
- jloup@gzip.org madler@alumni.caltech.edu
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 21295d8..efb5cec 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -1,5 +1,5 @@
{% set version = "1.3.1" %}
-{% set build_num = 1 %}
+{% set build_num = 2 %}
package:
name: zlib-split
@@ -17,7 +17,6 @@ build:
requirements:
build:
- cmake # [win]
- # compiler on osx depends on zlib itself. Use the bootstrap compiler instead on osx
- {{ compiler('c') }}
- {{ stdlib('c') }}
- make # [unix]
@@ -142,11 +141,10 @@ outputs:
about:
home: http://zlib.net/
- # http://zlib.net/zlib_license.html
license: Zlib
summary: Massively spiffy yet delicately unobtrusive compression library
license_family: Other
- license_file: license.txt
+ license_file: LICENSE
description: |
zlib is designed to be a free, general-purpose, lossless data-compression
library for use on virtually any computer hardware and operating system.