Skip to content

Commit

Permalink
Remove version conditions for addon dependencies, p43-p52 should be s…
Browse files Browse the repository at this point in the history
…upported

This is makes sense, because the generated package should be useable for
Plone version from 4.3 until current. If someone wants to drop support,
she can remove some of the dependencies, as they are in Plone core in
newer versions.
  • Loading branch information
MrTango committed Mar 11, 2019
1 parent 86797e2 commit 12d0e60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions bobtemplates/plone/addon/setup.py.bob
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,14 @@ setup(
'setuptools',
# -*- Extra requirements: -*-
'z3c.jbot',
{{% if not (plone.is_plone51 or plone.is_plone52) %}}
'Products.GenericSetup>=1.8.2',
{{% endif %}}
{{% if not plone.is_plone52 %}}
'plone.api>=1.8.4',
'plone.restapi',
{{% endif %}}
{{% if not plone.is_plone5 %}}
'plone.app.dexterity<=2.1.1',
'plone.app.referenceablebehavior',
'plone.app.relationfield',
'plone.app.lockingbehavior',
'plone.schema',
{{% endif %}}
],
extras_require={
'test': [
Expand Down
2 changes: 1 addition & 1 deletion bobtemplates/plone/addon/tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
{py27,37}-lint,
{py27,py37}-lint,
py{27}-Plone{43,51},
py{27,37}-Plone{52},
build_instance,
Expand Down

0 comments on commit 12d0e60

Please sign in to comment.