Repository: shapely/shapely (language: python)

Issue:
CI: ensure doctests are running
Because we limit the doctests to a single python/GEOS version combo, we need to remember updating the check if the python or GEOS version gets updated. 


Discussion / hints:
## Pull Request Test Coverage Report for [Build 3383566572](https://coveralls.io/builds/53868002)

* **0** of **0**   changed or added relevant lines in **0** files are covered.
* No unchanged relevant lines lost coverage.
* Overall coverage remained the same at **84.744%**

---



|  Totals | [![Coverage Status](https://coveralls.io/builds/53868002/badge)](https://coveralls.io/builds/53868002) |
| :-- | --: |
| Change from base [Build 3350822552](https://coveralls.io/builds/53720110): |  0.0% |
| Covered Lines: | 2183 |
| Relevant Lines: | 2576 |

---
##### 💛  - [Coveralls](https://coveralls.io)


Fix patch:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 875b57443..73df93511 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -46,7 +46,7 @@ jobs:
     name: Build ${{ matrix.arch }} wheels on ${{ matrix.os }}
     runs-on: ${{ matrix.os }}
     env:
-      GEOS_VERSION: "3.11.0"
+      GEOS_VERSION: "3.11.1"
     strategy:
       fail-fast: false
       matrix:
diff --git a/.travis.yml b/.travis.yml
index b741c3381..98895a60a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@ if: (branch = main OR tag IS present) AND (type = push)
 
 env:
   global:
-  - GEOS_VERSION=3.11.0
+  - GEOS_VERSION=3.11.1
 
 cache:
   directories:
diff --git a/pyproject.toml b/pyproject.toml
index 17c63ce00..c7037a664 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -32,6 +32,7 @@ classifiers = [
     "Programming Language :: Python :: 3.8",
     "Programming Language :: Python :: 3.9",
     "Programming Language :: Python :: 3.10",
+    "Programming Language :: Python :: 3.11",
     "Topic :: Scientific/Engineering :: GIS",
 ]
 requires-python = ">=3.7"


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 4ec5f9fc7..218f0aae3 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -14,7 +14,7 @@ jobs:
       matrix:
         os: [ubuntu-latest, macos-latest, windows-2019]
         architecture: [x64]
-        geos: [3.6.5, 3.7.5, 3.8.3, 3.9.3, 3.10.3, 3.11.0, main]
+        geos: [3.6.5, 3.7.5, 3.8.3, 3.9.3, 3.10.3, 3.11.1, main]
         include:
           # 2017
           - python: 3.7  # 3.6 is dropped
@@ -38,14 +38,14 @@ jobs:
             numpy: 1.21.3
           # 2022
           - python: "3.11"
-            geos: 3.11.0
-            numpy: 1.23.3
+            geos: 3.11.1
+            numpy: 1.23.4
             matplotlib: true
             doctest: true
             # TODO(shapely-2.0) temporary allow warnings
             # extra_pytest_args: "-W error"  # error on warnings
           # dev
-          - python: "3.10"
+          - python: "3.11"
             geos: main
             extra_pytest_args: "-W error" # error on warnings
           # enable two 32-bit windows builds:
@@ -62,8 +62,8 @@ jobs:
           # pypy (use explicit ubuntu version to not overwrite existing ubuntu-latest + geos 3.11.0 build)
           - os: ubuntu-20.04
             python: "pypy3.8"
-            geos: 3.11.0
-            numpy: 1.23.3
+            geos: 3.11.1
+            numpy: 1.23.4
 
     env:
       GEOS_VERSION: ${{ matrix.geos }}
diff --git a/tests/test_locale.py b/tests/test_locale.py
index dc3324498..8ed16c7e4 100644
--- a/tests/test_locale.py
+++ b/tests/test_locale.py
@@ -36,9 +36,10 @@ def setUpModule():
 
 
 def tearDownModule():
-    if sys.platform == 'win32':
+    if sys.platform == 'win32' or sys.version_info[0:2] >= (3, 11):
         locale.setlocale(locale.LC_ALL, "")
     else:
+        # Deprecated since version 3.11, will be removed in version 3.13
         locale.resetlocale()