Skip to content

Commit

Permalink
- prepare release 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Jan 3, 2024
1 parent f6a6bc7 commit 00f040c
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- ["ubuntu", "ubuntu-20.04"]
config:
# [Python version, tox env]
- ["3.9", "release-check"]
- ["3.9", "lint"]
- ["3.7", "py37"]
- ["3.8", "py38"]
Expand Down
2 changes: 1 addition & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[meta]
template = "zope-product"
commit-id = "4a6085d0"
commit-id = "acd8d239"

[python]
with-windows = false
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ Change log
This change log covers releases starting with version 3.0. For earlier
releases, see the file `HISTORY.txt` in this folder.

5.2 (unreleased)
5.2 (2024-01-03)
----------------
- update to latest zope meta config templates

- add support for Python 3.12


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def read(name):


setup(name='Products.LDAPUserFolder',
version='5.2.dev0',
version='5.2',
description='A LDAP-enabled Zope user folder',
long_description=read('README.rst'),
classifiers=[
Expand Down
25 changes: 19 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[tox]
minversion = 3.18
envlist =
release-check
lint
py37
py38
Expand All @@ -24,7 +25,23 @@ setenv =
commands_pre =
{envbindir}/buildout -nc {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} install test
commands =
{envdir}/bin/test {posargs:-cv}
{envbindir}/test {posargs:-cv}
[testenv:release-check]
description = ensure that the distribution is ready to release
basepython = python3
skip_install = true
deps =
twine
build
check-manifest
check-python-versions >= 0.20.0
wheel
commands_pre =
commands =
check-manifest
check-python-versions
python -m build --sdist --no-isolation
twine check dist/*

[testenv:lint]
basepython = python3
Expand All @@ -35,11 +52,7 @@ allowlist_externals =
commands =
isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
flake8 {toxinidir}/src {toxinidir}/setup.py
check-manifest
check-python-versions
deps =
check-manifest
check-python-versions
flake8
isort
# Useful flake8 plugins that are Python and Plone specific:
Expand Down Expand Up @@ -75,7 +88,7 @@ deps =
coverage
commands =
mkdir -p {toxinidir}/parts/htmlcov
coverage run {envdir}/bin/test {posargs:-cv}
coverage run {envbindir}/test {posargs:-cv}
coverage html
coverage report -m --fail-under=81

Expand Down

0 comments on commit 00f040c

Please sign in to comment.