FreeBSD Bugzilla – Attachment 241651 Details for
Bug 270737
net-im/py-matrix-synapse: 1.80.0 fails to start with devel/py-canonicaljson 2.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1
0001-net-im-py-matrix-synapse-Update-to-1.81.0.patch (text/plain), 10.94 KB, created by
Li-Wen Hsu
on 2023-04-22 11:09:08 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Li-Wen Hsu
Created:
2023-04-22 11:09:08 UTC
Size:
10.94 KB
patch
obsolete
>From 689befe15394f873091e10fe72f2afdeef82bb5a Mon Sep 17 00:00:00 2001 >From: Li-Wen Hsu <lwhsu@FreeBSD.org> >Date: Sat, 22 Apr 2023 19:05:38 +0800 >Subject: [PATCH] net-im/py-matrix-synapse: Update to 1.81.0 > >PR: 270737 >--- > net-im/py-matrix-synapse/Makefile | 57 +------------------ > net-im/py-matrix-synapse/Makefile.crates | 55 ++++++++++++++++++ > net-im/py-matrix-synapse/distinfo | 30 +++++----- > .../files/patch-pyproject.toml | 40 ++----------- > net-im/py-matrix-synapse/files/patch-setup.py | 13 +---- > 5 files changed, 78 insertions(+), 117 deletions(-) > create mode 100644 net-im/py-matrix-synapse/Makefile.crates > >diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile >index 139b012e5126..27bdb4e81464 100644 >--- a/net-im/py-matrix-synapse/Makefile >+++ b/net-im/py-matrix-synapse/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= matrix-synapse >-DISTVERSION= 1.80.0 >+DISTVERSION= 1.81.0 > CATEGORIES= net-im python > MASTER_SITES= PYPI > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -64,61 +64,6 @@ CARGO_BUILD= no > CARGO_TEST= no > CARGO_INSTALL= no > CARGO_CARGOTOML= ${WRKSRC}/rust/Cargo.toml >-CARGO_CRATES= aho-corasick-0.7.19 \ >- anyhow-1.0.70 \ >- arc-swap-1.5.1 \ >- autocfg-1.1.0 \ >- bitflags-1.3.2 \ >- blake2-0.10.6 \ >- block-buffer-0.10.3 \ >- cfg-if-1.0.0 \ >- crypto-common-0.1.6 \ >- digest-0.10.5 \ >- generic-array-0.14.6 \ >- hex-0.4.3 \ >- indoc-1.0.7 \ >- itoa-1.0.4 \ >- lazy_static-1.4.0 \ >- libc-0.2.135 \ >- lock_api-0.4.9 \ >- log-0.4.17 \ >- memchr-2.5.0 \ >- memoffset-0.6.5 \ >- once_cell-1.15.0 \ >- parking_lot-0.12.1 \ >- parking_lot_core-0.9.3 \ >- proc-macro2-1.0.52 \ >- pyo3-0.17.3 \ >- pyo3-build-config-0.17.3 \ >- pyo3-ffi-0.17.3 \ >- pyo3-log-0.8.1 \ >- pyo3-macros-0.17.3 \ >- pyo3-macros-backend-0.17.3 \ >- pythonize-0.17.0 \ >- quote-1.0.26 \ >- redox_syscall-0.2.16 \ >- regex-1.7.1 \ >- regex-syntax-0.6.27 \ >- ryu-1.0.11 \ >- scopeguard-1.1.0 \ >- serde-1.0.157 \ >- serde_derive-1.0.157 \ >- serde_json-1.0.94 \ >- smallvec-1.10.0 \ >- subtle-2.4.1 \ >- syn-1.0.104 \ >- syn-2.0.2 \ >- target-lexicon-0.12.4 \ >- typenum-1.15.0 \ >- unicode-ident-1.0.5 \ >- unindent-0.1.10 \ >- version_check-0.9.4 \ >- windows-sys-0.36.1 \ >- windows_aarch64_msvc-0.36.1 \ >- windows_i686_gnu-0.36.1 \ >- windows_i686_msvc-0.36.1 \ >- windows_x86_64_gnu-0.36.1 \ >- windows_x86_64_msvc-0.36.1 > > SUB_FILES= pkg-message log.config > SUB_LIST= PYTHON_CMD=${PYTHON_CMD} DBDIR=${DBDIR} LOGDIR=${LOGDIR} PIDDIR=${PIDDIR} USERS=${USERS} >diff --git a/net-im/py-matrix-synapse/Makefile.crates b/net-im/py-matrix-synapse/Makefile.crates >new file mode 100644 >index 000000000000..deca155d34b6 >--- /dev/null >+++ b/net-im/py-matrix-synapse/Makefile.crates >@@ -0,0 +1,55 @@ >+CARGO_CRATES= aho-corasick-0.7.19 \ >+ anyhow-1.0.70 \ >+ arc-swap-1.5.1 \ >+ autocfg-1.1.0 \ >+ bitflags-1.3.2 \ >+ blake2-0.10.6 \ >+ block-buffer-0.10.3 \ >+ cfg-if-1.0.0 \ >+ crypto-common-0.1.6 \ >+ digest-0.10.5 \ >+ generic-array-0.14.6 \ >+ hex-0.4.3 \ >+ indoc-1.0.7 \ >+ itoa-1.0.4 \ >+ lazy_static-1.4.0 \ >+ libc-0.2.135 \ >+ lock_api-0.4.9 \ >+ log-0.4.17 \ >+ memchr-2.5.0 \ >+ memoffset-0.6.5 \ >+ once_cell-1.15.0 \ >+ parking_lot-0.12.1 \ >+ parking_lot_core-0.9.3 \ >+ proc-macro2-1.0.52 \ >+ pyo3-0.17.3 \ >+ pyo3-build-config-0.17.3 \ >+ pyo3-ffi-0.17.3 \ >+ pyo3-log-0.8.1 \ >+ pyo3-macros-0.17.3 \ >+ pyo3-macros-backend-0.17.3 \ >+ pythonize-0.17.0 \ >+ quote-1.0.26 \ >+ redox_syscall-0.2.16 \ >+ regex-1.7.3 \ >+ regex-syntax-0.6.29 \ >+ ryu-1.0.11 \ >+ scopeguard-1.1.0 \ >+ serde-1.0.159 \ >+ serde_derive-1.0.159 \ >+ serde_json-1.0.95 \ >+ smallvec-1.10.0 \ >+ subtle-2.4.1 \ >+ syn-1.0.104 \ >+ syn-2.0.10 \ >+ target-lexicon-0.12.4 \ >+ typenum-1.15.0 \ >+ unicode-ident-1.0.5 \ >+ unindent-0.1.10 \ >+ version_check-0.9.4 \ >+ windows-sys-0.36.1 \ >+ windows_aarch64_msvc-0.36.1 \ >+ windows_i686_gnu-0.36.1 \ >+ windows_i686_msvc-0.36.1 \ >+ windows_x86_64_gnu-0.36.1 \ >+ windows_x86_64_msvc-0.36.1 >diff --git a/net-im/py-matrix-synapse/distinfo b/net-im/py-matrix-synapse/distinfo >index ef99c8c13060..ddf17a28ac69 100644 >--- a/net-im/py-matrix-synapse/distinfo >+++ b/net-im/py-matrix-synapse/distinfo >@@ -1,6 +1,6 @@ >-TIMESTAMP = 1680052681 >-SHA256 (matrix_synapse-1.80.0.tar.gz) = 16c6df16dfa0d3061bfd9ebee8b6e6935756d35cee32f08ffd831db4624cf031 >-SIZE (matrix_synapse-1.80.0.tar.gz) = 3167250 >+TIMESTAMP = 1682112983 >+SHA256 (matrix_synapse-1.81.0.tar.gz) = 28074fe1f3cabcaa97004a4c625416d48875ca22b8729b515cbe006dc43696cf >+SIZE (matrix_synapse-1.81.0.tar.gz) = 3184130 > SHA256 (rust/crates/aho-corasick-0.7.19.crate) = b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e > SIZE (rust/crates/aho-corasick-0.7.19.crate) = 113070 > SHA256 (rust/crates/anyhow-1.0.70.crate) = 7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4 >@@ -67,28 +67,28 @@ SHA256 (rust/crates/quote-1.0.26.crate) = 4424af4bf778aae2051a77b60283332f386554 > SIZE (rust/crates/quote-1.0.26.crate) = 28397 > SHA256 (rust/crates/redox_syscall-0.2.16.crate) = fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a > SIZE (rust/crates/redox_syscall-0.2.16.crate) = 24012 >-SHA256 (rust/crates/regex-1.7.1.crate) = 48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733 >-SIZE (rust/crates/regex-1.7.1.crate) = 239648 >-SHA256 (rust/crates/regex-syntax-0.6.27.crate) = a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244 >-SIZE (rust/crates/regex-syntax-0.6.27.crate) = 297300 >+SHA256 (rust/crates/regex-1.7.3.crate) = 8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d >+SIZE (rust/crates/regex-1.7.3.crate) = 239886 >+SHA256 (rust/crates/regex-syntax-0.6.29.crate) = f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1 >+SIZE (rust/crates/regex-syntax-0.6.29.crate) = 299752 > SHA256 (rust/crates/ryu-1.0.11.crate) = 4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09 > SIZE (rust/crates/ryu-1.0.11.crate) = 47007 > SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd > SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470 >-SHA256 (rust/crates/serde-1.0.157.crate) = 707de5fcf5df2b5788fca98dd7eab490bc2fd9b7ef1404defc462833b83f25ca >-SIZE (rust/crates/serde-1.0.157.crate) = 77012 >-SHA256 (rust/crates/serde_derive-1.0.157.crate) = 78997f4555c22a7971214540c4a661291970619afd56de19f77e0de86296e1e5 >-SIZE (rust/crates/serde_derive-1.0.157.crate) = 54958 >-SHA256 (rust/crates/serde_json-1.0.94.crate) = 1c533a59c9d8a93a09c6ab31f0fd5e5f4dd1b8fc9434804029839884765d04ea >-SIZE (rust/crates/serde_json-1.0.94.crate) = 144406 >+SHA256 (rust/crates/serde-1.0.159.crate) = 3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065 >+SIZE (rust/crates/serde-1.0.159.crate) = 77014 >+SHA256 (rust/crates/serde_derive-1.0.159.crate) = 4c614d17805b093df4b147b51339e7e44bf05ef59fba1e45d83500bcfb4d8585 >+SIZE (rust/crates/serde_derive-1.0.159.crate) = 55039 >+SHA256 (rust/crates/serde_json-1.0.95.crate) = d721eca97ac802aa7777b701877c8004d950fc142651367300d21c1cc0194744 >+SIZE (rust/crates/serde_json-1.0.95.crate) = 144618 > SHA256 (rust/crates/smallvec-1.10.0.crate) = a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0 > SIZE (rust/crates/smallvec-1.10.0.crate) = 31564 > SHA256 (rust/crates/subtle-2.4.1.crate) = 6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601 > SIZE (rust/crates/subtle-2.4.1.crate) = 12630 > SHA256 (rust/crates/syn-1.0.104.crate) = 4ae548ec36cf198c0ef7710d3c230987c2d6d7bd98ad6edc0274462724c585ce > SIZE (rust/crates/syn-1.0.104.crate) = 236683 >-SHA256 (rust/crates/syn-2.0.2.crate) = 59d3276aee1fa0c33612917969b5172b5be2db051232a6e4826f1a1a9191b045 >-SIZE (rust/crates/syn-2.0.2.crate) = 240038 >+SHA256 (rust/crates/syn-2.0.10.crate) = 5aad1363ed6d37b84299588d62d3a7d95b5a5c2d9aad5c85609fda12afaa1f40 >+SIZE (rust/crates/syn-2.0.10.crate) = 240095 > SHA256 (rust/crates/target-lexicon-0.12.4.crate) = c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1 > SIZE (rust/crates/target-lexicon-0.12.4.crate) = 23020 > SHA256 (rust/crates/typenum-1.15.0.crate) = dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987 >diff --git a/net-im/py-matrix-synapse/files/patch-pyproject.toml b/net-im/py-matrix-synapse/files/patch-pyproject.toml >index ea97936dfb6f..cc42bc42414a 100644 >--- a/net-im/py-matrix-synapse/files/patch-pyproject.toml >+++ b/net-im/py-matrix-synapse/files/patch-pyproject.toml >@@ -1,38 +1,10 @@ >---- pyproject.toml.orig 2023-03-28 10:30:20 UTC >+--- pyproject.toml.orig 2023-04-21 21:40:26 UTC > +++ pyproject.toml >-@@ -156,7 +156,7 @@ jsonschema = ">=3.0.0" >- # frozendict 2.1.2 is broken on Debian 10: https://github.com/Marco-Sulla/python-frozendict/issues/41 >- # We cannot test our wheels against the 2.3.5 release in CI. Putting in an upper bound for this >- # because frozendict has been more trouble than it's worth; we would like to move to immutabledict. >--frozendict = ">=1,!=2.1.2,<2.3.5" >-+frozendict = ">=1" >- # We require 2.1.0 or higher for type hints. Previous guard was >= 1.1.0 >- unpaddedbase64 = ">=2.1.0" >- # We require 1.5.0 to work around an issue when running against the C implementation of >-@@ -199,7 +199,7 @@ bleach = ">=1.4.3" >- typing-extensions = ">=3.10.0.1" >- # We enforce that we have a `cryptography` version that bundles an `openssl` >- # with the latest security patches. >--cryptography = ">=3.4.7" >-+cryptography = "*" >- # ijson 3.1.4 fixes a bug with "." in property names >- ijson = ">=3.1.4" >- matrix-common = "^1.3.0" >-@@ -210,17 +210,6 @@ packaging = ">=16.1" >- importlib_metadata = { version = ">=1.4", python = "<3.8" } >- # This is the most recent version of Pydantic with available on common distros. >- pydantic = ">=1.7.4" >-- >--# This is for building the rust components during "poetry install", which >--# currently ignores the `build-system.requires` directive (c.f. >--# https://github.com/python-poetry/poetry/issues/6154). Both `pip install` and >--# `poetry build` do the right thing without this explicit dependency. >--# >--# This isn't really a dev-dependency, as `poetry install --no-dev` will fail, >--# but the alternative is to add it to the main list of deps where it isn't >--# needed. >--setuptools_rust = ">=1.3" >-- >+@@ -219,7 +219,6 @@ pydantic = ">=1.7.4" >+ # needed. >+ setuptools_rust = ">=1.3" > >+- > # Optional Dependencies > # --------------------- >+ matrix-synapse-ldap3 = { version = ">=0.1", optional = true } >diff --git a/net-im/py-matrix-synapse/files/patch-setup.py b/net-im/py-matrix-synapse/files/patch-setup.py >index 36446364bf7e..09a64a64e14a 100644 >--- a/net-im/py-matrix-synapse/files/patch-setup.py >+++ b/net-im/py-matrix-synapse/files/patch-setup.py >@@ -1,16 +1,5 @@ >---- setup.py.orig 1970-01-01 00:00:00 UTC >+--- setup.py.orig 2023-04-21 21:41:33 UTC > +++ setup.py >-@@ -154,8 +154,8 @@ install_requires = \ >- 'bcrypt>=3.1.7', >- 'bleach>=1.4.3', >- 'canonicaljson>=1.5.0,<2.0.0', >-- 'cryptography>=3.4.7', >-- 'frozendict>=1,!=2.1.2,<2.3.5', >-+ 'cryptography', >-+ 'frozendict>=1', >- 'ijson>=3.1.4', >- 'jsonschema>=3.0.0', >- 'matrix-common>=1.3.0,<2.0.0', > @@ -170,7 +170,6 @@ install_requires = \ > 'pydantic>=1.7.4', > 'pymacaroons>=0.13.0', >-- >2.40.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270737
:
241651
|
241692
|
241715
|
241754