-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
Description
I am currently working on updating the Python Azure SDK in openSUSE/SLE to the latest upstream version. This involves switching over the packaging to adopt to the move to implicit namespace packages (PEP 420).
This has worked fine with azure-nspkg and azure-mgmt-nspkg so far, but azure-cognitiveservices-nspkg still behaves like the old namespace packages compiles and installs the __init__.py files.
Thus, the RPM builds complains that the namespace directories are not empty as they should after switching to implicit namespace packages for Python 3.7:
[ 6s] error: Installed (but unpackaged) file(s) found:
[ 6s] /usr/lib/python3.7/site-packages/azure/cognitiveservices/__init__.py
[ 6s] /usr/lib/python3.7/site-packages/azure/cognitiveservices/__pycache__/__init__.cpython-37.opt-1.pyc
[ 6s] /usr/lib/python3.7/site-packages/azure/cognitiveservices/__pycache__/__init__.cpython-37.pyc
[ 6s]
[ 6s]
[ 6s] RPM build errors:
[ 6s] Installed (but unpackaged) file(s) found:
[ 6s] /usr/lib/python3.7/site-packages/azure/cognitiveservices/__init__.py
[ 6s] /usr/lib/python3.7/site-packages/azure/cognitiveservices/__pycache__/__init__.cpython-37.opt-1.pyc
[ 6s] /usr/lib/python3.7/site-packages/azure/cognitiveservices/__pycache__/__init__.cpython-37.pyc
Reactions are currently unavailable