Skip to content

Commit ac8dffd

Browse files
committed
Add shm_size_mb deprecation warning.
Fix #79
1 parent 7ce460c commit ac8dffd

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
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.4.5"
1+
__version__ = "1.4.6"
22

33
from .pandarallel import pandarallel

pandarallel/pandarallel.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,12 @@ def initialize(
519519
memory_fs_available = is_memory_fs_available()
520520
use_memory_fs = use_memory_fs or use_memory_fs is None and memory_fs_available
521521

522+
if shm_size_mb:
523+
print(
524+
"WARNING: `shm_size_mb` is a deprecated argument. "
525+
"It will be removed in `pandarallel 2.0.0`."
526+
)
527+
522528
if use_memory_fs and not memory_fs_available:
523529
raise SystemError("Memory file system is not available")
524530

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
setup(
66
name="pandarallel",
7-
version="1.4.5",
7+
version="1.4.6",
88
python_requires=">=3.5",
99
packages=find_packages(),
1010
author="Manu NALEPA",
1111
author_email="nalepae@gmail.com",
1212
description="An easy to use library to speed up computation (by parallelizing on multi CPUs) with pandas.",
13-
long_description="See https://github.com/nalepae/pandarallel/tree/v1.4.5 for complete user guide.",
13+
long_description="See https://github.com/nalepae/pandarallel/tree/v1.4.6 for complete user guide.",
1414
url="https://github.com/nalepae/pandarallel",
1515
install_requires=install_requires,
1616
license="BSD",

0 commit comments

Comments
 (0)