Bug#1060805: ITP: pusimp -- prevent user-site imports
Package: wnpp
Severity: wishlist
Owner: Francesco Ballarin <francesco.ballarin@unicatt.it>
X-Debbugs-Cc: debian-devel@lists.debian.org, francesco.ballarin@unicatt.it
* Package name : pusimp
Version : 0.1.0
Upstream Contact: Francesco Ballarin <francesco.ballarin@unicatt.it>
* URL : https://github.com/python-pusimp/pusimp
* License : MIT
Programming Lang: Python
Description : prevent user-site imports
pusimp is a python library to prevent user-site imports of specific
dependencies of a package. The typical scenario for using pusimp is
in combination with a system manager (e.g., apt for Debian), to prevent
dependencies from being loaded from user-site instead of the location
provided by the system manager.
We designed pusimp with in mind the specific use case of the FEniCS
project. It happens often that users post messages at the FEniCS discourse
forum https://fenicsproject.discourse.group/ asking why their ubuntu/debian
installation is not working correctly, and several times this is due to the
presence of user-made installation attempts in user-site locations.
We thus initially plan to use pusimp in the python3-dolfin and
python3-dolfinx packages, but the logic behind pusimp is purposely
simple and general.
The package will be maintained at https://salsa.debian.org/python-team/packages/pusimp
in collaboration with my sponsor Drew Parsons and the Debian Python Team
Reply to: