Skip to content

Commit d1bd16b

Browse files
committed
Do not rely on f-strings
Unfortunately some cloud sites still are on py3.5, so lets not rely on f-strings for now and set minimum version to 3.5
1 parent 2ed02cc commit d1bd16b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

caso/messenger/ssm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def __init__(self):
5656
utils.makedirs(CONF.ssm.output_path)
5757

5858
def push_compute_message(self, queue, entries):
59-
message = f"APEL-cloud-message: v{self.compute_version}\n"
59+
message = "APEL-cloud-message: v%s\n" % self.compute_version
6060
aux = "%%\n".join(entries)
61-
message += f"{aux}\n"
61+
message += "%s\n" % aux
6262
queue.add(message)
6363

6464
def push_ip_message(self, queue, entries):

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ project_urls =
1515
license = Apache-2
1616
license_file = LICENSE
1717

18-
python-requires = >=3.6
18+
python-requires = >=3.5
1919

2020
classifier =
2121
Development Status :: 5 - Production/Stable
@@ -27,6 +27,7 @@ classifier =
2727
Operating System :: POSIX :: Linux
2828
Programming Language :: Python
2929
Programming Language :: Python :: 3
30+
Programming Language :: Python :: 3.5
3031
Programming Language :: Python :: 3.6
3132
Programming Language :: Python :: 3.7
3233
Programming Language :: Python :: 3.8

0 commit comments

Comments
 (0)