Skip to content

Commit 94ef147

Browse files
authored
Include ZTK versions and run their tests here. (#97)
So we no longer depend on ZTK releases to see updates of these versions.
1 parent 690b0f2 commit 94ef147

File tree

9 files changed

+337
-12
lines changed

9 files changed

+337
-12
lines changed

.meta.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ with-windows = false
1515
[tox]
1616
use-flake8 = true
1717
testenv-commands = [
18-
"{envdir}/bin/test-grok {posargs:-cv}",
18+
"{envdir}/bin/test {posargs:-cv}",
1919
]
2020
testenv-setenv = [
2121
"zope_i18n_compile_mo_files=True",

buildout.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ extends =
44

55
parts =
66
checkversions
7-
test-grok
7+
test
88

99
extensions = mr.developer
1010
allow-picked-versions = false
@@ -18,7 +18,7 @@ auto-checkout =
1818
recipe = zc.recipe.egg
1919
eggs = z3c.checkversions [buildout]
2020

21-
[test-grok]
21+
[test]
2222
recipe = z3c.recipe.compattest
2323
include = ${grok:packages}
2424
exclude =

dependabot/requirements.txt

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,90 @@
1+
zope.annotation==5.1
2+
zope.applicationcontrol==5.1
3+
zope.authentication==5.1
4+
zope.browser==3.1
5+
zope.browsermenu==5.1
6+
zope.browserpage==5.0
7+
zope.browserresource==5.2
8+
zope.cachedescriptors==5.1
9+
zope.catalog==5.0
10+
zope.component==6.0
11+
zope.componentvocabulary==3.0
12+
zope.configuration==6.0
13+
zope.container==6.1
14+
zope.contentprovider==6.0
15+
zope.contenttype==5.2
16+
zope.copy==5.0
17+
zope.copypastemove==5.0
18+
zope.datetime==5.1
19+
zope.deferredimport==5.0
20+
zope.deprecation==5.1
21+
zope.dottedname==6.0
22+
zope.dublincore==5.0
23+
zope.error==5.1
24+
zope.event==5.0
25+
zope.exceptions==5.2
26+
zope.filerepresentation==6.1
27+
zope.formlib==6.1
28+
zope.hookable==7.0
29+
zope.i18n==5.2
30+
zope.i18nmessageid==7.0
31+
zope.index==7.0
32+
zope.interface==7.2
33+
zope.intid==5.1
34+
zope.keyreference==6.1
35+
zope.lifecycleevent==5.1
36+
zope.location==5.1
37+
zope.login==3.1
38+
zope.mimetype==3.1
39+
zope.minmax==2.3
40+
zope.pagetemplate==5.1
41+
zope.password==6.0
42+
zope.pluggableauth==4.0
43+
zope.principalannotation==5.1
44+
zope.principalregistry==5.1
45+
zope.processlifetime==3.1
46+
zope.proxy==6.1
47+
zope.ptresource==5.1
48+
zope.publisher==7.3
49+
zope.ramcache==3.1
50+
zope.schema==7.0.1
51+
zope.security==7.3
52+
zope.securitypolicy==5.1
53+
zope.sendmail==6.2
54+
zope.session==5.1
55+
zope.site==5.1
56+
zope.size==5.1
57+
zope.structuredtext==5.0
58+
zope.tal==5.1
59+
zope.tales==6.1
60+
zope.testing==5.1
61+
zope.testrunner==7.4
62+
zope.traversing==5.1
63+
zope.untrustedpython==6.1
64+
zope.viewlet==5.1
65+
BTrees==6.1
66+
RestrictedPython==8.0
67+
ZConfig==4.2
68+
ZODB==6.0.1
69+
bcrypt==4.3.0
70+
cffi==1.17.1
71+
multipart==1.2.1
72+
persistent==6.1.1
73+
pycparser==2.22
74+
python-gettext==5.0
75+
pytz==2025.2
76+
transaction==5.0
77+
zc.lockfile==3.0.post1
78+
zodbpickle==4.2
79+
six==1.17.0
80+
coverage==7.9.1
81+
manuel==1.13.0
82+
collective.recipe.cmd==0.11
83+
mr.developer==2.0.3
84+
z3c.checkversions==3.0
85+
z3c.recipe.compattest==4.0
86+
zc.recipe.egg==3.0.0
87+
zc.recipe.testrunner==3.2
188
Chameleon==4.6.0
289
grok==6.1
390
grokcore.annotation==4.1

docs/changes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11

22
.. note:: The buildout versions file for all current versions can be found at https://zopefoundation.github.io/groktoolkit/
33

4+
5.5 (unreleased)
5+
----------------
6+
7+
- Include Zope toolkit (ZTK) versions directly into GROK toolkit and run their
8+
tests here so we no longer depend on ZTK releases to see updates of these
9+
versions.
10+
411
5.4 (2025-06-10)
512
----------------
613

docs/release.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ Automated way
4646
Releasing a new GROK toolkit version
4747
=====================================
4848

49-
* Check whether there is a new version of ZTK (Compare
50-
https://zopefoundation.github.io/zopetoolkit/ with ``grok.cfg``)
51-
52-
* If there is newer version: Update to it and run the tests using ``tox -pauto``.
5349
* Make sure all tests are running successfully.
5450
* Check wether the supported Python version are correct in ``grok-versions.cfg``,
5551
see ``.github/workflows/tests.yml`` for the Python versions under test.

grok-sources.cfg

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,76 @@ github = https://github.com/zopefoundation
33
github_push = git@github.com:zopefoundation
44

55
[sources]
6+
# ZTK
7+
zope.annotation = git ${buildout:github}/zope.annotation pushurl=${buildout:github_push}/zope.annotation
8+
zope.applicationcontrol = git ${buildout:github}/zope.applicationcontrol pushurl=${buildout:github_push}/zope.applicationcontrol
9+
zope.authentication = git ${buildout:github}/zope.authentication pushurl=${buildout:github_push}/zope.authentication
10+
zope.browser = git ${buildout:github}/zope.browser pushurl=${buildout:github_push}/zope.browser
11+
zope.browsermenu = git ${buildout:github}/zope.browsermenu pushurl=${buildout:github_push}/zope.browsermenu
12+
zope.browserpage = git ${buildout:github}/zope.browserpage pushurl=${buildout:github_push}/zope.browserpage
13+
zope.browserresource = git ${buildout:github}/zope.browserresource pushurl=${buildout:github_push}/zope.browserresource
14+
zope.cachedescriptors = git ${buildout:github}/zope.cachedescriptors pushurl=${buildout:github_push}/zope.cachedescriptors
15+
zope.catalog = git ${buildout:github}/zope.catalog pushurl=${buildout:github_push}/zope.catalog
16+
zope.component = git ${buildout:github}/zope.component pushurl=${buildout:github_push}/zope.component
17+
zope.componentvocabulary = git ${buildout:github}/zope.componentvocabulary pushurl=${buildout:github_push}/zope.componentvocabulary
18+
zope.configuration = git ${buildout:github}/zope.configuration pushurl=${buildout:github_push}/zope.configuration
19+
zope.container = git ${buildout:github}/zope.container pushurl=${buildout:github_push}/zope.container
20+
zope.contentprovider = git ${buildout:github}/zope.contentprovider pushurl=${buildout:github_push}/zope.contentprovider
21+
zope.contenttype = git ${buildout:github}/zope.contenttype pushurl=${buildout:github_push}/zope.contenttype
22+
zope.copy = git ${buildout:github}/zope.copy pushurl=${buildout:github_push}/zope.copy
23+
zope.copypastemove = git ${buildout:github}/zope.copypastemove pushurl=${buildout:github_push}/zope.copypastemove
24+
zope.datetime = git ${buildout:github}/zope.datetime pushurl=${buildout:github_push}/zope.datetime
25+
zope.deferredimport = git ${buildout:github}/zope.deferredimport pushurl=${buildout:github_push}/zope.deferredimport
26+
zope.deprecation = git ${buildout:github}/zope.deprecation pushurl=${buildout:github_push}/zope.deprecation
27+
zope.dottedname = git ${buildout:github}/zope.dottedname pushurl=${buildout:github_push}/zope.dottedname
28+
zope.dublincore = git ${buildout:github}/zope.dublincore pushurl=${buildout:github_push}/zope.dublincore
29+
zope.error = git ${buildout:github}/zope.error pushurl=${buildout:github_push}/zope.error
30+
zope.event = git ${buildout:github}/zope.event pushurl=${buildout:github_push}/zope.event
31+
zope.exceptions = git ${buildout:github}/zope.exceptions pushurl=${buildout:github_push}/zope.exceptions
32+
zope.filerepresentation = git ${buildout:github}/zope.filerepresentation pushurl=${buildout:github_push}/zope.filerepresentation
33+
zope.formlib = git ${buildout:github}/zope.formlib pushurl=${buildout:github_push}/zope.formlib
34+
zope.hookable = git ${buildout:github}/zope.hookable pushurl=${buildout:github_push}/zope.hookable
35+
zope.i18n = git ${buildout:github}/zope.i18n pushurl=${buildout:github_push}/zope.i18n
36+
zope.i18nmessageid = git ${buildout:github}/zope.i18nmessageid pushurl=${buildout:github_push}/zope.i18nmessageid
37+
zope.index = git ${buildout:github}/zope.index pushurl=${buildout:github_push}/zope.index
38+
zope.interface = git ${buildout:github}/zope.interface pushurl=${buildout:github_push}/zope.interface
39+
zope.intid = git ${buildout:github}/zope.intid pushurl=${buildout:github_push}/zope.intid
40+
zope.keyreference = git ${buildout:github}/zope.keyreference pushurl=${buildout:github_push}/zope.keyreference
41+
zope.lifecycleevent = git ${buildout:github}/zope.lifecycleevent pushurl=${buildout:github_push}/zope.lifecycleevent
42+
zope.location = git ${buildout:github}/zope.location pushurl=${buildout:github_push}/zope.location
43+
zope.login = git ${buildout:github}/zope.login pushurl=${buildout:github_push}/zope.login
44+
zope.mimetype = git ${buildout:github}/zope.mimetype pushurl=${buildout:github_push}/zope.mimetype
45+
zope.minmax = git ${buildout:github}/zope.minmax pushurl=${buildout:github_push}/zope.minmax
46+
zope.pagetemplate = git ${buildout:github}/zope.pagetemplate pushurl=${buildout:github_push}/zope.pagetemplate
47+
zope.password = git ${buildout:github}/zope.password pushurl=${buildout:github_push}/zope.password
48+
zope.pluggableauth = git ${buildout:github}/zope.pluggableauth pushurl=${buildout:github_push}/zope.pluggableauth
49+
zope.principalannotation = git ${buildout:github}/zope.principalannotation pushurl=${buildout:github_push}/zope.principalannotation
50+
zope.principalregistry = git ${buildout:github}/zope.principalregistry pushurl=${buildout:github_push}/zope.principalregistry
51+
zope.processlifetime = git ${buildout:github}/zope.processlifetime pushurl=${buildout:github_push}/zope.processlifetime
52+
zope.proxy = git ${buildout:github}/zope.proxy pushurl=${buildout:github_push}/zope.proxy
53+
zope.ptresource = git ${buildout:github}/zope.ptresource pushurl=${buildout:github_push}/zope.ptresource
54+
zope.publisher = git ${buildout:github}/zope.publisher pushurl=${buildout:github_push}/zope.publisher
55+
zope.ramcache = git ${buildout:github}/zope.ramcache pushurl=${buildout:github_push}/zope.ramcache
56+
zope.schema = git ${buildout:github}/zope.schema pushurl=${buildout:github_push}/zope.schema
57+
zope.security = git ${buildout:github}/zope.security pushurl=${buildout:github_push}/zope.security
58+
zope.securitypolicy = git ${buildout:github}/zope.securitypolicy pushurl=${buildout:github_push}/zope.securitypolicy
59+
zope.sendmail = git ${buildout:github}/zope.sendmail pushurl=${buildout:github_push}/zope.sendmail
60+
zope.session = git ${buildout:github}/zope.session pushurl=${buildout:github_push}/zope.session
61+
zope.site = git ${buildout:github}/zope.site pushurl=${buildout:github_push}/zope.site
62+
zope.size = git ${buildout:github}/zope.size pushurl=${buildout:github_push}/zope.size
63+
zope.structuredtext = git ${buildout:github}/zope.structuredtext pushurl=${buildout:github_push}/zope.structuredtext
64+
zope.tal = git ${buildout:github}/zope.tal pushurl=${buildout:github_push}/zope.tal
65+
zope.tales = git ${buildout:github}/zope.tales pushurl=${buildout:github_push}/zope.tales
66+
zope.testing = git ${buildout:github}/zope.testing pushurl=${buildout:github_push}/zope.testing
67+
zope.testrunner = git ${buildout:github}/zope.testrunner pushurl=${buildout:github_push}/zope.testrunner
68+
zope.traversing = git ${buildout:github}/zope.traversing pushurl=${buildout:github_push}/zope.traversing
69+
zope.untrustedpython = git ${buildout:github}/zope.untrustedpython pushurl=${buildout:github_push}/zope.untrustedpython
70+
zope.viewlet = git ${buildout:github}/zope.viewlet pushurl=${buildout:github_push}/zope.viewlet
71+
72+
# Tools
73+
z3c.checkversions = git ${buildout:github}/z3c.checkversions pushurl=${buildout:github_push}/z3c.checkversions
74+
75+
# GROK
676
grok = git ${buildout:github}/grok pushurl=${buildout:github_push}/grok
777
grokcore.annotation = git ${buildout:github}/grokcore.annotation pushurl=${buildout:github_push}/grokcore.annotation
878
grokcore.catalog = git ${buildout:github}/grokcore.catalog pushurl=${buildout:github_push}/grokcore.catalog

grok-versions.cfg

Lines changed: 104 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,101 @@
11
[versions]
2+
# ZTK
3+
zope.annotation = 5.1
4+
zope.applicationcontrol = 5.1
5+
zope.authentication = 5.1
6+
zope.browser = 3.1
7+
zope.browsermenu = 5.1
8+
zope.browserpage = 5.0
9+
zope.browserresource = 5.2
10+
zope.cachedescriptors = 5.1
11+
zope.catalog = 5.0
12+
zope.component = 6.0
13+
zope.componentvocabulary = 3.0
14+
zope.configuration = 6.0
15+
zope.container = 6.1
16+
zope.contentprovider = 6.0
17+
zope.contenttype = 5.2
18+
zope.copy = 5.0
19+
zope.copypastemove = 5.0
20+
zope.datetime = 5.1
21+
zope.deferredimport = 5.0
22+
zope.deprecation = 5.1
23+
zope.dottedname = 6.0
24+
zope.dublincore = 5.0
25+
zope.error = 5.1
26+
zope.event = 5.0
27+
zope.exceptions = 5.2
28+
zope.filerepresentation = 6.1
29+
zope.formlib = 6.1
30+
zope.hookable = 7.0
31+
zope.i18n = 5.2
32+
zope.i18nmessageid = 7.0
33+
zope.index = 7.0
34+
zope.interface = 7.2
35+
zope.intid = 5.1
36+
zope.keyreference = 6.1
37+
zope.lifecycleevent = 5.1
38+
zope.location = 5.1
39+
zope.login = 3.1
40+
zope.mimetype = 3.1
41+
zope.minmax = 2.3
42+
zope.pagetemplate = 5.1
43+
zope.password = 6.0
44+
zope.pluggableauth = 4.0
45+
zope.principalannotation = 5.1
46+
zope.principalregistry = 5.1
47+
zope.processlifetime = 3.1
48+
zope.proxy = 6.1
49+
zope.ptresource = 5.1
50+
zope.publisher = 7.3
51+
zope.ramcache = 3.1
52+
zope.schema = 7.0.1
53+
zope.security = 7.3
54+
zope.securitypolicy = 5.1
55+
zope.sendmail = 6.2
56+
zope.session = 5.1
57+
zope.site = 5.1
58+
zope.size = 5.1
59+
zope.structuredtext = 5.0
60+
zope.tal = 5.1
61+
zope.tales = 6.1
62+
zope.testing = 5.1
63+
zope.testrunner = 7.4
64+
zope.traversing = 5.1
65+
zope.untrustedpython = 6.1
66+
zope.viewlet = 5.1
67+
68+
# ZTK Direct dependencies
69+
BTrees = 6.1
70+
RestrictedPython = 8.0
71+
ZConfig = 4.2
72+
ZODB = 6.0.1
73+
bcrypt = 4.3.0
74+
cffi = 1.17.1
75+
multipart = 1.2.1
76+
persistent = 6.1.1
77+
pycparser = 2.22
78+
python-gettext = 5.0
79+
pytz = 2025.2
80+
transaction = 5.0
81+
zc.lockfile = 3.0.post1
82+
zodbpickle = 4.2
83+
84+
# ZTK Hopefully we can get rid of it sometime:
85+
six = 1.17.0
86+
87+
# ZTK Testing tools
88+
coverage = 7.9.1
89+
manuel = 1.13.0
90+
91+
# ZTK buildout dependencies
92+
collective.recipe.cmd = 0.11
93+
mr.developer = 2.0.3
94+
z3c.checkversions = 3.0
95+
z3c.recipe.compattest = 4.0
96+
zc.recipe.egg = 3.0.0
97+
zc.recipe.testrunner = 3.2
98+
299
# GROK
3100
Chameleon = 4.6.0
4101
grok = 6.1
@@ -33,7 +130,7 @@ zope.errorview = 2.0
33130
zope.generations = 5.1.0
34131
zope.testbrowser = 7.0.1
35132

36-
# Tools and dependencies
133+
# GROK Tools and dependencies
37134
appnope = 0.1.4
38135
beautifulsoup4 = 4.13.4
39136
collective.recipe.omelette = 2.0.0
@@ -64,3 +161,9 @@ zdaemon = 5.2
64161
[versions:python39]
65162
importlib-metadata = 7.0.0
66163
zipp = 3.17.0
164+
# Newer versions use Python's integrated toml support in coverage
165+
tomli = 2.0.2
166+
167+
[versions:python310]
168+
# Newer versions use Python's integrated toml support in coverage
169+
tomli = 2.0.2

0 commit comments

Comments
 (0)