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

[Bug]: Impossible to install with Python 3.12+ #879

Open
pascal-botpress opened this issue Oct 7, 2024 · 0 comments
Open

[Bug]: Impossible to install with Python 3.12+ #879

pascal-botpress opened this issue Oct 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pascal-botpress
Copy link

Bug Description

Because of outdated dependencies, it is impossible to install the zapier-platform-core or zapier-platform-cli packages with recent versions of Python 3.

zapier-platform-cli depends on the package [email protected], which in turn depends on @npmcli/[email protected], which depends on @npmcli/[email protected], which depends on [email protected]. Unfortunately, because Python 3.12 removed distutils, node-gyp is unable to run, which fails the entire install.

The good news, however, is that this was fixed in node-gyp version 10+. Furthermore, yeoman-environment completely dropped its dependency on @npmcli/arborist in version 4+.

Thus, this issue can be fixed by upgrading the yeoman-environment dependency of zapier-platform-cli.

Reproduction Steps

  1. Install any stable version of Python 3 that is more recent than October of last year: all versions starting from 3.12 are affected.
  2. Set this version as your default Python version.
  3. Attempt to install zapier-platform-core with NPM.

Zapier Platform version

15.16.1

Node.js version

18.20.4

Your Operating System

Fedora 40 in WSL2 on Windows 11 Pro 23H2

npm/yarn version

10.7.0

App ID

No response

More Details

image

@pascal-botpress pascal-botpress added the bug Something isn't working label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant