Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-keyring: update to 23.11.0.
Date: Mon, 12 Dec 2022 09:44:12 +0100	[thread overview]
Message-ID: <20221212084412.ABjI534lsD-2gO9IM5y8JnsY30WLaQkAngB5c7iL0j4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40810@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-keyring
https://github.com/void-linux/void-packages/pull/40810

python3-keyring: update to 23.11.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

#### Rev dep checks
- [x] mcg
- [x] pantalaimon
- [x] Komikku
- [x] jrnl
- [x] gajim
- [x] coursera-dl
- [x] python3-keyrings-alt
- [x] cura
- [x] hatch
- [x] nagstamon
- [x] backintime
- [x] urlwatch

I noticed that `importlib_metadata` got removed in https://github.com/void-linux/void-packages/pull/38287 but keyring again has it as a dependency. As per my understanding, `importlib_metadata` will always have backports from future python version(s) to the current one. For example, features introduced in `v5.*.*` are set to be merged in python3.12 stdlib.

A patch file from https://github.com/void-linux/void-packages/pull/40810.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-keyring-40810.patch --]
[-- Type: text/x-diff, Size: 6508 bytes --]

From 6d1319043a0b57bdb92c0fce1298b89204f8fa64 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sun, 27 Nov 2022 00:47:25 +0530
Subject: [PATCH 1/5] python3-zipp: reinstate package, update to 3.11.0.

---
 srcpkgs/python3-zipp/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-zipp/template

diff --git a/srcpkgs/python3-zipp/template b/srcpkgs/python3-zipp/template
new file mode 100644
index 000000000000..63c2208061c0
--- /dev/null
+++ b/srcpkgs/python3-zipp/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-zipp'
+pkgname=python3-zipp
+version=3.11.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3"
+short_desc="Pathlib-compatible Zipfile object wrapper (Python 3)"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://pypi.org/project/zipp/"
+changelog="https://raw.githubusercontent.com/jaraco/zipp/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/z/zipp/zipp-${version}.tar.gz"
+checksum=a7a22e05929290a67401440b39690ae6563279bced5f314609d9d03798f56766
+
+post_install() {
+	vlicense LICENSE
+}

From 6a27f6d039882727f6c8cbc165f9e81ad757cd44 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sun, 27 Nov 2022 00:47:17 +0530
Subject: [PATCH 2/5] python3-importlib_metadata: reinstate package, update to
 5.1.0.

---
 srcpkgs/python3-importlib_metadata/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-importlib_metadata/template

diff --git a/srcpkgs/python3-importlib_metadata/template b/srcpkgs/python3-importlib_metadata/template
new file mode 100644
index 000000000000..9f8f6534d399
--- /dev/null
+++ b/srcpkgs/python3-importlib_metadata/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-importlib_metadata'
+pkgname=python3-importlib_metadata
+version=5.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-zipp"
+short_desc="Read metadata from python3 packages"
+maintainer="icp <pangolin@vivaldi.net>"
+license="Apache-2.0"
+homepage="https://pypi.org/project/importlib-metadata/"
+changelog="https://raw.githubusercontent.com/python/importlib_metadata/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/i/importlib_metadata/importlib_metadata-${version}.tar.gz"
+checksum=d5059f9f1e8e41f80e9c56c2ee58811450c31984dfa625329ffd7c0dad88a73b

From c9a98f2b65dd8cbab7f6eba3bf77eae279c27795 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 28 Nov 2022 01:24:42 +0530
Subject: [PATCH 3/5] removed-packages: reinstate python3-importlib_metadata
 and python3-zipp

---
 srcpkgs/removed-packages/template | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index df3fdc331c84..2b7ebae180d8 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,6 +1,6 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
-version=0.1.20221205
+version=0.1.20221128
 revision=1
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
@@ -430,7 +430,6 @@ replaces="
  python3-docker-pycreds<=0.4.0_4
  python3-grako<=3.99.9_7
  python3-idna-ssl<=1.1.0_3
- python3-importlib_metadata<=4.8.1_2
  python3-jaraco<=1.0_4
  python3-jsonrpc-server<=0.4.0_2
  python3-keepalive<=0.5_6
