Przeglądaj źródła

test & declare compatibility with python3.15 (#278)

pipenv v2024.4.0 fails to install on python3.15: its vendored typing_extensions accesses typing.no_type_check_decorator, which python3.15 removed. v2025.1.3 matches the version https://github.com/fphammerle/location-guessing-game-telegram-bot/commit/de2b9564537cc6d7b8f09b6034f8ba8c39ef33c2 uses and still creates *.egg-info, so the top_level.txt lookups keep working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fabian Peter Hammerle 1 tydzień temu
rodzic
commit
140a0ae7c7
3 zmienionych plików z 7 dodań i 2 usunięć
  1. 4 1
      .github/workflows/python.yml
  2. 2 1
      CHANGELOG.md
  3. 1 0
      setup.py

+ 4 - 1
.github/workflows/python.yml

@@ -38,6 +38,7 @@ jobs:
         - '3.12'
         - '3.13'
         - '3.14'
+        - '3.15'
       fail-fast: false
     steps:
     - uses: actions/checkout@v7
@@ -51,7 +52,9 @@ jobs:
     # > [...]
     # > [...]/coverage/inorout.py:507: CoverageWarning:
     # . Module  was never imported. (module-not-imported)
-    - run: pip install --upgrade pipenv==2024.4.0
+    # pipenv>=2025.0.0 is required for python3.15 compatibility
+    # (vendored typing_extensions accesses typing.no_type_check_decorator, which was removed)
+    - run: pip install --upgrade pipenv==2025.1.3
     # by default pipenv picks the latest version in PATH
     - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
       env:

+ 2 - 1
CHANGELOG.md

@@ -6,7 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 ### Added
-- declare compatibility with `python3.11`, `python3.12`, `python3.13` & `python3.14`
+- declare compatibility with `python3.11`, `python3.12`, `python3.13`,
+  `python3.14` & `python3.15`
 
 ### Changed
 - log modification date with `+00:00` UTC offset instead of `Z` suffix

+ 1 - 0
setup.py

@@ -31,6 +31,7 @@ setuptools.setup(
         "Programming Language :: Python :: 3.12",
         "Programming Language :: Python :: 3.13",
         "Programming Language :: Python :: 3.14",
+        "Programming Language :: Python :: 3.15",
         "Topic :: System :: Filesystems",
         "Topic :: Utilities",
     ],