Repository: perrygeo/python-rasterstats (language: python)

Issue:
Hello! I had this problem in use, I checked the source code and it was fixed, but it still exists in the latest packages.
Hello! I had this problem in use, I checked the source code and it was fixed, but it still exists in the latest packages.
"/usr/local/lib/python3.8/dist-packages/rasterstats/main.py:156: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead.
  if 'Point' in geom.type:"


Discussion / hints:
https://github.com/perrygeo/python-rasterstats/pull/266#issuecomment-1408939204

Fix patch:
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index bd954c4..26f5222 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,8 @@
+0.17.1
+- Fixes to keep up with recent versions of dependencies: #275 fiona, #266 shapely, #264 click
+- Added a pyproject.toml #265
+- Added CI testing for python 3.7 through 3.11 
+
 0.17.0
 - Fix performance regression due to platform.architecture performance #258
 
diff --git a/src/rasterstats/_version.py b/src/rasterstats/_version.py
index fd86b3e..c6eae9f 100644
--- a/src/rasterstats/_version.py
+++ b/src/rasterstats/_version.py
@@ -1,1 +1,1 @@
-__version__ = "0.17.0"
+__version__ = "0.17.1"


Test patch:
diff --git a/.github/workflows/test-rasterstats.yml b/.github/workflows/test-rasterstats.yml
index d21e9fb..82b20d0 100644
--- a/.github/workflows/test-rasterstats.yml
+++ b/.github/workflows/test-rasterstats.yml
@@ -10,7 +10,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python-version: ["3.7", "3.8", "3.9", "3.10"]
+        python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
     steps:
     - uses: actions/checkout@v2
     - name: Set up Python ${{ matrix.python-version }}