From d796ac7ad18b5fe1ff2b0b254bcd41dcb00c7a5a Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 3 Apr 2024 17:53:40 +0200 Subject: [PATCH] devops(conda): publish a single version per OS instead of each supported Python version (#2391) --- .github/workflows/publish.yml | 6 +++--- conda_build_config.yaml | 6 ------ meta.yaml | 7 +++---- 3 files changed, 6 insertions(+), 13 deletions(-) delete mode 100644 conda_build_config.yaml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3a49aa132..cae28da1a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,10 +41,10 @@ jobs: run: | conda config --set anaconda_upload yes if [ "${{ matrix.target-platform }}" == "osx-arm64" ]; then - conda build --user microsoft . -m conda_build_config.yaml -m conda_build_config_osx_arm64.yaml + conda build --user microsoft . -m conda_build_config_osx_arm64.yaml elif [ "${{ matrix.target-platform }}" == "linux-aarch64" ]; then conda install cross-python_linux-aarch64 - conda build --user microsoft . -m conda_build_config.yaml -m conda_build_config_linux_aarch64.yaml + conda build --user microsoft . -m conda_build_config_linux_aarch64.yaml else - conda build --user microsoft . -m conda_build_config.yaml + conda build --user microsoft . fi diff --git a/conda_build_config.yaml b/conda_build_config.yaml deleted file mode 100644 index 92ada529f..000000000 --- a/conda_build_config.yaml +++ /dev/null @@ -1,6 +0,0 @@ -python: - - 3.8 - - 3.9 - - "3.10" - - "3.11" - - "3.12" diff --git a/meta.yaml b/meta.yaml index 2b113e15d..98b774490 100644 --- a/meta.yaml +++ b/meta.yaml @@ -8,7 +8,6 @@ source: build: number: 0 script: "{{ PYTHON }} -m pip install . --no-deps -vv" - skip: true # [py<37] binary_relocation: False missing_dso_whitelist: "*" entry_points: @@ -16,17 +15,17 @@ build: requirements: build: - - python # [build_platform != target_platform] + - python >=3.8 # [build_platform != target_platform] - pip # [build_platform != target_platform] - cross-python_{{ target_platform }} # [build_platform != target_platform] host: - - python + - python >=3.8 - wheel - pip - curl - setuptools_scm run: - - python + - python >=3.8 - greenlet ==3.0.3 - pyee ==11.0.1