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

Moto 5.0.18 fails to install on windows #8268

Open
vishnu-itachi opened this issue Oct 30, 2024 · 2 comments
Open

Moto 5.0.18 fails to install on windows #8268

vishnu-itachi opened this issue Oct 30, 2024 · 2 comments

Comments

@vishnu-itachi
Copy link

The step functions parser directory is causing a failure with FileNotFoundError because of the MAX_PATH on Windows.
The installation fails at this file.

moto/stepfunctions/parser/asl/component/state/exec/state_map/item_reader/eval/resource_output_transformer/transformer_factory.py

I believe this is the longest possible path for all directories. Can it be shortened or refactored to reduce the length?

Thanks

@vishnu-itachi
Copy link
Author

The installation works file using pip but fails using poetry since it appends poetry virtual env path and hence char limit exceeds

@bblommers
Copy link
Collaborator

Hi @vishnu-itachi, believe it or not, this is actually already the short version! It used to be even longer.

We might be able to shorten it further, but there is only so much we can do before it starts impacting the readability/discoverability of the source code structure. So I can't make any promises that the changes we make will be enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants