From 973963b6f05f9288daf7fd22a0f36d34b437fa4a Mon Sep 17 00:00:00 2001 From: Marek Mihok Date: Thu, 1 Feb 2024 08:24:40 +0100 Subject: [PATCH] fix: Make conda package support multiple python versions #2227 (#2247) --- .github/workflows/publish-conda.yml | 5 ++++- py/h2o_wave/conda/meta.yaml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-conda.yml b/.github/workflows/publish-conda.yml index 0b0e62ecd0..6c48096909 100644 --- a/.github/workflows/publish-conda.yml +++ b/.github/workflows/publish-conda.yml @@ -23,7 +23,10 @@ jobs: - name: Publish to Conda uses: amauryval/publish_conda_package_action@2.0.3 with: - CondaDir: 'py/conda' + CondaDir: 'py/h2o_wave/conda' Platforms: 'noarch' CondaUsername: ${{ secrets.CONDA_USERNAME }} CondaPassword: ${{ secrets.CONDA_PASSWORD }} + env: + # VERSION clashes with conda build. Use PKG_VERSION instead. + PKG_VERSION: ${{ env.VERSION }} diff --git a/py/h2o_wave/conda/meta.yaml b/py/h2o_wave/conda/meta.yaml index 329a991391..d6ea34e3e6 100644 --- a/py/h2o_wave/conda/meta.yaml +++ b/py/h2o_wave/conda/meta.yaml @@ -26,6 +26,7 @@ source: path: .. build: + noarch: python script: python -m pip install . -vv entry_points: {% for module, entrypoints in project['scripts'].items() %}