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

12345678910111213141516171819202122232425262728293031323334353637
  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. Forwarded: not-needed
  6. Python v3.14 -- October 7th
  7. * https://www.python.org/download/pre-releases
  8. * https://www.python.org/downloads/release/python-3140rc3
  9. * https://docs.python.org/3.14/whatsnew/3.14.html
  10. Like:
  11. * #347
  12. --- a/.github/workflows/ci.yml
  13. +++ b/.github/workflows/ci.yml
  14. @@ -6,16 +6,16 @@
  15. fail-fast: false
  16. matrix:
  17. os: ["ubuntu-latest"]
  18. - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
  19. + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
  20. include:
  21. - os: macos-latest
  22. - python-version: "3.13"
  23. + python-version: "3.x"
  24. # - os: windows-latest # TODO: Fix the Windows test that runs in an infinite loop
  25. # python-version: '3.13'
  26. runs-on: ${{ matrix.os }}
  27. steps:
  28. - - uses: actions/checkout@v4
  29. - - uses: actions/setup-python@v5
  30. + - uses: actions/checkout@v5
  31. + - uses: actions/setup-python@v6
  32. with:
  33. python-version: ${{ matrix.python-version }}
  34. allow-prereleases: true