Closed skaji closed 1 year ago
I found that, if I used raku 2022.07
(instead of the latest 2022.12
),
I could install TAP on windows successfully.
So is this an issue for raku itself?
github action yaml
name: test
on:
push:
jobs:
raku:
strategy:
fail-fast: false
matrix:
number:
- "1"
- "2"
- "3"
- "4"
- "5"
- "6"
- "7"
- "8"
runs-on: windows-latest
steps:
- uses: Raku/setup-raku@v1
with:
raku-version: "2022.07"
- run: zef install --/test --trace TAP
github action log https://github.com/skaji/raku-Acme-Test-Module-Zef/actions/runs/3834117062/jobs/6526203605
Do you happen to know if 2022.07 and 2022.12 github actions come with the same version of zef?
raku 2022.07 comes with zef v0.13.8. raku 2022.12 comes with zef v0.14.5.
Note that we used raku from https://rakudo.org/downloads/rakudo More precisely, https://rakudo.org/dl/rakudo/rakudo-moar-2022.07-01-win-x86_64-msvc.zip https://rakudo.org/dl/rakudo/rakudo-moar-2022.12-01-win-x86_64-msvc.zip
Hmm, it doesn't look like any zef changes should result in this type of failure. To be sure you could try installing the most recent version of zef on 2022.07 doing something like git clone https://github.com/ugexe/zef.git && cd zef && raku -I. bin/zef nuke site home --/confirm && raku -I. bin/zef install .
Even after upgrading zef, I could successfully install TAP on windows with raku 2022.07.
github action yaml
name: test
on:
push:
jobs:
raku:
strategy:
fail-fast: false
matrix:
number:
- "1"
- "2"
- "3"
- "4"
- "5"
- "6"
- "7"
- "8"
runs-on: windows-latest
steps:
- uses: Raku/setup-raku@v1
with:
raku-version: "2022.07"
- run: git clone https://github.com/ugexe/zef.git; cd zef; raku -I. bin/zef nuke site home --/confirm; raku -I. bin/zef install .
- run: zef --version
- run: zef install --/test --trace TAP
github action log https://github.com/skaji/raku-Acme-Test-Module-Zef/actions/runs/3834273219/jobs/6526516362
It seems that this is an issue for rakudo, not zef. So I close this issue.
Context
zef failed to install TAP module on Windows, not always, but fairly frequently. This issue may be related to #490.
Expected Behavior
We can install TAP module.
Actual Behavior
zef failed to install TAP module on Windows, not always, but fairly frequently.
Steps to Reproduce
I tried installing TAP module 8 times. While I successfully installed TAP module once, I failed to install TAP module 7 times.
The output of failure is:
links:
Your Environment
raku version 2022.12