2237a35db5
release / release (push) Waiting to run
ssl's TLS-PSK callbacks (PskTlsServer) exist only since Python 3.13 - the first CI run on 3.12 errored in all 20 PSK tests, and the docs confirm "Added in version 3.13". - PskTlsServer._make_context raises a clear RuntimeError naming the requirement instead of AttributeError; a source pin keeps the guard. - tests/test_scp81.py skips PskTlsServerTest where the callbacks are missing (it runs on 3.13+), so contributors on 3.9-3.12 no longer see 20 failures. - The READMEs state the requirement, and the Windows notes now strongly recommend Python 3.13: pyscard has wheels up to 3.13, and on 3.14 pyscard and some pysim dependency wheels are unavailable and build from source (MSVC). setup.bat and setup.sh print the same guidance. - Version strings + the PWA cache bumped together (simple-v457). 998 Python + 953 frontend green.
25 lines
812 B
TOML
25 lines
812 B
TOML
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "pysim-simple-server"
|
|
version = "3.31.2"
|
|
description = "HTTP REST server wrapping pysim for the SIMple PWA"
|
|
license = { text = "GPL-2.0-or-later" }
|
|
requires-python = ">=3.9"
|
|
# pysim is a git-only dependency installed explicitly by setup.bat/setup.sh.
|
|
# Declaring it here would make pip resolve its full tree (including the SMPP
|
|
# bridge -> Twisted -> twisted-iocpsupport, which needs MSVC on Windows).
|
|
|
|
[project.scripts]
|
|
pysim-simple-server = "pysim_simple_server.__main__:main"
|
|
|
|
[tool.setuptools]
|
|
license-files = ["LICENSE", "THIRD-PARTY-NOTICES"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["pysim_simple_server*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
pysim_simple_server = ["data/*.json", "data/*.LICENSE"] |