Pin dependencies, close GH-390

This commit is contained in:
krateng 2025-01-19 02:48:13 +01:00
parent 922eae7b68
commit f8b10ab68c
5 changed files with 34 additions and 34 deletions

View File

@ -1,4 +1,4 @@
FROM lsiobase/alpine:3.19 as base FROM lsiobase/alpine:3.19 AS base
WORKDIR /usr/src/app WORKDIR /usr/src/app

View File

@ -41,7 +41,7 @@ You can check [my own Maloja page](https://maloja.krateng.ch) as an example inst
## How to install ## How to install
To avoid issues with version / dependency mismatches, Maloja should only be used in **Docker** or **Podman**, not on bare metal. To avoid issues with version / dependency mismatches, Maloja should only be used in **Docker** or **Podman**, not on bare metal.
I cannot offer any help for bare metal installations. I cannot offer any help for bare metal installations (but using venv should help).
Pull the [latest image](https://hub.docker.com/r/krateng/maloja) or check out the repository and use the included Containerfile. Pull the [latest image](https://hub.docker.com/r/krateng/maloja) or check out the repository and use the included Containerfile.

View File

@ -3,7 +3,7 @@ name = "malojaserver"
version = "3.2.3" version = "3.2.3"
description = "Self-hosted music scrobble database" description = "Self-hosted music scrobble database"
readme = "README.md" readme = "README.md"
requires-python = ">=3.11" requires-python = "==3.11.*"
license = { file="LICENSE" } license = { file="LICENSE" }
authors = [ { name="Johannes Krattenmacher", email="maloja@dev.krateng.ch" } ] authors = [ { name="Johannes Krattenmacher", email="maloja@dev.krateng.ch" } ]
@ -19,26 +19,25 @@ classifiers = [
] ]
dependencies = [ dependencies = [
"bottle>=0.12.16", "bottle==0.13.*",
"waitress>=2.1.0", "waitress==3.0.*",
"doreah>=2.0.1, <3", "doreah==2.0.*",
"nimrodel>=0.8.0", "nimrodel==0.8.*",
"setproctitle>=1.1.10", "setproctitle==1.3.*",
#"pyvips>=2.1.16", "jinja2==3.1.*",
"jinja2>=3.0.0", "lru-dict==1.3.*",
"lru-dict>=1.1.6", "psutil==5.9.*",
"psutil>=5.8.0", "sqlalchemy==2.0",
"sqlalchemy>=2.0", "python-datauri==3.0.*",
"python-datauri>=1.1.0", "requests==2.32.*",
"requests>=2.27.1", "setuptools==75.8.*",
"setuptools>68.0.0", "toml==0.10.*",
"toml>=0.10.2", "PyYAML==6.0.*"
"PyYAML>=6.0.1"
] ]
[project.optional-dependencies] [project.optional-dependencies]
full = [ full = [
"pyvips>=2.1" "pyvips==2.2.*"
] ]
[project.scripts] [project.scripts]

View File

@ -1,14 +1,15 @@
bottle>=0.12.16 bottle==0.13.*
waitress>=2.1.0 waitress==3.0.*
doreah>=2.0.1, <3 doreah==2.0.*
nimrodel>=0.8.0 nimrodel==0.8.*
setproctitle>=1.1.10 setproctitle==1.3.*
jinja2>=3.0.0 jinja2==3.1.*
lru-dict>=1.1.6 lru-dict==1.3.*
psutil>=5.8.0 psutil==5.9.*
sqlalchemy>=2.0 sqlalchemy==2.0
python-datauri>=1.1.0 python-datauri==3.0.*
requests>=2.27.1 requests==2.32.*
setuptools>68.0.0 setuptools==75.8.*
toml>=0.10.2 toml==0.10.*
PyYAML>=6.0.1 PyYAML==6.0.*

View File

@ -1,2 +1,2 @@
pyvips>=2.1 pyvips==2.2.*