Skip to content
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

ci: pyright is failing #1659

Closed
lidavidm opened this issue Mar 25, 2024 · 0 comments · Fixed by #1660
Closed

ci: pyright is failing #1659

lidavidm opened this issue Mar 25, 2024 · 0 comments · Fixed by #1660
Assignees
Labels
Type: bug Something isn't working

Comments

@lidavidm
Copy link
Member

What happened?

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.3 (node_modules/pyright/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ pyright@1.1.355
added 1 package from 1 contributor and audited 2 packages in 1.224s
found 0 vulnerabilities

internal/modules/cjs/loader.js:626
    throw err;
    ^

Error: Cannot find module 'node:util'
Require stack:
- /home/runner/.cache/pyright-python/1.1.355/node_modules/pyright/dist/pyright.js
- /home/runner/.cache/pyright-python/1.1.355/node_modules/pyright/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:623:15)
    at Function.Module._load (internal/modules/cjs/loader.js:527:27)
    at Module.require (internal/modules/cjs/loader.js:681:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.9632 (/home/runner/.cache/pyright-python/1.1.355/node_modules/pyright/dist/pyright.js:1:610)
    at o (/home/runner/.cache/pyright-python/1.1.355/node_modules/pyright/dist/pyright.js:1:1243)
    at Object.1264 (/home/runner/.cache/pyright-python/1.1.355/node_modules/pyright/dist/vendor.js:2:794958)
    at o (/home/runner/.cache/pyright-python/1.1.355/node_modules/pyright/dist/pyright.js:1:1243)
    at Object.1476 (/home/runner/.cache/pyright-python/1.1.355/node_modules/pyright/dist/pyright-internal.js:1:442282)
    at o (/home/runner/.cache/pyright-python/1.1.355/node_modules/pyright/dist/pyright.js:1:1243) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/runner/.cache/pyright-python/1.1.355/node_modules/pyright/dist/pyright.js',
    '/home/runner/.cache/pyright-python/1.1.355/node_modules/pyright/index.js'
  ]
}
internal/modules/cjs/loader.js:626
    throw err;
    ^

How can we reproduce the bug?

I think we need to update Node versions: microsoft/pyright#7365

Environment/Setup

No response

@lidavidm lidavidm added the Type: bug Something isn't working label Mar 25, 2024
@lidavidm lidavidm self-assigned this Mar 25, 2024
@lidavidm lidavidm added this to the ADBC Libraries 0.11.0 milestone Mar 25, 2024
lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Mar 25, 2024
lidavidm added a commit to lidavidm/arrow-adbc that referenced this issue Mar 25, 2024
lidavidm added a commit that referenced this issue Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug Something isn't working
Projects
None yet
1 participant