Skip to content

Commit

Permalink
- add support for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Oct 5, 2023
1 parent 4f8703b commit f6a6bc7
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- ["3.9", "py39"]
- ["3.10", "py310"]
- ["3.11", "py311"]
- ["3.12", "py312"]
- ["3.9", "docs"]
- ["3.9", "coverage"]

Expand Down
11 changes: 10 additions & 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 = "8f22a5de"
commit-id = "4a6085d0"

[python]
with-windows = false
Expand Down Expand Up @@ -41,3 +41,12 @@ additional-install = [
"sudo apt update",
"sudo apt install -y ldap-utils slapd libldap2-dev libsasl2-dev",
]

[readthedocs]
build-extra = [
"apt_packages:",
" - ldap-utils",
" - slapd",
" - libldap2-dev",
" - libsasl2-dev",
]
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
apt_packages:
- ldap-utils
- slapd
- libldap2-dev
- libsasl2-dev
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ releases, see the file `HISTORY.txt` in this folder.

5.2 (unreleased)
----------------
- add support for Python 3.12


5.1 (2023-10-03)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def read(name):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Software Development",
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ envlist =
py39
py310
py311
py312
docs
coverage

Expand All @@ -17,6 +18,9 @@ skip_install = true
deps =
zc.buildout >= 3.0.1
wheel > 0.37
setenv =
py312: VIRTUALENV_PIP=23.1.2
py312: PIP_REQUIRE_VIRTUALENV=0
commands_pre =
{envbindir}/buildout -nc {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} install test
commands =
Expand Down

0 comments on commit f6a6bc7

Please sign in to comment.