Skip to content

Commit

Permalink
devops(conda): publish a single version per OS instead of each suppor…
Browse files Browse the repository at this point in the history
…ted Python version (#2391)
  • Loading branch information
mxschmitt committed Apr 3, 2024
1 parent ac6e957 commit d796ac7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 0 additions & 6 deletions conda_build_config.yaml

This file was deleted.

7 changes: 3 additions & 4 deletions meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,24 @@ source:
build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps -vv"
skip: true # [py<37]
binary_relocation: False
missing_dso_whitelist: "*"
entry_points:
- playwright = playwright.__main__:main

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

Expand Down

0 comments on commit d796ac7

Please sign in to comment.