Skip to contentSkip to conversation

python3-regex: Upgrade 2020.7.14 -> 2020.9.27

PATCH In review Leon Anavi 2 participants 4 messages Sep 29, 2020 – Sep 30, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 python3-regex: Upgrade 2020.7.14 -> 2020.9.27

Upgrade to release 2020.9.27:

- Fix Memory Error - regex.findall. The problem was caused by a lazy repeat looping forever, growing the backtracking stack. Greedy repeats were OK.

---
 ...{python3-regex_2020.7.14.bb => python3-regex_2020.9.27.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-regex_2020.7.14.bb => python3-regex_2020.9.27.bb} (68%)
meta-python/recipes-devtools/python/python3-regex_2020.9.27.bb renamed from meta-python/recipes-devtools/python/python3-regex_2020.7.14.bb +2 -2
similarity index 68%
rename from meta-python/recipes-devtools/python/python3-regex_2020.7.14.bb
rename to meta-python/recipes-devtools/python/python3-regex_2020.9.27.bb
index 5c608c989f..fb891f8716 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=ee7987010dadc17745
 
 inherit pypi setuptools3
 
-SRC_URI[md5sum] = "c3a53929c3797289566368be4b6b964a"
-SRC_URI[sha256sum] = "3a3af27a8d23143c49a3420efe5b3f8cf1a48c6fc8bc6856b03f638abc1833bb"
+SRC_URI[md5sum] = "195f5e867e9f87a39f921ad0e5761a61"
+SRC_URI[sha256sum] = "a6f32aea4260dfe0e55dc9733ea162ea38f0ea86aa7d0f77b15beac5bf7b369d"
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 python3-djangorestframework: Upgrade 3.11.1 -> 3.12.1

Upgrade to release 3.12.1:

- Add --file option to generateschema command.
- Support tags for OpenAPI schema generation. See the schema docs.
- Support customising the operation ID for schema generation. See the schema docs.
- Support OpenAPI components for schema generation. See the schema docs.
- The following methods on AutoSchema become public API:
get_path_parameters, get_pagination_parameters, get_filter_parameters, get_request_body, get_responses, get_serializer, get_paginator, map_serializer, map_field, map_choice_field, map_field_validators, allows_filters. See the schema docs.
- Add support for Django 3.1's database-agnositic JSONField.
- SearchFilter now supports nested search on JSONField and HStoreField model fields.
- SearchFilter now supports searching on annotate() fields.
- The authtoken model no longer exposes the pk in the admin URL.
- Add __repr__ for Request instances.
- UTF-8 decoding with Latin-1 fallback for basic auth credentials.
- CharField treats surrogate characters as a validation failure.
- Don't include callables as default values in schemas.
- Improve ListField schema output to include all available child information.
- Allow default=False to be included for BooleanField schema outputs.
- Include "type" information in ChoiceField schema outputs.
- Include "type": "object" on schema objects.
- Don't include component in schema output for DELETE requests.
- Fix schema types for DecimalField.
- Fix schema generation for ObtainAuthToken view.
- Support passing context=... to view .get_serializer() methods.
- Pass custom code to PermissionDenied if permission class has one set.
- Include "example" in schema pagination output.
- Default status code of 201 on schema output for POST requests.
- Use camelCase for operation IDs in schema output.
- Warn if duplicate operation IDs exist in schema output.
- Improve handling of decimal type when mapping ChoiceField to a schema output.
- Disable YAML aliases for OpenAPI schema outputs.
- Fix action URL names for APIs included under a namespaced URL.
- Update jQuery version from 3.4 to 3.5.
- Fix UniqueTogether handling when serializer fields use source=....
- HTTP HEAD requests now set self.action correctly on a ViewSet instance.
- Return a valid OpenAPI schema for the case where no API schema paths exist.
- Include tests in package distribution.
- Allow type checkers to support annotations like ModelSerializer[Author].
- Don't include invalid charset=None portion in the request Content-Type header when using APIClient.
- Fix \Z/\z tokens in OpenAPI regexs.
- Fix PrimaryKeyRelatedField and HyperlinkedRelatedField when source field is actually a property.
- Token.generate_key is now a class method.
- @action warns if method is wrapped in a decorator that does not preserve information using @functools.wraps.
- Add TokenProxy migration.

---
 ...mework_3.11.1.bb => python3-djangorestframework_3.12.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-djangorestframework_3.11.1.bb => python3-djangorestframework_3.12.1.bb} (71%)
meta-python/recipes-devtools/python/python3-djangorestframework_3.12.1.bb renamed from meta-python/recipes-devtools/python/python3-djangorestframework_3.11.1.bb +2 -2
similarity index 71%
rename from meta-python/recipes-devtools/python/python3-djangorestframework_3.11.1.bb
rename to meta-python/recipes-devtools/python/python3-djangorestframework_3.12.1.bb
index 81f55ff9e7..60bdbaa9ec 100644
@@ -5,8 +5,8 @@ HOMEPAGE = "https://pypi.python.org/pypi/djangorestframework"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=7879a5a716147a784f7e524c9cf103c1"
 
-SRC_URI[md5sum] = "c8ea3e4c3c0d705acf70184faeb2b696"
-SRC_URI[sha256sum] = "6dd02d5a4bd2516fb93f80360673bf540c3b6641fec8766b1da2870a5aa00b32"
+SRC_URI[md5sum] = "47d5ea46923a131c5fbefeb610c6ce2c"
+SRC_URI[sha256sum] = "d54452aedebb4b650254ca092f9f4f5df947cb1de6ab245d817b08b4f4156249"
 PYPI_PACKAGE = "djangorestframework"
 
 inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 2/2
#2 lore raw

Re: [oe] [meta-python][PATCH 2/2] python3-djangorestframework: Upgrade 3.11.1 -> 3.12.1

Quoted 63 lines · Leon Anavi

Upgrade to release 3.12.1:

- Add --file option to generateschema command.
- Support tags for OpenAPI schema generation. See the schema docs.
- Support customising the operation ID for schema generation. See the schema docs.
- Support OpenAPI components for schema generation. See the schema docs.
- The following methods on AutoSchema become public API:
get_path_parameters, get_pagination_parameters, get_filter_parameters, get_request_body, get_responses, get_serializer, get_paginator, map_serializer, map_field, map_choice_field, map_field_validators, allows_filters. See the schema docs.
- Add support for Django 3.1's database-agnositic JSONField.
- SearchFilter now supports nested search on JSONField and HStoreField model fields.
- SearchFilter now supports searching on annotate() fields.
- The authtoken model no longer exposes the pk in the admin URL.
- Add __repr__ for Request instances.
- UTF-8 decoding with Latin-1 fallback for basic auth credentials.
- CharField treats surrogate characters as a validation failure.
- Don't include callables as default values in schemas.
- Improve ListField schema output to include all available child information.
- Allow default=False to be included for BooleanField schema outputs.
- Include "type" information in ChoiceField schema outputs.
- Include "type": "object" on schema objects.
- Don't include component in schema output for DELETE requests.
- Fix schema types for DecimalField.
- Fix schema generation for ObtainAuthToken view.
- Support passing context=... to view .get_serializer() methods.
- Pass custom code to PermissionDenied if permission class has one set.
- Include "example" in schema pagination output.
- Default status code of 201 on schema output for POST requests.
- Use camelCase for operation IDs in schema output.
- Warn if duplicate operation IDs exist in schema output.
- Improve handling of decimal type when mapping ChoiceField to a schema output.
- Disable YAML aliases for OpenAPI schema outputs.
- Fix action URL names for APIs included under a namespaced URL.
- Update jQuery version from 3.4 to 3.5.
- Fix UniqueTogether handling when serializer fields use source=....
- HTTP HEAD requests now set self.action correctly on a ViewSet instance.
- Return a valid OpenAPI schema for the case where no API schema paths exist.
- Include tests in package distribution.
- Allow type checkers to support annotations like ModelSerializer[Author].
- Don't include invalid charset=None portion in the request Content-Type header when using APIClient.
- Fix \Z/\z tokens in OpenAPI regexs.
- Fix PrimaryKeyRelatedField and HyperlinkedRelatedField when source field is actually a property.
- Token.generate_key is now a class method.
- @action warns if method is wrapped in a decorator that does not preserve information using @functools.wraps.
- Add TokenProxy migration.

Quoted 1 line
Quoted 26 lines
---
  ...mework_3.11.1.bb => python3-djangorestframework_3.12.1.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-djangorestframework_3.11.1.bb => python3-djangorestframework_3.12.1.bb} (71%)

meta-python/recipes-devtools/python/python3-djangorestframework_3.12.1.bb renamed from meta-python/recipes-devtools/python/python3-djangorestframework_3.11.1.bb +2 -2
similarity index 71%
rename from meta-python/recipes-devtools/python/python3-djangorestframework_3.11.1.bb
rename to meta-python/recipes-devtools/python/python3-djangorestframework_3.12.1.bb
index 81f55ff9e7..60bdbaa9ec 100644
@@ -5,8 +5,8 @@ HOMEPAGE = "https://pypi.python.org/pypi/djangorestframework"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE.md;md5=7879a5a716147a784f7e524c9cf103c1"
 
-SRC_URI[md5sum] = "c8ea3e4c3c0d705acf70184faeb2b696"
-SRC_URI[sha256sum] = "6dd02d5a4bd2516fb93f80360673bf540c3b6641fec8766b1da2870a5aa00b32"
+SRC_URI[md5sum] = "47d5ea46923a131c5fbefeb610c6ce2c"
+SRC_URI[sha256sum] = "d54452aedebb4b650254ca092f9f4f5df947cb1de6ab245d817b08b4f4156249"
  PYPI_PACKAGE = "djangorestframework"
 
  inherit pypi setuptools3
Acked-by on v1 1/2
#3 lore raw
In reply to Leon Anavi
Quoted 7 lines · Leon Anavi

Upgrade to release 2020.9.27:

- Fix Memory Error - regex.findall. The problem was caused by a lazy repeat looping forever, growing the backtracking stack. Greedy repeats were OK.

Quoted 25 lines
---
  ...{python3-regex_2020.7.14.bb => python3-regex_2020.9.27.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-regex_2020.7.14.bb => python3-regex_2020.9.27.bb} (68%)

meta-python/recipes-devtools/python/python3-regex_2020.9.27.bb renamed from meta-python/recipes-devtools/python/python3-regex_2020.7.14.bb +2 -2
similarity index 68%
rename from meta-python/recipes-devtools/python/python3-regex_2020.7.14.bb
rename to meta-python/recipes-devtools/python/python3-regex_2020.9.27.bb
index 5c608c989f..fb891f8716 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=ee7987010dadc17745
 
  inherit pypi setuptools3
 
-SRC_URI[md5sum] = "c3a53929c3797289566368be4b6b964a"
-SRC_URI[sha256sum] = "3a3af27a8d23143c49a3420efe5b3f8cf1a48c6fc8bc6856b03f638abc1833bb"
+SRC_URI[md5sum] = "195f5e867e9f87a39f921ad0e5761a61"
+SRC_URI[sha256sum] = "a6f32aea4260dfe0e55dc9733ea162ea38f0ea86aa7d0f77b15beac5bf7b369d"
 
  BBCLASSEXTEND = "native nativesdk"