[PATCH 2/2] python tests: Do not require .pyo files

2018-05-20 Thread Lukas Fleischer
As of Python 3.5, but unoptimized and optimized bytecode are stored within .pyc files; .pyo files are no longer generated. Update the Python tests such that the test do not fail if .pyo files are missing. * t/py-compile-basedir.sh: Remove all .pyo checks. * t/py-compile-basic.sh: Likewise. * t/py-

[PATCH 0/2] Fix Python test failures

2018-05-20 Thread Lukas Fleischer
Hi, I recently stumbled upon two different kinds of failures in the test suite while trying to update the Arch Linux automake package. Patches follow in separate emails. Lukas Fleischer (2): python: Properly uninstall __pycache__ in subdirectories python tests: Do not require .pyo files li

[PATCH 1/2] python: Properly uninstall __pycache__ in subdirectories

2018-05-20 Thread Lukas Fleischer
When uninstalling __pycache__ files in a subdirectory "sub", the Makefile incorrectly removed the files from __pycache__/sub/ instead of sub/__pycache__/. * lib/am/python.am (uninstall-%DIR%PYTHON): Use the correct path when installing byte-compiled files installed in '__pycache__' subdirectories.