Skip to content

Commit 4fbe567

Browse files
committed
Uninstall obsolete library.theme (it will later be removed)
1 parent be12ef6 commit 4fbe567

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ Changelog
55
2.0.4 (unreleased)
66
------------------
77

8+
- Uninstall obsolete `library.theme` (it will later be removed)
9+
[boulch, laulaz]
10+
811
- Ensure unused `plone.patternslib` is not installed as it causes errors
912
[boulch, laulaz]
1013

14+
1115
2.0.3 (2025-05-22)
1216
------------------
1317

src/library/policy/profiles/default/metadata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<metadata>
3-
<version>1014</version>
3+
<version>1015</version>
44
<dependencies>
55
<dependency>profile-collective.plausible:default</dependency>
66
<dependency>profile-eea.facetednavigation:default</dependency>

src/library/policy/upgrades/configure.zcml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,12 @@
202202
handler=".upgrades.uninstall_plone_patternslib"
203203
/>
204204

205+
<genericsetup:upgradeStep
206+
source="1014"
207+
destination="1015"
208+
title="Uninstall obsolete library.theme"
209+
profile="library.policy:default"
210+
handler=".upgrades.uninstall_library_theme"
211+
/>
212+
205213
</configure>

src/library/policy/upgrades/upgrades.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,8 @@ def set_banner_scale(context=None):
8080
def uninstall_plone_patternslib(context):
8181
installer = get_installer(context)
8282
installer.uninstall_product("plone.patternslib")
83+
84+
85+
def uninstall_library_theme(context):
86+
installer = get_installer(context)
87+
installer.uninstall_product("library.theme")

0 commit comments

Comments
 (0)