From 8ff10bea9320660f15d62b3d36e5df166298221b Mon Sep 17 00:00:00 2001 From: Jerome Kieffer Date: Thu, 22 Feb 2024 14:19:39 +0100 Subject: [PATCH 1/3] Test on python 3.12 --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index d46ed1e..77f21ac 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, '3.10', 3.11] + python-version: [3.7, 3.8, 3.9, 3.10, 3.11, 3.12] steps: - uses: actions/checkout@v2 From db5571def75d070d98fed629f46876784362766f Mon Sep 17 00:00:00 2001 From: Jerome Kieffer Date: Thu, 22 Feb 2024 14:34:54 +0100 Subject: [PATCH 2/3] Update python-package.yml --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 77f21ac..9c19512 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, 3.10, 3.11, 3.12] + python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12] steps: - uses: actions/checkout@v2 From 9ea10ff37890c36db6923b7709c2a161c0bffc2c Mon Sep 17 00:00:00 2001 From: Jerome Kieffer Date: Thu, 22 Feb 2024 14:37:36 +0100 Subject: [PATCH 3/3] Update test_job.py --- dahu/test/test_job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dahu/test/test_job.py b/dahu/test/test_job.py index e3cd9b7..a117ceb 100644 --- a/dahu/test/test_job.py +++ b/dahu/test/test_job.py @@ -31,7 +31,7 @@ def test_plugin_from_function(self): logger.error(os.linesep.join(j.output_data["error"])) logger.info(j.input_data) - self.assert_(self.called) + self.assertTrue(self.called) print(j.output_data) self.assertEqual(j.output_data["result"], 25, "result OK")