* [PR PATCH] python3-stem: update to 1.8.1, unbreak for python3.11, adpot.
@ 2022-11-10 16:43 steinex
2022-11-10 16:48 ` [PR PATCH] [Updated] " steinex
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: steinex @ 2022-11-10 16:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]
There is a new pull request by steinex against master on the void-packages repository
https://github.com/steinex/void-packages python3-stem
https://github.com/void-linux/void-packages/pull/40445
python3-stem: update to 1.8.1, unbreak for python3.11, adpot.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/40445.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-stem-40445.patch --]
[-- Type: text/x-diff, Size: 3559 bytes --]
From 23387c98c1aef00ca38923fded391be9ed3d161f Mon Sep 17 00:00:00 2001
From: Frank Steinborn <steinex@nognu.de>
Date: Thu, 10 Nov 2022 15:36:40 +0100
Subject: [PATCH] python3-stem: update to 1.8.1, unbreak for python3.11, adpot.
---
.../patches/unbreak-for-python-3.11.patch | 53 +++++++++++++++++++
srcpkgs/python3-stem/template | 8 +--
2 files changed, 57 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch
diff --git a/srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch b/srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch
new file mode 100644
index 000000000000..c8578a5074cb
--- /dev/null
+++ b/srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch
@@ -0,0 +1,53 @@
+From 4bd809d07cfe76eabb83c918a468bd88dfb0476b Mon Sep 17 00:00:00 2001
+From: Frank Steinborn <steinex@nognu.de>
+Date: Thu, 10 Nov 2022 16:05:45 +0100
+Subject: [PATCH] unbreak for python 3.11
+
+---
+ stem/control.py | 2 +-
+ stem/prereq.py | 2 +-
+ stem/util/conf.py | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git stem/control.py stem/control.py
+index e192e29..e6fab6c 100644
+--- a/stem/control.py
++++ b/stem/control.py
+@@ -474,7 +474,7 @@ def with_default(yields = False):
+
+ def decorator(func):
+ def get_default(func, args, kwargs):
+- arg_names = inspect.getargspec(func).args[1:] # drop 'self'
++ arg_names = inspect.getfullargspec(func).args[1:] # drop 'self'
+ default_position = arg_names.index('default') if 'default' in arg_names else None
+
+ if default_position is not None and default_position < len(args):
+diff --git stem/prereq.py stem/prereq.py
+index 4af6c09..4009c31 100644
+--- a/stem/prereq.py
++++ b/stem/prereq.py
+@@ -241,7 +241,7 @@ def is_mock_available():
+
+ # check for mock's new_callable argument for patch() which was introduced in version 0.8.0
+
+- if 'new_callable' not in inspect.getargspec(mock.patch).args:
++ if 'new_callable' not in inspect.getfullargspec(mock.patch).args:
+ raise ImportError()
+
+ return True
+diff --git stem/util/conf.py stem/util/conf.py
+index 8039981..15c4db8 100644
+--- a/stem/util/conf.py
++++ b/stem/util/conf.py
+@@ -285,7 +285,7 @@ def uses_settings(handle, path, lazy_load = True):
+ config.load(path)
+ config._settings_loaded = True
+
+- if 'config' in inspect.getargspec(func).args:
++ if 'config' in inspect.getfullargspec(func).args:
+ return func(*args, config = config, **kwargs)
+ else:
+ return func(*args, **kwargs)
+--
+2.38.1
+
diff --git a/srcpkgs/python3-stem/template b/srcpkgs/python3-stem/template
index 47d9c05a15ea..8a8ab5279c82 100644
--- a/srcpkgs/python3-stem/template
+++ b/srcpkgs/python3-stem/template
@@ -1,15 +1,15 @@
# Template file for 'python3-stem'
pkgname=python3-stem
-version=1.8.0
-revision=5
+version=1.8.1
+revision=1
build_style=python3-module
hostmakedepends="python3-devel"
depends="python3-cryptography"
short_desc="Python3 controller library for Tor"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Frank Steinborn <steinex@nognu.de>"
license="LGPL-3.0-or-later"
homepage="https://stem.torproject.org/"
changelog="https://stem.torproject.org/change_log.html#version-1-7"
distfiles="${PYPI_SITE}/s/stem/stem-${version}.tar.gz"
-checksum=a0b48ea6224e95f22aa34c0bc3415f0eb4667ddeae3dfb5e32a6920c185568c2
+checksum=81d43a7c668ba9d7bc1103b2e7a911e9d148294b373d27a59ae8da79ef7a3e2f
conflicts="python-stem>=0"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] python3-stem: update to 1.8.1, unbreak for python3.11, adpot.
2022-11-10 16:43 [PR PATCH] python3-stem: update to 1.8.1, unbreak for python3.11, adpot steinex
@ 2022-11-10 16:48 ` steinex
2022-11-10 22:52 ` [PR REVIEW] python3-stem: update to 1.8.1, unbreak for python3.11, adopt classabbyamp
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: steinex @ 2022-11-10 16:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]
There is an updated pull request by steinex against master on the void-packages repository
https://github.com/steinex/void-packages python3-stem
https://github.com/void-linux/void-packages/pull/40445
python3-stem: update to 1.8.1, unbreak for python3.11, adpot.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/40445.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-stem-40445.patch --]
[-- Type: text/x-diff, Size: 3559 bytes --]
From 4d1adbb5e062906facae025f633b3b2529af3d3e Mon Sep 17 00:00:00 2001
From: Frank Steinborn <steinex@nognu.de>
Date: Thu, 10 Nov 2022 15:36:40 +0100
Subject: [PATCH] python3-stem: update to 1.8.1, unbreak for python3.11, adopt.
---
.../patches/unbreak-for-python-3.11.patch | 53 +++++++++++++++++++
srcpkgs/python3-stem/template | 8 +--
2 files changed, 57 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch
diff --git a/srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch b/srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch
new file mode 100644
index 000000000000..c8578a5074cb
--- /dev/null
+++ b/srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch
@@ -0,0 +1,53 @@
+From 4bd809d07cfe76eabb83c918a468bd88dfb0476b Mon Sep 17 00:00:00 2001
+From: Frank Steinborn <steinex@nognu.de>
+Date: Thu, 10 Nov 2022 16:05:45 +0100
+Subject: [PATCH] unbreak for python 3.11
+
+---
+ stem/control.py | 2 +-
+ stem/prereq.py | 2 +-
+ stem/util/conf.py | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git stem/control.py stem/control.py
+index e192e29..e6fab6c 100644
+--- a/stem/control.py
++++ b/stem/control.py
+@@ -474,7 +474,7 @@ def with_default(yields = False):
+
+ def decorator(func):
+ def get_default(func, args, kwargs):
+- arg_names = inspect.getargspec(func).args[1:] # drop 'self'
++ arg_names = inspect.getfullargspec(func).args[1:] # drop 'self'
+ default_position = arg_names.index('default') if 'default' in arg_names else None
+
+ if default_position is not None and default_position < len(args):
+diff --git stem/prereq.py stem/prereq.py
+index 4af6c09..4009c31 100644
+--- a/stem/prereq.py
++++ b/stem/prereq.py
+@@ -241,7 +241,7 @@ def is_mock_available():
+
+ # check for mock's new_callable argument for patch() which was introduced in version 0.8.0
+
+- if 'new_callable' not in inspect.getargspec(mock.patch).args:
++ if 'new_callable' not in inspect.getfullargspec(mock.patch).args:
+ raise ImportError()
+
+ return True
+diff --git stem/util/conf.py stem/util/conf.py
+index 8039981..15c4db8 100644
+--- a/stem/util/conf.py
++++ b/stem/util/conf.py
+@@ -285,7 +285,7 @@ def uses_settings(handle, path, lazy_load = True):
+ config.load(path)
+ config._settings_loaded = True
+
+- if 'config' in inspect.getargspec(func).args:
++ if 'config' in inspect.getfullargspec(func).args:
+ return func(*args, config = config, **kwargs)
+ else:
+ return func(*args, **kwargs)
+--
+2.38.1
+
diff --git a/srcpkgs/python3-stem/template b/srcpkgs/python3-stem/template
index 47d9c05a15ea..8a8ab5279c82 100644
--- a/srcpkgs/python3-stem/template
+++ b/srcpkgs/python3-stem/template
@@ -1,15 +1,15 @@
# Template file for 'python3-stem'
pkgname=python3-stem
-version=1.8.0
-revision=5
+version=1.8.1
+revision=1
build_style=python3-module
hostmakedepends="python3-devel"
depends="python3-cryptography"
short_desc="Python3 controller library for Tor"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Frank Steinborn <steinex@nognu.de>"
license="LGPL-3.0-or-later"
homepage="https://stem.torproject.org/"
changelog="https://stem.torproject.org/change_log.html#version-1-7"
distfiles="${PYPI_SITE}/s/stem/stem-${version}.tar.gz"
-checksum=a0b48ea6224e95f22aa34c0bc3415f0eb4667ddeae3dfb5e32a6920c185568c2
+checksum=81d43a7c668ba9d7bc1103b2e7a911e9d148294b373d27a59ae8da79ef7a3e2f
conflicts="python-stem>=0"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR REVIEW] python3-stem: update to 1.8.1, unbreak for python3.11, adopt.
2022-11-10 16:43 [PR PATCH] python3-stem: update to 1.8.1, unbreak for python3.11, adpot steinex
2022-11-10 16:48 ` [PR PATCH] [Updated] " steinex
@ 2022-11-10 22:52 ` classabbyamp
2022-11-11 10:55 ` [PR PATCH] [Updated] " steinex
2022-11-11 11:08 ` [PR PATCH] [Merged]: " classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2022-11-10 22:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/40445#discussion_r1019682724
Comment:
```suggestion
changelog="https://stem.torproject.org/change_log.html"
```
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] python3-stem: update to 1.8.1, unbreak for python3.11, adopt.
2022-11-10 16:43 [PR PATCH] python3-stem: update to 1.8.1, unbreak for python3.11, adpot steinex
2022-11-10 16:48 ` [PR PATCH] [Updated] " steinex
2022-11-10 22:52 ` [PR REVIEW] python3-stem: update to 1.8.1, unbreak for python3.11, adopt classabbyamp
@ 2022-11-11 10:55 ` steinex
2022-11-11 11:08 ` [PR PATCH] [Merged]: " classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: steinex @ 2022-11-11 10:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]
There is an updated pull request by steinex against master on the void-packages repository
https://github.com/steinex/void-packages python3-stem
https://github.com/void-linux/void-packages/pull/40445
python3-stem: update to 1.8.1, unbreak for python3.11, adopt.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/40445.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-stem-40445.patch --]
[-- Type: text/x-diff, Size: 3617 bytes --]
From 0b1356d9fc679f442d64f0afd883a578190300d9 Mon Sep 17 00:00:00 2001
From: Frank Steinborn <steinex@nognu.de>
Date: Thu, 10 Nov 2022 15:36:40 +0100
Subject: [PATCH] python3-stem: update to 1.8.1, unbreak for python3.11, adopt.
---
.../patches/unbreak-for-python-3.11.patch | 53 +++++++++++++++++++
srcpkgs/python3-stem/template | 10 ++--
2 files changed, 58 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch
diff --git a/srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch b/srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch
new file mode 100644
index 000000000000..c8578a5074cb
--- /dev/null
+++ b/srcpkgs/python3-stem/patches/unbreak-for-python-3.11.patch
@@ -0,0 +1,53 @@
+From 4bd809d07cfe76eabb83c918a468bd88dfb0476b Mon Sep 17 00:00:00 2001
+From: Frank Steinborn <steinex@nognu.de>
+Date: Thu, 10 Nov 2022 16:05:45 +0100
+Subject: [PATCH] unbreak for python 3.11
+
+---
+ stem/control.py | 2 +-
+ stem/prereq.py | 2 +-
+ stem/util/conf.py | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git stem/control.py stem/control.py
+index e192e29..e6fab6c 100644
+--- a/stem/control.py
++++ b/stem/control.py
+@@ -474,7 +474,7 @@ def with_default(yields = False):
+
+ def decorator(func):
+ def get_default(func, args, kwargs):
+- arg_names = inspect.getargspec(func).args[1:] # drop 'self'
++ arg_names = inspect.getfullargspec(func).args[1:] # drop 'self'
+ default_position = arg_names.index('default') if 'default' in arg_names else None
+
+ if default_position is not None and default_position < len(args):
+diff --git stem/prereq.py stem/prereq.py
+index 4af6c09..4009c31 100644
+--- a/stem/prereq.py
++++ b/stem/prereq.py
+@@ -241,7 +241,7 @@ def is_mock_available():
+
+ # check for mock's new_callable argument for patch() which was introduced in version 0.8.0
+
+- if 'new_callable' not in inspect.getargspec(mock.patch).args:
++ if 'new_callable' not in inspect.getfullargspec(mock.patch).args:
+ raise ImportError()
+
+ return True
+diff --git stem/util/conf.py stem/util/conf.py
+index 8039981..15c4db8 100644
+--- a/stem/util/conf.py
++++ b/stem/util/conf.py
+@@ -285,7 +285,7 @@ def uses_settings(handle, path, lazy_load = True):
+ config.load(path)
+ config._settings_loaded = True
+
+- if 'config' in inspect.getargspec(func).args:
++ if 'config' in inspect.getfullargspec(func).args:
+ return func(*args, config = config, **kwargs)
+ else:
+ return func(*args, **kwargs)
+--
+2.38.1
+
diff --git a/srcpkgs/python3-stem/template b/srcpkgs/python3-stem/template
index 47d9c05a15ea..53e2aafff796 100644
--- a/srcpkgs/python3-stem/template
+++ b/srcpkgs/python3-stem/template
@@ -1,15 +1,15 @@
# Template file for 'python3-stem'
pkgname=python3-stem
-version=1.8.0
-revision=5
+version=1.8.1
+revision=1
build_style=python3-module
hostmakedepends="python3-devel"
depends="python3-cryptography"
short_desc="Python3 controller library for Tor"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Frank Steinborn <steinex@nognu.de>"
license="LGPL-3.0-or-later"
homepage="https://stem.torproject.org/"
-changelog="https://stem.torproject.org/change_log.html#version-1-7"
+changelog="https://stem.torproject.org/change_log.html"
distfiles="${PYPI_SITE}/s/stem/stem-${version}.tar.gz"
-checksum=a0b48ea6224e95f22aa34c0bc3415f0eb4667ddeae3dfb5e32a6920c185568c2
+checksum=81d43a7c668ba9d7bc1103b2e7a911e9d148294b373d27a59ae8da79ef7a3e2f
conflicts="python-stem>=0"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Merged]: python3-stem: update to 1.8.1, unbreak for python3.11, adopt.
2022-11-10 16:43 [PR PATCH] python3-stem: update to 1.8.1, unbreak for python3.11, adpot steinex
` (2 preceding siblings ...)
2022-11-11 10:55 ` [PR PATCH] [Updated] " steinex
@ 2022-11-11 11:08 ` classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2022-11-11 11:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]
There's a merged pull request on the void-packages repository
python3-stem: update to 1.8.1, unbreak for python3.11, adopt.
https://github.com/void-linux/void-packages/pull/40445
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-11-11 11:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 16:43 [PR PATCH] python3-stem: update to 1.8.1, unbreak for python3.11, adpot steinex
2022-11-10 16:48 ` [PR PATCH] [Updated] " steinex
2022-11-10 22:52 ` [PR REVIEW] python3-stem: update to 1.8.1, unbreak for python3.11, adopt classabbyamp
2022-11-11 10:55 ` [PR PATCH] [Updated] " steinex
2022-11-11 11:08 ` [PR PATCH] [Merged]: " classabbyamp
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).