1
0

0.4.27-45-gf8fb0ee.add-python-3-14-to-the-testing.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Subject: Add Python 3.14 to the testing
  2. Origin: upstream, commit 0.4.27-45-gf8fb0ee <https://github.com/ahupp/python-magic/commit/0.4.27-45-gf8fb0ee>
  3. Author: Christian Clauss <cclauss@me.com>
  4. Date: Wed Sep 24 13:55:15 2025 +0200
  5. Python v3.14 -- October 7th
  6. * https://www.python.org/download/pre-releases
  7. * https://www.python.org/downloads/release/python-3140rc3
  8. * https://docs.python.org/3.14/whatsnew/3.14.html
  9. Like:
  10. * #347
  11. --- a/.github/workflows/ci.yml
  12. +++ b/.github/workflows/ci.yml
  13. @@ -6,16 +6,16 @@
  14. fail-fast: false
  15. matrix:
  16. os: ["ubuntu-latest"]
  17. - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
  18. + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
  19. include:
  20. - os: macos-latest
  21. - python-version: "3.13"
  22. + python-version: "3.x"
  23. # - os: windows-latest # TODO: Fix the Windows test that runs in an infinite loop
  24. # python-version: '3.13'
  25. runs-on: ${{ matrix.os }}
  26. steps:
  27. - - uses: actions/checkout@v4
  28. - - uses: actions/setup-python@v5
  29. + - uses: actions/checkout@v5
  30. + - uses: actions/setup-python@v6
  31. with:
  32. python-version: ${{ matrix.python-version }}
  33. allow-prereleases: true