Skip to contentSkip to conversation

package/python-daphne: bump to version 4.1.2

PATCH In review James Hilliard 2 participants 4 messages Sep 15, 2024 – Sep 20, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-daphne: bump to version 4.1.2

Drop remove pytest runner patch and instead pass
--skip-dependency-check build option.

---
 ...001-remove-pytest-runner-requirement.patch | 27 -------------------
 package/python-daphne/python-daphne.hash      |  4 +--
 package/python-daphne/python-daphne.mk        |  5 ++--
 3 files changed, 5 insertions(+), 31 deletions(-)
 delete mode 100644 package/python-daphne/0001-remove-pytest-runner-requirement.patch
package/python-daphne/0001-remove-pytest-runner-requirement.patch deleted +0 -27
deleted file mode 100644
index 70cdb4f19d..0000000000
@@ -1,27 +0,0 @@
-From f9d881cc55c89f51240f93308713216cfec793eb Mon Sep 17 00:00:00 2001
-From: Adam Duskett <[email protected]>
-Date: Sat, 3 Aug 2019 14:23:19 -0400
-Subject: [PATCH] remove pytest-runner requirement
-
-Setup does not actually require pytest-runner. As such, remove it.
-
-Signed-off-by: Adam Duskett <[email protected]>
----
- setup.py | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 64e94f1..4e3abb0 100755
---- a/setup.py
-+++ b/setup.py
-@@ -23,7 +23,6 @@ setup(
-     include_package_data=True,
-     install_requires=["twisted[tls]>=22.4", "autobahn>=22.4.2", "asgiref>=3.5.2,<4"],
-     python_requires=">=3.7",
--    setup_requires=["pytest-runner"],
-     extras_require={"tests": ["hypothesis", "pytest", "pytest-asyncio", "django"]},
-     entry_points={
-         "console_scripts": ["daphne = daphne.cli:CommandLineInterface.entrypoint"]
--- 
-2.21.0
-
package/python-daphne/python-daphne.hash +2 -2
index 90d053bff6..194b73a0e4 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/daphne/json
-md5  f0dcc0618459ad7d25508704f9505b56  daphne-4.0.0.tar.gz
-sha256  cce9afc8f49a4f15d4270b8cfb0e0fe811b770a5cc795474e97e4da287497666  daphne-4.0.0.tar.gz
+md5  6a00ce30210105fcd0f756d4dc5505f9  daphne-4.1.2.tar.gz
+sha256  fcbcace38eb86624ae247c7ffdc8ac12f155d7d19eafac4247381896d6f33761  daphne-4.1.2.tar.gz
 # Locally computed sha256 checksums
 sha256  b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669  LICENSE
package/python-daphne/python-daphne.mk +3 -2
index c08088278e..097a195821 100644
@@ -4,12 +4,13 @@
 #
 ################################################################################
 
-PYTHON_DAPHNE_VERSION = 4.0.0
+PYTHON_DAPHNE_VERSION = 4.1.2
 PYTHON_DAPHNE_SOURCE = daphne-$(PYTHON_DAPHNE_VERSION).tar.gz
-PYTHON_DAPHNE_SITE = https://files.pythonhosted.org/packages/d7/77/57b19d5caabf8537879aa4cf3a017b99d0b727f2521ffca7fd9140573509
+PYTHON_DAPHNE_SITE = https://files.pythonhosted.org/packages/1a/c1/aedf180beb12395835cba791ce7239b8880009d9d37564d72b7590cde605
 PYTHON_DAPHNE_SETUP_TYPE = setuptools
 # https://github.com/django/daphne/blob/master/LICENSE
 PYTHON_DAPHNE_LICENSE = BSD-3-Clause
 PYTHON_DAPHNE_LICENSE_FILES = LICENSE
+PYTHON_DAPHNE_BUILD_OPTS = --skip-dependency-check
 
 $(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · On Sat, 14 Sep 2024 22:41:31 -0600 James Hilliard <[email protected]>…

Drop remove pytest runner patch and instead pass
--skip-dependency-check build option.

---
 ...001-remove-pytest-runner-requirement.patch | 27 -------------------
 package/python-daphne/python-daphne.hash      |  4 +--
 package/python-daphne/python-daphne.mk        |  5 ++--
 3 files changed, 5 insertions(+), 31 deletions(-)
 delete mode 100644 package/python-daphne/0001-remove-pytest-runner-requirement.patch

On this one you had forgotten to update .checkpackageignore to drop the reference to the patch being removed. Suggestion: use
https://paste.ack.tf/bbebd2 as your .git/hooks/post-commit to catch this kind of minor thing.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 15 lines · Thomas Petazzoni
Quoted 10 lines · On Sat, 14 Sep 2024 22:41:31 -0600 James Hilliard <[email protected]>…

Drop remove pytest runner patch and instead pass
--skip-dependency-check build option.

---
 ...001-remove-pytest-runner-requirement.patch | 27 -------------------
 package/python-daphne/python-daphne.hash      |  4 +--
 package/python-daphne/python-daphne.mk        |  5 ++--
 3 files changed, 5 insertions(+), 31 deletions(-)
 delete mode 100644 package/python-daphne/0001-remove-pytest-runner-requirement.patch
Quoted 4 lines

On this one you had forgotten to update .checkpackageignore to drop the reference to the patch being removed. Suggestion: use
https://paste.ack.tf/bbebd2 as your .git/hooks/post-commit to catch this kind of minor thing.

I dropped the ./utils/docker-run part from this hook and it seems to work ok, was there a reason this was being run in docker?

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

#3 lore raw
Quoted 7 lines · On Sun, 15 Sep 2024 15:42:22 -0600 James Hilliard <[email protected]>…
Quoted 4 lines

On this one you had forgotten to update .checkpackageignore to drop the reference to the patch being removed. Suggestion: use
https://paste.ack.tf/bbebd2 as your .git/hooks/post-commit to catch this kind of minor thing.

I dropped the ./utils/docker-run part from this hook and it seems to work ok, was there a reason this was being run in docker?

Yes, it is important because we run flake8/shellcheck, and they don't have the same checks from version to version, and the version in our docker container is the reference version for Buildroot (and our .checkpackageignore file).

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot