respec / HSPsquared

Hydrologic Simulation Program Python (HSPsquared)
GNU Affero General Public License v3.0
43 stars 17 forks source link

pip install/uninstall numba compiled cache conflict #163

Closed TimothyCera-NOAA closed 1 month ago

TimothyCera-NOAA commented 1 month ago

In testing "pip install ." and "pip uninstall" ran into this issue about the numba compiled cache not being deleted by pip when uninstalling.

Discussion in Numba community: https://github.com/numba/numba/issues/9312

Perhaps adjust cache directory using NUMBA_CACHE_DIR environment variable? https://numba.readthedocs.io/en/stable/reference/envvars.html#envvar-NUMBA_CACHE_DIR

Discussion in Pytest community: https://github.com/pytest-dev/pytest/issues/10781

Discussions in PIP community: https://github.com/pypa/pip/issues/11835

https://github.com/pypa/packaging.python.org/pull/1423

TimothyCera-NOAA commented 1 month ago

Wrong account...