Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: python3-jose-3.3.0
@ 2022-06-12 12:52 pfpulux
  2022-06-12 14:10 ` [PR REVIEW] " classabbyamp
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: pfpulux @ 2022-06-12 12:52 UTC (permalink / raw)
  To: ml

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

There is a new pull request by pfpulux against master on the void-packages repository

https://github.com/pfpulux/void-packages python3-jose
https://github.com/void-linux/void-packages/pull/37531

New package: python3-jose-3.3.0
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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/37531.patch is attached

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

From 4e7220b171b81e33cf95a6de380cadfd3ea38079 Mon Sep 17 00:00:00 2001
From: Pulux <pulux@pf4sh.eu>
Date: Sun, 12 Jun 2022 14:50:08 +0200
Subject: [PATCH] New package: python3-jose-3.3.0

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

diff --git a/srcpkgs/python3-jose/template b/srcpkgs/python3-jose/template
new file mode 100644
index 000000000000..cbc89a6b744f
--- /dev/null
+++ b/srcpkgs/python3-jose/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jose'
+pkgname=python3-jose
+version=3.3.0
+revision=1
+wrksrc="python-jose-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-pip python3-rsa python3-ecdsa python3-pyasn1"
+depends="python3 python3-cryptography"
+checkdepends="$depends python3-pytest python3-pytest-cov"
+short_desc="JOSE implementation in Python (Python3)"
+maintainer="Pulux <pulux@pf4sh.de>"
+license="MIT"
+homepage="https://pf4sh.eu/git/pulux/python-jose"
+distfiles="${PYPI_SITE}/p/python-jose/python-jose-${version}.tar.gz"
+checksum=55779b5e6ad599c6336191246e95eb2293a9ddebd555f796a65f838f07e5d78a
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] New package: python3-jose-3.3.0
  2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
  2022-06-12 14:10 ` [PR REVIEW] " classabbyamp
@ 2022-06-12 14:10 ` classabbyamp
  2022-06-12 14:26 ` classabbyamp
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2022-06-12 14:10 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37531#discussion_r895180895

Comment:
why does it need pip?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] New package: python3-jose-3.3.0
  2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
@ 2022-06-12 14:10 ` classabbyamp
  2022-06-12 14:10 ` classabbyamp
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2022-06-12 14:10 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37531#discussion_r895180854

Comment:
python3 doesn't need to be listed here

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: python3-jose-3.3.0
  2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
  2022-06-12 14:10 ` [PR REVIEW] " classabbyamp
  2022-06-12 14:10 ` classabbyamp
@ 2022-06-12 14:26 ` classabbyamp
  2022-06-12 14:29 ` [PR REVIEW] " classabbyamp
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2022-06-12 14:26 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37531#issuecomment-1153187808

Comment:
also, there is a changelog that can be included

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] New package: python3-jose-3.3.0
  2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
                   ` (2 preceding siblings ...)
  2022-06-12 14:26 ` classabbyamp
@ 2022-06-12 14:29 ` classabbyamp
  2022-06-13  4:50 ` [PR PATCH] [Updated] " pfpulux
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2022-06-12 14:29 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37531#discussion_r895185095

Comment:
this is different than what's listed on pypi (https://github.com/mpdavis/python-jose). what's up with that? 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] New package: python3-jose-3.3.0
  2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
                   ` (3 preceding siblings ...)
  2022-06-12 14:29 ` [PR REVIEW] " classabbyamp
@ 2022-06-13  4:50 ` pfpulux
  2022-06-13  5:00 ` [PR REVIEW] " pfpulux
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pfpulux @ 2022-06-13  4:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pfpulux/void-packages python3-jose
https://github.com/void-linux/void-packages/pull/37531

New package: python3-jose-3.3.0
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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/37531.patch is attached

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

From 15a2438187db9f408e89865eba702c7abb3b23a5 Mon Sep 17 00:00:00 2001
From: Pulux <pulux@pf4sh.eu>
Date: Sun, 12 Jun 2022 14:50:08 +0200
Subject: [PATCH] New package: python3-jose-3.3.0

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

diff --git a/srcpkgs/python3-jose/template b/srcpkgs/python3-jose/template
new file mode 100644
index 000000000000..e6ce58a3a7b6
--- /dev/null
+++ b/srcpkgs/python3-jose/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jose'
+pkgname=python3-jose
+version=3.3.0
+revision=1
+wrksrc="python-jose-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-pip python3-rsa python3-ecdsa python3-pyasn1"
+depends="python3-cryptography"
+checkdepends="$depends python3-pytest python3-pytest-cov"
+short_desc="JOSE implementation in Python (Python3)"
+maintainer="Pulux <pulux@pf4sh.de>"
+license="MIT"
+homepage="https://github.com/mpdavis/python-jose"
+distfiles="${PYPI_SITE}/p/python-jose/python-jose-${version}.tar.gz"
+checksum=55779b5e6ad599c6336191246e95eb2293a9ddebd555f796a65f838f07e5d78a
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] New package: python3-jose-3.3.0
  2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
                   ` (4 preceding siblings ...)
  2022-06-13  4:50 ` [PR PATCH] [Updated] " pfpulux
@ 2022-06-13  5:00 ` pfpulux
  2022-06-13  5:00 ` pfpulux
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pfpulux @ 2022-06-13  5:00 UTC (permalink / raw)
  To: ml

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

New review comment by pfpulux on void-packages repository

https://github.com/void-linux/void-packages/pull/37531#discussion_r895327813

Comment:
the install check for `pytest-runner`

```
/usr/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  warnings.warn(
WARNING: The wheel package is not available.
/usr/bin/python3: No module named pip
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 82, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp5wzuqyx1', '--quiet', 'pytest-runner']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/builddir/python-jose-3.3.0/setup.py", line 33, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 876, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 789, in resolve
    dist = best[req.key] = env.best_match(
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1075, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1087, in obtain
    return installer(requirement)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 956, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 84, in fetch_build_egg
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp5wzuqyx1', '--quiet', 'pytest-runner']' returned non-zero exit status 1.
=> ERROR: python3-jose-3.3.0_1: do_build: 'python3 setup.py build ${make_build_args}' exited with 1
=> ERROR:   in do_build() at common/build-style/python3-module.sh:22
```

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] New package: python3-jose-3.3.0
  2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
                   ` (5 preceding siblings ...)
  2022-06-13  5:00 ` [PR REVIEW] " pfpulux
@ 2022-06-13  5:00 ` pfpulux
  2022-06-13  5:08 ` classabbyamp
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pfpulux @ 2022-06-13  5:00 UTC (permalink / raw)
  To: ml

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

New review comment by pfpulux on void-packages repository

https://github.com/void-linux/void-packages/pull/37531#discussion_r895327858

Comment:
fixed

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR REVIEW] New package: python3-jose-3.3.0
  2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
                   ` (6 preceding siblings ...)
  2022-06-13  5:00 ` pfpulux
@ 2022-06-13  5:08 ` classabbyamp
  2022-09-12  2:15 ` github-actions
  2022-09-26  2:15 ` [PR PATCH] [Closed]: " github-actions
  9 siblings, 0 replies; 11+ messages in thread
From: classabbyamp @ 2022-06-13  5:08 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37531#discussion_r895330666

Comment:
based on what pytest-runner is (allowing `setup.py test` to call pytest), I think the best path forward would be to patch out that dependency in setup.py (it's gone on the HEAD of master), because the python3-module build style will run pytest directly if you add `python3-pytest` to `checkdepends`.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: New package: python3-jose-3.3.0
  2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
                   ` (7 preceding siblings ...)
  2022-06-13  5:08 ` classabbyamp
@ 2022-09-12  2:15 ` github-actions
  2022-09-26  2:15 ` [PR PATCH] [Closed]: " github-actions
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2022-09-12  2:15 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/37531#issuecomment-1243135290

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Closed]: New package: python3-jose-3.3.0
  2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
                   ` (8 preceding siblings ...)
  2022-09-12  2:15 ` github-actions
@ 2022-09-26  2:15 ` github-actions
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2022-09-26  2:15 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: python3-jose-3.3.0
https://github.com/void-linux/void-packages/pull/37531

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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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] 11+ messages in thread

end of thread, other threads:[~2022-09-26  2:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-12 12:52 [PR PATCH] New package: python3-jose-3.3.0 pfpulux
2022-06-12 14:10 ` [PR REVIEW] " classabbyamp
2022-06-12 14:10 ` classabbyamp
2022-06-12 14:26 ` classabbyamp
2022-06-12 14:29 ` [PR REVIEW] " classabbyamp
2022-06-13  4:50 ` [PR PATCH] [Updated] " pfpulux
2022-06-13  5:00 ` [PR REVIEW] " pfpulux
2022-06-13  5:00 ` pfpulux
2022-06-13  5:08 ` classabbyamp
2022-09-12  2:15 ` github-actions
2022-09-26  2:15 ` [PR PATCH] [Closed]: " github-actions

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).