python3-dominate: upgrade 2.8.0 -> 2.9.0

Upgrade to version 2.9.0:

- Modernize setuptools support to use pyproject.toml
- Remove brittle test

Remove fix-ptests.patch as the issue has been solved upstream.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2023-12-18 19:09:00 +02:00
committed by Khem Raj
parent c6ba2fcc4a
commit 1d887eede7
2 changed files with 2 additions and 23 deletions

View File

@@ -1,20 +0,0 @@
Fixes test failures on musl
Fixes errors
ptestresult.python3-dominate.tests/test_dom_tag.py::test___get_thread_context
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/tests/test_dom_tag.py b/tests/test_dom_tag.py
index 43ffecb..1126e54 100644
--- a/tests/test_dom_tag.py
+++ b/tests/test_dom_tag.py
@@ -18,6 +18,7 @@ def test___get_thread_context(monkeypatch):
monkeypatch.setattr(sut, 'threading', threading)
assert sut._get_thread_context() in [
+ 1692341442, # Python >= 3.9, 32-bit
-6805948436281256182, # Python >= 3.9
3713141171098444831, # Python < 3.9
]