package/python-typeguard: new package
PATCH 1/4 package/python-typeguard: new package
--- package/Config.in | 1 + package/python-typeguard/Config.in | 6 ++++++ package/python-typeguard/python-typeguard.hash | 5 +++++ package/python-typeguard/python-typeguard.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-typeguard/Config.in create mode 100644 package/python-typeguard/python-typeguard.hash create mode 100644 package/python-typeguard/python-typeguard.mk
package/Config.in +1 -0
@@ -1264,6 +1264,7 @@ menu "External python modules" source "package/python-txaio/Config.in" source "package/python-txdbus/Config.in" source "package/python-txtorcon/Config.in" + source "package/python-typeguard/Config.in" source "package/python-typepy/Config.in" source "package/python-typing-extensions/Config.in" source "package/python-u-msgpack/Config.in"
package/python-typeguard/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_TYPEGUARD + bool "python-typeguard" + help + Run-time type checker for Python. + + https://github.com/agronholm/typeguard
package/python-typeguard/python-typeguard.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/typeguard/json +md5 22d49971f62f3baa3525349b1e03723d typeguard-2.13.3.tar.gz +sha256 00edaa8da3a133674796cf5ea87d9f4b4c367d77476e185e80251cc13dfbb8c4 typeguard-2.13.3.tar.gz +# Locally computed sha256 checksums +sha256 6163f7987dfb38d6bc320ce2b70b2f02b862bc41126516d552ef1cd43247e758 LICENSE
package/python-typeguard/python-typeguard.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# python-typeguard +# +################################################################################ + +PYTHON_TYPEGUARD_VERSION = 2.13.3 +PYTHON_TYPEGUARD_SOURCE = typeguard-$(PYTHON_TYPEGUARD_VERSION).tar.gz +PYTHON_TYPEGUARD_SITE = https://files.pythonhosted.org/packages/3a/38/c61bfcf62a7b572b5e9363a802ff92559cb427ee963048e1442e3aef7490 +PYTHON_TYPEGUARD_SETUP_TYPE = setuptools +PYTHON_TYPEGUARD_LICENSE = MIT +PYTHON_TYPEGUARD_LICENSE_FILES = LICENSE +PYTHON_TYPEGUARD_DEPENDENCIES = host-python-setuptools-scm + +$(eval $(python-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/4 package/python-mypy-extensions: new package
--- package/Config.in | 1 + package/python-mypy-extensions/Config.in | 7 +++++++ .../python-mypy-extensions.hash | 5 +++++ .../python-mypy-extensions.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-mypy-extensions/Config.in create mode 100644 package/python-mypy-extensions/python-mypy-extensions.hash create mode 100644 package/python-mypy-extensions/python-mypy-extensions.mk
package/Config.in +1 -0
@@ -1105,6 +1105,7 @@ menu "External python modules" source "package/python-mwclient/Config.in" source "package/python-mwscrape/Config.in" source "package/python-mwscrape2slob/Config.in" + source "package/python-mypy-extensions/Config.in" source "package/python-nested-dict/Config.in" source "package/python-netaddr/Config.in" source "package/python-netifaces/Config.in"
package/python-mypy-extensions/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_MYPY_EXTENSIONS + bool "python-mypy-extensions" + help + Experimental type system extensions for programs checked + with the mypy typechecker. + + https://github.com/python/mypy_extensions
package/python-mypy-extensions/python-mypy-extensions.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/mypy_extensions/json +md5 4163ff73d0db8631c0a78bb55b551c84 mypy_extensions-0.4.3.tar.gz +sha256 2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8 mypy_extensions-0.4.3.tar.gz +# Locally computed sha256 checksums +sha256 a50450da1d53cd777b80ced77c58ff96abe0ccd879706bd142c3ec20e245f0b4 LICENSE
package/python-mypy-extensions/python-mypy-extensions.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-mypy-extensions +# +################################################################################ + +PYTHON_MYPY_EXTENSIONS_VERSION = 0.4.3 +PYTHON_MYPY_EXTENSIONS_SOURCE = mypy_extensions-$(PYTHON_MYPY_EXTENSIONS_VERSION).tar.gz +PYTHON_MYPY_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/63/60/0582ce2eaced55f65a4406fc97beba256de4b7a95a0034c6576458c6519f +PYTHON_MYPY_EXTENSIONS_SETUP_TYPE = setuptools +PYTHON_MYPY_EXTENSIONS_LICENSE = MIT +PYTHON_MYPY_EXTENSIONS_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/4 package/python-typing-inspect: new package
In reply to James Hilliard--- package/Config.in | 1 + package/python-typing-inspect/Config.in | 7 +++++++ .../python-typing-inspect.hash | 5 +++++ .../python-typing-inspect/python-typing-inspect.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-typing-inspect/Config.in create mode 100644 package/python-typing-inspect/python-typing-inspect.hash create mode 100644 package/python-typing-inspect/python-typing-inspect.mk
package/Config.in +1 -0
@@ -1268,6 +1268,7 @@ menu "External python modules" source "package/python-typeguard/Config.in" source "package/python-typepy/Config.in" source "package/python-typing-extensions/Config.in" + source "package/python-typing-inspect/Config.in" source "package/python-u-msgpack/Config.in" source "package/python-ubjson/Config.in" source "package/python-ujson/Config.in"
package/python-typing-inspect/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_TYPING_INSPECT + bool "python-typing-inspect" + select BR2_PACKAGE_PYTHON_MYPY_EXTENSIONS # runtime + help + Runtime inspection utilities for typing module. + + https://github.com/ilevkivskyi/typing_inspect
package/python-typing-inspect/python-typing-inspect.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/typing-inspect/json +md5 1444feceb8213bd94cfece3c6d4ffc5c typing_inspect-0.7.1.tar.gz +sha256 047d4097d9b17f46531bf6f014356111a1b6fb821a24fe7ac909853ca2a782aa typing_inspect-0.7.1.tar.gz +# Locally computed sha256 checksums +sha256 f9d3567d00ca2337f769fb28c553cc590213ecefed4ed599110c10ded2ea0117 LICENSE
package/python-typing-inspect/python-typing-inspect.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-typing-inspect +# +################################################################################ + +PYTHON_TYPING_INSPECT_VERSION = 0.7.1 +PYTHON_TYPING_INSPECT_SOURCE = typing_inspect-$(PYTHON_TYPING_INSPECT_VERSION).tar.gz +PYTHON_TYPING_INSPECT_SITE = https://files.pythonhosted.org/packages/c3/da/864ce66818e308b38209d4b1ef0585921d28eb07621ba7d905a0e96bcc80 +PYTHON_TYPING_INSPECT_SETUP_TYPE = setuptools +PYTHON_TYPING_INSPECT_LICENSE = MIT +PYTHON_TYPING_INSPECT_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/4 package/python-flask-jsonrpc: bump to version 2.2.1
In reply to James HilliardAdd new python-typeguard and python-typing-inspect runtime dependencies.
Add a patch to remove invalid setup_requires.
--- ...-Move-pytest-runner-to-tests_require.patch | 32 +++++++++++++++++++ package/python-flask-jsonrpc/Config.in | 5 +-- .../python-flask-jsonrpc.hash | 11 ++++--- .../python-flask-jsonrpc.mk | 6 ++-- 4 files changed, 44 insertions(+), 10 deletions(-) create mode 100644 package/python-flask-jsonrpc/0001-Move-pytest-runner-to-tests_require.patch
package/python-flask-jsonrpc/0001-Move-pytest-runner-to-tests_require.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 8f07768085fa4c8d21dbe27805b7238e67d3aea5 Mon Sep 17 00:00:00 2001 +From: James Hilliard <[email protected]> +Date: Tue, 17 May 2022 15:52:58 -0600 +Subject: [PATCH] Move pytest-runner to tests_require + +This isn't a build requirement so it shouldn't be under +setup_requires. + +Signed-off-by: James Hilliard <[email protected]> +[Upstream status: +https://github.com/cenobites/flask-jsonrpc/pull/227] +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 197d6c9..f23c472 100755 +--- a/setup.py ++++ b/setup.py +@@ -42,8 +42,8 @@ setuptools.setup( + 'async': ['Flask[async]>=1.0.0,<3.0'], + 'dotenv': ['Flask[dotenv]>=1.0.0,<3.0'], + }, +- setup_requires=['pytest-runner'], + tests_require=[ ++ 'pytest-runner', + 'mock==4.0.3', + 'coverage==6.3.2;python_version>"3.6"', + 'coverage<6.2;python_version<="3.6"', +-- +2.36.0 +
package/python-flask-jsonrpc/Config.in +3 -2
@@ -1,7 +1,8 @@ config BR2_PACKAGE_PYTHON_FLASK_JSONRPC bool "python-flask-jsonrpc" - # runtime dependency - select BR2_PACKAGE_PYTHON_FLASK + select BR2_PACKAGE_PYTHON_FLASK # runtime + select BR2_PACKAGE_PYTHON_TYPEGUARD # runtime + select BR2_PACKAGE_PYTHON_TYPING_INSPECT # runtime help A basic JSON-RPC implementation for your Flask-powered sites.
package/python-flask-jsonrpc/python-flask-jsonrpc.hash +6 -5
@@ -1,5 +1,6 @@ -# md5 from https://pypi.python.org/pypi/flask-jsonrpc/json -md5 5c0592f53b2f18e34d5be435acee8842 Flask-JSONRPC-0.3.1.tar.gz -# Locally computed -sha256 4d0cc9c20874093306af91f5a48009fb8659a041428dcdb11703598ffbbc97d0 Flask-JSONRPC-0.3.1.tar.gz -sha256 f613b06cbe766fd514b1b619a71a12c353cccaa55fa4f547be55563d9829be6f setup.py +# md5, sha256 from https://pypi.org/pypi/flask-jsonrpc/json +md5 f2b7bf5222f3aaf050f396522d7f692d Flask-JSONRPC-2.2.1.tar.gz +sha256 f994f8dd80bf31cf7272eb1a3030c6caf30fef3ced5866e66b56871d4047be68 Flask-JSONRPC-2.2.1.tar.gz +# Locally computed sha256 checksums +sha256 5e6175926ba7dde28c7d292a8b0350aa82c40a8c5691a878fe02b0c9c6b43b39 LICENSE +sha256 5e6175926ba7dde28c7d292a8b0350aa82c40a8c5691a878fe02b0c9c6b43b39 COPYING
package/python-flask-jsonrpc/python-flask-jsonrpc.mk +3 -3
@@ -4,11 +4,11 @@ # ################################################################################ -PYTHON_FLASK_JSONRPC_VERSION = 0.3.1 +PYTHON_FLASK_JSONRPC_VERSION = 2.2.1 PYTHON_FLASK_JSONRPC_SOURCE = Flask-JSONRPC-$(PYTHON_FLASK_JSONRPC_VERSION).tar.gz -PYTHON_FLASK_JSONRPC_SITE = https://pypi.python.org/packages/cb/1f/e6d66e8498609ba04bac76155b2ea884df95531e93501bf4ef009d40a83c +PYTHON_FLASK_JSONRPC_SITE = https://files.pythonhosted.org/packages/ca/2a/3f2bd79840d9643fc909cf27f730b2c5006351746ba09c4dab1b898ddee9 PYTHON_FLASK_JSONRPC_LICENSE = BSD-3-Clause -PYTHON_FLASK_JSONRPC_LICENSE_FILES = setup.py +PYTHON_FLASK_JSONRPC_LICENSE_FILES = LICENSE COPYING PYTHON_FLASK_JSONRPC_SETUP_TYPE = setuptools $(eval $(python-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · On Tue, 17 May 2022 15:59:30 -0600 James Hilliard <[email protected]>…
Signed-off-by James Hilliard <[email protected]>--- package/Config.in | 1 + package/python-typeguard/Config.in | 6 ++++++ package/python-typeguard/python-typeguard.hash | 5 +++++ package/python-typeguard/python-typeguard.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-typeguard/Config.in create mode 100644 package/python-typeguard/python-typeguard.hash create mode 100644 package/python-typeguard/python-typeguard.mk
Series applied, thanks. However, you had forgotten to add yourself in the DEVELOPERS for the 3 new packages, so I have done so. Could you try to remember for your next new packages to do that?
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
Quoted 15 lines · Thomas Petazzoni
Quoted 10 lines · On Tue, 17 May 2022 15:59:30 -0600 James Hilliard <[email protected]>…
Signed-off-by James Hilliard <[email protected]>--- package/Config.in | 1 + package/python-typeguard/Config.in | 6 ++++++ package/python-typeguard/python-typeguard.hash | 5 +++++ package/python-typeguard/python-typeguard.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-typeguard/Config.in create mode 100644 package/python-typeguard/python-typeguard.hash create mode 100644 package/python-typeguard/python-typeguard.mk
Quoted 3 lines
Series applied, thanks. However, you had forgotten to add yourself in the DEVELOPERS for the 3 new packages, so I have done so. Could you try to remember for your next new packages to do that?
Oh, I don't actually use these packages, they are just need to fix python-flask-jsonrpc
that got broken by an update for a package I do use(pyyaml) so I was just fixing the
pyyaml update breakage essentially by adding them and updating python-flask-jsonrpc:
https://lore.kernel.org/buildroot/CADvTj4rxnoRp-ZZPhfB2ANhw3+294F97A2smcmhULR4WfDsqrg@mail.gmail.com/
https://patchwork.ozlabs.org/project/buildroot/list/?series=300745&submitter=&state=*&q=&archive=both&delegate=
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
Quoted 23 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"James" == James Hilliard <[email protected]> writes:
Quoted 15 lines · Thomas Petazzoni
Quoted 10 lines · On Tue, 17 May 2022 15:59:30 -0600 James Hilliard <[email protected]>…
Signed-off-by James Hilliard <[email protected]>--- package/Config.in | 1 + package/python-typeguard/Config.in | 6 ++++++ package/python-typeguard/python-typeguard.hash | 5 +++++ package/python-typeguard/python-typeguard.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-typeguard/Config.in create mode 100644 package/python-typeguard/python-typeguard.hash create mode 100644 package/python-typeguard/python-typeguard.mkQuoted 3 lines
Series applied, thanks. However, you had forgotten to add yourself in the DEVELOPERS for the 3 new packages, so I have done so. Could you try to remember for your next new packages to do that?
Quoted 8 lines
Oh, I don't actually use these packages, they are just need to fix python-flask-jsonrpc
that got broken by an update for a package I do use(pyyaml) so I was just fixing the
pyyaml update breakage essentially by adding them and updating python-flask-jsonrpc:
https://lore.kernel.org/buildroot/CADvTj4rxnoRp-ZZPhfB2ANhw3+294F97A2smcmhULR4WfDsqrg@mail.gmail.com/
https://patchwork.ozlabs.org/project/buildroot/list/?series=300745&submitter=&state=*&q=&archive=both&delegate=
What is the version dependency between pyyaml and python-flask-jsonrpc exactly? Do we need to backport any of this to 2022.02.x / 2022.05.x?
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 33 lines · Peter Korsgaard
Quoted 24 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
"James" == James Hilliard <[email protected]> writes:
Quoted 15 lines · Thomas Petazzoni
Quoted 10 lines · On Tue, 17 May 2022 15:59:30 -0600 James Hilliard <[email protected]>…
Signed-off-by James Hilliard <[email protected]>--- package/Config.in | 1 + package/python-typeguard/Config.in | 6 ++++++ package/python-typeguard/python-typeguard.hash | 5 +++++ package/python-typeguard/python-typeguard.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-typeguard/Config.in create mode 100644 package/python-typeguard/python-typeguard.hash create mode 100644 package/python-typeguard/python-typeguard.mkQuoted 3 lines
Series applied, thanks. However, you had forgotten to add yourself in the DEVELOPERS for the 3 new packages, so I have done so. Could you try to remember for your next new packages to do that?
Quoted 8 lines
Oh, I don't actually use these packages, they are just need to fix python-flask-jsonrpc
that got broken by an update for a package I do use(pyyaml) so I was just fixing the
pyyaml update breakage essentially by adding them and updating python-flask-jsonrpc:
https://lore.kernel.org/buildroot/CADvTj4rxnoRp-ZZPhfB2ANhw3+294F97A2smcmhULR4WfDsqrg@mail.gmail.com/
https://patchwork.ozlabs.org/project/buildroot/list/?series=300745&submitter=&state=*&q=&archive=both&delegate=
Quoted 2 lines
What is the version dependency between pyyaml and python-flask-jsonrpc exactly? Do we need to backport any of this to 2022.02.x / 2022.05.x?
Hmm, looks like I mixed up pyyaml with jinja2:
https://lore.kernel.org/buildroot/[email protected]/
What's weird is that it apparently only broke when bumping to 3.1.2:
https://github.com/buildroot/buildroot/commit/4b931400a27cab4aeebbadc0caca55d41300c739
However based on the flask 1.1.4 jinja requirement:
https://github.com/pallets/flask/blob/1.1.4/setup.py#L57
I would have expected it to break when we bumped to 3.0.2:
https://github.com/buildroot/buildroot/commit/873dc46faf204439da1adc9deed5102cdc522f41
So it looks to me like all the flask bumps should be applied to 2022.02.x and 2022.05.x as flask 1.1.4 AFAIU is supposed to be incompatible with any jinja versions above 3.0.
Quoted 3 lines
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot