Skip to content

setup-nox is breaking on linux runners #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
henryiii opened this issue Apr 4, 2022 · 3 comments · Fixed by #421
Closed

setup-nox is breaking on linux runners #419

henryiii opened this issue Apr 4, 2022 · 3 comments · Fixed by #421

Comments

@henryiii
Copy link
Contributor

henryiii commented Apr 4, 2022

Just today setup-nox 2.0.0 has started breaking on linux runners. I think a pypy symlink has been added in a recent PyPy update.

Run excitedleigh/[email protected]

[ '2.7.18', '3.10.4', '3.6.15', '3.7.12', '3.8.12', '3.9.12' ] [ '2.7.18', '3.6.12', '3.7.13', '3.8.13', '3.9.12' ]
/opt/hostedtoolcache/PyPy/2.7.18/x64
internal/fs/utils.js:269
    throw err;
    ^

Error: EEXIST: file already exists, symlink '/opt/hostedtoolcache/PyPy/2.7.18/x64/bin/pypy' -> '/opt/hostedtoolcache/PyPy/2.7.18/x64/bin/pypy2'
    at Object.symlinkSync (fs.js:1095:3)
    at Object.175 (/home/runner/work/_actions/excitedleigh/setup-nox/v2.0.0/dist/index.js:1459:14)
    at __webpack_require__ (/home/runner/work/_actions/excitedleigh/setup-nox/v2.0.0/dist/index.js:24:31)
    at startup (/home/runner/work/_actions/excitedleigh/setup-nox/v2.0.0/dist/index.js:43:19)
    at /home/runner/work/_actions/excitedleigh/setup-nox/v2.0.0/dist/index.js:47:18
    at Object.<anonymous> (/home/runner/work/_actions/excitedleigh/setup-nox/v2.0.0/dist/index.js:50:10)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14) {
  errno: -17,
  syscall: 'symlink',
  code: 'EEXIST',
  path: '/opt/hostedtoolcache/PyPy/2.7.18/x64/bin/pypy',
  dest: '/opt/hostedtoolcache/PyPy/2.7.18/x64/bin/pypy2'
}
@henryiii
Copy link
Contributor Author

henryiii commented Apr 4, 2022

This is an example of a breakage (I'm seeing it in several repos): https://github.com/scikit-hep/particle/runs/5822661207?check_suite_focus=true

@Randomblock1
Copy link

Can confirm, stopped working after a README update. Same error with PyPy.

@qharlie
Copy link

qharlie commented Apr 4, 2022

Same issue here , Error: EEXIST: file already exists, symlink '/opt/hostedtoolcache/PyPy/2.7.18/x64/bin/pypy' -> https://github.com/qorrect/PyPrql/runs/5821949905?check_suite_focus=true

dcambie added a commit to cambiegroup/flowchem that referenced this issue Apr 8, 2022
dcambie added a commit to cambiegroup/flowchem that referenced this issue Apr 8, 2022
daisylb added a commit that referenced this issue Apr 11, 2022
briancohan added a commit to pbdtools/xfds that referenced this issue Apr 20, 2022
setup-nox v2.0.0 not working and new version has yet to be released
daisylb/setup-nox#419
briancohan added a commit to pbdtools/xfds that referenced this issue Apr 21, 2022
* removed code for external services

* run, reset, and stop functions reformatted

* updated test.yml to install nox directly

setup-nox v2.0.0 not working and new version has yet to be released
daisylb/setup-nox#419

* updated flake8-bandit and black

* fixed B006 and ANN401 issues

* B006, removed mutable default

* unpinned version for excitedleigh/setup-nox

* explicitly setup all versions of python for lint step

* explicitly setup all versions of python for test step

* downgraded typer from 0.4.1 to 0.4.0

* back to tpyer 0.4.1

* downgraded click

* restored click and removed --keep option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants