Skip to contentSkip to conversation

python3-cerberus: Upgrade 1.3.2 -> 1.3.3

PATCH Superseded Leon Anavi 1 participant 7 messages Apr 12, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/7 python3-cerberus: Upgrade 1.3.2 -> 1.3.3

Minor code refactoring of the recipe and upgrade to release 1.3.3:

- Classes can be used as constraint for the type rule
- The abstract base classes of the standard library's collections.abc module are available as named types for the type rule
- Generic type aliases from the :mod:typing module can be used as constraints for the type rule, including parametrized ones a.k.a. compound types
- Support for Python 3.5 is removed.

---
 ...cerberus_1.3.2.bb => python3-cerberus_1.3.3.bb} | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cerberus_1.3.2.bb => python3-cerberus_1.3.3.bb} (66%)
meta-python/recipes-devtools/python/python3-cerberus_1.3.3.bb renamed from meta-python/recipes-devtools/python/python3-cerberus_1.3.2.bb +7 -7
similarity index 66%
rename from meta-python/recipes-devtools/python/python3-cerberus_1.3.2.bb
rename to meta-python/recipes-devtools/python/python3-cerberus_1.3.3.bb
index 61a76f5f6..fa0bbb0aa 100644
@@ -1,11 +1,11 @@
-# The PyPI package uses a capital letter so we have to specify this explicitly
-PYPI_PACKAGE = "Cerberus"
-
-inherit pypi setuptools3
-
 SUMMARY = "Lightweight, extensible schema and data validation tool for Python dictionaries."
+HOMEPAGE = "http://docs.python-cerberus.org/"
+SECTION = "devel/python"
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=48f8e9432d0dac5e0e7a18211a0bacdb"
 
-SRC_URI[md5sum] = "6e648b38b468617a06745d1e8a96c848"
-SRC_URI[sha256sum] = "302e6694f206dd85cb63f13fd5025b31ab6d38c99c50c6d769f8fa0b0f299589"
+# The PyPI package uses a capital letter so we have to specify this explicitly
+PYPI_PACKAGE = "Cerberus"
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "eec10585c33044fb7c69650bc5b68018dac0443753337e2b07684ee0f3c83329"
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/7 python3-humanize: Upgrade 3.3.0 -> 3.4.0

Upgrade to release 3.4.0:

- Add Catalan translation
- Add documentation and release notes to project_urls
- Fix tests for Python 3.10

---
 .../{python3-humanize_3.3.0.bb => python3-humanize_3.4.0.bb}   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-humanize_3.3.0.bb => python3-humanize_3.4.0.bb} (75%)
meta-python/recipes-devtools/python/python3-humanize_3.4.0.bb renamed from meta-python/recipes-devtools/python/python3-humanize_3.3.0.bb +2 -1
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-humanize_3.3.0.bb
rename to meta-python/recipes-devtools/python/python3-humanize_3.4.0.bb
index 3d54cf0c4..f9c22e891 100644
@@ -1,10 +1,11 @@
 SUMMARY = "Python humanize utilities"
 HOMEPAGE = "http://github.com/jmoiron/humanize"
+SECTION = "devel/python"
 
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d"
 
-SRC_URI[sha256sum] = "8bf7abd672b867f38b8b04593829b85b9b6199a61ef6586bf3629cc06458ff35"
+SRC_URI[sha256sum] = "096b9ae6d1d56321d3d81f17117c2068179d7b4f7f73ba4baf302726923b48ec"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH 3/7 python3-monotonic: Upgrade 1.5 -> 1.6

In reply to Leon Anavi

Upgrade to release 1.6:

- Fix order for converting mach absolute time

Get the source code from the git repository because an archive is not available in PyPI for this release.

---
 ...thon3-monotonic_1.5.bb => python3-monotonic_1.6.bb} | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-monotonic_1.5.bb => python3-monotonic_1.6.bb} (63%)
meta-python/recipes-devtools/python/python3-monotonic_1.6.bb renamed from meta-python/recipes-devtools/python/python3-monotonic_1.5.bb +7 -3
similarity index 63%
rename from meta-python/recipes-devtools/python/python3-monotonic_1.5.bb
rename to meta-python/recipes-devtools/python/python3-monotonic_1.6.bb
index 94b90524b..080c41e38 100644
@@ -1,9 +1,13 @@
 SUMMARY = "This module provides a monotonic() function which returns the value (in fractional seconds) of a clock which never goes backwards."
 HOMEPAGE = "https://github.com/atdt/monotonic"
+SECTION = "devel/python"
+
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
 
-SRC_URI[md5sum] = "9f81cb0e5966479754453dea2b6822f4"
-SRC_URI[sha256sum] = "23953d55076df038541e648a53676fb24980f7a1be290cdda21300b3bc21dfb0"
+SRCREV = "80681f6604e136e513550342f977edb98f5fc5ad"
+SRC_URI = "git://github.com/atdt/monotonic.git"
+
+S = "${WORKDIR}/git"
 
-inherit pypi setuptools3
+inherit setuptools3
Signature · 1 line
2.17.1
author
#3 lore raw

PATCH 4/7 python3-sqlalchemy: Upgrade 1.4.6 -> 1.4.7

In reply to Leon Anavi

Upgrade to release 1.4.7:

orm:

- Fixed regression where the subqueryload() loader strategy would fail to correctly accommodate sub-options, such as a defer() option on a column, if the “path” of the subqueryload were more than one level deep.
- Fixed regression where the merge_frozen_result() function relied upon by the dogpile.caching example was not included in tests and began failing due to incorrect internal arguments.
- Fixed critical regression where the Session could fail to "autobegin" a new transaction when a flush occurred without an existing transaction in place, implicitly placing the Session into legacy autocommit mode which commit the transaction. The Session now has a check that will prevent this condition from occurring, in addition to repairing the flush issue.
- Fixed regression where the ORM compilation scheme would assume the function name of a hybrid property would be the same as the attribute name in such a way that an AttributeError would be raised, when it would attempt to determine the correct name for each element in a result tuple.
- Fixed critical regression caused by the new feature added as part of #1763, eager loaders are invoked on unexpire operations. The new feature makes use of the "immediateload" eager loader strategy as a substitute for a collection loading strategy, which unlike the other “post-load” strategies was not accommodating for recursive invocations between mutually-dependent relationships, leading to recursion overflow errors.

engine:

- Fixed up the behavior of the Row object when dictionary access is used upon it, meaning converting to a dict via dict(row) or accessing members using strings or other objects i.e. row["some_key"] works as it would with a dictionary, rather than raising TypeError as would be the case with a tuple, whether or not the C extensions are in place

sql:

- Enhanced the "expanding" feature used for ColumnOperators.in_() operations to infer the type of expression from the right hand list of elements, if the left hand side does not have any explicit type set up. This allows the expression to support stringification among other things. In 1.3, "expanding" was not automatically used for ColumnOperators.in_() expressions, so in that sense this change fixes a behavioral regression.
- Fixed the "stringify" compiler to support a basic stringification of a "multirow" INSERT statement, i.e. one with multiple tuples following the VALUES keyword.

schema:

- Fixed regression where usage of a token in the Connection.execution_options.schema_translate_map dictionary which contained special characters such as braces would fail to be substituted properly. Use of square bracket characters [] is now explicitly disallowed as these are used as a delimiter character in the current implementation.

mypy:

- Fixed issue in Mypy plugin where the plugin wasn't inferring the correct type for columns of subclasses that don’t directly descend from TypeEngine, in particular that of TypeDecorator and UserDefinedType.

misc:

- Added a new flag to DefaultDialect called supports_schema; third party dialects may set this flag to True to enable SQLAlchemy's schema-level tests when running the test suite for a third party dialect.

---
 ...{python3-sqlalchemy_1.4.6.bb => python3-sqlalchemy_1.4.7.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-sqlalchemy_1.4.6.bb => python3-sqlalchemy_1.4.7.bb} (85%)
meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.7.bb renamed from meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.6.bb +1 -1
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.6.bb
rename to meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.7.bb
index 4d5aa33d1..883b2660b 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.sqlalchemy.org/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3359ed561ac16aaa25b6c6eff84df595"
 
-SRC_URI[sha256sum] = "193c3ca465fbc68de071995a461ab535466f041089d372ee6a6f0aae7b9307e6"
+SRC_URI[sha256sum] = "84115f97d88c8ccf26db81b7997c5f5de9ae360e0785ef859d0987794495f0a9"
 
 PYPI_PACKAGE = "SQLAlchemy"
 inherit pypi setuptools3
Signature · 1 line
2.17.1
author
#4 lore raw

PATCH 5/7 python3-typed-ast: Upgrade 1.4.2 -> 1.4.3

In reply to Leon Anavi

Upgrade to release 1.4.3:

- Fix compilation on python 3.10
- Add Python 3.10 classifier

---
 .../{python3-typed-ast_1.4.2.bb => python3-typed-ast_1.4.3.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-typed-ast_1.4.2.bb => python3-typed-ast_1.4.3.bb} (78%)
meta-python/recipes-devtools/python/python3-typed-ast_1.4.3.bb renamed from meta-python/recipes-devtools/python/python3-typed-ast_1.4.2.bb +1 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-typed-ast_1.4.2.bb
rename to meta-python/recipes-devtools/python/python3-typed-ast_1.4.3.bb
index 09f387ca6..c482251b8 100644
@@ -7,6 +7,6 @@ PYPI_PACKAGE = "typed_ast"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "9fc0b3cb5d1720e7141d103cf4819aea239f7d136acf9ee4a69b047b7986175a"
+SRC_URI[sha256sum] = "fb1bbeac803adea29cedd70781399c99138358c26d05fcbd23c13016b7f5ec65"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1
author
#5 lore raw

PATCH 6/7 python3-backports-functools-lru-cache: Upgrade 1.6.3 -> 1.6.4

In reply to Leon Anavi

Upgrade to release 1.6.4:

- For test dependencies, when indicating Python 3, use >=3 instead of >3

---
 ..._1.6.3.bb => python3-backports-functools-lru-cache_1.6.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-backports-functools-lru-cache_1.6.3.bb => python3-backports-functools-lru-cache_1.6.4.bb} (88%)
meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.4.bb renamed from meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.3.bb +1 -1
similarity index 88%
rename from meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.3.bb
rename to meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.4.bb
index 0d232dcab..c90ffa1b4 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
 
 PYPI_PACKAGE = "backports.functools_lru_cache"
 
-SRC_URI[sha256sum] = "d84e126e2a29e4fde8931ff8131240bbf30a0e7dbcc3897a8dbd8ea5ac11419c"
+SRC_URI[sha256sum] = "d5ed2169378b67d3c545e5600d363a923b09c456dab1593914935a68ad478271"
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 
Signature · 1 line
2.17.1
author
#6 lore raw

PATCH 7/7 python3-xmlschema: Upgrade 1.6.0 -> 1.6.1

In reply to Leon Anavi

Upgrade to release 1.6.1:

- Add multi-source initialization and add_schema() to schema class
- Add bytes strings to accepted XML sources

---
 .../{python3-xmlschema_1.6.0.bb => python3-xmlschema_1.6.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-xmlschema_1.6.0.bb => python3-xmlschema_1.6.1.bb} (83%)
meta-python/recipes-devtools/python/python3-xmlschema_1.6.1.bb renamed from meta-python/recipes-devtools/python/python3-xmlschema_1.6.0.bb +1 -1
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-xmlschema_1.6.0.bb
rename to meta-python/recipes-devtools/python/python3-xmlschema_1.6.1.bb
index 2d207fb24..91697e39a 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/sissaschool/xmlschema"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=47489cb18c469474afeb259ed1d4832f"
 
-SRC_URI[sha256sum] = "e951efc5ab3f251973f92cba7a7026adb32a4cd844d3425133d23eb269de4f8f"
+SRC_URI[sha256sum] = "d02b82bb4fce3af09495b85e6ada5ce0cfdaa865b09b28ecc0f5ab81fad7e328"
 
 PYPI_PACKAGE = "xmlschema"
 inherit pypi setuptools3
Signature · 1 line
2.17.1