Skip to content

Commit

Permalink
fix: Fix distlib installation failure (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab authored Dec 21, 2023
1 parent 028096a commit 1b3d79f
Show file tree
Hide file tree
Showing 6 changed files with 210 additions and 211 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
sed -i s/python\ 3\.8\.1/python\ ${{ matrix.python_version }}/ conda/dev.yaml
cat conda/dev.yaml
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
environment-file: conda/dev.yaml
channels: nodefaults,conda-forge
channel-priority: strict
activate-environment: sugar
use-mamba: true
miniforge-variant: Mambaforge
auto-update-conda: true
conda-solver: libmamba

- name: Install dependencies
run: poetry install
Expand All @@ -64,15 +64,15 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
environment-file: conda/dev.yaml
channels: nodefaults,conda-forge
channel-priority: strict
activate-environment: sugar
use-mamba: true
miniforge-variant: Mambaforge
auto-update-conda: true
conda-solver: libmamba

- name: Install dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
environment-file: conda/release.yaml
channels: nodefaults,conda-forge
channel-priority: strict
activate-environment: sugar
use-mamba: true
miniforge-variant: Mambaforge
auto-update-conda: true
conda-solver: libmamba

- name: Install deps
run: |
Expand Down
2 changes: 1 addition & 1 deletion conda/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ channels:
dependencies:
- pip
- python 3.8.1
- poetry 1.5.1
- poetry
2 changes: 1 addition & 1 deletion conda/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ channels:
- conda-forge
dependencies:
- python 3.10.* # min version supported
- poetry 1.5.1
- poetry
- nodejs >=18.17 # used by semantic-release
Loading

0 comments on commit 1b3d79f

Please sign in to comment.