Skip to content

Commit 3f4b40f

Browse files
authored
Merge pull request #325
Add timer for checking themes
2 parents a7815ab + d135367 commit 3f4b40f

File tree

7 files changed

+87
-31
lines changed

7 files changed

+87
-31
lines changed

.github/workflows/build-and-release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
python-version: ["3.12"]
14-
os: [ubuntu-22.04]
14+
os: [ubuntu-24.04]
1515
runs-on: ${{matrix.os}}
1616
steps:
1717
# Checkout repo and set up python
@@ -38,7 +38,8 @@ jobs:
3838
# Install dependencies of cache does not exist
3939
- name: Install system dependencies
4040
run: |
41-
sudo apt install qt6-base-dev libsystemd-dev gcc
41+
sudo apt update
42+
sudo apt install -y qt6-base-dev libsystemd-dev gcc
4243
- name: Install Poetry dependencies
4344
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4445
run: |
@@ -57,10 +58,10 @@ jobs:
5758

5859
flatpak:
5960
name: "Build flatpak file"
60-
runs-on: ubuntu-22.04
61+
runs-on: ubuntu-24.04
6162
needs: build
6263
container:
63-
image: bilelmoussaoui/flatpak-github-actions:kde-5.15-23.08
64+
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.8
6465
options: --privileged
6566
strategy:
6667
matrix:

.github/workflows/python-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python-version: ["3.12"]
17-
os: [ubuntu-22.04]
17+
os: [ubuntu-24.04]
1818
runs-on: ${{matrix.os}}
1919
steps:
2020
# Checkout repo and set up python
@@ -41,7 +41,8 @@ jobs:
4141
# Install dependencies of cache does not exist
4242
- name: Install system dependencies
4343
run: |
44-
sudo apt install qt6-base-dev libsystemd-dev gcc
44+
sudo apt update
45+
sudo apt install -y qt6-base-dev libsystemd-dev gcc
4546
- name: Install Poetry dependencies
4647
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4748
run: |

poetry.lock

Lines changed: 38 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,36 @@
1-
[tool.poetry]
1+
[project]
22
name = "yin_yang"
33
version = "3.3.0"
4+
license = "MIT"
45
description = "Auto Nightmode for KDE, Gnome, Budgie, VSCode, Atom and more."
5-
authors = ["Oskar Schachtschneider"]
6+
authors = [
7+
{ name = "Oskar Schachtschneider" }
8+
]
9+
readme = "README.md"
10+
requires-python = ">=3.10, <3.14"
11+
dependencies = [
12+
"psutil==6.1.0",
13+
"PySide6-Essentials==6.8.1",
14+
"shiboken6==6.8.1",
15+
"PySide6-Addons==6.8.1",
16+
"suntime~=1.3.2",
17+
"systemd-python==235",
18+
"requests==2.32.3",
19+
"python-dateutil~=2.9.0.post0"
20+
]
21+
22+
[project.urls]
623
repository = "https://github.com/oskarsh/Yin-Yang"
724

8-
license = "MIT"
9-
readme = "README.md"
25+
[project.scripts]
26+
yin_yang = "yin_yang:__main__"
27+
28+
[tool.poetry]
29+
requires-poetry = ">=2.0"
1030
packages = [
1131
{ include = "yin_yang" }
1232
]
1333

14-
[tool.poetry.dependencies]
15-
python = "^3.10,<3.14"
16-
psutil = "6.1.0"
17-
PySide6-Essentials = "6.8.1"
18-
shiboken6 = "6.8.1"
19-
PySide6-Addons = "6.8.1"
20-
suntime = "^1.3.2"
21-
systemd-python = "235"
22-
requests = "2.32.3"
23-
python-dateutil = "^2.9.0.post0"
24-
2534
[tool.poetry.group.DEV.dependencies]
2635
flake8 = "^7.0.0"
2736
pytest = "^8.1.1"
@@ -35,9 +44,6 @@ cython = "<3.0"
3544
requires = ["poetry-core"]
3645
build-backend = "poetry.core.masonry.api"
3746

38-
[tool.poetry.scripts]
39-
yin_yang = "yin_yang:__main__"
40-
4147
[tool.pyright]
4248
include = ["yin_yang"]
4349
exclude = ["**/node_modules",

sh.oskar.yin_yang.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "sh.oskar.yin_yang",
33
"runtime": "org.kde.Platform",
4-
"runtime-version": "6.7",
4+
"runtime-version": "6.8",
55
"sdk": "org.kde.Sdk",
66
"command": "runner.sh",
77
"finish-args": [

0 commit comments

Comments
 (0)