File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 96
96
from urlparse import urlparse , urlunparse
97
97
98
98
if sys .version_info < (3 , 9 ):
99
- warnings .showwarning (
100
- textwrap .dedent ("""\
99
+ message = textwrap .dedent ("""\
101
100
Warning!
102
101
103
- The PyShp developers propose to drop support for Pythons 3.8 and earlier, including Python 2.
102
+ It is proposed to drop support for Pythons 3.8 and earlier, including Python 2.
104
103
Thereafter, Python version support will follow the official Python release
105
- cycle: https://devguide.python.org/versions/. This will make Python 3.9 the earliest
106
- supported version until October 2025.
104
+ cycle: https://devguide.python.org/versions/. This will make Python 3.9 the
105
+ earliest supported version until October 2025.
107
106
108
- The reasoning behind this is available in the following discussion:
107
+ For more information, and to send the developers your feedback please
108
+ see the following discussion:
109
109
https://github.com/GeospatialPython/pyshp/discussions/290
110
- Please post any feedback there.
111
110
112
111
Many thanks,
113
- """ ),
112
+ """ )
113
+ logger .warning (message )
114
+ warnings .showwarning (
115
+ message ,
114
116
category = UserWarning ,
115
117
filename = __name__ ,
116
- lineno = 99 ,
118
+ lineno = 115 ,
117
119
)
118
120
119
121
You can’t perform that action at this time.
0 commit comments