Skip to content

mpremote mip install can create a folder named : #18705

@Josverl

Description

@Josverl

Port, board and/or hardware

ESP32 , but can be any

MicroPython version

mpremote v1.27.0

Reproduction

PS D:\mypython\mp_wcwidth> mpremote --version
mpremote 1.27.0
PS D:\mypython\mp_wcwidth>  mpremote mip install --target : github:josverl/mp_wcwidth/demo.py
Install github:josverl/mp_wcwidth/demo.py
Downloading github:josverl/mp_wcwidth/demo.py to :
Installing: :/demo.py
Done
PS D:\mypython\mp_wcwidth> mpremote tree
tree :
:/
└── :
    └── demo.py

Expected behaviour

Expected that :

  • the : prefix for "remote" would not be used as the path
  • the demo.py file would be created in the cwd of the MCU
  • nu folder named : would be created

Observed behaviour

PS D:\mypython\mp_wcwidth> mpremote tree
tree :
:/
└── :
    └── demo.py

Additional Information

Similar issues with specifying '--target :.'

tree :
:/
├── :
│   └── demo.py
├── :.
│   └── demo.py
└── demo.py

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtoolsRelates to tools/ directory in source, or other tooling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions