patch-package-py 0.1.2__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {patch_package_py-0.1.2 → patch_package_py-0.1.3}/PKG-INFO +1 -1
- {patch_package_py-0.1.2 → patch_package_py-0.1.3}/patch_package_py/core.py +3 -2
- {patch_package_py-0.1.2 → patch_package_py-0.1.3}/pyproject.toml +1 -1
- {patch_package_py-0.1.2 → patch_package_py-0.1.3}/.gitignore +0 -0
- {patch_package_py-0.1.2 → patch_package_py-0.1.3}/.python-version +0 -0
- {patch_package_py-0.1.2 → patch_package_py-0.1.3}/README.md +0 -0
- {patch_package_py-0.1.2 → patch_package_py-0.1.3}/patch_package_py/__init__.py +0 -0
- {patch_package_py-0.1.2 → patch_package_py-0.1.3}/patch_package_py/cli.py +0 -0
- {patch_package_py-0.1.2 → patch_package_py-0.1.3}/uv.lock +0 -0
|
@@ -209,9 +209,10 @@ def apply_patch(patch_file: Path, site_packages_dir: Path) -> None:
|
|
|
209
209
|
# Parse package name and version from patch file name
|
|
210
210
|
patch_name = patch_file.stem # Remove .patch extension
|
|
211
211
|
if "+" not in patch_name:
|
|
212
|
-
|
|
213
|
-
f"Invalid patch file name format: {patch_file.name}. Expected format: package_name+version.patch"
|
|
212
|
+
logger.warning(
|
|
213
|
+
f"Invalid patch file name format: {patch_file.name}. Expected format: package_name+version.patch, skipping..."
|
|
214
214
|
)
|
|
215
|
+
return
|
|
215
216
|
|
|
216
217
|
package_name, version = patch_name.rsplit("+", 1)
|
|
217
218
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|