Repository: metomi/isodatetime (language: python)

Issue:
python: drop 3.6 support
3.6 is EOL, time to drop support.


Discussion / hints:

Fix patch:
diff --git a/CHANGES.md b/CHANGES.md
index 062a33d..d767f30 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -8,6 +8,11 @@ creating a new release entry be sure to copy & paste the span tag with the
 `actions:bind` attribute, which is used by a regex to find the text to be
 updated. Only the first match gets replaced, so it's fine to leave the old
 ones in. -->
+--------------------------------------------------------------------------------
+
+## isodatetime 3.1.0 (<span actions:bind='release-date'>Pending</span>)
+
+Requires Python 3.7+
 
 --------------------------------------------------------------------------------
 
diff --git a/setup.py b/setup.py
index 8cf70e5..c97eece 100644
--- a/setup.py
+++ b/setup.py
@@ -92,7 +92,7 @@ def run(self):
     install_requires=install_requires,
     tests_require=tests_require,
     extras_require=extras_require,
-    python_requires='>=3.6',
+    python_requires='>=3.7',
     classifiers=[
         "Development Status :: 5 - Production/Stable",
         "Environment :: Other Environment",
@@ -100,10 +100,11 @@ def run(self):
         ("License :: OSI Approved" +
          " :: GNU Lesser General Public License v3 (LGPLv3)"),
         "Operating System :: OS Independent",
-        "Programming Language :: Python :: 3.6",
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
+        "Programming Language :: Python :: 3.10",
+        "Programming Language :: Python :: 3.11",
         "Programming Language :: Python :: 3 :: Only",
         "Topic :: Software Development :: Libraries :: Python Modules",
         "Topic :: Utilities"


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index f62cfd3..5dda7e0 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -12,20 +12,20 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
+        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
         coverage: [false]
         include:
           # Modify existing configurations:
           - os: ubuntu-latest
-            python-version: '3.9'
+            python-version: '3.11'
             coverage: false
             tz: 'XXX-05:30'  # UTC+05:30
           # Add new configurations:
           - os: ubuntu-latest
-            python-version: '3.9'
+            python-version: '3.11'
             coverage: true
           - os: macos-latest
-            python-version: '3.9'
+            python-version: '3.11'
             coverage: false
     steps: