Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions srcpkgs/python3-txredisapi/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'python3-txredisapi'
pkgname=python3-txredisapi
version=1.4.10
revision=4
version=1.5.0
revision=1
build_style=python3-module
make_check_args="--ignore tests/test_basics.py
--ignore tests/test_bitops.py
Expand Down Expand Up @@ -36,4 +36,4 @@ license="Apache-2.0"
homepage="https://github.com/IlyaSkriblovsky/txredisapi"
changelog="https://raw.githubusercontent.com/IlyaSkriblovsky/txredisapi/master/CHANGELOG.md"
distfiles="https://github.com/IlyaSkriblovsky/txredisapi/archive/refs/tags/${version}.tar.gz"
checksum=bf11270796b4c09681176213a007b24cd0b2bbcdacb45ee5c3a01ac7072ab484
checksum=5a0db46d1e73dfee40d0d1d36463c0bcf57ac03330b26747340a64017e491149
24 changes: 24 additions & 0 deletions srcpkgs/synapse/patches/no-lxml-stubs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
lxml-stubs is only needed for type checking, not at runtime.
Leaving it in the saml2 extra makes Synapse's dependency check fail at
runtime (and in the test suite) when the stubs are not installed.

diff --git a/pyproject.toml b/pyproject.toml
index 308a550..0250293 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -128,7 +128,6 @@ postgres = [
]
saml2 = [
"pysaml2>=4.5.0",
- "lxml-stubs>=0.4.0",

# Transitive dependencies from pysaml2
# These dependencies aren't directly required by Synapse.
@@ -187,7 +186,6 @@ all = [
"psycopg2cffi-compat==1.1;platform_python_implementation == 'PyPy'",
# saml2
"pysaml2>=4.5.0",
- "lxml-stubs>=0.4.0",
# oidc and jwt
"authlib>=0.15.1",
# url-preview
7 changes: 4 additions & 3 deletions srcpkgs/synapse/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'synapse'
pkgname=synapse
version=1.161.0
version=1.163.1
revision=1
build_style=python3-pep517
build_helper=rust
Expand All @@ -16,7 +16,8 @@ depends="python3-jsonschema python3-immutabledict python3-unpaddedbase64
python3-typing_extensions python3-cryptography python3-ijson
python3-matrix-common python3-packaging python3-pydantic
python3-python-multipart python3-rpds-py python3-cffi python3-parsing
python3-pyrsistent python3-requests python3-urllib3 python3-zope.interface"
python3-pyrsistent python3-requests python3-urllib3 python3-zope.interface
python3-BeautifulSoup4"
checkdepends="$depends python3-parameterized python3-idna python3-txredisapi
python3-hiredis xmlsec1"
short_desc="Matrix reference homeserver"
Expand All @@ -25,7 +26,7 @@ license="AGPL-3.0-or-later"
homepage="https://element-hq.github.io/synapse"
changelog="https://raw.githubusercontent.com/element-hq/synapse/develop/CHANGES.md"
distfiles="https://github.com/element-hq/synapse/archive/refs/tags/v${version}.tar.gz"
checksum=389e57e143b19082c9ba8ede4849f3d5ead5c0f3908e4ee9e56849215995e724
checksum=8558c60a7e986fd10a83c2c3cee5c5c79f2f81f775fe68c3f9378202546f663b

system_accounts="synapse"
synapse_homedir="/var/lib/synapse"
Expand Down
Loading