@@ -442,7 +441,6 @@ replaces="
  python3-pyside<=5.15.0_2
  python3-shiboken<=5.15.0_3
  python3-txacme<=0.9.3_3
- python3-zipp<=3.6.0_1
  qimageblitz<=0.0.6_4
  qt-designer-devel<=4.8.7_29
  qt-designer-libs<=4.8.7_29

From 437474a97e258c5fc0b43a3153ad45f4e62eb0f0 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 19 Nov 2022 19:04:31 +0530
Subject: [PATCH 4/5] python3-keyring: update to 23.11.0.

---
 srcpkgs/python3-keyring/template | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-keyring/template b/srcpkgs/python3-keyring/template
index 21aa82759acf..f8cbb94b8e04 100644
--- a/srcpkgs/python3-keyring/template
+++ b/srcpkgs/python3-keyring/template
@@ -1,18 +1,19 @@
 # Template file for 'python3-keyring'
 pkgname=python3-keyring
-version=23.9.3
-revision=2
+version=23.11.0
+revision=1
 build_style=python3-pep517
 hostmakedepends="python3-wheel python3-setuptools_scm"
-depends="python3-SecretStorage python3-jeepney python3-jaraco.classes"
+depends="python3-SecretStorage python3-jeepney python3-importlib_metadata
+ python3-jaraco.classes"
 checkdepends="${depends} python3-pytest-xdist"
 short_desc="Python interface to the system keyring service"
 maintainer="icp <pangolin@vivaldi.net>"
 license="MIT"
-homepage="https://github.com/jaraco/keyring"
-changelog="https://raw.githubusercontent.com/jaraco/keyring/master/CHANGES.rst"
+homepage="https://pypi.org/project/keyring/"
+changelog="https://raw.githubusercontent.com/jaraco/keyring/main/CHANGES.rst"
 distfiles="${PYPI_SITE}/k/keyring/keyring-${version}.tar.gz"
-checksum=69b01dd83c42f590250fe7a1f503fc229b14de83857314b1933a3ddbf595c4a5
+checksum=ad192263e2cdd5f12875dedc2da13534359a7e760e77f8d04b50968a821c2361
 
 post_install() {
 	vlicense LICENSE

From fa18b9bc379d44240999693a826ad7b428ab9105 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 28 Nov 2022 00:58:41 +0530
Subject: [PATCH 5/5] pantalaimon: disable tests, they were broken anyway

---
 srcpkgs/pantalaimon/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/pantalaimon/template b/srcpkgs/pantalaimon/template
index 21e33c16f848..92854481fb7e 100644
--- a/srcpkgs/pantalaimon/template
+++ b/srcpkgs/pantalaimon/template
@@ -8,10 +8,10 @@ depends="python3-attrs python3-aiohttp python3-appdirs python3-click
  python3-keyring python3-logbook python3-peewee python3-janus
  python3-cachetools python3-prompt_toolkit python3-matrix-nio
  python3-dbus python3-gobject python3-pydbus python3-notify2"
-checkdepends="${depends}"
 short_desc="Proxy daemon for matrix.org clients supporting end-to-end encryption"
 maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
 license="Apache-2.0"
 homepage="https://github.com/matrix-org/pantalaimon"
-distfiles="${homepage}/archive/${version}.tar.gz"
+distfiles="https://github.com/matrix-org/pantalaimon/archive/refs/tags/${version}.tar.gz"
 checksum=82437a6265a3c747618b422d55138181e799da906111e02e7577853b33f5433b
+make_check=no # requires multiple unpackaged dependencies

  parent reply	other threads:[~2022-12-12  8:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-27 19:44 [PR PATCH] " icp1994
2022-11-27 19:56 ` [PR PATCH] [Updated] " icp1994
2022-12-12  8:44 ` icp1994 [this message]
2022-12-12  8:46 ` icp1994
2022-12-16 18:35 ` [PR REVIEW] " paper42
2022-12-17 13:28 ` [PR PATCH] [Updated] " icp1994
2022-12-17 13:30 ` [PR REVIEW] " icp1994
2022-12-18 10:59 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221212084412.ABjI534lsD-2gO9IM5y8JnsY30WLaQkAngB5c7iL0j4@z \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).