Skip to content

Commit 5e4be9e

Browse files
authored
Release 1.0.6 (#61)
1 parent 5619626 commit 5e4be9e

File tree

5 files changed

+25
-13
lines changed

5 files changed

+25
-13
lines changed

.github/workflows/build.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest, macos-latest, windows-latest]
19-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
19+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2020

2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323

2424
- name: Set up Python ${{ matrix.python-version }} for ${{ matrix.os }}
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828

@@ -47,14 +47,20 @@ jobs:
4747
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4848
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4949
50+
- uses: ConorMacBride/install-package@v1
51+
with:
52+
brew: gpatch
53+
apt: patch
54+
choco: patch
55+
5056
- name: Test
5157
run: |
52-
pytest --doctest-modules --doctest-glob='*.rst' --junitxml=junit/test-results-${{ matrix.python-version }}.xml
58+
pytest --doctest-modules --doctest-glob='*.rst' --junitxml=junit/test-results-${{ matrix.python-version }}-${{ matrix.os }}.xml
5359
5460
- name: Upload pytest test results
55-
uses: actions/upload-artifact@v3
61+
uses: actions/upload-artifact@v4
5662
with:
57-
name: pytest-results-${{ matrix.python-version }}
58-
path: junit/test-results-${{ matrix.python-version }}.xml
63+
name: pytest-results-${{ matrix.python-version }}-${{ matrix.os }}
64+
path: junit/test-results-${{ matrix.python-version }}-${{ matrix.os }}.xml
5965
# Use always() to always run this step to publish test results when there are test failures
6066
if: ${{ always() }}

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616

1717
- name: Set up Python
18-
uses: actions/setup-python@v4
18+
uses: actions/setup-python@v5
1919
with:
2020
python-version: "3.x"
2121

HISTORY.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
Nothing yet :)
44

5+
# 1.0.6
6+
7+
- PR #60 Improve huge_patch test (Thanks, @arkamar)
8+
- Support up to 3.12
9+
- Drop support up to 3.7
10+
511
# 1.0.5
612

713
- PR #57 bugfix:min line in binary diff (Thanks, @babenek and @abbradar)

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[project]
22
name = "whatthepatch"
3-
version = "1.0.5"
3+
version = "1.0.6"
44
maintainers = [{ name = "Christopher S. Corley", email = "[email protected]" }]
5-
requires-python = ">=3.7"
5+
requires-python = ">=3.8"
66
readme = "README.rst"
77
description = "A patch parsing and application library."
88
keywords = ["patch", "diff", "parser"]
@@ -14,11 +14,11 @@ classifiers = [
1414
"Operating System :: OS Independent",
1515
"Programming Language :: Python :: 3 :: Only",
1616
"Programming Language :: Python :: 3",
17-
"Programming Language :: Python :: 3.7",
1817
"Programming Language :: Python :: 3.8",
1918
"Programming Language :: Python :: 3.9",
2019
"Programming Language :: Python :: 3.10",
2120
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
2222
"Programming Language :: Python :: Implementation :: CPython",
2323
"Topic :: Software Development :: Libraries :: Python Modules",
2424
"Topic :: Software Development :: Version Control",

release.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
with python3Packages;
33
buildPythonPackage rec {
44
pname = "whatthepatch";
5-
version = "1.0.5";
5+
version = "1.0.6";
66
format = "pyproject";
77
src = ./.;
88

0 commit comments

Comments
 (0)