Skip to contentSkip to conversation

package/python-cryptography: add host-python3-six host dependency

PATCH Superseded James Hilliard 3 participants 7 messages Oct 29, 2021 – Nov 4, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-cryptography: add host-python3-six host dependency

This dependency wasn't added during the removal of python3-cryptography.

Fixes:
- http://autobuild.buildroot.net/results/971/9711ccebb9c3e2fa8f17d969d8b431d4301677e3/build-end.log

---
 package/python-cryptography/python-cryptography.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/python-cryptography/python-cryptography.mk +4 -1
index e21b9db042..081dfc06a0 100644
@@ -14,7 +14,10 @@ PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project
 PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography
 PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl
 HOST_PYTHON_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3
-HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python3-cffi host-openssl
+HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
+	host-python3-cffi \
+	host-python3-six \
+	host-openssl
 
 $(eval $(python-package))
 $(eval $(host-python-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 1/1
#1 lore raw

Hello James, Fabrice, *

Quoted 2 lines · James Hilliard

This dependency wasn't added during the removal of python3-cryptography.

The conversion/dropping of python3-cryptography was done with commits [1] and [2], and the commit log of [1] states the dropping of the host-python3-six dependency was intentionally:

[...]
While at it, drop host-python3-pip and host-python3-six as these dependencies are not needed. Indeed, pip was never a dependency of cryptography and six is not a dependency with python3 and will be dropped in version 3.4 and
https://github.com/pyca/cryptography/commit/e66db8079d3fbd0110e87ece1fd48f4bfd9e48b9
[...]

But the package python-cryptography is still at version 3.3.2 (and clearly depends on six)

@Fabrice: version bump pending?

@James: with a bit of explanation added to the commit log you can add my

But although fine with an version bump of the package ;-)

Regards,
Peter

[1] https://git.buildroot.net/buildroot/commit/?id=95a63a34ac9204c4fe069154783bd97ed48c3ae2
[2] https://git.buildroot.net/buildroot/commit/?id=43147827a7b759248288fad1d97130c027c23e9a

Quoted 15 lines

Fixes:
- http://autobuild.buildroot.net/results/971/9711ccebb9c3e2fa8f17d969d8b431d4301677e3/build-end.log

---
 package/python-cryptography/python-cryptography.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/python-cryptography/python-cryptography.mk +0 -0
index e21b9db042..081dfc06a0 100644
@@ -14,7 +14,10 @@ PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project
 PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography

package/python-cryptography/python-cryptography.mk PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project · line 23

Quoted 10 lines
package/python-cryptography/python-cryptography.mk +4 -1
 PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl
 HOST_PYTHON_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3
-HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python3-cffi host-openssl
+HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
+	host-python3-cffi \
+	host-python3-six \
+	host-openssl
 
 $(eval $(python-package))
 $(eval $(host-python-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
Quoted 20 lines · Peter Seiderer

Hello James, Fabrice, *

Quoted 2 lines · James Hilliard

This dependency wasn't added during the removal of python3-cryptography.

The conversion/dropping of python3-cryptography was done with commits [1] and [2], and the commit log of [1] states the dropping of the host-python3-six dependency was intentionally:

[...]
While at it, drop host-python3-pip and host-python3-six as these dependencies are not needed. Indeed, pip was never a dependency of cryptography and six is not a dependency with python3 and will be dropped in version 3.4 and
https://github.com/pyca/cryptography/commit/e66db8079d3fbd0110e87ece1fd48f4bfd9e48b9
[...]

Quoted 3 lines

But the package python-cryptography is still at version 3.3.2 (and clearly depends on six)

@Fabrice: version bump pending?

I actually have a patch from a while back bumping the version...but it also requires rust
support and that would probably cause a bit of breakage:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

So it's probably going to be a while before we can update cryptography if I had to guess.

Quoted 36 lines

@James: with a bit of explanation added to the commit log you can add my

But although fine with an version bump of the package ;-)

Regards,
Peter

[1] https://git.buildroot.net/buildroot/commit/?id=95a63a34ac9204c4fe069154783bd97ed48c3ae2
[2] https://git.buildroot.net/buildroot/commit/?id=43147827a7b759248288fad1d97130c027c23e9a

Quoted 23 lines

Fixes:
- http://autobuild.buildroot.net/results/971/9711ccebb9c3e2fa8f17d969d8b431d4301677e3/build-end.log

---
 package/python-cryptography/python-cryptography.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/python-cryptography/python-cryptography.mk +4 -1
index e21b9db042..081dfc06a0 100644
@@ -14,7 +14,10 @@ PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project
 PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography
 PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl
 HOST_PYTHON_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3
-HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python3-cffi host-openssl
+HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
+     host-python3-cffi \
+     host-python3-six \
+     host-openssl
 
Quoted 3 lines

package/python-cryptography/python-cryptography.mk PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project · line 23

Quoted 2 lines
package/python-cryptography/python-cryptography.mk +0 -0
 $(eval $(python-package))
 $(eval $(host-python-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

Hello James,

Quoted 25 lines · James Hilliard
Quoted 20 lines · Peter Seiderer

Hello James, Fabrice, *

Quoted 2 lines · James Hilliard

This dependency wasn't added during the removal of python3-cryptography.

The conversion/dropping of python3-cryptography was done with commits [1] and [2], and the commit log of [1] states the dropping of the host-python3-six dependency was intentionally:

[...]
While at it, drop host-python3-pip and host-python3-six as these dependencies are not needed. Indeed, pip was never a dependency of cryptography and six is not a dependency with python3 and will be dropped in version 3.4 and
https://github.com/pyca/cryptography/commit/e66db8079d3fbd0110e87ece1fd48f4bfd9e48b9
[...]

Quoted 3 lines

But the package python-cryptography is still at version 3.3.2 (and clearly depends on six)

@Fabrice: version bump pending?

Quoted 7 lines

I actually have a patch from a while back bumping the version...but it also requires rust
support and that would probably cause a bit of breakage:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

So it's probably going to be a while before we can update cryptography if I had to guess.

Clear vote for keeping the old version and re-adding the host-python3-six dependency ;-)

Mind to re-spin your patch with some explanation?

Regards,
Peter

Quoted 37 lines
Quoted 37 lines

@James: with a bit of explanation added to the commit log you can add my

But although fine with an version bump of the package ;-)

Regards,
Peter

[1] https://git.buildroot.net/buildroot/commit/?id=95a63a34ac9204c4fe069154783bd97ed48c3ae2
[2] https://git.buildroot.net/buildroot/commit/?id=43147827a7b759248288fad1d97130c027c23e9a

Quoted 23 lines

Fixes:
- http://autobuild.buildroot.net/results/971/9711ccebb9c3e2fa8f17d969d8b431d4301677e3/build-end.log

---
 package/python-cryptography/python-cryptography.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/python-cryptography/python-cryptography.mk +4 -1
index e21b9db042..081dfc06a0 100644
@@ -14,7 +14,10 @@ PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project
 PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography
 PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl
 HOST_PYTHON_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3
-HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python3-cffi host-openssl
+HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
+     host-python3-cffi \
+     host-python3-six \
+     host-openssl
 
Quoted 7 lines
Quoted 3 lines

package/python-cryptography/python-cryptography.mk PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project · line 23

Quoted 2 lines
package/python-cryptography/python-cryptography.mk +0 -0
 $(eval $(python-package))
 $(eval $(host-python-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw
Quoted 35 lines · Peter Seiderer

Hello James,

Quoted 30 lines · James Hilliard
Quoted 20 lines · Peter Seiderer

Hello James, Fabrice, *

Quoted 2 lines · James Hilliard

This dependency wasn't added during the removal of python3-cryptography.

The conversion/dropping of python3-cryptography was done with commits [1] and [2], and the commit log of [1] states the dropping of the host-python3-six dependency was intentionally:

[...]
While at it, drop host-python3-pip and host-python3-six as these dependencies are not needed. Indeed, pip was never a dependency of cryptography and six is not a dependency with python3 and will be dropped in version 3.4 and
https://github.com/pyca/cryptography/commit/e66db8079d3fbd0110e87ece1fd48f4bfd9e48b9
[...]

Quoted 3 lines

But the package python-cryptography is still at version 3.3.2 (and clearly depends on six)

@Fabrice: version bump pending?

I actually have a patch from a while back bumping the version...but it also requires rust
support and that would probably cause a bit of breakage:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 7 lines
Quoted 2 lines

So it's probably going to be a while before we can update cryptography if I had to guess.

Clear vote for keeping the old version and re-adding the host-python3-six dependency ;-)

Mind to re-spin your patch with some explanation?

Sure, I mostly just copied your explanation of the issue:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 49 lines

Regards,
Peter

Quoted 44 lines
Quoted 37 lines

@James: with a bit of explanation added to the commit log you can add my

But although fine with an version bump of the package ;-)

Regards,
Peter

[1] https://git.buildroot.net/buildroot/commit/?id=95a63a34ac9204c4fe069154783bd97ed48c3ae2
[2] https://git.buildroot.net/buildroot/commit/?id=43147827a7b759248288fad1d97130c027c23e9a

Quoted 23 lines

Fixes:
- http://autobuild.buildroot.net/results/971/9711ccebb9c3e2fa8f17d969d8b431d4301677e3/build-end.log

---
 package/python-cryptography/python-cryptography.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/python-cryptography/python-cryptography.mk +4 -1
index e21b9db042..081dfc06a0 100644
@@ -14,7 +14,10 @@ PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project
 PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography
 PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl
 HOST_PYTHON_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3
-HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python3-cffi host-openssl
+HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
+     host-python3-cffi \
+     host-python3-six \
+     host-openssl
 
Quoted 3 lines

package/python-cryptography/python-cryptography.mk PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project · line 23

Quoted 2 lines
package/python-cryptography/python-cryptography.mk +0 -0
 $(eval $(python-package))
 $(eval $(host-python-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw

Hi all,

Quoted 40 lines · James Hilliard
Quoted 38 lines · Peter Seiderer

Hello James,

Quoted 32 lines · James Hilliard
Quoted 20 lines · Peter Seiderer

Hello James, Fabrice, *

Quoted 2 lines · James Hilliard

This dependency wasn't added during the removal of python3-cryptography.

The conversion/dropping of python3-cryptography was done with commits [1] and [2], and the commit log of [1] states the dropping of the host-python3-six dependency was intentionally:

[...]
While at it, drop host-python3-pip and host-python3-six as these dependencies are not needed. Indeed, pip was never a dependency of cryptography and six is not a dependency with python3 and will be dropped in version 3.4 and
https://github.com/pyca/cryptography/commit/e66db8079d3fbd0110e87ece1fd48f4bfd9e48b9
[...]

Quoted 3 lines

But the package python-cryptography is still at version 3.3.2 (and clearly depends on six)

@Fabrice: version bump pending?

I actually have a patch from a while back bumping the version...but it also requires rust
support and that would probably cause a bit of breakage:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

So it's probably going to be a while before we can update cryptography if I had to guess.

Quoted 7 lines
Quoted 4 lines

Clear vote for keeping the old version and re-adding the host-python3-six dependency ;-)

Mind to re-spin your patch with some explanation?

Sure, I mostly just copied your explanation of the issue:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

I already sent a patch a few days ago:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 42 lines
Quoted 42 lines

Regards,
Peter

Quoted 37 lines
Quoted 37 lines

@James: with a bit of explanation added to the commit log you can add my

But although fine with an version bump of the package ;-)

Regards,
Peter

[1] https://git.buildroot.net/buildroot/commit/?id=95a63a34ac9204c4fe069154783bd97ed48c3ae2
[2] https://git.buildroot.net/buildroot/commit/?id=43147827a7b759248288fad1d97130c027c23e9a

Quoted 23 lines

Fixes:
- http://autobuild.buildroot.net/results/971/9711ccebb9c3e2fa8f17d969d8b431d4301677e3/build-end.log

---
 package/python-cryptography/python-cryptography.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/python-cryptography/python-cryptography.mk +4 -1
index e21b9db042..081dfc06a0 100644
@@ -14,7 +14,10 @@ PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project
 PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography
 PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl
 HOST_PYTHON_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3
-HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python3-cffi host-openssl
+HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
+     host-python3-cffi \
+     host-python3-six \
+     host-openssl
 
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 3 lines

package/python-cryptography/python-cryptography.mk PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project · line 23

Quoted 2 lines
package/python-cryptography/python-cryptography.mk +0 -0
 $(eval $(python-package))
 $(eval $(host-python-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Best Regards,

Fabrice
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw

Hello Fabrice,

Quoted 47 lines · Fabrice Fontaine

Hi all,

Quoted 43 lines · James Hilliard
Quoted 41 lines · Peter Seiderer

Hello James,

Quoted 25 lines · James Hilliard
Quoted 20 lines · Peter Seiderer

Hello James, Fabrice, *

Quoted 2 lines · James Hilliard

This dependency wasn't added during the removal of python3-cryptography.

The conversion/dropping of python3-cryptography was done with commits [1] and [2], and the commit log of [1] states the dropping of the host-python3-six dependency was intentionally:

[...]
While at it, drop host-python3-pip and host-python3-six as these dependencies are not needed. Indeed, pip was never a dependency of cryptography and six is not a dependency with python3 and will be dropped in version 3.4 and
https://github.com/pyca/cryptography/commit/e66db8079d3fbd0110e87ece1fd48f4bfd9e48b9
[...]

Quoted 3 lines

But the package python-cryptography is still at version 3.3.2 (and clearly depends on six)

@Fabrice: version bump pending?

Quoted 7 lines

I actually have a patch from a while back bumping the version...but it also requires rust
support and that would probably cause a bit of breakage:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

So it's probably going to be a while before we can update cryptography if I had to guess.

Clear vote for keeping the old version and re-adding the host-python3-six dependency ;-)

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Mind to re-spin your patch with some explanation?

Sure, I mostly just copied your explanation of the issue:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

I already sent a patch a few days ago:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Sorry for missing this one...

Regards,
Peter

Quoted 45 lines
Quoted 45 lines
Quoted 45 lines

Regards,
Peter

Quoted 40 lines
Quoted 40 lines

@James: with a bit of explanation added to the commit log you can add my

But although fine with an version bump of the package ;-)

Regards,
Peter

[1] https://git.buildroot.net/buildroot/commit/?id=95a63a34ac9204c4fe069154783bd97ed48c3ae2
[2] https://git.buildroot.net/buildroot/commit/?id=43147827a7b759248288fad1d97130c027c23e9a

Quoted 25 lines

Fixes:
- http://autobuild.buildroot.net/results/971/9711ccebb9c3e2fa8f17d969d8b431d4301677e3/build-end.log

---
 package/python-cryptography/python-cryptography.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/python-cryptography/python-cryptography.mk +4 -1
index e21b9db042..081dfc06a0 100644
@@ -14,7 +14,10 @@ PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project
 PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography
 PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl
 HOST_PYTHON_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3
-HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python3-cffi host-openssl
+HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
+     host-python3-cffi \
+     host-python3-six \
+     host-openssl
 
 $(eval $(python-package))
 $(eval $(host-python-package))  
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Best Regards,

Fabrice

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot