Skip to content

Commit

Permalink
Add compatibility with Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nalepae committed Apr 4, 2019
1 parent 69ba538 commit f66d265
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pandarallel/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '1.0.0'
__version__ = '1.1.0'

from ._pandarallel import pandarallel
6 changes: 3 additions & 3 deletions pandarallel/_pandarallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def wrapper(*args, **kwargs):
return func(*args, **kwargs)

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

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

if progress_bar:
print("WARNING: Progress bar is an experimental feature. This \
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

setup(
name='pandarallel',
version='1.0.0',
python_requires='>=3.7',
version='1.1.0',
python_requires='>=3.5',
packages=find_packages(),
author='Manu NALEPA',
author_email='[email protected]',
Expand Down

0 comments on commit f66d265

Please sign in to comment.