Skip to content

Commit 00f040c

Browse files
committed
- prepare release 5.2
1 parent f6a6bc7 commit 00f040c

File tree

5 files changed

+25
-9
lines changed

5 files changed

+25
-9
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
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"]

.meta.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
33
[meta]
44
template = "zope-product"
5-
commit-id = "4a6085d0"
5+
commit-id = "acd8d239"
66

77
[python]
88
with-windows = false

CHANGES.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ Change log
44
This change log covers releases starting with version 3.0. For earlier
55
releases, 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

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def read(name):
2626

2727

2828
setup(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=[

tox.ini

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[tox]
44
minversion = 3.18
55
envlist =
6+
release-check
67
lint
78
py37
89
py38
@@ -24,7 +25,23 @@ setenv =
2425
commands_pre =
2526
{envbindir}/buildout -nc {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} install test
2627
commands =
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]
3047
basepython = python3
@@ -35,11 +52,7 @@ allowlist_externals =
3552
commands =
3653
isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
3754
flake8 {toxinidir}/src {toxinidir}/setup.py
38-
check-manifest
39-
check-python-versions
4055
deps =
41-
check-manifest
42-
check-python-versions
4356
flake8
4457
isort
4558
# Useful flake8 plugins that are Python and Plone specific:
@@ -75,7 +88,7 @@ deps =
7588
coverage
7689
commands =
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

0 commit comments

Comments
 (0)