Skip to content

Commit 202ad0c

Browse files
committed
Merge branch 'dev-3.5-warn' of https://github.com/festusdrakon/PyDP into festusdrakon-dev-3.5-warn
2 parents 43ca6f2 + c2de6ce commit 202ad0c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/readme.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ privacy guarantee and accuracy of your model written in Python.
2929
- All the computation methods mentioned above use Laplace noise only (other noise mechanisms will be added soon! :smiley:).
3030

3131
- ::fire: Currently supports Linux and macOS (Windows support coming soon :smiley:)
32-
- ::star: Use Python 3.x.
32+
- ::star: Use Python 3.6 and above. Support for Python 3.5 is being deprecated.
3333

3434
Installation
3535
------------

src/pydp/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@
22

33

44
__version__ = "1.0.1"
5+
6+
7+
import sys
8+
9+
# assert sys.version_info >= (3, 6)
10+
if sys.version_info < (3, 6):
11+
print("WARN: Support for Python 3.5 and below is being deprecated. \
12+
Please upgrade your version.")

0 commit comments

Comments
 (0)