diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f81400..9856df0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/HISTORY.md b/HISTORY.md index b4fcd79..f5e61c5 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,6 +2,12 @@ Nothing yet :) +# 1.0.7 + +- PR #62 fix: incorrect regular expression matching diffcmd (Thanks, @jingfelix) +- Support up to 3.13 +- Drop support up to 3.8 + # 1.0.6 - PR #60 Improve huge_patch test (Thanks, @arkamar) diff --git a/pyproject.toml b/pyproject.toml index d724723..2c8f63e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,29 +1,29 @@ [project] name = "whatthepatch" -version = "1.0.6" +version = "1.0.7" maintainers = [{ name = "Christopher S. Corley", email = "cscorley@gmail.com" }] -requires-python = ">=3.8" +requires-python = ">=3.9" readme = "README.rst" description = "A patch parsing and application library." keywords = ["patch", "diff", "parser"] classifiers = [ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: Implementation :: CPython", - "Topic :: Software Development :: Libraries :: Python Modules", - "Topic :: Software Development :: Version Control", - "Topic :: Software Development", - "Topic :: Text Processing", + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: Implementation :: CPython", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Software Development :: Version Control", + "Topic :: Software Development", + "Topic :: Text Processing", ] [project.urls] diff --git a/release.nix b/release.nix index 94124c5..0618019 100644 --- a/release.nix +++ b/release.nix @@ -1,8 +1,8 @@ { lib, python3Packages, setuptools }: with python3Packages; -buildPythonPackage rec { +buildPythonPackage { pname = "whatthepatch"; - version = "1.0.6"; + version = "1.0.7"; format = "pyproject"; src = ./.; diff --git a/tests/test_patch.py b/tests/test_patch.py index 2622068..c7b5857 100644 --- a/tests/test_patch.py +++ b/tests/test_patch.py @@ -1531,7 +1531,6 @@ def test_linux_29e1dfc(self): self.assertEqual(len(results), 1) self.assertEqual(results[0].header, expected) - def test_eclipse_cvsdiff(self): # From https://bugzillaattachments.eclipsecontent.org/bugs/attachment.cgi?id=1701 with open("tests/casefiles/eclipse-attachment-1701.patch") as f: @@ -1552,5 +1551,6 @@ def test_eclipse_cvsdiff(self): self.assertEqual(results[0].header, expected) self.assertEqual(len(results[0].changes), 20) + if __name__ == "__main__": unittest.main()