pipu-cli 0.1.dev1__py3-none-any.whl → 0.1.dev3__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.
- pipu_cli/__init__.py +1 -1
- pipu_cli/internals.py +19 -3
- {pipu_cli-0.1.dev1.dist-info → pipu_cli-0.1.dev3.dist-info}/METADATA +4 -4
- {pipu_cli-0.1.dev1.dist-info → pipu_cli-0.1.dev3.dist-info}/RECORD +8 -8
- {pipu_cli-0.1.dev1.dist-info → pipu_cli-0.1.dev3.dist-info}/WHEEL +0 -0
- {pipu_cli-0.1.dev1.dist-info → pipu_cli-0.1.dev3.dist-info}/entry_points.txt +0 -0
- {pipu_cli-0.1.dev1.dist-info → pipu_cli-0.1.dev3.dist-info}/licenses/LICENSE +0 -0
- {pipu_cli-0.1.dev1.dist-info → pipu_cli-0.1.dev3.dist-info}/top_level.txt +0 -0
pipu_cli/__init__.py
CHANGED
pipu_cli/internals.py
CHANGED
|
@@ -210,9 +210,16 @@ def list_outdated(
|
|
|
210
210
|
extra_index_urls = []
|
|
211
211
|
extra_index_urls = extra_index_urls or []
|
|
212
212
|
|
|
213
|
-
#
|
|
213
|
+
# Parse extra_index_urls - pip config returns multi-line values as a single string
|
|
214
214
|
if isinstance(extra_index_urls, str):
|
|
215
|
-
|
|
215
|
+
# Split by newlines and clean up each URL (remove comments and whitespace)
|
|
216
|
+
extra_index_urls = [
|
|
217
|
+
url.strip()
|
|
218
|
+
for url in extra_index_urls.split('\n')
|
|
219
|
+
if url.strip() and not url.strip().startswith('#')
|
|
220
|
+
]
|
|
221
|
+
elif not isinstance(extra_index_urls, list):
|
|
222
|
+
extra_index_urls = []
|
|
216
223
|
|
|
217
224
|
# Combine all index URLs
|
|
218
225
|
all_index_urls = [index_url] + extra_index_urls
|
|
@@ -223,8 +230,17 @@ def list_outdated(
|
|
|
223
230
|
except Exception:
|
|
224
231
|
trusted_hosts = []
|
|
225
232
|
trusted_hosts = trusted_hosts or []
|
|
233
|
+
|
|
234
|
+
# Parse trusted_hosts - pip config returns multi-line values as a single string
|
|
226
235
|
if isinstance(trusted_hosts, str):
|
|
227
|
-
|
|
236
|
+
# Split by newlines and clean up each host (remove comments and whitespace)
|
|
237
|
+
trusted_hosts = [
|
|
238
|
+
host.strip()
|
|
239
|
+
for host in trusted_hosts.split('\n')
|
|
240
|
+
if host.strip() and not host.strip().startswith('#')
|
|
241
|
+
]
|
|
242
|
+
elif not isinstance(trusted_hosts, list):
|
|
243
|
+
trusted_hosts = []
|
|
228
244
|
|
|
229
245
|
# Set up pip session and package finder to check for updates
|
|
230
246
|
try:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pipu-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.dev3
|
|
4
4
|
Summary: A cute Python package updater
|
|
5
5
|
Author-email: Scott Arne Johnson <scott.arne.johnson@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -11,9 +11,9 @@ Requires-Python: >=3.10
|
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
13
|
Requires-Dist: rich_click<2.0,>=1.7
|
|
14
|
-
Requires-Dist: rich<
|
|
15
|
-
Requires-Dist: textual<
|
|
16
|
-
Requires-Dist: packaging<
|
|
14
|
+
Requires-Dist: rich<15.0,>=13.0
|
|
15
|
+
Requires-Dist: textual<7.0,>=0.40
|
|
16
|
+
Requires-Dist: packaging<26.0,>=23.0
|
|
17
17
|
Provides-Extra: dev
|
|
18
18
|
Requires-Dist: invoke; extra == "dev"
|
|
19
19
|
Requires-Dist: build; extra == "dev"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
pipu_cli/__init__.py,sha256=
|
|
1
|
+
pipu_cli/__init__.py,sha256=ZGWSFbUBHC0Pkg98JvTSu7BYa8nE73GgCi8vvlDrNxQ,1190
|
|
2
2
|
pipu_cli/cli.py,sha256=aCN2Fz1bWhXs8MC7kqy5GdzJggNtTdumW4PQkxKOBpg,39993
|
|
3
3
|
pipu_cli/common.py,sha256=g5krfXFsvVJpOf87Vw4DGi5WIduDgMlRuONKXqO328M,78
|
|
4
4
|
pipu_cli/config.py,sha256=xsfNU4ORAujla_FGfsMKpxy7QTpd_bJhRF_u4IPKLW0,3635
|
|
5
|
-
pipu_cli/internals.py,sha256=
|
|
5
|
+
pipu_cli/internals.py,sha256=1Fds2mMn2SJwfTwfjbeqAcTWJjOazP9QtrjRvgzzspo,32786
|
|
6
6
|
pipu_cli/package_constraints.py,sha256=6LSFlC93HNIFym7dYkfYn0fsOic6QDe1ADyghK94Pk8,93052
|
|
7
7
|
pipu_cli/thread_safe.py,sha256=zdQyCoMVJW73MC-d1pL_4ZO-K4AwkI0JeVyQsd8x7nY,7545
|
|
8
8
|
pipu_cli/utils.py,sha256=ijSHKVuKbjmRbj2RwD9S1606PeY4oDiutzhutpX25wM,5842
|
|
@@ -11,9 +11,9 @@ pipu_cli/ui/apps.py,sha256=ltH24sg-3nqVpoomgCwhVYuAwq3hBUwYRH60JXtV2Yg,59771
|
|
|
11
11
|
pipu_cli/ui/constants.py,sha256=HBPf4KYWHiT18c7ciQ0HeI7gZE3VIFOT0uobLU8YxQA,445
|
|
12
12
|
pipu_cli/ui/modal_dialogs.py,sha256=5OF8UL2lXXH3GoAxFQCqp_T3jc5jeLSk77Y7ffBt6mw,45849
|
|
13
13
|
pipu_cli/ui/table_widgets.py,sha256=PC0CqqrK3KgMbTCYRPG01lxkEtRBz9xr9PN8EzoObz8,14322
|
|
14
|
-
pipu_cli-0.1.
|
|
15
|
-
pipu_cli-0.1.
|
|
16
|
-
pipu_cli-0.1.
|
|
17
|
-
pipu_cli-0.1.
|
|
18
|
-
pipu_cli-0.1.
|
|
19
|
-
pipu_cli-0.1.
|
|
14
|
+
pipu_cli-0.1.dev3.dist-info/licenses/LICENSE,sha256=q6TxVbSI0WMB9ulF2V0FWQfeA5om3d-T9X7QwuhdiYE,1075
|
|
15
|
+
pipu_cli-0.1.dev3.dist-info/METADATA,sha256=9NjeUzT8buLXYRHBUAuQPulDnA0sLi66eov4XldR57c,13200
|
|
16
|
+
pipu_cli-0.1.dev3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
+
pipu_cli-0.1.dev3.dist-info/entry_points.txt,sha256=VSv6od00zOPblnFPflNLaci4jBtQIgLYJjL1BKxLz_o,42
|
|
18
|
+
pipu_cli-0.1.dev3.dist-info/top_level.txt,sha256=z3Yce93-jGQjGRpsGZUZvbS8osh3OyS7MVpzG0uBE5M,9
|
|
19
|
+
pipu_cli-0.1.dev3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|