Skip to contentSkip to conversation

python3-flask-migrate: Upgrade 2.7.0 -> 3.0.0

PATCH New Leon Anavi 1 participant 7 messages May 26, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/7 python3-flask-migrate: Upgrade 2.7.0 -> 3.0.0

Upgrade to release 3.0.0:

- Remove support for Flask-Script
- Use unittest testrunner
- Remove dependency on six package
- Added sphinx build files to .gitignore file
- Fix Sphinx warning

---
 ...n3-flask-migrate_2.7.0.bb => python3-flask-migrate_3.0.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-flask-migrate_2.7.0.bb => python3-flask-migrate_3.0.0.bb} (79%)
meta-python/recipes-devtools/python/python3-flask-migrate_3.0.0.bb renamed from meta-python/recipes-devtools/python/python3-flask-migrate_2.7.0.bb +1 -1
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-flask-migrate_2.7.0.bb
rename to meta-python/recipes-devtools/python/python3-flask-migrate_3.0.0.bb
index 1bf0dfa80..8f84e0597 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "SQLAlchemy database migrations for Flask applications using Alemb
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85"
 
-SRC_URI[sha256sum] = "ae2f05671588762dd83a21d8b18c51fe355e86783e24594995ff8d7380dffe38"
+SRC_URI[sha256sum] = "a6607e66bf1d68489b2281ead5caa6fdf7a21b71984fae922ef5f915ac45bbcb"
 
 PYPI_PACKAGE = "Flask-Migrate"
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/7 python3-flask: Upgrade 1.1.2 -> 2.0.1

Upgrade to release 2.0.1:

- Re-add the filename parameter in send_from_directory. The filename parameter has been renamed to path, the old name is deprecated.
- Mark top-level names as exported so type checking understands imports in user projects.
- Fix type annotation for g and inform mypy that it is a namespace object that has arbitrary attributes.
- Fix some types that weren’t available in Python 3.6.0.
- Improve typing for send_file, send_from_directory, and get_send_file_max_age.
- Show an error when a blueprint name contains a dot. The . has special meaning, it is used to separate (nested) blueprint names and the endpoint name.
- Combine URL prefixes when nesting blueprints that were created with a url_prefix value.
- Roll back a change to the order that URL matching was done. The URL is again matched after the session is loaded, so the session is available in custom URL converters.
- Re-add deprecated Config.from_json, which was accidentally removed early.
- Improve typing for some functions using Callable in their type signatures, focusing on decorator factories.
- Nested blueprints are registered with their dotted name. This allows different blueprints with the same name to be nested at different locations.
- register_blueprint takes a name option to change the (pre-dotted) name the blueprint is registered with. This allows the same blueprint to be registered multiple times with unique names for url_for. Registering the same blueprint with the same name multiple times is deprecated. #1091
- Improve typing for stream_with_context.

---
 .../python/{python3-flask_1.1.2.bb => python3-flask_2.0.1.bb}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-flask_1.1.2.bb => python3-flask_2.0.1.bb} (79%)
meta-python/recipes-devtools/python/python3-flask_2.0.1.bb renamed from meta-python/recipes-devtools/python/python3-flask_1.1.2.bb +1 -2
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-flask_1.1.2.bb
rename to meta-python/recipes-devtools/python/python3-flask_2.0.1.bb
index 23799617f..2c94f82da 100644
@@ -6,8 +6,7 @@ HOMEPAGE = "https://github.com/mitsuhiko/flask/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
 
-SRC_URI[md5sum] = "0da4145d172993cd28a6c619630cc19c"
-SRC_URI[sha256sum] = "4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060"
+SRC_URI[sha256sum] = "1c4c257b1892aec1398784c63791cbaa43062f1f7aeb555c4da961b20ee68f55"
 
 PYPI_PACKAGE = "Flask"
 
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH 3/7 python3-flask-wtf: Upgrade 0.14.3 -> 0.15.1

In reply to Leon Anavi

Upgrade to release 0.15.1:

- Add python_requires metadata to avoid installing on unsupported Python versions.
- Drop support for Python < 3.6.
- FileSize validator.
- Extra requirement email installs the email_validator package.
- Fixed Flask 2.0 warnings.
- Various documentation fixes.
- Various CI fixes.

---
 ...python3-flask-wtf_0.14.3.bb => python3-flask-wtf_0.15.1.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-flask-wtf_0.14.3.bb => python3-flask-wtf_0.15.1.bb} (70%)
meta-python/recipes-devtools/python/python3-flask-wtf_0.15.1.bb renamed from meta-python/recipes-devtools/python/python3-flask-wtf_0.14.3.bb +1 -2
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-flask-wtf_0.14.3.bb
rename to meta-python/recipes-devtools/python/python3-flask-wtf_0.15.1.bb
index 213a0b58b..84b2a9e27 100644
@@ -2,8 +2,7 @@ DESCRIPTION = "Simple integration of Flask and WTForms."
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3ca6bb31670492f791e6a9f2fb9f8a80"
 
-SRC_URI[md5sum] = "1b60b7dd1245b0d0173c21123717af61"
-SRC_URI[sha256sum] = "d417e3a0008b5ba583da1763e4db0f55a1269d9dd91dcc3eb3c026d3c5dbd720"
+SRC_URI[sha256sum] = "ff177185f891302dc253437fe63081e7a46a4e99aca61dfe086fb23e54fff2dc"
 
 PYPI_PACKAGE = "Flask-WTF"
 
Signature · 1 line
2.17.1
author
#3 lore raw

PATCH 4/7 python3-flask-socketio: Upgrade 5.0.1 -> 5.0.3

In reply to Leon Anavi

Upgrade to release 5.0.3:

- Document the use of simple-websocket with the development web server
- Show transport in example apps
- Added Open Collective funding option

