Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Commit da19f9a

Browse files
committed
Drop 3.8 support (#59)
Signed-off-by: Bernát Gábor <[email protected]>
1 parent 5fc1586 commit da19f9a

File tree

7 files changed

+57
-61
lines changed

7 files changed

+57
-61
lines changed

Diff for: .github/workflows/check.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- "3.11"
2222
- "3.10"
2323
- "3.9"
24-
- "3.8"
2524
os:
2625
- ubuntu-latest
2726
- windows-latest

Diff for: Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyproject-fmt-rust"
3-
version = "1.1.6"
3+
version = "1.2.0"
44
description = "Format pyproject.toml files"
55
repository = "https://github.com/tox-dev/pyproject-fmt"
66
readme = "README.md"

Diff for: pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ license.file = "LICENSE.txt"
1616
authors = [
1717
{ name = "Bernat Gabor", email = "[email protected]" },
1818
]
19-
requires-python = ">=3.8"
19+
requires-python = ">=3.9"
2020
classifiers = [
2121
"License :: OSI Approved :: MIT License",
2222
"Operating System :: OS Independent",
2323
"Programming Language :: Python",
2424
"Programming Language :: Python :: 3 :: Only",
25-
"Programming Language :: Python :: 3.8",
2625
"Programming Language :: Python :: 3.9",
2726
"Programming Language :: Python :: 3.10",
2827
"Programming Language :: Python :: 3.11",

Diff for: rust/src/main.rs

+15-15
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ mod tests {
137137
name = "alpha"
138138
classifiers = [
139139
"Programming Language :: Python :: 3 :: Only",
140-
"Programming Language :: Python :: 3.8",
141140
"Programming Language :: Python :: 3.9",
142141
"Programming Language :: Python :: 3.10",
143142
"Programming Language :: Python :: 3.11",
144143
"Programming Language :: Python :: 3.12",
144+
"Programming Language :: Python :: 3.13",
145145
]
146146
dependencies = [
147147
"e>=1.5",
@@ -152,14 +152,14 @@ mod tests {
152152
"#},
153153
2,
154154
false,
155-
(3, 12),
155+
(3, 13),
156156
)]
157157
#[case::empty(
158158
indoc ! {r""},
159159
"\n",
160160
2,
161161
true,
162-
(3, 12)
162+
(3, 13)
163163
)]
164164
#[case::scripts(
165165
indoc ! {r#"
@@ -171,14 +171,14 @@ mod tests {
171171
[project]
172172
classifiers = [
173173
"Programming Language :: Python :: 3 :: Only",
174-
"Programming Language :: Python :: 3.8",
174+
"Programming Language :: Python :: 3.9",
175175
]
176176
scripts.a = "b"
177177
scripts.c = "d"
178178
"#},
179179
2,
180180
true,
181-
(3, 8)
181+
(3, 9)
182182
)]
183183
#[case::subsubtable(
184184
indoc ! {r"
@@ -196,7 +196,7 @@ mod tests {
196196
[project]
197197
classifiers = [
198198
"Programming Language :: Python :: 3 :: Only",
199-
"Programming Language :: Python :: 3.8",
199+
"Programming Language :: Python :: 3.9",
200200
]
201201
202202
[tool.coverage]
@@ -210,7 +210,7 @@ mod tests {
210210
"#},
211211
2,
212212
true,
213-
(3, 8)
213+
(3, 9)
214214
)]
215215
#[case::array_of_tables(
216216
indoc ! {r#"
@@ -240,7 +240,7 @@ mod tests {
240240
"#},
241241
2,
242242
true,
243-
(3, 8)
243+
(3, 9)
244244
)]
245245
#[case::unstable_issue_18(
246246
indoc ! {r#"
@@ -270,7 +270,7 @@ mod tests {
270270
"#},
271271
2,
272272
true,
273-
(3, 8)
273+
(3, 9)
274274
)]
275275
fn test_format_toml(
276276
#[case] start: &str,
@@ -284,7 +284,7 @@ mod tests {
284284
indent,
285285
keep_full_version,
286286
max_supported_python,
287-
min_supported_python: (3, 8),
287+
min_supported_python: (3, 9),
288288
};
289289
let got = format_toml(start, &settings);
290290
assert_eq!(got, expected);
@@ -307,8 +307,8 @@ mod tests {
307307
column_width: 1,
308308
indent: 2,
309309
keep_full_version: false,
310-
max_supported_python: (3, 8),
311-
min_supported_python: (3, 8),
310+
max_supported_python: (3, 9),
311+
min_supported_python: (3, 9),
312312
};
313313
let got = format_toml(start.as_str(), &settings);
314314
let expected = read_to_string(data.join("ruff-order.expected.toml")).unwrap();
@@ -336,8 +336,8 @@ mod tests {
336336
column_width: 80,
337337
indent: 4,
338338
keep_full_version: false,
339-
max_supported_python: (3, 12),
340-
min_supported_python: (3, 12),
339+
max_supported_python: (3, 13),
340+
min_supported_python: (3, 13),
341341
};
342342
let got = format_toml(start, &settings);
343343
let expected = indoc! {r#"
@@ -349,7 +349,7 @@ mod tests {
349349
name = "beta"
350350
classifiers = [
351351
"Programming Language :: Python :: 3 :: Only",
352-
"Programming Language :: Python :: 3.12",
352+
"Programming Language :: Python :: 3.13",
353353
]
354354
dependencies = [
355355
"e>=1.5",

0 commit comments

Comments
 (0)