Skip to contentSkip to conversation

python3: Add ntpath.py to python core

PATCH New Alex Kiernan 1 participant 1 message May 5, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3: Add ntpath.py to python core

The newer python3 recipe no longer includes ntpath.py in core, leading to failures in pkg_resources:

Traceback (most recent call last):
File "/usr/bin/bmaptool", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 42, in <module>
import ntpath
ModuleNotFoundError: No module named 'ntpath'

---

 meta/recipes-devtools/python/python3/python3-manifest.json | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python3/python3-manifest.json +1 -0
index 0a4ab2cbe43e..0803ac00334e 100644
@@ -281,6 +281,7 @@
             "${libdir}/python${PYTHON_MAJMIN}/linecache.py",
             "${libdir}/python${PYTHON_MAJMIN}/locale.py",
             "${libdir}/python${PYTHON_MAJMIN}/new.py",
+            "${libdir}/python${PYTHON_MAJMIN}/ntpath.py",
             "${libdir}/python${PYTHON_MAJMIN}/opcode.py",
             "${libdir}/python${PYTHON_MAJMIN}/operator.py",
             "${libdir}/python${PYTHON_MAJMIN}/optparse.py",
Signature · 1 line
2.17.1