cffi version mismatch with HA 2026.7.x (Python 3.14)
Maintainers usually reply within 11 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
The failure comes from the dependency chain meshcore → pycryptodome (Crypto.Cipher.AES) → cffi, so start with where this integration declares its Python requirements. Reproduce the import of Crypto.Cipher.AES on Python 3.14 to confirm the _cffi_backend version mismatch. Done means the integration loads on HA 2026.7.x with a pycryptodome or pycryptodomex pin that resolves the mismatch, verified by that import succeeding.
Written by the indexing model from the issue text.
Description
Environment
- Home Assistant: 2026.7.1
- MeshCore HA: v2.8.0
- Python: 3.14
Problem
After updating to HA 2026.7.1 (which switched to Python 3.14),
the MeshCore integration fails to load with a cffi version mismatch:
Exception: Version mismatch: this is the 'cffi' package version 2.1.0,
located in '.../cffi/api.py'. When we import the top-level '_cffi_backend'
extension module, we get version 2.0.0, located in
'.../_cffi_backend.cpython-314-x86_64-linux-musl.so'.
The two versions should be equal.
Root cause
meshcore → pycryptodome (Crypto.Cipher.AES) → cffi
The compiled _cffi_backend.so is built for Python 3.13 (cffi 2.0.0),
but HA 2026.7.x ships cffi 2.1.0 for Python 3.14.
Possible fix
Update the pycryptodome dependency to a version compatible with
Python 3.14 / cffi 2.1.0, or replace it with pycryptodomex.
- Dominant language
- Python
- Stars
- 269
- Forks
- 58
- Avg merge
- 10d 17h
- Merged PRs (30d)
- 12
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from meshcore-dev/meshcore-ha
-
Beta Tagging?Openquestion
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
meshcore-dev/meshcore-ha#365 · 1 comment ·
Maintainers usually reply within 11 days
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
meshcore-dev/meshcore-ha#196 · 3 comments ·
Maintainers usually reply within 11 days
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
meshcore-dev/meshcore-ha#432 ·
Maintainers usually reply within 11 days
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
meshcore-dev/meshcore-ha#426 ·
Maintainers usually reply within 11 days
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
meshcore-dev/meshcore-ha#420 · 1 comment ·
Maintainers usually reply within 11 days
All issues in meshcore-dev/meshcore-ha
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day