* [Buildroot] [PATCH 1/2] support/testing: add new test for python-s3transfer
@ 2022-06-14 19:03 Raphaël Mélotte via buildroot
2022-06-14 19:03 ` [Buildroot] [PATCH 2/2] package/python-s3transfer: bump to version 0.6.0 Raphaël Mélotte via buildroot
2022-07-22 20:54 ` [Buildroot] [PATCH 1/2] support/testing: add new test for python-s3transfer Thomas Petazzoni via buildroot
0 siblings, 2 replies; 4+ messages in thread
From: Raphaël Mélotte via buildroot @ 2022-06-14 19:03 UTC (permalink / raw)
To: buildroot; +Cc: Raphaël Mélotte, Ricardo Martincoski
Many actual tests require network usage, so just import the module to
check that at least that part works.
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
---
.../tests/package/sample_python_s3transfer.py | 1 +
.../testing/tests/package/test_python_s3transfer.py | 12 ++++++++++++
2 files changed, 13 insertions(+)
create mode 100644 support/testing/tests/package/sample_python_s3transfer.py
create mode 100644 support/testing/tests/package/test_python_s3transfer.py
diff --git a/support/testing/tests/package/sample_python_s3transfer.py b/support/testing/tests/package/sample_python_s3transfer.py
new file mode 100644
index 0000000000..ff53077c9e
--- /dev/null
+++ b/support/testing/tests/package/sample_python_s3transfer.py
@@ -0,0 +1 @@
+import s3transfer
diff --git a/support/testing/tests/package/test_python_s3transfer.py b/support/testing/tests/package/test_python_s3transfer.py
new file mode 100644
index 0000000000..dc669444ce
--- /dev/null
+++ b/support/testing/tests/package/test_python_s3transfer.py
@@ -0,0 +1,12 @@
+from tests.package.test_python import TestPythonPackageBase
+
+
+class TestPythonPy3S3transfer(TestPythonPackageBase):
+ __test__ = True
+ config = TestPythonPackageBase.config + \
+ """
+ BR2_PACKAGE_PYTHON3=y
+ BR2_PACKAGE_PYTHON_S3TRANSFER=y
+ """
+ sample_scripts = ["tests/package/sample_python_s3transfer.py"]
+ timeout = 10
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/python-s3transfer: bump to version 0.6.0
2022-06-14 19:03 [Buildroot] [PATCH 1/2] support/testing: add new test for python-s3transfer Raphaël Mélotte via buildroot
@ 2022-06-14 19:03 ` Raphaël Mélotte via buildroot
2022-07-22 20:54 ` [Buildroot] [PATCH 1/2] support/testing: add new test for python-s3transfer Thomas Petazzoni via buildroot
1 sibling, 0 replies; 4+ messages in thread
From: Raphaël Mélotte via buildroot @ 2022-06-14 19:03 UTC (permalink / raw)
To: buildroot; +Cc: Raphaël Mélotte, Asaf Kahlon
While at it, remove the md5 hash as there is already a sha256 hash.
Note that the checksum of the license changed, but the license is
still the same (the only change in the license file is the removal of
a blank line at the end of the file).
Changelog: https://github.com/boto/s3transfer/blob/develop/CHANGELOG.rst
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
---
package/python-s3transfer/python-s3transfer.hash | 7 +++----
package/python-s3transfer/python-s3transfer.mk | 4 ++--
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/package/python-s3transfer/python-s3transfer.hash b/package/python-s3transfer/python-s3transfer.hash
index b8f4a57ab8..16f0face72 100644
--- a/package/python-s3transfer/python-s3transfer.hash
+++ b/package/python-s3transfer/python-s3transfer.hash
@@ -1,5 +1,4 @@
-# md5, sha256 from https://pypi.org/pypi/s3transfer/json
-md5 9416d1c7d33506501a8627bb1f7baf66 s3transfer-0.5.0.tar.gz
-sha256 50ed823e1dc5868ad40c8dc92072f757aa0e653a192845c94a3b676f4a62da4c s3transfer-0.5.0.tar.gz
+# sha256 from https://pypi.org/pypi/s3transfer/json
+sha256 2ed07d3866f523cc561bf4a00fc5535827981b117dd7876f036b0c1aca42c947 s3transfer-0.6.0.tar.gz
# Locally computed sha256 checksums
-sha256 8c6db340475136df3c1201d458fa5755698eace76e510471ecc9d857d6083dac LICENSE.txt
+sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt
diff --git a/package/python-s3transfer/python-s3transfer.mk b/package/python-s3transfer/python-s3transfer.mk
index 8b8e02db57..60a72da729 100644
--- a/package/python-s3transfer/python-s3transfer.mk
+++ b/package/python-s3transfer/python-s3transfer.mk
@@ -4,9 +4,9 @@
#
################################################################################
-PYTHON_S3TRANSFER_VERSION = 0.5.0
+PYTHON_S3TRANSFER_VERSION = 0.6.0
PYTHON_S3TRANSFER_SOURCE = s3transfer-$(PYTHON_S3TRANSFER_VERSION).tar.gz
-PYTHON_S3TRANSFER_SITE = https://files.pythonhosted.org/packages/88/ef/4d1b3f52ae20a7e72151fde5c9f254cd83f8a49047351f34006e517e1655
+PYTHON_S3TRANSFER_SITE = https://files.pythonhosted.org/packages/e1/eb/e57c93d5cd5edf8c1d124c831ef916601540db70acd96fa21fe60cef1365
PYTHON_S3TRANSFER_SETUP_TYPE = setuptools
PYTHON_S3TRANSFER_LICENSE = Apache-2.0
PYTHON_S3TRANSFER_LICENSE_FILES = LICENSE.txt
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] support/testing: add new test for python-s3transfer
2022-06-14 19:03 [Buildroot] [PATCH 1/2] support/testing: add new test for python-s3transfer Raphaël Mélotte via buildroot
2022-06-14 19:03 ` [Buildroot] [PATCH 2/2] package/python-s3transfer: bump to version 0.6.0 Raphaël Mélotte via buildroot
@ 2022-07-22 20:54 ` Thomas Petazzoni via buildroot
2022-08-11 14:43 ` Raphaël Mélotte
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-22 20:54 UTC (permalink / raw)
To: Raphaël Mélotte via buildroot
Cc: Raphaël Mélotte, Ricardo Martincoski
On Tue, 14 Jun 2022 21:03:23 +0200
Raphaël Mélotte via buildroot <buildroot@buildroot.org> wrote:
> Many actual tests require network usage, so just import the module to
> check that at least that part works.
>
> Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
> ---
> .../tests/package/sample_python_s3transfer.py | 1 +
> .../testing/tests/package/test_python_s3transfer.py | 12 ++++++++++++
> 2 files changed, 13 insertions(+)
> create mode 100644 support/testing/tests/package/sample_python_s3transfer.py
> create mode 100644 support/testing/tests/package/test_python_s3transfer.py
Series applied to master. On the first patch, you should have added
yourself to the DEVELOPERS file, but I had forgotten that myself when
reviewing/applying, so I pushed another separate patch that adds you in
the DEVELOPERS file as expected.
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] support/testing: add new test for python-s3transfer
2022-07-22 20:54 ` [Buildroot] [PATCH 1/2] support/testing: add new test for python-s3transfer Thomas Petazzoni via buildroot
@ 2022-08-11 14:43 ` Raphaël Mélotte
0 siblings, 0 replies; 4+ messages in thread
From: Raphaël Mélotte @ 2022-08-11 14:43 UTC (permalink / raw)
To: Thomas Petazzoni, Raphaël Mélotte via buildroot
Cc: Ricardo Martincoski
On 7/22/22 22:54, Thomas Petazzoni wrote:
> On Tue, 14 Jun 2022 21:03:23 +0200
> Series applied to master. On the first patch, you should have added
> yourself to the DEVELOPERS file, but I had forgotten that myself when
> reviewing/applying, so I pushed another separate patch that adds you in
> the DEVELOPERS file as expected.
Whoops..
Thanks for fixing it, I'll keep it in mind for the next ones!
Kind regards,
Raphaël
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-11 14:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-14 19:03 [Buildroot] [PATCH 1/2] support/testing: add new test for python-s3transfer Raphaël Mélotte via buildroot
2022-06-14 19:03 ` [Buildroot] [PATCH 2/2] package/python-s3transfer: bump to version 0.6.0 Raphaël Mélotte via buildroot
2022-07-22 20:54 ` [Buildroot] [PATCH 1/2] support/testing: add new test for python-s3transfer Thomas Petazzoni via buildroot
2022-08-11 14:43 ` Raphaël Mélotte
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.