From 11295d41af74efd471b1dd5f55aa3203ff12e487 Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 23 Jul 2023 17:38:54 +0200 Subject: [PATCH 1/4] fix html mail --- lib/vsc/utils/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vsc/utils/mail.py b/lib/vsc/utils/mail.py index 9e304b34..aca2ff62 100644 --- a/lib/vsc/utils/mail.py +++ b/lib/vsc/utils/mail.py @@ -321,7 +321,7 @@ def sendHTMLMail( # Record the MIME types of both parts - text/plain and text/html_message. msg_plain = MIMEText(text_alternative, 'plain', 'utf-8') - msg_html = MIMEText(html_message, 'html_message', 'utf-8') + msg_html = MIMEText(html_message, 'html', 'utf-8') # Attach parts into message container. # According to RFC 2046, the last part of a multipart message, in this case From 047f0412793b61cb4172564e2316aa3dadcb3d3f Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 23 Jul 2023 17:48:10 +0200 Subject: [PATCH 2/4] update github unittest workflow --- .github/workflows/unittest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 41c7aa33..9212441e 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -12,7 +12,7 @@ jobs: with: python-version: ${{ matrix.python }} - name: install tox - run: pip install tox + run: pip install 'virtualenv<20.22.0' 'tox<4.5.0' - name: add mandatory git remote run: git remote add hpcugent https://github.com/hpcugent/vsc-base.git - name: Run tox From f5d7cf72846366a18ef62fa41c76e8b4b6c8e7b6 Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 23 Jul 2023 18:06:11 +0200 Subject: [PATCH 3/4] update version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 11676c79..785eb0ec 100755 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ from vsc.install.shared_setup import ag, kh, jt, sdw PACKAGE = { - 'version': '3.5.3', + 'version': '3.5.4', 'author': [sdw, jt, ag, kh], 'maintainer': [sdw, jt, ag, kh], 'install_requires': [ From 511df50ee8922df032d427771310099af7560e24 Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 9 Aug 2023 15:15:41 +0200 Subject: [PATCH 4/4] dummy change to trigger unittests --- lib/vsc/utils/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vsc/utils/mail.py b/lib/vsc/utils/mail.py index aca2ff62..7883e914 100644 --- a/lib/vsc/utils/mail.py +++ b/lib/vsc/utils/mail.py @@ -321,7 +321,7 @@ def sendHTMLMail( # Record the MIME types of both parts - text/plain and text/html_message. msg_plain = MIMEText(text_alternative, 'plain', 'utf-8') - msg_html = MIMEText(html_message, 'html', 'utf-8') + msg_html = MIMEText(html_message, "html", 'utf-8') # Attach parts into message container. # According to RFC 2046, the last part of a multipart message, in this case