Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid runtime dependency on plone.app.upgrade #150

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Conversation

davisagli
Copy link
Member

Fixes #142

@mister-roboto
Copy link

@davisagli thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@davisagli
Copy link
Member Author

@jenkins-plone-org please run jobs

Copy link
Member

@mauritsvanrees mauritsvanrees left a comment

Choose a reason for hiding this comment

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

LGTM.

One additional thing that we could do here and in other packages is to conditionally load the upgrade steps:

<configure zcml:condition="installed plone.app.upgrade">
  <include file="upgrades.zcml" />
<configure>

But we can discuss that separately. This PR is fine.

@mauritsvanrees mauritsvanrees merged commit 9e35613 into main Jun 17, 2024
17 checks passed
@mauritsvanrees mauritsvanrees deleted the fix-upgrade-dep branch June 17, 2024 09:07
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.

plone.app.upgrade must not be a hard dependency.
3 participants