Skip to content

Same stub file provided by multiple circuitpython packages #11221

Description

@alec-bike

CircuitPython versions

firmware:
circuitpython == 10.3.0
bootloader == 4.0.0

python dependencies:
├── adafruit-circuitpython-logging v5.6.4
│   ├── adafruit-blinka v9.2.0
│   └── typing-extensions v4.16.0
├── circuitpython-stubs v10.3.0

Description

I'm using circuitpython-stubs and adafruit-circuitpython-logging in my project. An experimental feature in uv sync recently showed this warning:

UV_MALWARE_CHECK=1 uv sync
warning: The file `micropython-stubs/__init__.pyi` is provided by more than 
         one package, which causes an install race condition and can result
         in a broken module. Packages containing the file:
* adafruit-blinka (adafruit_blinka-9.2.0-py3-none-any.whl)
* circuitpython-stubs (circuitpython_stubs-10.2.1-py3-none-any.whl)

They are stubs (not run-time) and I've not experienced any type-checking issues so far. But the two __init__.py are different, so there is a possibility.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions