Skip to content

Conversation

@edabor
Copy link
Contributor

@edabor edabor commented Oct 30, 2025

The server CLI arguments can collide with user and/or libraries argument parser.
Especially, the ipykernel package CLI has a --f arguments that collides with the server's --follow-symlinks and --fs-endpoints.
See pyvista/pyvista#8040 and pyvista/pyvista#8044

This PR patches the issue by disallowing abbreviations.

This can be considered as a incomplete fix, since users can still have their custom CLI parser implementing one of server's argument (ie. --follow-symlinks by mistake) and unexpectedly pass arguments to server CLI parser.
Maybe we could mitigate that by including in the trame documentation that when using a custom argument parser, it is recommended to pass arguments via the --trame-args argument or with the TRAME_ARGS env variable.

@jourdain
Copy link
Collaborator

Thanks for your PR. If you feel like it, please expand the documentation.

@jourdain jourdain merged commit 2b277e4 into Kitware:master Oct 30, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants