From 10c61763cce6def80e91968d79e6d09823edab8d Mon Sep 17 00:00:00 2001 From: Karim Bahgat Date: Thu, 24 Aug 2017 16:54:09 +0200 Subject: [PATCH] Update to new bugfix version --- changelog.txt | 6 ++++++ setup.py | 2 +- shapefile.py | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index 9ff0a00..f7785ee 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +VERSION 1.2.12 + +2017-08-24 Karim Bahgat + * Fixed errors caused by strict value type checking, as introduced in v1.2.11. Now more lenient by attempting force conversion of values to match the field type. + * Allow reading file-like objects without seek method (such as ZipFile or urllib.urlopen). + VERSION 1.2.11 2017-04-29 Karim Bahgat diff --git a/setup.py b/setup.py index 9acd4f7..09a667b 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup(name='pyshp', - version='1.2.11', + version='1.2.12', description='Pure Python read/write support for ESRI Shapefile format', long_description=open('README.md').read(), author='Joel Lawhead', diff --git a/shapefile.py b/shapefile.py index 3e1d41d..dbf846a 100644 --- a/shapefile.py +++ b/shapefile.py @@ -2,12 +2,12 @@ shapefile.py Provides read and write support for ESRI Shapefiles. author: jlawheadgeospatialpython.com -date: 2017/04/29 -version: 1.2.12-dev +date: 2017/08/24 +version: 1.2.12 Compatible with Python versions 2.7-3.x """ -__version__ = "1.2.12-dev" +__version__ = "1.2.12" from struct import pack, unpack, calcsize, error, Struct import os