Skip to contentSkip to conversation

python3-unidiff: Upgrade 0.7.5 -> 1.0.0

PATCH New Leon Anavi 1 participant 3 messages Jul 31

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python3-unidiff: Upgrade 0.7.5 -> 1.0.0

Upgrade to release 1.0.0:

- Minimum supported Python is now 3.9 (Python 2 dropped).
- PatchedFile.path now also strips git mnemonic prefixes (c/ i/ o/ w/ and 1/ 2/), so git diff --cached paths resolve to the plain filename (c/README.md -> README.md). Standard a//b/ diffs are unaffected.
- File modes via source_mode/target_mode + an is_symlink property.
- PatchedFile.diff_line_no to locate hunkless/binary entries.
- Accept bytes input directly (decoded with the given encoding, default UTF-8).
- Real PEP 484 type annotations + generics (typed iteration) and a py.typed marker.
- Parse difflib empty-filename output and fix a trailing-newline error on hunkless git format-patch files; includes the quoted-filename fix missing from 0.7.5
- from_filename/from_string gain metadata_only; python -m unidiff works; packaging on pyproject.toml with GitHub Actions CI.

Fixes:

WARNING: python3-unidiff-1.0.0-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

---
 .../{python3-unidiff_0.7.5.bb => python3-unidiff_1.0.0.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-unidiff_0.7.5.bb => python3-unidiff_1.0.0.bb} (64%)
meta-python/recipes-devtools/python/python3-unidiff_1.0.0.bb renamed from meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb +2 -2
similarity index 64%
rename from meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb
rename to meta-python/recipes-devtools/python/python3-unidiff_1.0.0.bb
index afe74947f5..ddc39da626 100644
@@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/matiasb/python-unidiff"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3"
 
-SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574"
+SRC_URI[sha256sum] = "5e5d5cfab2dc98be819b74747ab7d9f5af8695369ec8710b93f9ab0f0ae6a449"
 
-inherit pypi setuptools3 ptest-python-pytest
+inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 RDEPENDS:${PN} += " \
     python3-codecs \
Signature · 1 line
2.47.3
author
#1 lore raw

PATCH 2/3 python3-annotated-doc: Upgrade 0.0.4 -> 0.0.5

Upgrade to release 0.0.5:

- Drop support for Python 3.8.
- Update security policy.

---
 ...n3-annotated-doc_0.0.4.bb => python3-annotated-doc_0.0.5.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-annotated-doc_0.0.4.bb => python3-annotated-doc_0.0.5.bb} (81%)
meta-python/recipes-devtools/python/python3-annotated-doc_0.0.5.bb renamed from meta-python/recipes-devtools/python/python3-annotated-doc_0.0.4.bb +1 -1
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-annotated-doc_0.0.4.bb
rename to meta-python/recipes-devtools/python/python3-annotated-doc_0.0.5.bb
index 10d567d46c..28d05166f4 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/fastapi/annotated-doc"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e36e91f278975b8bb76a769f32582892"
 
-SRC_URI[sha256sum] = "fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4"
+SRC_URI[sha256sum] = "c7e58ce09192557605d8bbd92836d7e1d520ac9580096042c0bfd197efacf1bb"
 
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
Signature · 1 line
2.47.3
author
#2 lore raw

PATCH 3/3 python3-fastapi: Upgrade 0.140.0 -> 0.141.1

In reply to Leon Anavi

Upgrade to release 0.141.1:

- Fix support for background tasks and headers from dependencies in app.frontend().
- Document FASTAPI_ENV in FastAPI CLI guide.

Add DESCRIPTION and SUMMARY variables.

---
 ...python3-fastapi_0.140.0.bb => python3-fastapi_0.141.1.bb} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-fastapi_0.140.0.bb => python3-fastapi_0.141.1.bb} (85%)
meta-python/recipes-devtools/python/python3-fastapi_0.141.1.bb renamed from meta-python/recipes-devtools/python/python3-fastapi_0.140.0.bb +3 -2
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-fastapi_0.140.0.bb
rename to meta-python/recipes-devtools/python/python3-fastapi_0.141.1.bb
index b8129fe817..d26a0ff070 100644
@@ -1,9 +1,10 @@
-
+SUMMARY = "FastAPI framework"
+DESCRIPTION = "FastAPI framework, high performance, easy to learn, fast to code, ready for production"
 HOMEPAGE = "https://fastapi.tiangolo.com/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=95792ff3fe8e11aa49ceb247e66e4810"
 
-SRC_URI[sha256sum] = "f338951b82fd74ca8f843163aec43ea1a1ce84d515415a50fa98fa25572a5544"
+SRC_URI[sha256sum] = "e8822fc40db1e1858054d7a949a888695bc9bdce70139178e33bd2871a453ca1"
 
 SRC_URI += "file://run-ptest"
 
Signature · 1 line
2.47.3