---
 ...-flask-socketio_5.0.1.bb => python3-flask-socketio_5.0.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-flask-socketio_5.0.1.bb => python3-flask-socketio_5.0.3.bb} (81%)
meta-python/recipes-devtools/python/python3-flask-socketio_5.0.3.bb renamed from meta-python/recipes-devtools/python/python3-flask-socketio_5.0.1.bb +1 -1
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-flask-socketio_5.0.1.bb
rename to meta-python/recipes-devtools/python/python3-flask-socketio_5.0.3.bb
index 4c5d0a3fb..5def7621e 100644
@@ -9,7 +9,7 @@ inherit pypi setuptools3
 
 PYPI_PACKAGE = "Flask-SocketIO"
 
-SRC_URI[sha256sum] = "5c4319f5214ada20807857dc8fdf3dc7d2afe8d6dd38f5c516c72e2be47d2227"
+SRC_URI[sha256sum] = "4fb968c43bc384f184cd1a25c1842297c2e3d6efc2f755a61be6d4406858220f"
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-flask \
Signature · 1 line
2.17.1
author
#4 lore raw

PATCH 5/7 python3-werkzeug: Upgrade 1.0.1 -> 2.0.1

In reply to Leon Anavi

Upgrade to release 2.0.1:

- Fix type annotation for send_file max_age callable. Don't pass pathlib.Path to max_age.
- Mark top-level names as exported so type checking understands imports in user projects.
- Fix some types that weren't available in Python 3.6.0.
- cached_property is generic over its return type, properties decorated with it report the correct type.
- Fix multipart parsing bug when boundary contains special regex characters.
- Type checking understands that calling headers.get with a string default will always return a string.
- If HTTPException.description is not a string, get_description will convert it to a string.

---
 .../{python3-werkzeug_1.0.1.bb => python3-werkzeug_2.0.1.bb}   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-werkzeug_1.0.1.bb => python3-werkzeug_2.0.1.bb} (89%)
meta-python/recipes-devtools/python/python3-werkzeug_2.0.1.bb renamed from meta-python/recipes-devtools/python/python3-werkzeug_1.0.1.bb +1 -2
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-werkzeug_1.0.1.bb
rename to meta-python/recipes-devtools/python/python3-werkzeug_2.0.1.bb
index 8af0fef60..1653eeabd 100644
@@ -12,8 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
 
 PYPI_PACKAGE = "Werkzeug"
 
-SRC_URI[md5sum] = "5d499cfdd30de5d9c946994783772efd"
-SRC_URI[sha256sum] = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"
+SRC_URI[sha256sum] = "1de1db30d010ff1af14a009224ec49ab2329ad2cde454c8a708130642d579c42"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
author
#5 lore raw

PATCH 6/7 python3-bidict: Add recipe

In reply to Leon Anavi

Add bidict, the bidirectional mapping library for Python.

---
 .../recipes-devtools/python/python3-bidict_0.21.2.bb  | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-bidict_0.21.2.bb
meta-python/recipes-devtools/python/python3-bidict_0.21.2.bb new file +11 -0
new file mode 100644
index 000000000..237bd2a63
@@ -0,0 +1,11 @@
+SUMMARY = "The bidirectional mapping library for Python."
+DESCRIPTION = "The bidirectional mapping library for Python."
+HOMEPAGE = "https://bidict.readthedocs.io/"
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
+
+SRC_URI[sha256sum] = "4fa46f7ff96dc244abfc437383d987404ae861df797e2fd5b190e233c302be09"
+
+inherit pypi setuptools3
+
+DEPENDS += "python3-setuptools-scm-native"
Signature · 1 line
2.17.1
author
#6 lore raw

PATCH 7/7 python3-socketio: Upgrade 5.1.0 -> 5.3.0

In reply to Leon Anavi

Upgrade to release 5.3.0:

- Document WebSocket support for threading mode
- Allow functions to be used for URL, headers and auth data in client connection
- Emit events to multiple rooms
- More descriptive error when joining a room on a bad namespace
- Document the use of arguments in the connect_error handler
- Document that callbacks cannot be used in external processes
- Improve start_background_task() example in the documentation
- Added Open Collective funding option
- Remove Python 2 from PyPI classifiers

---
 .../{python3-socketio_5.1.0.bb => python3-socketio_5.3.0.bb}   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-socketio_5.1.0.bb => python3-socketio_5.3.0.bb} (86%)
meta-python/recipes-devtools/python/python3-socketio_5.3.0.bb renamed from meta-python/recipes-devtools/python/python3-socketio_5.1.0.bb +2 -1
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-socketio_5.1.0.bb
rename to meta-python/recipes-devtools/python/python3-socketio_5.3.0.bb
index 8cf6a96ba..4a9d3ebef 100644
@@ -9,7 +9,7 @@ inherit pypi setuptools3
 
 PYPI_PACKAGE = "python-socketio"
 
-SRC_URI[sha256sum] = "338cc29abb6f3ca14c88f1f8d05ed27c690df4648f62062b299f92625bbf7093"
+SRC_URI[sha256sum] = "3dcc9785aaeef3a9eeb36c3818095662342744bdcdabd050fe697cdb826a1c2b"
 
 PACKAGECONFIG ?= "asyncio_client client"
 PACKAGECONFIG[asyncio_client] = ",,,${PYTHON_PN}-aiohttp ${PYTHON_PN}-websockets"
@@ -24,4 +24,5 @@ RDEPENDS_${PN} += "\
     ${PYTHON_PN}-threading \
     ${PYTHON_PN}-six \
     ${PYTHON_PN}-attrs \
+    ${PYTHON_PN}-bidict \
     "
Signature · 1 line
2.17.1