python-update-checker 0.7__py3-none-any.whl → 0.8.0__py3-none-any.whl
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.
- puc/uvlock.py +9 -6
- {python_update_checker-0.7.dist-info → python_update_checker-0.8.0.dist-info}/METADATA +1 -1
- {python_update_checker-0.7.dist-info → python_update_checker-0.8.0.dist-info}/RECORD +5 -5
- {python_update_checker-0.7.dist-info → python_update_checker-0.8.0.dist-info}/WHEEL +0 -0
- {python_update_checker-0.7.dist-info → python_update_checker-0.8.0.dist-info}/entry_points.txt +0 -0
puc/uvlock.py
CHANGED
|
@@ -49,12 +49,20 @@ def handle_uv_lock(
|
|
|
49
49
|
if version is None:
|
|
50
50
|
logger.warning(f"missing version in package {uvpackage}")
|
|
51
51
|
continue
|
|
52
|
+
# respect package filter
|
|
53
|
+
if packages and canonicalize_name(name) not in packages:
|
|
54
|
+
logger.info(f"skip package {name} due to package filter")
|
|
55
|
+
continue
|
|
56
|
+
# skip virtual packages (ie. the project itself)
|
|
57
|
+
source = uvpackage.get("source", {})
|
|
58
|
+
if "virtual" in source:
|
|
59
|
+
logger.info(f"skip virtual package {name}")
|
|
60
|
+
continue
|
|
52
61
|
updatable += update_uvlock_dependency(
|
|
53
62
|
name,
|
|
54
63
|
version,
|
|
55
64
|
project_dir,
|
|
56
65
|
command=command,
|
|
57
|
-
packages=packages,
|
|
58
66
|
exclude_newer=exclude_newer,
|
|
59
67
|
exclude_newer_package=exclude_newer_package,
|
|
60
68
|
constraint_file=constraint_file,
|
|
@@ -70,17 +78,12 @@ def update_uvlock_dependency(
|
|
|
70
78
|
version,
|
|
71
79
|
project_dir: str,
|
|
72
80
|
command: str | None = None,
|
|
73
|
-
packages=None,
|
|
74
81
|
exclude_newer: str | None = None,
|
|
75
82
|
exclude_newer_package: str | None = None,
|
|
76
83
|
constraint_file: str | None = None,
|
|
77
84
|
color: bool = True,
|
|
78
85
|
) -> int:
|
|
79
86
|
"""Update uv lock dependency."""
|
|
80
|
-
# respect optional package filter
|
|
81
|
-
if packages and canonicalize_name(package) not in packages:
|
|
82
|
-
return 0
|
|
83
|
-
|
|
84
87
|
try:
|
|
85
88
|
latest_version = get_latest_version(
|
|
86
89
|
package,
|
|
@@ -4,8 +4,8 @@ puc/dependencies.py,sha256=4XLPiCnulGVT29bVB6Blkh9irjUGxfChP01YqqofYTw,6717
|
|
|
4
4
|
puc/logging.py,sha256=VBojYqr7-l-aLeNqrBqTJyHuEINzdBx1CObQg5XiC-k,2222
|
|
5
5
|
puc/pyprojecttoml.py,sha256=pJxA9oZoxiiB7b06yr0hub7um1A1eyrKf7WgPf1KBEU,6905
|
|
6
6
|
puc/requirementstxt.py,sha256=xzEKVmWvZVbIQt9lZ0hVykOapn8xX24a7FixX1dY4lU,5076
|
|
7
|
-
puc/uvlock.py,sha256=
|
|
8
|
-
python_update_checker-0.
|
|
9
|
-
python_update_checker-0.
|
|
10
|
-
python_update_checker-0.
|
|
11
|
-
python_update_checker-0.
|
|
7
|
+
puc/uvlock.py,sha256=7hQ5FE4FQdwLhG4fZtPSKjGPXiqst0RZExXCWPHB2Oo,4390
|
|
8
|
+
python_update_checker-0.8.0.dist-info/WHEEL,sha256=y6e-a5KI2W-qDAJKfh9Xr81bin8NgUdfWgz3VSXXpe4,80
|
|
9
|
+
python_update_checker-0.8.0.dist-info/entry_points.txt,sha256=mQuGfBukyjyo7ssOHSIycAlRdQkrA1ewAth6tsV_T60,38
|
|
10
|
+
python_update_checker-0.8.0.dist-info/METADATA,sha256=dVV_hn4Lc6MIC6QlgEZK-S7O1CwfWGdISxZptnjP-gU,4885
|
|
11
|
+
python_update_checker-0.8.0.dist-info/RECORD,,
|
|
File without changes
|
{python_update_checker-0.7.dist-info → python_update_checker-0.8.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|