Debian Patches
Status for python-envisage/7.0.4-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0001-Remove-EggPluginManager-EggBasketPluginManager-Packa.patch | Remove EggPluginManager, EggBasketPluginManager, PackagePluginManager (#599) Remove the deprecated `EggPluginManager`, `EggBasketPluginManager` and `PackagePluginManager` classes for the Envisage 8.0 release. These were deprecated in #540 (Envisage 7.0). Closes #548 - `envisage/egg_plugin_manager.py`, `envisage/egg_basket_plugin_manager.py`, `envisage/package_plugin_manager.py` — the three deprecated plugin manager classes - `envisage/egg_utils.py` — utility module used only by the egg plugin managers - `envisage/tests/test_egg_plugin_manager.py`, `envisage/tests/test_egg_basket_plugin_manager.py`, `envisage/tests/test_package_plugin_manager.py` — associated tests - `envisage/tests/eggs/`, `envisage/tests/bad_eggs/`, `envisage/tests/plugins/` — test data directories - `envisage/api.py` — removed `EggPluginManager` from public API - `envisage/application.py` — updated comment to reference `PluginManager` instead of `EggPluginManager` - `envisage/composite_plugin_manager.py` — updated docstring example to use `PluginManager` - `envisage/tests/support.py` — removed egg/package-related test helpers (`restore_pkg_resources_working_set`, `build_egg`, `PLUGIN_PACKAGES`, `BAD_PLUGIN_PACKAGES`) and the now-unused `subprocess` and `pkg_resources` imports - `pyproject.toml` — removed egg/plugin test data from `[tool.setuptools.package-data]` - `MANIFEST.in` — removed `recursive-include` lines for deleted test data directories - `docs/source/conf.py` — added `|PluginManager|` RST substitution - `docs/source/envisage_core_documentation/plugins.rst` — rewrote to reference `PluginManager` instead of Python Eggs - `docs/source/envisage_core_documentation/message_of_the_day.rst` — removed reference to egg-based plugin discovery - `docs/source/envisage_core_documentation/extension_points.rst` — removed unused Python Eggs link - `CHANGES.rst` — added Version 8.0.0 removal entry - The `setuptools` runtime dependency is retained because `pkg_resources.resource_filename` is still used in 3 other files (`test_core_plugin.py`, `test_tasks_application.py`, `_etsdemo_info.py`). Migrating those to `importlib.resources` is a separate task. - The `envisage.plugins` entry point in `pyproject.toml` is retained as it may be useful for third-party plugin discovery mechanisms. *This PR was created with the assistance of an AI coding agent.* |
Mark Dickinson <mdickinson@enthought.com> | no | debian | upstream, https://github.com/enthought/envisage/commit/e55fed3da647e41f7febe3da744f07285cdc3d2a.patch | 2026-02-24 |
| 0002-Remove-uses-of-pkg_resources-drop-setuptools-as-a-ru.patch | Remove uses of pkg_resources; drop setuptools as a runtime dependency (#600) ## Summary - Replace all uses of `pkg_resources.resource_filename` with `importlib.resources.files().joinpath()`, using the `importlib_resources` backport for Python 3.8 compatibility (consistent with the existing pattern in `PackageResourceProtocol`). - Remove `setuptools` from the runtime `dependencies` in `pyproject.toml`; it is retained as a build dependency. - Update `AGENTS.md` and `CHANGES.rst` accordingly. ## Files changed | File | Change | |------|--------| | `envisage/examples/_etsdemo_info.py` | Replace `pkg_resources.resource_filename` with `importlib.resources.files` | | `envisage/tests/test_core_plugin.py` | Replace `pkg_resources.resource_filename` with `importlib.resources.files` | | `envisage/ui/tasks/tests/test_tasks_application.py` | Replace `pkg_resources.resource_filename` with `importlib.resources.files` | | `pyproject.toml` | Remove `setuptools` from runtime `dependencies` | | `AGENTS.md` | Remove `setuptools` from listed runtime dependencies | | `CHANGES.rst` | Add changelog entry under `Version 8.0.0` | *This PR was created with the assistance of an AI coding agent.* |
Mark Dickinson <mdickinson@enthought.com> | no | debian | upstream, https://github.com/enthought/envisage/commit/f8000c7b0d63511a48c6f1a9b6f2ea13eb77b3a5.patch | 2026-02-27 |
