Skip to content

Commit f1f47ff

Browse files
authored
Merge pull request #1087 from Conengmo/py2-deprecation
Make the next release the last Py2 version
2 parents fb1c6a5 + 1540038 commit f1f47ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

folium/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353

5454
if sys.version_info < (3, 0):
5555
warnings.warn(
56-
('folium will stop working with Python 2.7 starting Jan. 1, 2019.'
57-
' Please transition to Python 3 before this time.'
56+
('This version of folium is the last to support Python 2.'
57+
' Transition to Python 3 to be able to receive updates and fixes.'
5858
' Check out https://python3statement.org/ for more info.'),
59-
PendingDeprecationWarning
59+
UserWarning
6060
)
6161

6262
__version__ = get_versions()['version']

0 commit comments

Comments
 (0)