-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
Pants export
doesn't work on all machines
#15410
Comments
When using
|
Sorry for the incredible delay in responding to this. It appears that you have different authorization methods configured on the various machines: since Pants runs most processes in sandboxes rather than in the foreground, you'll need to ensure that your authorization method allows for keyboardless/non-interactive authentication. I expect that you found a workaround or solution for this, but if not, please feel free to re-open after having tried a |
My workaround was to not upgrade pants :) Turns out this issue is actually to be sorted out in the pex tooling. See the linked issue above. Good to keep this closed, though. |
This pulls in a fix for lock creation when git+ssh authenticated VCS URLs are amongst the requirements amongst other fixes for issue reported outside of Pants. Although this brings support for `--pip-version 22.2.2`, the option is not plumbed yet. See the changelogs here: + https://github.com/pantsbuild/pex/releases/tag/v2.1.107 + https://github.com/pantsbuild/pex/releases/tag/v2.1.106 + https://github.com/pantsbuild/pex/releases/tag/v2.1.105 + https://github.com/pantsbuild/pex/releases/tag/v2.1.104 Fixes pantsbuild#15410 [ci skip-rust] [ci skip-build-wheels]
This pulls in a fix for lock creation when git+ssh authenticated VCS URLs are amongst the requirements amongst other fixes for issue reported outside of Pants. Although this brings support for `--pip-version 22.2.2`, the option is not plumbed yet. See the changelogs here: + https://github.com/pantsbuild/pex/releases/tag/v2.1.107 + https://github.com/pantsbuild/pex/releases/tag/v2.1.106 + https://github.com/pantsbuild/pex/releases/tag/v2.1.105 + https://github.com/pantsbuild/pex/releases/tag/v2.1.104 Fixes #15410
This pulls in a fix for lock creation when git+ssh authenticated VCS URLs are amongst the requirements amongst other fixes for issue reported outside of Pants. Although this brings support for `--pip-version 22.2.2`, the option is not plumbed yet. See the changelogs here: + https://github.com/pantsbuild/pex/releases/tag/v2.1.107 + https://github.com/pantsbuild/pex/releases/tag/v2.1.106 + https://github.com/pantsbuild/pex/releases/tag/v2.1.105 + https://github.com/pantsbuild/pex/releases/tag/v2.1.104 Fixes pantsbuild#15410 (cherry picked from commit 54b4a39) [ci skip-rust] [ci skip-build-wheels]
This pulls in a fix for lock creation when git+ssh authenticated VCS URLs are amongst the requirements amongst other fixes for issue reported outside of Pants. Although this brings support for `--pip-version 22.2.2`, the option is not plumbed yet. See the changelogs here: + https://github.com/pantsbuild/pex/releases/tag/v2.1.107 + https://github.com/pantsbuild/pex/releases/tag/v2.1.106 + https://github.com/pantsbuild/pex/releases/tag/v2.1.105 + https://github.com/pantsbuild/pex/releases/tag/v2.1.104 Fixes #15410 (cherry picked from commit 54b4a39)
This pulls in a fix for lock creation when git+ssh authenticated VCS URLs are amongst the requirements amongst other fixes for issue reported outside of Pants. Although this brings support for `--pip-version 22.2.2`, the option is not plumbed yet. See the changelogs here: + https://github.com/pantsbuild/pex/releases/tag/v2.1.107 + https://github.com/pantsbuild/pex/releases/tag/v2.1.106 + https://github.com/pantsbuild/pex/releases/tag/v2.1.105 + https://github.com/pantsbuild/pex/releases/tag/v2.1.104 Fixes pantsbuild#15410 (cherry picked from commit 54b4a39) [ci skip-rust] [ci skip-build-wheels]
This pulls in a fix for lock creation when git+ssh authenticated VCS URLs are amongst the requirements amongst other fixes for issue reported outside of Pants. Although this brings support for `--pip-version 22.2.2`, the option is not plumbed yet. See the changelogs here: + https://github.com/pantsbuild/pex/releases/tag/v2.1.107 + https://github.com/pantsbuild/pex/releases/tag/v2.1.106 + https://github.com/pantsbuild/pex/releases/tag/v2.1.105 + https://github.com/pantsbuild/pex/releases/tag/v2.1.104 Fixes #15410 (cherry picked from commit 54b4a39)
Describe the bug
I am able to run
./pants export ::
successfully on my machine. When I ran this through our CI system, I got a permission denied error when trying to clone a VCS requirement from our requirements.txt file. I know the CI worker had access to the repos because it cloned a repo to get this far (the VCS requirement is another internal repo).I already have the following added to
pants.toml
.I'm curious if it's possible this isn't getting passed through on my CI system and causing the export step to fail.
Pants version
2.11.0
OS
ubuntu 20.04
The text was updated successfully, but these errors were encountered: