A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
During release build prep, I found an issue where a previous PR contained an inadvertent change to the WHEEL_FILES macro in the Makefile. This PR reverts that change and extends the macro to also ignore any directories named __pycache__.
Without this change, the following issue would occur:
make clean dist test
make clean dist
make: *** No rule to make target `enterprise_gateway/tests/__pycache__/__init__.cpython-39.pyc', needed by `dist/jupyter_enterprise_gateway-3.0.0.dev0-py3-none-any.whl'. Stop.
That is, the second cycle of make clean dist after performing a test would pickup a .pvc file in the WHEEL_FILES macro, leading to the issue - despite the fact that the clean target explicitly removes __pycache__ directories. I suspect that the lint step of make dist is interfering somehow and creating these directories, particular since sometimes a conftest-related .pvc is displayed.
During release build prep, I found an issue where a previous PR contained an inadvertent change to the
WHEEL_FILES
macro in the Makefile. This PR reverts that change and extends the macro to also ignore any directories named__pycache__
.Without this change, the following issue would occur:
That is, the second cycle of
make clean dist
after performing a test would pickup a.pvc
file in theWHEEL_FILES
macro, leading to the issue - despite the fact that theclean
target explicitly removes__pycache__
directories. I suspect that thelint
step ofmake dist
is interfering somehow and creating these directories, particular since sometimes aconftest
-related.pvc
is displayed.