Skip to content

Commit 2554cc4

Browse files
committed
Bump min Python to 3.9
1 parent 3f9b187 commit 2554cc4

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ jobs:
77
strategy:
88
matrix:
99
python-version:
10-
- "3.8"
1110
- "3.9"
1211
- "3.10"
1312
- "3.11"
13+
- "3.12"
14+
- "3.13"
1415
steps:
1516
- uses: actions/checkout@v2
1617
- uses: actions/setup-python@v2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ out_3d/
88
*.pdf
99
/librepcb_parts_generator.egg-info/
1010
/build/
11+
.venv

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
This is a collection of Python 3 based scripts to generate parts for the
44
[LibrePCB](https://librepcb.org) default library.
55

6-
76
## Requirements
87

9-
- Python 3.8+
8+
- Python 3.9+
109
- Dependencies in `pyproject.toml`
1110

12-
1311
## Introduction / Concepts
1412

1513
While it's easy to create a one-off script to generate LibrePCB library

pyproject.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[project]
2+
version = "0.1.0"
23
name = "librepcb-parts-generator"
34
authors = [
45
{ name = "Danilo Bargen", email = "[email protected]" },
56
{ name = "Raphael Nestler", email = "[email protected]" },
67
]
78

8-
requires-python = ">=3.8"
9+
requires-python = ">=3.9"
910
dependencies = [
1011
"cadquery == 2.3.1",
11-
"numpy < 2", # Dependency of cadquery, but not working with v2.x
12+
"numpy < 2", # Dependency of cadquery, but not working with v2.x]
1213
]
13-
version = "0.1.0"
1414

1515
[project.optional-dependencies]
1616
test = [
@@ -25,9 +25,7 @@ exclude = ["out*"]
2525
[tool.mypy]
2626
warn_unused_configs = true
2727
strict = true
28-
exclude = [
29-
'build'
30-
]
28+
exclude = ['build']
3129

3230
[[tool.mypy.overrides]]
3331
module = [
@@ -40,7 +38,7 @@ module = [
4038
disallow_untyped_defs = false
4139

4240
[tool.ruff]
43-
target-version = "py38"
41+
target-version = "py39"
4442
line-length = 100
4543

4644
[tool.ruff.lint.pycodestyle]
@@ -50,17 +48,19 @@ max-line-length = 120
5048

5149

5250
[tool.ruff.lint]
53-
select = [
54-
"E",
55-
"F",
56-
"W",
57-
"I",
58-
]
51+
select = ["E", "F", "W", "I"]
5952

6053
[tool.ruff.lint.isort]
6154
force-wrap-aliases = false
6255
sections = { typing = ["typing"] }
63-
section-order = ["future", "standard-library", "typing", "third-party", "first-party", "local-folder"]
56+
section-order = [
57+
"future",
58+
"standard-library",
59+
"typing",
60+
"third-party",
61+
"first-party",
62+
"local-folder",
63+
]
6464

6565
[tool.ruff.format]
6666
quote-style = "single"

0 commit comments

Comments
 (0)