* [Buildroot] [PATCH 1/1] package/python-daphne: bump to version 4.1.2
@ 2024-09-15 4:41 James Hilliard
2024-09-15 8:08 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 4+ messages in thread
From: James Hilliard @ 2024-09-15 4:41 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Asaf Kahlon
Drop remove pytest runner patch and instead pass
--skip-dependency-check build option.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
...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
diff --git a/package/python-daphne/0001-remove-pytest-runner-requirement.patch b/package/python-daphne/0001-remove-pytest-runner-requirement.patch
deleted file mode 100644
index 70cdb4f19d..0000000000
--- a/package/python-daphne/0001-remove-pytest-runner-requirement.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From f9d881cc55c89f51240f93308713216cfec793eb Mon Sep 17 00:00:00 2001
-From: Adam Duskett <Aduskett@gmail.com>
-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 <Aduskett@gmail.com>
----
- 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
-
diff --git a/package/python-daphne/python-daphne.hash b/package/python-daphne/python-daphne.hash
index 90d053bff6..194b73a0e4 100644
--- a/package/python-daphne/python-daphne.hash
+++ b/package/python-daphne/python-daphne.hash
@@ -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
diff --git a/package/python-daphne/python-daphne.mk b/package/python-daphne/python-daphne.mk
index c08088278e..097a195821 100644
--- a/package/python-daphne/python-daphne.mk
+++ b/package/python-daphne/python-daphne.mk
@@ -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))
--
2.34.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/1] package/python-daphne: bump to version 4.1.2
2024-09-15 4:41 [Buildroot] [PATCH 1/1] package/python-daphne: bump to version 4.1.2 James Hilliard
@ 2024-09-15 8:08 ` Thomas Petazzoni via buildroot
2024-09-15 21:42 ` James Hilliard
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-09-15 8:08 UTC (permalink / raw)
To: James Hilliard; +Cc: Asaf Kahlon, buildroot
On Sat, 14 Sep 2024 22:41:31 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:
> Drop remove pytest runner patch and instead pass
> --skip-dependency-check build option.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> ...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
--
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/1] package/python-daphne: bump to version 4.1.2
2024-09-15 8:08 ` Thomas Petazzoni via buildroot
@ 2024-09-15 21:42 ` James Hilliard
2024-09-20 15:02 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 4+ messages in thread
From: James Hilliard @ 2024-09-15 21:42 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Asaf Kahlon, buildroot
On Sun, Sep 15, 2024 at 2:08 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Sat, 14 Sep 2024 22:41:31 -0600
> James Hilliard <james.hilliard1@gmail.com> wrote:
>
> > Drop remove pytest runner patch and instead pass
> > --skip-dependency-check build option.
> >
> > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> > ---
> > ...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.
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?
>
> Thanks!
>
> 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/1] package/python-daphne: bump to version 4.1.2
2024-09-15 21:42 ` James Hilliard
@ 2024-09-20 15:02 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-09-20 15:02 UTC (permalink / raw)
To: James Hilliard; +Cc: Asaf Kahlon, buildroot
On Sun, 15 Sep 2024 15:42:22 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:
> > 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
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
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
end of thread, other threads:[~2024-09-20 15:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-15 4:41 [Buildroot] [PATCH 1/1] package/python-daphne: bump to version 4.1.2 James Hilliard
2024-09-15 8:08 ` Thomas Petazzoni via buildroot
2024-09-15 21:42 ` James Hilliard
2024-09-20 15:02 ` Thomas Petazzoni via buildroot
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.