Skip to content

Commit

Permalink
Fix circular dependency on CMFPlone.
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Mar 11, 2023
1 parent 965a744 commit 71ab353
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion plone/session/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<include file="resources.zcml" />
<include
file="profiles.zcml"
zcml:condition="installed Products.CMFPlone"
zcml:condition="installed plone.base"
/>

</configure>
2 changes: 1 addition & 1 deletion plone/session/hiddenprofiles.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from Products.CMFPlone.interfaces import INonInstallable
from plone.base.interfaces import INonInstallable
from zope.interface import implementer


Expand Down
2 changes: 1 addition & 1 deletion plone/session/profiles/default/registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
===============================
-->
<records
interface="Products.CMFPlone.interfaces.IBundleRegistry"
interface="plone.base.interfaces.IBundleRegistry"
prefix="plone.bundles/plone-session">
<value key="enabled">True</value>
<value key="jscompilation">++resource++plone.session.refreshsupport.js</value>
Expand Down
2 changes: 1 addition & 1 deletion plone/session/profiles/uninstall/registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<registry>

<records
interface="Products.CMFPlone.interfaces.IBundleRegistry"
interface="plone.base.interfaces.IBundleRegistry"
prefix="plone.bundles/plone-session"
remove="true">
</records>
Expand Down
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,11 @@
]
),
install_requires=[
"AccessControl",
"plone.keyring",
"plone.protect",
"Products.GenericSetup",
"Products.CMFPlone",
"Products.PluggableAuthService",
"setuptools",
"zope.component",
"zope.interface",
"Zope",
],
)

0 comments on commit 71ab353

Please sign in to comment.