Skip to contentSkip to conversation

python3-coverage: Upgrade 7.0.1 -> 7.0.3

PATCH New Leon Anavi 1 participant 3 messages Jan 4, 2023

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python3-coverage: Upgrade 7.0.1 -> 7.0.3

Upgrade to release 7.0.3:

- Fix: when using the [run] relative_files = True setting, a relative [paths] pattern was still being made absolute. This is now fixed.
- Fix: if Python doesn't provide tomllib, then TOML configuration files can only be read if coverage.py is installed with the [toml] extra. Coverage.py will raise an error if TOML support is not installed when it sees your settings are in a .toml file. But it didn't understand that [tools.coverage] was a valid section header, so the error wasn't reported if you used that header, and settings were silently ignored. This is now fixed.
- Fix: adjusted how decorators are traced on PyPy 7.3.10.
- Fix: the coverage lcov report did not properly implement the --fail-under=MIN option. This has been fixed.
- Refactor: added many type annotations, including a number of refactorings. This should not affect outward behavior, but they were a bit invasive in some places, so keep your eyes peeled for oddities.
- Refactor: removed the vestigial and long untested support for Jython and IronPython.
- Fix: when using pytest-cov or pytest-xdist, or perhaps both, the combining step could fail with assert row is not None using 7.0.2. This was due to a race condition that has always been possible and is still possible. In 7.0.1 and before, the error was silently swallowed by the combining code. Now it will produce a message "Couldn't combine data file" and ignore the data file as it used to do before 7.0.2

---
 .../{python3-coverage_7.0.1.bb => python3-coverage_7.0.3.bb}  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-coverage_7.0.1.bb => python3-coverage_7.0.3.bb} (74%)
meta-python/recipes-devtools/python/python3-coverage_7.0.3.bb renamed from meta-python/recipes-devtools/python/python3-coverage_7.0.1.bb +3 -1
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-coverage_7.0.1.bb
rename to meta-python/recipes-devtools/python/python3-coverage_7.0.3.bb
index caf6ba14f..7e9b262d1 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://coverage.readthedocs.io"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93"
 
-SRC_URI[sha256sum] = "a4a574a19eeb67575a5328a5760bbbb737faa685616586a9f9da4281f940109c"
+SRC_URI[sha256sum] = "d5be4e93acce64f516bf4fd239c0e6118fc913c93fa1a3f52d15bdcc60d97b2d"
 
 inherit pypi setuptools3
 
@@ -16,4 +16,6 @@ RDEPENDS:${PN} += " \
 	${PYTHON_PN}-crypt \
 	${PYTHON_PN}-shell \
 	${PYTHON_PN}-io \
+	${PYTHON_PN}-toml \
+	${PYTHON_PN}-multiprocessing \
 "
Signature · 1 line
2.30.2
author
#1 lore raw

PATCH 2/3 python3-prompt-toolkit: Upgrade 3.0.31 -> 3.0.36

Upgrade to release 3.0.36:

- Another Python 3.6 fix for a bug that was introduced in 3.0.34.
- Fix bug introduced in 3.0.34 for Python 3.6. Use asynccontextmanager implementation from prompt_toolkit itself.
- Improve completion performance in various places.
- Improve renderer performance.
- Handle KeyboardInterrupt when the stacktrace of an unhandled error is displayed.
- Use correct event loop in Application.create_background_task().
- Fix show_cursor attribute in ScrollablePane.
- Improve termination of Application. Don't suppress CancelledError. This fixes a race condition when an Application gets cancelled while we're waiting for the background tasks to complete.
- Fixed typehint for OneStyleAndTextTuple.
- Small bugfix in CombinedRegistry. Fixed missing @property.
- Use DummyInput by default in create_input() if sys.stdin does not have a valid file descriptor. This fixes errors when sys.stdin is patched in certain situations.
- Fix control-c key binding for ProgressBar when the progress bar was not created from the main thread. The current code would try to kill the main thread when control-c was pressed.
- Accept a cancel_callback in ProgressBar to specify the cancellation behavior for when control-c is pressed.
- Small performance improvement in the renderer.

---
 ...rompt-toolkit_3.0.31.bb => python3-prompt-toolkit_3.0.36.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-prompt-toolkit_3.0.31.bb => python3-prompt-toolkit_3.0.36.bb} (87%)
meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.36.bb renamed from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.31.bb +1 -1
similarity index 87%
rename from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.31.bb
rename to meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.36.bb
index 0b8962ded..a5299318b 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
 
-SRC_URI[sha256sum] = "9ada952c9d1787f52ff6d5f3484d0b4df8952787c087edf6a1f7c2cb1ea88148"
+SRC_URI[sha256sum] = "3e163f254bef5a03b146397d7c1963bd3e2812f0964bb9a24e6ec761fd28db63"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.30.2
author
#2 lore raw

PATCH 3/3 python3-simplejson: Upgrade 3.18.0 -> 3.18.1

In reply to Leon Anavi

Upgrade to release 3.18.1:

- Remove unnecessary i variable from encoder module namespace
- Declare support for Python 3.11 and add wheels

---
 ...ython3-simplejson_3.18.0.bb => python3-simplejson_3.18.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-simplejson_3.18.0.bb => python3-simplejson_3.18.1.bb} (87%)
meta-python/recipes-devtools/python/python3-simplejson_3.18.1.bb renamed from meta-python/recipes-devtools/python/python3-simplejson_3.18.0.bb +1 -1
similarity index 87%
rename from meta-python/recipes-devtools/python/python3-simplejson_3.18.0.bb
rename to meta-python/recipes-devtools/python/python3-simplejson_3.18.1.bb
index ccdd4ddba..1aaa1eab0 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e"
 
-SRC_URI[sha256sum] = "58a429d2c2fa80834115b923ff689622de8f214cf0dc4afa9f59e824b444ab31"
+SRC_URI[sha256sum] = "746086e3ef6d74b53599df31b491d88a355abf2e31c837137dd90f8c4561cafa"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.30.2