Skip to content

Commit f66d265

Browse files
committed
Add compatibility with Python 3.5
1 parent 69ba538 commit f66d265

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pandarallel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = '1.0.0'
1+
__version__ = '1.1.0'
22

33
from ._pandarallel import pandarallel

pandarallel/_pandarallel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def wrapper(*args, **kwargs):
7474
return func(*args, **kwargs)
7575

7676
except _PlasmaStoreFull:
77-
msg = f"The pandarallel shared memory is too small to allow \
77+
msg = "The pandarallel shared memory is too small to allow \
7878
parallel computation. \
7979
Just after pandarallel import, please write: \
8080
pandarallel.initialize(<size of memory in MB>), and retry."
@@ -426,8 +426,8 @@ def initialize(cls, shm_size_mb=SHM_SIZE_MB, nb_workers=NB_WORKERS,
426426
This can lead to a considerable performance loss.
427427
"""
428428

429-
print(f"New pandarallel memory created - Size: {shm_size_mb} MB")
430-
print(f"Pandarallel will run on {nb_workers} workers")
429+
print("New pandarallel memory created - Size:", shm_size_mb, "MB")
430+
print("Pandarallel will run on", nb_workers, "workers")
431431

432432
if progress_bar:
433433
print("WARNING: Progress bar is an experimental feature. This \

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
setup(
1010
name='pandarallel',
11-
version='1.0.0',
12-
python_requires='>=3.7',
11+
version='1.1.0',
12+
python_requires='>=3.5',
1313
packages=find_packages(),
1414
author='Manu NALEPA',
1515
author_email='nalepae@gmail.com',

0 commit comments

Comments
 (0)