File tree Expand file tree Collapse file tree 5 files changed +25
-9
lines changed
Expand file tree Collapse file tree 5 files changed +25
-9
lines changed Original file line number Diff line number Diff line change 2020 - ["ubuntu", "ubuntu-20.04"]
2121 config :
2222 # [Python version, tox env]
23+ - ["3.9", "release-check"]
2324 - ["3.9", "lint"]
2425 - ["3.7", "py37"]
2526 - ["3.8", "py38"]
Original file line number Diff line number Diff line change 22# https://github.com/zopefoundation/meta/tree/master/config/zope-product
33[meta ]
44template = " zope-product"
5- commit-id = " 4a6085d0 "
5+ commit-id = " acd8d239 "
66
77[python ]
88with-windows = false
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ Change log
44This change log covers releases starting with version 3.0. For earlier
55releases, see the file `HISTORY.txt ` in this folder.
66
7- 5.2 (unreleased )
7+ 5.2 (2024-01-03 )
88----------------
9+ - update to latest zope meta config templates
10+
911- add support for Python 3.12
1012
1113
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def read(name):
2626
2727
2828setup (name = 'Products.LDAPUserFolder' ,
29- version = '5.2.dev0 ' ,
29+ version = '5.2' ,
3030 description = 'A LDAP-enabled Zope user folder' ,
3131 long_description = read ('README.rst' ),
3232 classifiers = [
Original file line number Diff line number Diff line change 33[tox]
44minversion = 3.18
55envlist =
6+ release-check
67 lint
78 py37
89 py38
@@ -24,7 +25,23 @@ setenv =
2425commands_pre =
2526 {envbindir}/buildout -nc {toxinidir}/buildout.cfg buildout:directory ={envdir} buildout:develop ={toxinidir} install test
2627commands =
27- {envdir}/bin/test {posargs:-cv}
28+ {envbindir}/test {posargs:-cv}
29+ [testenv:release-check]
30+ description = ensure that the distribution is ready to release
31+ basepython = python3
32+ skip_install = true
33+ deps =
34+ twine
35+ build
36+ check-manifest
37+ check-python-versions >= 0.20.0
38+ wheel
39+ commands_pre =
40+ commands =
41+ check-manifest
42+ check-python-versions
43+ python -m build --sdist --no-isolation
44+ twine check dist/*
2845
2946[testenv:lint]
3047basepython = python3
@@ -35,11 +52,7 @@ allowlist_externals =
3552commands =
3653 isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
3754 flake8 {toxinidir}/src {toxinidir}/setup.py
38- check-manifest
39- check-python-versions
4055deps =
41- check-manifest
42- check-python-versions
4356 flake8
4457 isort
4558 # Useful flake8 plugins that are Python and Plone specific:
7588 coverage
7689commands =
7790 mkdir -p {toxinidir}/parts/htmlcov
78- coverage run {envdir}/bin /test {posargs:-cv}
91+ coverage run {envbindir} /test {posargs:-cv}
7992 coverage html
8093 coverage report -m --fail-under =81
8194
You can’t perform that action at this time.
0 commit comments