Skip to content

create-site: install plone.app.caching when needed. - #1

Merged
jladage merged 1 commit into
mainfrom
maurits-install-plone-app-caching
Oct 8, 2026
Merged

jladage merged 1 commit into
mainfrom
maurits-install-plone-app-caching

Conversation

@mauritsvanrees

Copy link
Copy Markdown
Member

Otherwise a fresh make stack-start gives an error in the create-site part, when it wants to set caching proxies:

KeyError: 'plone.cachepurging.interfaces.ICachePurgingSettings.enabled'

Alternatively, we could add plone.app.caching to the dependencies of the package, and adds its profile in metadata.xml, and make sure testing.py loads its zcml, but even then I got errors when running make test.

Otherwise a fresh `make stack-start` gives an error in the `create-site` part, when it wants to set caching proxies:

```
KeyError: 'plone.cachepurging.interfaces.ICachePurgingSettings.enabled'
```

Alternatively, we could add `plone.app.caching` to the dependencies of the package, and adds its profile in `metadata.xml`, and make sure `testing.py` loads its zcml, but even then I got errors when running `make test`.
@mauritsvanrees
mauritsvanrees requested a review from jladage October 8, 2026 08:29
@mauritsvanrees

Copy link
Copy Markdown
Member Author

Since this is before the initial release, I think a changelog entry is not needed.

@jladage jladage left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks, I might have had code like this in here in the past and removed it, because I didn't install plone.app.caching by hand. Or at least can't remember doing that. :)

@jladage

jladage commented Oct 8, 2026 via email

Copy link
Copy Markdown
Collaborator

@jladage
jladage merged commit 2a827d4 into main Oct 8, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants