Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Python 3.12 to CI #87

Merged
merged 2 commits into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
twisted:
- "22.4.0"
- "22.10.0"
Expand Down
2 changes: 1 addition & 1 deletion test/test_bley.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _assert_defer_action(self, data):

def _assert_prepend_action(self, data):
self.assertEquals(data['action'], b"action=PREPEND")
self.assertRegexpMatches(data['text'].decode('ascii'), r"X-Greylist: delayed .* seconds by bley-.* at .*; .*")
self.assertRegex(data['text'].decode('ascii'), r"X-Greylist: delayed .* seconds by bley-.* at .*; .*")

def test_incomplete_request(self):
data = {
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py36, py37, py38, py39, py310, py311
envlist = py36, py37, py38, py39, py310, py311, py312

[testenv]
commands = make test
Expand All @@ -29,3 +29,4 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312