From 7609c3ebfd76c6045d00942d8e82fff904caf8ff Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Sat, 10 Dec 2022 02:01:07 +0000 Subject: [PATCH 01/10] updated v1.3.0 --- recipe/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0e519bc..f24877f 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "1.1.15" %} +{% set version = "1.3.0" %} package: name: poetry @@ -6,11 +6,11 @@ package: source: url: https://pypi.io/packages/source/p/poetry/poetry-{{ version }}.tar.gz - sha256: a373848fd205f31b2f6bee6b87a201ea1e09ca573a2f40d0991539f564cedffd + sha256: d42943b44e80f5afafebdb696393cbdbcc750aecfaa6801174a4da42147c73fc build: noarch: python - number: 1 + number: 0 script: {{ PYTHON }} -m pip install . -vv entry_points: - poetry = poetry.console:main From 56edea68d8fc265df3e1f5aae803c098f9e25fb0 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Sat, 10 Dec 2022 02:01:17 +0000 Subject: [PATCH 02/10] MNT: Re-rendered with conda-build 3.23.3, conda-smithy 3.22.1, and conda-forge-pinning 2022.12.09.20.17.28 --- .ci_support/linux_64_.yaml | 8 -------- .circleci/config.yml | 2 +- .scripts/build_steps.sh | 4 ++-- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 84cccee..6c59082 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -6,11 +6,3 @@ channel_targets: - conda-forge main docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- 3.10.* *_cpython -target_platform: -- linux-64 diff --git a/.circleci/config.yml b/.circleci/config.yml index 3e61aa2..8b4ef2f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ # This file was generated automatically from conda-smithy. To update this configuration, # update the conda-forge.yml and/or the recipe/meta.yaml. -# -*- mode: yaml -*- +# -*- mode: jinja-yaml -*- version: 2 diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index a6b09f6..84431a6 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -33,9 +33,9 @@ CONDARC mamba install --update-specs --yes --quiet --channel conda-forge \ - conda-build pip boa conda-forge-ci-setup=3 + conda-build pip boa conda-forge-ci-setup=3 "py-lief<0.12" mamba update --update-specs --yes --quiet --channel conda-forge \ - conda-build pip boa conda-forge-ci-setup=3 + conda-build pip boa conda-forge-ci-setup=3 "py-lief<0.12" # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" From a21c81e4172c74b107ffea544773ae3ffe4dd98d Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Sat, 10 Dec 2022 14:12:59 -0700 Subject: [PATCH 03/10] Update dependencies and drop noarch:python --- recipe/meta.yaml | 58 ++++++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index f24877f..5b4f3a7 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -9,45 +9,49 @@ source: sha256: d42943b44e80f5afafebdb696393cbdbcc750aecfaa6801174a4da42147c73fc build: - noarch: python number: 0 script: {{ PYTHON }} -m pip install . -vv entry_points: - - poetry = poetry.console:main + - poetry = poetry.console.application:main requirements: host: - - python >=3.7 + - python - pip - - poetry-core >=1.0.7,<1.1.0 + - poetry-core >=1.1.0 run: # Update version number in URL before checking dependencies - # https://github.com/python-poetry/poetry/blob/1.1.12/pyproject.toml - - python >=3.7 - - poetry-core >=1.0.7,<1.1.0 - - cleo >=0.8.1,<0.9.0 - - clikit >=0.6.2,<0.7.0 - - crashtest >=0.3.0,<0.4.0 - - requests >=2.18,<3.0 - - cachy >=0.3.0,<0.4.0 - - requests-toolbelt >=0.9.1,<0.10.0 - - cachecontrol >=0.12.9,<0.13.0 - - # cachecontrol:filecache - - lockfile >=0.9 + # https://github.com/python-poetry/poetry/blob/1.3.0/pyproject.toml + - python + - poetry-core 1.4.0 + - poetry-plugin-export >=1.2.0,<2.0.0 + - backports.cached-property >=1.0.2,<2.0.0 # [py<38] + - cachecontrol = >=0.12.9,<0.13 + + # cachecontrol filecache extra + - filelock >=3.8.0 - - pkginfo >=1.4,<2.0 + - cleo >=2.0.0,<3.0.0 + - crashtest >=0.4.1,<0.5.0 + - dulwich >=0.20.46,<0.21.0 + - filelock >=3.8.0,<4.0.0 - html5lib >=1.0,<2.0 - - shellingham >=1.1,<2.0 - - tomlkit >=0.7.0,<1.0.0 + - importlib-metadata >=4.4,<5.0 # [py<310] + - jsonschema >=4.10.0,<5.0.0 + - keyring >=23.9.0,<24.0.0 + - packaging >=20.4 - pexpect >=4.7.0,<5.0.0 - - packaging >=20.4,<21.0 - - virtualenv >=20.0.26,<21.0.0 - - keyring >=21.2.0 - - importlib-metadata >=1.6.0,<2.0.0 - - # Workaround for - - ptyprocess >=0.5 + - pkginfo >=1.5,<2.0 + - platformdirs >=2.5.2,<3.0.0 + - requests >=2.18,<3.0 + - requests-toolbelt >=0.9.1,<0.11.0 + - shellingham >=1.5,<2.0 + - tomli >=2.0.1,<3.0.0 # [py<311] + - tomlkit >=0.11.1,<1.0.0,!=0.11.2,!=0.11.3 + - trove-classifiers >=2022.5.19 + - virtualenv >=20.4.3,<21.0.0,!=20.4.5,!=20.4.6 # [not win or py!=39] + - xattr >=0.10.0,<0.11.0 # [darwin] + - urllib3 >=1.26.0,<2.0.0 test: requires: From e0396e6e1a1b56e178608df1fc14bf38daffb0a4 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Sat, 10 Dec 2022 14:14:09 -0700 Subject: [PATCH 04/10] Fix typo --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 5b4f3a7..035d13a 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -26,7 +26,7 @@ requirements: - poetry-core 1.4.0 - poetry-plugin-export >=1.2.0,<2.0.0 - backports.cached-property >=1.0.2,<2.0.0 # [py<38] - - cachecontrol = >=0.12.9,<0.13 + - cachecontrol >=0.12.9,<0.13.0 # cachecontrol filecache extra - filelock >=3.8.0 From 169bab58d8f326c49a69e4acef9dccd249d04a04 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Sat, 10 Dec 2022 21:16:00 +0000 Subject: [PATCH 05/10] MNT: Re-rendered with conda-build 3.23.3, conda-smithy 3.22.1, and conda-forge-pinning 2022.12.10.21.07.48 --- .azure-pipelines/azure-pipelines-linux.yml | 60 ++++- .azure-pipelines/azure-pipelines-osx.yml | 54 +++++ .azure-pipelines/azure-pipelines-win.yml | 98 ++++++++ .../linux_64_python3.10.____cpython.yaml | 16 ++ ...ml => linux_64_python3.8.____73_pypy.yaml} | 8 + .../linux_64_python3.8.____cpython.yaml | 16 ++ .../linux_64_python3.9.____73_pypy.yaml | 16 ++ .../linux_64_python3.9.____cpython.yaml | 16 ++ .../linux_aarch64_python3.10.____cpython.yaml | 20 ++ .../linux_aarch64_python3.8.____73_pypy.yaml | 20 ++ .../linux_aarch64_python3.8.____cpython.yaml | 20 ++ .../linux_aarch64_python3.9.____73_pypy.yaml | 20 ++ .../linux_aarch64_python3.9.____cpython.yaml | 20 ++ .../linux_ppc64le_python3.10.____cpython.yaml | 16 ++ .../linux_ppc64le_python3.8.____73_pypy.yaml | 16 ++ .../linux_ppc64le_python3.8.____cpython.yaml | 16 ++ .../linux_ppc64le_python3.9.____73_pypy.yaml | 16 ++ .../linux_ppc64le_python3.9.____cpython.yaml | 16 ++ .../osx_64_python3.10.____cpython.yaml | 16 ++ .ci_support/osx_64_python3.8.____73_pypy.yaml | 16 ++ .ci_support/osx_64_python3.8.____cpython.yaml | 16 ++ .ci_support/osx_64_python3.9.____73_pypy.yaml | 16 ++ .ci_support/osx_64_python3.9.____cpython.yaml | 16 ++ .../osx_arm64_python3.10.____cpython.yaml | 16 ++ .../osx_arm64_python3.8.____cpython.yaml | 16 ++ .../osx_arm64_python3.9.____cpython.yaml | 16 ++ .../win_64_python3.10.____cpython.yaml | 12 + .ci_support/win_64_python3.8.____73_pypy.yaml | 12 + .ci_support/win_64_python3.8.____cpython.yaml | 12 + .ci_support/win_64_python3.9.____73_pypy.yaml | 12 + .ci_support/win_64_python3.9.____cpython.yaml | 12 + .scripts/run_osx_build.sh | 94 ++++++++ README.md | 216 +++++++++++++++++- azure-pipelines.yml | 4 +- 34 files changed, 959 insertions(+), 7 deletions(-) create mode 100755 .azure-pipelines/azure-pipelines-osx.yml create mode 100755 .azure-pipelines/azure-pipelines-win.yml create mode 100644 .ci_support/linux_64_python3.10.____cpython.yaml rename .ci_support/{linux_64_.yaml => linux_64_python3.8.____73_pypy.yaml} (55%) create mode 100644 .ci_support/linux_64_python3.8.____cpython.yaml create mode 100644 .ci_support/linux_64_python3.9.____73_pypy.yaml create mode 100644 .ci_support/linux_64_python3.9.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_python3.10.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_python3.8.____73_pypy.yaml create mode 100644 .ci_support/linux_aarch64_python3.8.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_python3.9.____73_pypy.yaml create mode 100644 .ci_support/linux_aarch64_python3.9.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_python3.10.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_python3.8.____73_pypy.yaml create mode 100644 .ci_support/linux_ppc64le_python3.8.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_python3.9.____73_pypy.yaml create mode 100644 .ci_support/linux_ppc64le_python3.9.____cpython.yaml create mode 100644 .ci_support/osx_64_python3.10.____cpython.yaml create mode 100644 .ci_support/osx_64_python3.8.____73_pypy.yaml create mode 100644 .ci_support/osx_64_python3.8.____cpython.yaml create mode 100644 .ci_support/osx_64_python3.9.____73_pypy.yaml create mode 100644 .ci_support/osx_64_python3.9.____cpython.yaml create mode 100644 .ci_support/osx_arm64_python3.10.____cpython.yaml create mode 100644 .ci_support/osx_arm64_python3.8.____cpython.yaml create mode 100644 .ci_support/osx_arm64_python3.9.____cpython.yaml create mode 100644 .ci_support/win_64_python3.10.____cpython.yaml create mode 100644 .ci_support/win_64_python3.8.____73_pypy.yaml create mode 100644 .ci_support/win_64_python3.8.____cpython.yaml create mode 100644 .ci_support/win_64_python3.9.____73_pypy.yaml create mode 100644 .ci_support/win_64_python3.9.____cpython.yaml create mode 100755 .scripts/run_osx_build.sh diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 974e878..0cb67dc 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -8,10 +8,66 @@ jobs: vmImage: ubuntu-latest strategy: matrix: - linux_64_: - CONFIG: linux_64_ + linux_64_python3.10.____cpython: + CONFIG: linux_64_python3.10.____cpython UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_python3.8.____73_pypy: + CONFIG: linux_64_python3.8.____73_pypy + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_python3.8.____cpython: + CONFIG: linux_64_python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_python3.9.____73_pypy: + CONFIG: linux_64_python3.9.____73_pypy + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_64_python3.9.____cpython: + CONFIG: linux_64_python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_aarch64_python3.10.____cpython: + CONFIG: linux_aarch64_python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_aarch64_python3.8.____73_pypy: + CONFIG: linux_aarch64_python3.8.____73_pypy + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_aarch64_python3.8.____cpython: + CONFIG: linux_aarch64_python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_aarch64_python3.9.____73_pypy: + CONFIG: linux_aarch64_python3.9.____73_pypy + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_aarch64_python3.9.____cpython: + CONFIG: linux_aarch64_python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_ppc64le_python3.10.____cpython: + CONFIG: linux_ppc64le_python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le + linux_ppc64le_python3.8.____73_pypy: + CONFIG: linux_ppc64le_python3.8.____73_pypy + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le + linux_ppc64le_python3.8.____cpython: + CONFIG: linux_ppc64le_python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le + linux_ppc64le_python3.9.____73_pypy: + CONFIG: linux_ppc64le_python3.9.____73_pypy + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le + linux_ppc64le_python3.9.____cpython: + CONFIG: linux_ppc64le_python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le timeoutInMinutes: 360 steps: diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml new file mode 100755 index 0000000..2ef00a7 --- /dev/null +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -0,0 +1,54 @@ +# This file was generated automatically from conda-smithy. To update this configuration, +# update the conda-forge.yml and/or the recipe/meta.yaml. +# -*- mode: yaml -*- + +jobs: +- job: osx + pool: + vmImage: macOS-11 + strategy: + matrix: + osx_64_python3.10.____cpython: + CONFIG: osx_64_python3.10.____cpython + UPLOAD_PACKAGES: 'True' + osx_64_python3.8.____73_pypy: + CONFIG: osx_64_python3.8.____73_pypy + UPLOAD_PACKAGES: 'True' + osx_64_python3.8.____cpython: + CONFIG: osx_64_python3.8.____cpython + UPLOAD_PACKAGES: 'True' + osx_64_python3.9.____73_pypy: + CONFIG: osx_64_python3.9.____73_pypy + UPLOAD_PACKAGES: 'True' + osx_64_python3.9.____cpython: + CONFIG: osx_64_python3.9.____cpython + UPLOAD_PACKAGES: 'True' + osx_arm64_python3.10.____cpython: + CONFIG: osx_arm64_python3.10.____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' + timeoutInMinutes: 360 + + steps: + # TODO: Fast finish on azure pipelines? + - script: | + export CI=azure + export OSX_FORCE_SDK_DOWNLOAD="1" + export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME + export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) + if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then + export IS_PR_BUILD="True" + else + export IS_PR_BUILD="False" + fi + ./.scripts/run_osx_build.sh + displayName: Run OSX build + env: + BINSTAR_TOKEN: $(BINSTAR_TOKEN) + FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) + STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) \ No newline at end of file diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml new file mode 100755 index 0000000..4270926 --- /dev/null +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -0,0 +1,98 @@ +# This file was generated automatically from conda-smithy. To update this configuration, +# update the conda-forge.yml and/or the recipe/meta.yaml. +# -*- mode: yaml -*- + +jobs: +- job: win + pool: + vmImage: windows-2019 + strategy: + matrix: + win_64_python3.10.____cpython: + CONFIG: win_64_python3.10.____cpython + UPLOAD_PACKAGES: 'True' + win_64_python3.8.____73_pypy: + CONFIG: win_64_python3.8.____73_pypy + UPLOAD_PACKAGES: 'True' + win_64_python3.8.____cpython: + CONFIG: win_64_python3.8.____cpython + UPLOAD_PACKAGES: 'True' + win_64_python3.9.____73_pypy: + CONFIG: win_64_python3.9.____73_pypy + UPLOAD_PACKAGES: 'True' + win_64_python3.9.____cpython: + CONFIG: win_64_python3.9.____cpython + UPLOAD_PACKAGES: 'True' + timeoutInMinutes: 360 + variables: + CONDA_BLD_PATH: D:\\bld\\ + UPLOAD_TEMP: D:\\tmp + + steps: + - task: PythonScript@0 + displayName: 'Download Miniforge' + inputs: + scriptSource: inline + script: | + import urllib.request + url = 'https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe' + path = r"$(Build.ArtifactStagingDirectory)/Miniforge.exe" + urllib.request.urlretrieve(url, path) + + - script: | + start /wait "" %BUILD_ARTIFACTSTAGINGDIRECTORY%\Miniforge.exe /InstallationType=JustMe /RegisterPython=0 /S /D=C:\Miniforge + displayName: Install Miniforge + + - powershell: Write-Host "##vso[task.prependpath]C:\Miniforge\Scripts" + displayName: Add conda to PATH + + - script: | + call activate base + mamba.exe install "python=3.9" conda-build conda pip boa conda-forge-ci-setup=3 "py-lief<0.12" -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 + displayName: Build recipe + 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: + 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 diff --git a/.ci_support/linux_64_python3.10.____cpython.yaml b/.ci_support/linux_64_python3.10.____cpython.yaml new file mode 100644 index 0000000..84cccee --- /dev/null +++ b/.ci_support/linux_64_python3.10.____cpython.yaml @@ -0,0 +1,16 @@ +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- linux-64 diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_python3.8.____73_pypy.yaml similarity index 55% rename from .ci_support/linux_64_.yaml rename to .ci_support/linux_64_python3.8.____73_pypy.yaml index 6c59082..1b0ff54 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_python3.8.____73_pypy.yaml @@ -6,3 +6,11 @@ channel_targets: - conda-forge main docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_73_pypy +target_platform: +- linux-64 diff --git a/.ci_support/linux_64_python3.8.____cpython.yaml b/.ci_support/linux_64_python3.8.____cpython.yaml new file mode 100644 index 0000000..7b5ae5c --- /dev/null +++ b/.ci_support/linux_64_python3.8.____cpython.yaml @@ -0,0 +1,16 @@ +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- linux-64 diff --git a/.ci_support/linux_64_python3.9.____73_pypy.yaml b/.ci_support/linux_64_python3.9.____73_pypy.yaml new file mode 100644 index 0000000..b3364bb --- /dev/null +++ b/.ci_support/linux_64_python3.9.____73_pypy.yaml @@ -0,0 +1,16 @@ +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_73_pypy +target_platform: +- linux-64 diff --git a/.ci_support/linux_64_python3.9.____cpython.yaml b/.ci_support/linux_64_python3.9.____cpython.yaml new file mode 100644 index 0000000..50d8196 --- /dev/null +++ b/.ci_support/linux_64_python3.9.____cpython.yaml @@ -0,0 +1,16 @@ +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- linux-64 diff --git a/.ci_support/linux_aarch64_python3.10.____cpython.yaml b/.ci_support/linux_aarch64_python3.10.____cpython.yaml new file mode 100644 index 0000000..299cd0e --- /dev/null +++ b/.ci_support/linux_aarch64_python3.10.____cpython.yaml @@ -0,0 +1,20 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- linux-aarch64 diff --git a/.ci_support/linux_aarch64_python3.8.____73_pypy.yaml b/.ci_support/linux_aarch64_python3.8.____73_pypy.yaml new file mode 100644 index 0000000..9b2ca65 --- /dev/null +++ b/.ci_support/linux_aarch64_python3.8.____73_pypy.yaml @@ -0,0 +1,20 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_73_pypy +target_platform: +- linux-aarch64 diff --git a/.ci_support/linux_aarch64_python3.8.____cpython.yaml b/.ci_support/linux_aarch64_python3.8.____cpython.yaml new file mode 100644 index 0000000..7323df3 --- /dev/null +++ b/.ci_support/linux_aarch64_python3.8.____cpython.yaml @@ -0,0 +1,20 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- linux-aarch64 diff --git a/.ci_support/linux_aarch64_python3.9.____73_pypy.yaml b/.ci_support/linux_aarch64_python3.9.____73_pypy.yaml new file mode 100644 index 0000000..44a9cd9 --- /dev/null +++ b/.ci_support/linux_aarch64_python3.9.____73_pypy.yaml @@ -0,0 +1,20 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_73_pypy +target_platform: +- linux-aarch64 diff --git a/.ci_support/linux_aarch64_python3.9.____cpython.yaml b/.ci_support/linux_aarch64_python3.9.____cpython.yaml new file mode 100644 index 0000000..bb5774a --- /dev/null +++ b/.ci_support/linux_aarch64_python3.9.____cpython.yaml @@ -0,0 +1,20 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- linux-aarch64 diff --git a/.ci_support/linux_ppc64le_python3.10.____cpython.yaml b/.ci_support/linux_ppc64le_python3.10.____cpython.yaml new file mode 100644 index 0000000..c142a78 --- /dev/null +++ b/.ci_support/linux_ppc64le_python3.10.____cpython.yaml @@ -0,0 +1,16 @@ +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- linux-ppc64le diff --git a/.ci_support/linux_ppc64le_python3.8.____73_pypy.yaml b/.ci_support/linux_ppc64le_python3.8.____73_pypy.yaml new file mode 100644 index 0000000..c0913a0 --- /dev/null +++ b/.ci_support/linux_ppc64le_python3.8.____73_pypy.yaml @@ -0,0 +1,16 @@ +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_73_pypy +target_platform: +- linux-ppc64le diff --git a/.ci_support/linux_ppc64le_python3.8.____cpython.yaml b/.ci_support/linux_ppc64le_python3.8.____cpython.yaml new file mode 100644 index 0000000..4c66ffd --- /dev/null +++ b/.ci_support/linux_ppc64le_python3.8.____cpython.yaml @@ -0,0 +1,16 @@ +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- linux-ppc64le diff --git a/.ci_support/linux_ppc64le_python3.9.____73_pypy.yaml b/.ci_support/linux_ppc64le_python3.9.____73_pypy.yaml new file mode 100644 index 0000000..df88c3c --- /dev/null +++ b/.ci_support/linux_ppc64le_python3.9.____73_pypy.yaml @@ -0,0 +1,16 @@ +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_73_pypy +target_platform: +- linux-ppc64le diff --git a/.ci_support/linux_ppc64le_python3.9.____cpython.yaml b/.ci_support/linux_ppc64le_python3.9.____cpython.yaml new file mode 100644 index 0000000..97473b0 --- /dev/null +++ b/.ci_support/linux_ppc64le_python3.9.____cpython.yaml @@ -0,0 +1,16 @@ +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- linux-ppc64le diff --git a/.ci_support/osx_64_python3.10.____cpython.yaml b/.ci_support/osx_64_python3.10.____cpython.yaml new file mode 100644 index 0000000..48d3e80 --- /dev/null +++ b/.ci_support/osx_64_python3.10.____cpython.yaml @@ -0,0 +1,16 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +macos_machine: +- x86_64-apple-darwin13.4.0 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- osx-64 diff --git a/.ci_support/osx_64_python3.8.____73_pypy.yaml b/.ci_support/osx_64_python3.8.____73_pypy.yaml new file mode 100644 index 0000000..f92fbea --- /dev/null +++ b/.ci_support/osx_64_python3.8.____73_pypy.yaml @@ -0,0 +1,16 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +macos_machine: +- x86_64-apple-darwin13.4.0 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_73_pypy +target_platform: +- osx-64 diff --git a/.ci_support/osx_64_python3.8.____cpython.yaml b/.ci_support/osx_64_python3.8.____cpython.yaml new file mode 100644 index 0000000..76bbd40 --- /dev/null +++ b/.ci_support/osx_64_python3.8.____cpython.yaml @@ -0,0 +1,16 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +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 +target_platform: +- osx-64 diff --git a/.ci_support/osx_64_python3.9.____73_pypy.yaml b/.ci_support/osx_64_python3.9.____73_pypy.yaml new file mode 100644 index 0000000..064e9b0 --- /dev/null +++ b/.ci_support/osx_64_python3.9.____73_pypy.yaml @@ -0,0 +1,16 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +macos_machine: +- x86_64-apple-darwin13.4.0 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_73_pypy +target_platform: +- osx-64 diff --git a/.ci_support/osx_64_python3.9.____cpython.yaml b/.ci_support/osx_64_python3.9.____cpython.yaml new file mode 100644 index 0000000..ab5e193 --- /dev/null +++ b/.ci_support/osx_64_python3.9.____cpython.yaml @@ -0,0 +1,16 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +macos_machine: +- x86_64-apple-darwin13.4.0 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- osx-64 diff --git a/.ci_support/osx_arm64_python3.10.____cpython.yaml b/.ci_support/osx_arm64_python3.10.____cpython.yaml new file mode 100644 index 0000000..22ade12 --- /dev/null +++ b/.ci_support/osx_arm64_python3.10.____cpython.yaml @@ -0,0 +1,16 @@ +MACOSX_DEPLOYMENT_TARGET: +- '11.0' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +macos_machine: +- arm64-apple-darwin20.0.0 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- osx-arm64 diff --git a/.ci_support/osx_arm64_python3.8.____cpython.yaml b/.ci_support/osx_arm64_python3.8.____cpython.yaml new file mode 100644 index 0000000..2f767b1 --- /dev/null +++ b/.ci_support/osx_arm64_python3.8.____cpython.yaml @@ -0,0 +1,16 @@ +MACOSX_DEPLOYMENT_TARGET: +- '11.0' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +macos_machine: +- arm64-apple-darwin20.0.0 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- osx-arm64 diff --git a/.ci_support/osx_arm64_python3.9.____cpython.yaml b/.ci_support/osx_arm64_python3.9.____cpython.yaml new file mode 100644 index 0000000..cd4fc0a --- /dev/null +++ b/.ci_support/osx_arm64_python3.9.____cpython.yaml @@ -0,0 +1,16 @@ +MACOSX_DEPLOYMENT_TARGET: +- '11.0' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +macos_machine: +- arm64-apple-darwin20.0.0 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- osx-arm64 diff --git a/.ci_support/win_64_python3.10.____cpython.yaml b/.ci_support/win_64_python3.10.____cpython.yaml new file mode 100644 index 0000000..d30d308 --- /dev/null +++ b/.ci_support/win_64_python3.10.____cpython.yaml @@ -0,0 +1,12 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- win-64 diff --git a/.ci_support/win_64_python3.8.____73_pypy.yaml b/.ci_support/win_64_python3.8.____73_pypy.yaml new file mode 100644 index 0000000..e262846 --- /dev/null +++ b/.ci_support/win_64_python3.8.____73_pypy.yaml @@ -0,0 +1,12 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_73_pypy +target_platform: +- win-64 diff --git a/.ci_support/win_64_python3.8.____cpython.yaml b/.ci_support/win_64_python3.8.____cpython.yaml new file mode 100644 index 0000000..4f0d022 --- /dev/null +++ b/.ci_support/win_64_python3.8.____cpython.yaml @@ -0,0 +1,12 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- win-64 diff --git a/.ci_support/win_64_python3.9.____73_pypy.yaml b/.ci_support/win_64_python3.9.____73_pypy.yaml new file mode 100644 index 0000000..205b9e8 --- /dev/null +++ b/.ci_support/win_64_python3.9.____73_pypy.yaml @@ -0,0 +1,12 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_73_pypy +target_platform: +- win-64 diff --git a/.ci_support/win_64_python3.9.____cpython.yaml b/.ci_support/win_64_python3.9.____cpython.yaml new file mode 100644 index 0000000..53204fb --- /dev/null +++ b/.ci_support/win_64_python3.9.____cpython.yaml @@ -0,0 +1,12 @@ +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- win-64 diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh new file mode 100755 index 0000000..b3abaeb --- /dev/null +++ b/.scripts/run_osx_build.sh @@ -0,0 +1,94 @@ +#!/usr/bin/env bash + +# -*- mode: jinja-shell -*- + +source .scripts/logging_utils.sh + +set -xe + +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" +curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}" +rm -rf ${MINIFORGE_HOME} +bash $MINIFORGE_FILE -b -p ${MINIFORGE_HOME} + +( endgroup "Installing a fresh version of Miniforge" ) 2> /dev/null + +( startgroup "Configuring conda" ) 2> /dev/null + +source ${MINIFORGE_HOME}/etc/profile.d/conda.sh +conda activate base + +mamba install --update-specs --quiet --yes --channel conda-forge \ + conda-build pip boa conda-forge-ci-setup=3 "py-lief<0.12" +mamba update --update-specs --yes --quiet --channel conda-forge \ + conda-build pip boa conda-forge-ci-setup=3 "py-lief<0.12" + + + +echo -e "\n\nSetting up the condarc and mangling the compiler." +setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml + +if [[ "${CI:-}" != "" ]]; then + mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml +fi + +if [[ "${CI:-}" != "" ]]; then + echo -e "\n\nMangling homebrew in the CI to avoid conflicts." + /usr/bin/sudo mangle_homebrew + /usr/bin/sudo -k +else + echo -e "\n\nNot mangling homebrew as we are not running in CI" +fi + +echo -e "\n\nRunning the build setup script." +source run_conda_forge_build_setup + + + +( endgroup "Configuring conda" ) 2> /dev/null + +echo -e "\n\nMaking the build clobber file" +make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml + +if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" +fi + + +if [[ -f LICENSE.txt ]]; then + cp LICENSE.txt "recipe/recipe-scripts-license.txt" +fi + +if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then + if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" + fi + conda debug ./recipe -m ./.ci_support/${CONFIG}.yaml \ + ${EXTRA_CB_OPTIONS:-} \ + --clobber-file ./.ci_support/clobber_${CONFIG}.yaml + + # Drop into an interactive shell + /bin/bash +else + conda mambabuild ./recipe -m ./.ci_support/${CONFIG}.yaml \ + --suppress-variables ${EXTRA_CB_OPTIONS:-} \ + --clobber-file ./.ci_support/clobber_${CONFIG}.yaml + ( startgroup "Validating outputs" ) 2> /dev/null + + validate_recipe_outputs "${FEEDSTOCK_NAME}" + + ( endgroup "Validating outputs" ) 2> /dev/null + + ( startgroup "Uploading packages" ) 2> /dev/null + + if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then + upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" ./ ./recipe ./.ci_support/${CONFIG}.yaml + fi + + ( endgroup "Uploading packages" ) 2> /dev/null +fi \ No newline at end of file diff --git a/README.md b/README.md index 77edc5b..6e7f8f9 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,219 @@ Current build status ==================== - +
All platforms:
+ + +
Azure - - - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariantStatus
linux_64_python3.10.____cpython + + variant + +
linux_64_python3.8.____73_pypy + + variant + +
linux_64_python3.8.____cpython + + variant + +
linux_64_python3.9.____73_pypy + + variant + +
linux_64_python3.9.____cpython + + variant + +
linux_aarch64_python3.10.____cpython + + variant + +
linux_aarch64_python3.8.____73_pypy + + variant + +
linux_aarch64_python3.8.____cpython + + variant + +
linux_aarch64_python3.9.____73_pypy + + variant + +
linux_aarch64_python3.9.____cpython + + variant + +
linux_ppc64le_python3.10.____cpython + + variant + +
linux_ppc64le_python3.8.____73_pypy + + variant + +
linux_ppc64le_python3.8.____cpython + + variant + +
linux_ppc64le_python3.9.____73_pypy + + variant + +
linux_ppc64le_python3.9.____cpython + + variant + +
osx_64_python3.10.____cpython + + variant + +
osx_64_python3.8.____73_pypy + + variant + +
osx_64_python3.8.____cpython + + variant + +
osx_64_python3.9.____73_pypy + + variant + +
osx_64_python3.9.____cpython + + variant + +
osx_arm64_python3.10.____cpython + + variant + +
osx_arm64_python3.8.____cpython + + variant + +
osx_arm64_python3.9.____cpython + + variant + +
win_64_python3.10.____cpython + + variant + +
win_64_python3.8.____73_pypy + + variant + +
win_64_python3.8.____cpython + + variant + +
win_64_python3.9.____73_pypy + + variant + +
win_64_python3.9.____cpython + + variant + +
+
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ad85a2c..6b346f5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,4 +3,6 @@ # -*- mode: yaml -*- jobs: - - template: ./.azure-pipelines/azure-pipelines-linux.yml \ No newline at end of file + - template: ./.azure-pipelines/azure-pipelines-linux.yml + - template: ./.azure-pipelines/azure-pipelines-win.yml + - template: ./.azure-pipelines/azure-pipelines-osx.yml \ No newline at end of file From d312cf1e020ee62df97710b010a61a10f386a7d8 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Sat, 10 Dec 2022 23:18:32 +0100 Subject: [PATCH 06/10] Fix virtualenv Co-authored-by: Ben Mares --- recipe/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 035d13a..391bfb7 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -49,7 +49,9 @@ requirements: - tomli >=2.0.1,<3.0.0 # [py<311] - tomlkit >=0.11.1,<1.0.0,!=0.11.2,!=0.11.3 - trove-classifiers >=2022.5.19 + # See - virtualenv >=20.4.3,<21.0.0,!=20.4.5,!=20.4.6 # [not win or py!=39] + - virtualenv >=20.4.3,<20.16.6,!=20.4.5,!=20.4.6 # [win and py==39] - xattr >=0.10.0,<0.11.0 # [darwin] - urllib3 >=1.26.0,<2.0.0 From fd34da2b9c5c682b532db07eacdf6ad64fb772d0 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Sun, 11 Dec 2022 10:56:59 +0100 Subject: [PATCH 07/10] explain xattr Co-authored-by: Ben Mares --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 391bfb7..d9fba8f 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -52,6 +52,7 @@ requirements: # See - virtualenv >=20.4.3,<21.0.0,!=20.4.5,!=20.4.6 # [not win or py!=39] - virtualenv >=20.4.3,<20.16.6,!=20.4.5,!=20.4.6 # [win and py==39] + # xattr doesn't exist for Windows, necessitating noarch for this feedstock. - xattr >=0.10.0,<0.11.0 # [darwin] - urllib3 >=1.26.0,<2.0.0 From 59e2ce89c742b36830ad85e09bc8e723742b2dac Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Sun, 11 Dec 2022 10:47:33 +0100 Subject: [PATCH 08/10] Add lockfile dependency --- recipe/meta.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index d9fba8f..7189604 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -27,7 +27,7 @@ requirements: - poetry-plugin-export >=1.2.0,<2.0.0 - backports.cached-property >=1.0.2,<2.0.0 # [py<38] - cachecontrol >=0.12.9,<0.13.0 - + # cachecontrol filecache extra - filelock >=3.8.0 @@ -56,6 +56,9 @@ requirements: - xattr >=0.10.0,<0.11.0 # [darwin] - urllib3 >=1.26.0,<2.0.0 + # `poetry` entry point fails without this: + - lockfile >=0.9 + test: requires: - pip From 6110546345017e52ebce1a6febc28be05ea633b4 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Sun, 11 Dec 2022 11:24:01 +0100 Subject: [PATCH 09/10] Fix darwin-->osx (hopefully) --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 7189604..a8e6c70 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -53,7 +53,7 @@ requirements: - virtualenv >=20.4.3,<21.0.0,!=20.4.5,!=20.4.6 # [not win or py!=39] - virtualenv >=20.4.3,<20.16.6,!=20.4.5,!=20.4.6 # [win and py==39] # xattr doesn't exist for Windows, necessitating noarch for this feedstock. - - xattr >=0.10.0,<0.11.0 # [darwin] + - xattr >=0.10.0,<0.11.0 # [osx] - urllib3 >=1.26.0,<2.0.0 # `poetry` entry point fails without this: From 0c177e02743d1f42913163a22970a9c9ef789cbe Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Sun, 11 Dec 2022 12:44:31 +0100 Subject: [PATCH 10/10] Readd requirements.build with cross-python --- recipe/meta.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index a8e6c70..601c814 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -15,6 +15,9 @@ build: - poetry = poetry.console.application:main requirements: + build: + - python # [build_platform != target_platform] + - cross-python_{{ target_platform }} # [build_platform != target_platform] host: - python - pip