pipu-cli 0.2.2__py3-none-any.whl → 0.2.3__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/package_management.py +5 -2
- {pipu_cli-0.2.2.dist-info → pipu_cli-0.2.3.dist-info}/METADATA +2 -1
- {pipu_cli-0.2.2.dist-info → pipu_cli-0.2.3.dist-info}/RECORD +8 -8
- {pipu_cli-0.2.2.dist-info → pipu_cli-0.2.3.dist-info}/WHEEL +1 -1
- {pipu_cli-0.2.2.dist-info → pipu_cli-0.2.3.dist-info}/entry_points.txt +0 -0
- {pipu_cli-0.2.2.dist-info → pipu_cli-0.2.3.dist-info}/licenses/LICENSE +0 -0
- {pipu_cli-0.2.2.dist-info → pipu_cli-0.2.3.dist-info}/top_level.txt +0 -0
pipu_cli/__init__.py
CHANGED
pipu_cli/package_management.py
CHANGED
|
@@ -18,6 +18,7 @@ from pip._internal.index.collector import LinkCollector
|
|
|
18
18
|
from pip._internal.models.search_scope import SearchScope
|
|
19
19
|
from pip._internal.network.session import PipSession
|
|
20
20
|
from pip._internal.models.selection_prefs import SelectionPreferences
|
|
21
|
+
from pip._internal.models.release_control import ReleaseControl
|
|
21
22
|
|
|
22
23
|
# Set up module logger
|
|
23
24
|
logger = logging.getLogger(__name__)
|
|
@@ -370,9 +371,10 @@ def get_latest_versions_parallel(
|
|
|
370
371
|
raise ConnectionError(f"Failed to create network session: {e}") from e
|
|
371
372
|
|
|
372
373
|
# Set up package finder with configured indexes
|
|
374
|
+
release_control = ReleaseControl(all_releases={":all:"}) if include_prereleases else None
|
|
373
375
|
selection_prefs = SelectionPreferences(
|
|
374
376
|
allow_yanked=False,
|
|
375
|
-
|
|
377
|
+
release_control=release_control
|
|
376
378
|
)
|
|
377
379
|
|
|
378
380
|
search_scope = SearchScope.create(
|
|
@@ -565,9 +567,10 @@ def get_latest_versions(
|
|
|
565
567
|
raise ConnectionError(f"Failed to create network session: {e}") from e
|
|
566
568
|
|
|
567
569
|
# Set up package finder with configured indexes
|
|
570
|
+
release_control = ReleaseControl(all_releases={":all:"}) if include_prereleases else None
|
|
568
571
|
selection_prefs = SelectionPreferences(
|
|
569
572
|
allow_yanked=False,
|
|
570
|
-
|
|
573
|
+
release_control=release_control
|
|
571
574
|
)
|
|
572
575
|
|
|
573
576
|
search_scope = SearchScope.create(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pipu-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
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
|
|
@@ -13,6 +13,7 @@ License-File: LICENSE
|
|
|
13
13
|
Requires-Dist: rich_click<2.0,>=1.7
|
|
14
14
|
Requires-Dist: rich<15.0,>=13.0
|
|
15
15
|
Requires-Dist: packaging<26.0,>=23.0
|
|
16
|
+
Requires-Dist: pip<27.0,>=26.0
|
|
16
17
|
Requires-Dist: tomli>=2.0.0; python_version < "3.11"
|
|
17
18
|
Provides-Extra: dev
|
|
18
19
|
Requires-Dist: invoke; extra == "dev"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
pipu_cli/__init__.py,sha256=
|
|
1
|
+
pipu_cli/__init__.py,sha256=Flk9VrywBlPX9miUgrsZc20H4kQdTJOsLXOZ47F_o1E,1191
|
|
2
2
|
pipu_cli/cache.py,sha256=d5BOItcJSlNfPEnYb4tbMmntzIDjWIl1ZUb5Xo5bJiQ,8243
|
|
3
3
|
pipu_cli/cli.py,sha256=Sl3kHM5-yYVsomXYRy7KCL0e6dC_mSS5fFIdMgf6pVg,34963
|
|
4
4
|
pipu_cli/config.py,sha256=lixyWhJBz5GqdyRIygc4g5Wzc94HPC4sVFCgeINtQtw,1542
|
|
5
5
|
pipu_cli/config_file.py,sha256=0vJbaDS4WDR4RRYA8gKLDtQRi-Stzm9a85qjmnNCqys,2186
|
|
6
6
|
pipu_cli/output.py,sha256=9g64hxHIXxJlq0mmhRwZnbPMMGPpTfSRkH90rc-QPjA,3510
|
|
7
|
-
pipu_cli/package_management.py,sha256=
|
|
7
|
+
pipu_cli/package_management.py,sha256=WOzAl5J6JwiFj3zZN5eLdyLrm2bV5A3KIT8D2aqO3wc,50893
|
|
8
8
|
pipu_cli/pretty.py,sha256=6qBohKDtocm6vJc2rtH9RLgvvHYJiaGMnmhs6QyC0kE,9293
|
|
9
9
|
pipu_cli/requirements.py,sha256=zbh7XwxD9he_5csJitEGT0NfiE4qbXPw_-JSDuHv4G8,2665
|
|
10
10
|
pipu_cli/rollback.py,sha256=gL9ueYtAKDoALqRfJE2S5gnw1Id5QBLaPC1UL_WjzzY,2980
|
|
11
|
-
pipu_cli-0.2.
|
|
12
|
-
pipu_cli-0.2.
|
|
13
|
-
pipu_cli-0.2.
|
|
14
|
-
pipu_cli-0.2.
|
|
15
|
-
pipu_cli-0.2.
|
|
16
|
-
pipu_cli-0.2.
|
|
11
|
+
pipu_cli-0.2.3.dist-info/licenses/LICENSE,sha256=q6TxVbSI0WMB9ulF2V0FWQfeA5om3d-T9X7QwuhdiYE,1075
|
|
12
|
+
pipu_cli-0.2.3.dist-info/METADATA,sha256=Th3WenJaBluzER-g95FYSs9pmYP-3z1s4m08UxYtbQw,11950
|
|
13
|
+
pipu_cli-0.2.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
14
|
+
pipu_cli-0.2.3.dist-info/entry_points.txt,sha256=VSv6od00zOPblnFPflNLaci4jBtQIgLYJjL1BKxLz_o,42
|
|
15
|
+
pipu_cli-0.2.3.dist-info/top_level.txt,sha256=z3Yce93-jGQjGRpsGZUZvbS8osh3OyS7MVpzG0uBE5M,9
|
|
16
|
+
pipu_cli-0.2.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|