Skip to content

Commit

Permalink
Update deps and fix flatpak building with poetry
Browse files Browse the repository at this point in the history
Updates KDE frameworks to 5.15-23.08 LTS, which includes Python 3.11.
  • Loading branch information
chase9 committed Apr 8, 2024
1 parent a9605bf commit d38a31a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
11 changes: 8 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ repository = "https://github.com/oskarsh/Yin-Yang"

license = "MIT"
readme = "README.md"
packages = [{include = "yin_yang"}]
packages = [
{ include = "yin_yang" }
]

[tool.poetry.dependencies]
python = "^3.12,<3.13"
python = "^3.11,<3.13"
psutil = "5.9.8"
PySide6-Essentials = "6.6.3.1"
shiboken6 = "6.6.3.1"
Expand All @@ -26,4 +28,7 @@ pytest = "^8.1.1"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
yin-yang = "yin_yang:__main__"
4 changes: 2 additions & 2 deletions python3-PySide6-Addons.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ec/b8/1f5335580241c3863584173308c842ffc74e05074f3f72b49e5b54ca18e3/PySide6_Addons-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl",
"sha256": "a0982da4033319667f9df5ed6fa8eff300a88216aec103a1fff6751a172b19a0"
"url": "https://files.pythonhosted.org/packages/02/fc/e265aa0c338ddd8a4f2c3526aadc58f60980508ac56999ba79cf2ce744a7/PySide6_Addons-6.6.3.1-cp38-abi3-manylinux_2_28_x86_64.whl",
"sha256": "7373479565e5bd963b9662857c40c20768bc0b5853334e2076a62cb039e91f74"
}
]
}
8 changes: 4 additions & 4 deletions python3-PySide6-Essentials.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/56/65/50d0ced768b717f709a5ab224b648eb533a862efd0cde67d19c2727200b0/PySide6_Essentials-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl",
"sha256": "c7185616083eab6f42eaed598d97d49fac4f60ae2e7415194140d54f58c2b42c"
"url": "https://files.pythonhosted.org/packages/4a/29/2375cccf188862c3297f40cb06832cd48fd98fd5da73b0b296a59f54c9f4/PySide6_Essentials-6.6.3.1-cp38-abi3-manylinux_2_28_x86_64.whl",
"sha256": "1f41f357ce2384576581e76c9c3df1c4fa5b38e347f0bcd0cae7c5bce42a917c"
}
],
"modules": [
Expand All @@ -24,8 +24,8 @@
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/bb/72/e54f758e49e8da0dcd9490d006c41a814b0e56898ce4ca054d60cdba97bd/shiboken6-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl",
"sha256": "fb102e4bc210006f0cdd0ce38e1aaaaf792bd871f02a2b3f01d07922c5cf4c59"
"url": "https://files.pythonhosted.org/packages/77/f1/feb2a8be699f91fb27fbe8758b405fb38a22e3ae5bd5e05258dbef18d462/shiboken6-6.6.3.1-cp38-abi3-manylinux_2_28_x86_64.whl",
"sha256": "b1aeff0d79d84ddbdc9970144c1bbc3a52fcb45618d1b33d17d57f99f1246d45"
}
]
}
Expand Down
6 changes: 3 additions & 3 deletions python3-psutil.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "python3-psutil",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"psutil==5.9.7\" --no-build-isolation"
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"psutil==5.9.8\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/a0/d0/c9ae661a302931735237791f04cb7086ac244377f78692ba3b3eae3a9619/psutil-5.9.7.tar.gz",
"sha256": "3f02134e82cfb5d089fddf20bb2e03fd5cd52395321d1c8458a9e58500ff417c"
"url": "https://files.pythonhosted.org/packages/c5/4f/0e22aaa246f96d6ac87fe5ebb9c5a693fbe8877f537a1022527c47ca43c5/psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"sha256": "d06016f7f8625a1825ba3732081d77c94589dca78b7a3fc072194851e88461a4"
}
]
}
4 changes: 2 additions & 2 deletions sh.oskar.yin-yang.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "sh.oskar.yin-yang",
"runtime": "org.kde.Platform",
"runtime-version": "5.15-22.08",
"runtime-version": "5.15-23.08",
"sdk": "org.kde.Sdk",
"command": "runner.sh",
"finish-args": [
Expand All @@ -28,7 +28,7 @@
"name": "yin-yang",
"buildsystem": "simple",
"build-commands": [
"python3 -m pip install --no-deps --no-use-pep517 --prefix=/app .",
"python3 -m pip install --no-deps --no-use-pep517 --prefix=/app dist/yin_yang-*-py3-none-any.whl",
"install -D runner.sh /app/bin/runner.sh"
],
"sources": [
Expand Down

0 comments on commit d38a31a

Please sign in to comment.