Skip to content

Commit f859152

Browse files
build(python): migrate to pyproject.toml and bump python to 3.14 (#202)
1 parent f36d136 commit f859152

File tree

4 files changed

+43
-18
lines changed

4 files changed

+43
-18
lines changed

.github/workflows/update-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup python
3737
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3838
with:
39-
python-version: '3.12'
39+
python-version: '3.14'
4040

4141
- name: Setup node
4242
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install Python dependencies
4747
run: |
4848
python -m pip install --upgrade pip setuptools wheel
49-
python -m pip install -r requirements.txt
49+
python -m pip install .
5050
5151
- name: Install npm dependencies
5252
run: npm install --ignore-scripts

pyproject.toml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "dashboard"
7+
dynamic = ["version"]
8+
description = "Dashboard for LizardByte"
9+
requires-python = ">=3.14"
10+
license = {text = "MIT"}
11+
authors = [
12+
{name = "LizardByte", email = "[email protected]"}
13+
]
14+
15+
dependencies = [
16+
"cloudscraper==1.2.71",
17+
"crowdin-api-client==1.26.0",
18+
"ipython==9.10.0",
19+
"itables==2.7.0",
20+
"notebook==7.5.3",
21+
"pandas==3.0.1",
22+
"pillow==12.1.1",
23+
"plotly==5.24.1",
24+
"pygithub==2.8.1",
25+
"python-dotenv==1.2.1",
26+
"requests==2.32.5",
27+
"svgwrite==1.4.3",
28+
"tqdm==4.67.3",
29+
"unhandled_exit==1.0.0",
30+
]
31+
32+
[project.optional-dependencies]
33+
dev = [
34+
"nb-clean==4.0.1",
35+
"nbqa[toolchain]==1.9.1",
36+
]
37+
38+
[project.urls]
39+
Homepage = "https://app.lizardbyte.dev/Sunshine"
40+
Repository = "https://github.com/LizardByte/Sunshine"
41+
Issues = "https://github.com/LizardByte/Sunshine/issues"

requirements-dev.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

requirements.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)