godlykmathews commited on
Commit
f4b1692
·
verified ·
1 Parent(s): 5a7474d

Upload folder using huggingface_hub (part 11)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +39 -0
  2. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/INSTALLER +1 -0
  3. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/METADATA +110 -0
  4. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/RECORD +885 -0
  5. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/REQUESTED +0 -0
  6. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/WHEEL +4 -0
  7. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/entry_points.txt +4 -0
  8. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/AUTHORS.txt +888 -0
  9. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/LICENSE.txt +20 -0
  10. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
  11. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
  12. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
  13. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
  14. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md +31 -0
  15. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/msgpack/COPYING +14 -0
  16. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
  17. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +177 -0
  18. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD +23 -0
  19. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
  20. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
  21. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
  22. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
  23. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
  24. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
  25. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
  26. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
  27. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
  28. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
  29. venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt +21 -0
  30. venv/lib/python3.14/site-packages/pip/_internal/req/__init__.py +105 -0
  31. venv/lib/python3.14/site-packages/pip/_internal/req/constructors.py +662 -0
  32. venv/lib/python3.14/site-packages/pip/_internal/req/pep723.py +41 -0
  33. venv/lib/python3.14/site-packages/pip/_internal/req/req_dependency_group.py +86 -0
  34. venv/lib/python3.14/site-packages/pip/_internal/req/req_file.py +622 -0
  35. venv/lib/python3.14/site-packages/pip/_internal/req/req_install.py +842 -0
  36. venv/lib/python3.14/site-packages/pip/_internal/req/req_set.py +81 -0
  37. venv/lib/python3.14/site-packages/pip/_internal/req/req_uninstall.py +644 -0
  38. venv/lib/python3.14/site-packages/pip/_internal/resolution/__init__.py +0 -0
  39. venv/lib/python3.14/site-packages/pip/_internal/resolution/base.py +20 -0
  40. venv/lib/python3.14/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  41. venv/lib/python3.14/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
  42. venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  43. venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/base.py +164 -0
  44. venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py +598 -0
  45. venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/factory.py +901 -0
  46. venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +166 -0
  47. venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/provider.py +309 -0
  48. venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/reporter.py +98 -0
  49. venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/requirements.py +251 -0
  50. venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/resolver.py +341 -0
.gitattributes CHANGED
@@ -110,3 +110,42 @@ venv/lib/python3.14/site-packages/pandas/_libs/tslibs/tzconversion.cpython-314-d
110
  venv/lib/python3.14/site-packages/pandas/_libs/tslibs/vectorized.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
111
  venv/lib/python3.14/site-packages/pandas/_libs/window/aggregations.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
112
  venv/lib/python3.14/site-packages/pandas/_libs/writers.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  venv/lib/python3.14/site-packages/pandas/_libs/tslibs/vectorized.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
111
  venv/lib/python3.14/site-packages/pandas/_libs/window/aggregations.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
112
  venv/lib/python3.14/site-packages/pandas/_libs/writers.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
113
+ venv/lib/python3.14/site-packages/pip/_vendor/distlib/t64-arm.exe filter=lfs diff=lfs merge=lfs -text
114
+ venv/lib/python3.14/site-packages/pip/_vendor/distlib/t64.exe filter=lfs diff=lfs merge=lfs -text
115
+ venv/lib/python3.14/site-packages/pip/_vendor/distlib/w64-arm.exe filter=lfs diff=lfs merge=lfs -text
116
+ venv/lib/python3.14/site-packages/pip/_vendor/distlib/w64.exe filter=lfs diff=lfs merge=lfs -text
117
+ venv/lib/python3.14/site-packages/pyarrow/_acero.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
118
+ venv/lib/python3.14/site-packages/pyarrow/_azurefs.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
119
+ venv/lib/python3.14/site-packages/pyarrow/_compute.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
120
+ venv/lib/python3.14/site-packages/pyarrow/_csv.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
121
+ venv/lib/python3.14/site-packages/pyarrow/_dataset.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
122
+ venv/lib/python3.14/site-packages/pyarrow/_dataset_orc.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
123
+ venv/lib/python3.14/site-packages/pyarrow/_dataset_parquet.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
124
+ venv/lib/python3.14/site-packages/pyarrow/_dataset_parquet_encryption.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
125
+ venv/lib/python3.14/site-packages/pyarrow/_feather.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
126
+ venv/lib/python3.14/site-packages/pyarrow/_flight.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
127
+ venv/lib/python3.14/site-packages/pyarrow/_fs.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
128
+ venv/lib/python3.14/site-packages/pyarrow/_gcsfs.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
129
+ venv/lib/python3.14/site-packages/pyarrow/_hdfs.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
130
+ venv/lib/python3.14/site-packages/pyarrow/_json.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
131
+ venv/lib/python3.14/site-packages/pyarrow/_orc.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
132
+ venv/lib/python3.14/site-packages/pyarrow/_parquet.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
133
+ venv/lib/python3.14/site-packages/pyarrow/_parquet_encryption.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
134
+ venv/lib/python3.14/site-packages/pyarrow/_pyarrow_cpp_tests.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
135
+ venv/lib/python3.14/site-packages/pyarrow/_s3fs.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
136
+ venv/lib/python3.14/site-packages/pyarrow/_substrait.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
137
+ venv/lib/python3.14/site-packages/pyarrow/lib.cpython-314-darwin.so filter=lfs diff=lfs merge=lfs -text
138
+ venv/lib/python3.14/site-packages/pyarrow/libarrow.2600.dylib filter=lfs diff=lfs merge=lfs -text
139
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_acero.2600.dylib filter=lfs diff=lfs merge=lfs -text
140
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_compute.2600.dylib filter=lfs diff=lfs merge=lfs -text
141
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_dataset.2600.dylib filter=lfs diff=lfs merge=lfs -text
142
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_flight.2600.dylib filter=lfs diff=lfs merge=lfs -text
143
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_python.2600.1.0.dylib filter=lfs diff=lfs merge=lfs -text
144
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_python.2600.dylib filter=lfs diff=lfs merge=lfs -text
145
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_python.dylib filter=lfs diff=lfs merge=lfs -text
146
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_python_flight.2600.1.0.dylib filter=lfs diff=lfs merge=lfs -text
147
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_python_flight.2600.dylib filter=lfs diff=lfs merge=lfs -text
148
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_python_flight.dylib filter=lfs diff=lfs merge=lfs -text
149
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_s3.2600.dylib filter=lfs diff=lfs merge=lfs -text
150
+ venv/lib/python3.14/site-packages/pyarrow/libarrow_substrait.2600.dylib filter=lfs diff=lfs merge=lfs -text
151
+ venv/lib/python3.14/site-packages/pyarrow/libparquet.2600.dylib filter=lfs diff=lfs merge=lfs -text
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/INSTALLER ADDED
@@ -0,0 +1 @@
 
 
1
+ pip
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/METADATA ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: pip
3
+ Version: 26.2.1
4
+ Summary: The PyPA recommended tool for installing Python packages.
5
+ Author-email: The pip developers <distutils-sig@python.org>
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/x-rst
8
+ License-Expression: MIT
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Topic :: Software Development :: Build Tools
12
+ Classifier: Programming Language :: Python
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Programming Language :: Python :: 3.15
21
+ Classifier: Programming Language :: Python :: Implementation :: CPython
22
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
23
+ License-File: AUTHORS.txt
24
+ License-File: LICENSE.txt
25
+ License-File: src/pip/_vendor/cachecontrol/LICENSE.txt
26
+ License-File: src/pip/_vendor/certifi/LICENSE
27
+ License-File: src/pip/_vendor/distlib/LICENSE.txt
28
+ License-File: src/pip/_vendor/distro/LICENSE
29
+ License-File: src/pip/_vendor/idna/LICENSE.md
30
+ License-File: src/pip/_vendor/msgpack/COPYING
31
+ License-File: src/pip/_vendor/packaging/LICENSE
32
+ License-File: src/pip/_vendor/packaging/LICENSE.APACHE
33
+ License-File: src/pip/_vendor/packaging/LICENSE.BSD
34
+ License-File: src/pip/_vendor/pkg_resources/LICENSE
35
+ License-File: src/pip/_vendor/platformdirs/LICENSE
36
+ License-File: src/pip/_vendor/pygments/LICENSE
37
+ License-File: src/pip/_vendor/pyproject_hooks/LICENSE
38
+ License-File: src/pip/_vendor/requests/LICENSE
39
+ License-File: src/pip/_vendor/resolvelib/LICENSE
40
+ License-File: src/pip/_vendor/rich/LICENSE
41
+ License-File: src/pip/_vendor/tomli/LICENSE
42
+ License-File: src/pip/_vendor/tomli_w/LICENSE
43
+ License-File: src/pip/_vendor/truststore/LICENSE
44
+ License-File: src/pip/_vendor/urllib3/LICENSE.txt
45
+ Project-URL: Changelog, https://pip.pypa.io/en/stable/news/
46
+ Project-URL: Documentation, https://pip.pypa.io
47
+ Project-URL: Homepage, https://pip.pypa.io/
48
+ Project-URL: Source, https://github.com/pypa/pip
49
+
50
+ pip - The Python Package Installer
51
+ ==================================
52
+
53
+ .. |pypi-version| image:: https://img.shields.io/pypi/v/pip.svg
54
+ :target: https://pypi.org/project/pip/
55
+ :alt: PyPI
56
+
57
+ .. |python-versions| image:: https://img.shields.io/pypi/pyversions/pip
58
+ :target: https://pypi.org/project/pip
59
+ :alt: PyPI - Python Version
60
+
61
+ .. |docs-badge| image:: https://readthedocs.org/projects/pip/badge/?version=latest
62
+ :target: https://pip.pypa.io/en/latest
63
+ :alt: Documentation
64
+
65
+ |pypi-version| |python-versions| |docs-badge|
66
+
67
+ Pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
68
+
69
+ Please take a look at our documentation for how to install and use pip:
70
+
71
+ * `Installation`_
72
+ * `Usage`_
73
+
74
+ We release updates regularly, with a new version every 3 months. Find more details in our documentation:
75
+
76
+ * `Release notes`_
77
+ * `Release process`_
78
+
79
+ If you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:
80
+
81
+ * `Issue tracking`_
82
+ * `Discourse channel`_
83
+ * `User IRC`_
84
+
85
+ If you want to get involved, head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms:
86
+
87
+ * `GitHub page`_
88
+ * `Development documentation`_
89
+ * `Development IRC`_
90
+
91
+ Code of Conduct
92
+ ---------------
93
+
94
+ Everyone interacting in the pip project's codebases, issue trackers, chat
95
+ rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
96
+
97
+ .. _package installer: https://packaging.python.org/guides/tool-recommendations/
98
+ .. _Python Package Index: https://pypi.org
99
+ .. _Installation: https://pip.pypa.io/en/stable/installation/
100
+ .. _Usage: https://pip.pypa.io/en/stable/
101
+ .. _Release notes: https://pip.pypa.io/en/stable/news.html
102
+ .. _Release process: https://pip.pypa.io/en/latest/development/release-process/
103
+ .. _GitHub page: https://github.com/pypa/pip
104
+ .. _Development documentation: https://pip.pypa.io/en/latest/development
105
+ .. _Issue tracking: https://github.com/pypa/pip/issues
106
+ .. _Discourse channel: https://discuss.python.org/c/packaging
107
+ .. _User IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa
108
+ .. _Development IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa-dev
109
+ .. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
110
+
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/RECORD ADDED
@@ -0,0 +1,885 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ../../../bin/pip,sha256=Wtb4VI7p-EC_jADtAmH9VbR8IECaKWHyqJXWaHGvvXE,222
2
+ ../../../bin/pip3,sha256=Wtb4VI7p-EC_jADtAmH9VbR8IECaKWHyqJXWaHGvvXE,222
3
+ ../../../bin/pip3.14,sha256=Wtb4VI7p-EC_jADtAmH9VbR8IECaKWHyqJXWaHGvvXE,222
4
+ pip-26.2.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
5
+ pip-26.2.1.dist-info/METADATA,sha256=OlYQBYIoQfLEX0QvbHp1BRcsjDdsn-J02HbIrJEpaMs,4617
6
+ pip-26.2.1.dist-info/RECORD,,
7
+ pip-26.2.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ pip-26.2.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
9
+ pip-26.2.1.dist-info/entry_points.txt,sha256=Vhf8s0IYgX37mtd4vGL73BPcxdKnqeCFPzB5-d30x8o,84
10
+ pip-26.2.1.dist-info/licenses/AUTHORS.txt,sha256=TrH7FwXi3viY6BvLoZw6rIBiDSe6NWnWpt97RinRtcI,12139
11
+ pip-26.2.1.dist-info/licenses/LICENSE.txt,sha256=Y0MApmnUmurmWxLGxIySTFGkzfPR_whtw0VtyLyqIQQ,1093
12
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt,sha256=hu7uh74qQ_P_H1ZJb0UfaSQ5JvAl_tuwM2ZsMExMFhs,558
13
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/certifi/LICENSE,sha256=6TcW2mucDVpKHfYP5pWzcPBpVgPSH2-D8FPkLPwQyvc,989
14
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt,sha256=gI4QyKarjesUn_mz-xn0R6gICUYG1xKpylf-rTVSWZ0,14531
15
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/distro/LICENSE,sha256=y16Ofl9KOYjhBjwULGDcLfdWBfTEZRXnduOspt-XbhQ,11325
16
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md,sha256=GppPDj1HmickDd1ZqRN6ZqtKD539yMphiMwL_YUYfwQ,1541
17
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/msgpack/COPYING,sha256=SS3tuoXaWHL3jmCRvNH-pHTWYNNay03ulkuKqz8AdCc,614
18
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197
19
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
20
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD,sha256=tw5-m3QvHMb5SLNMFqo5_-zpQZY2S8iP8NIYDwAo-sU,1344
21
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023
22
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE,sha256=KeD9YukphQ6G6yjD_czwzv30-pSHkBHP-z0NS-1tTbY,1089
23
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/pygments/LICENSE,sha256=qdZvHVJt8C4p3Oc0NtNOVuhjL0bCdbvf_HBWnogvnxc,1331
24
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE,sha256=GyKwSbUmfW38I6Z79KhNjsBLn9-xpR02DkK0NCyLQVQ,1081
25
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/requests/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
26
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE,sha256=84j9OMrRMRLB3A9mm76A5_hFQe26-3LzAw0sp2QsPJ0,751
27
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/rich/LICENSE,sha256=3u18F6QxgVgZCj6iOcyHmlpQJxzruYrnAl9I--WNyhU,1056
28
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/tomli/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
29
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
30
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/truststore/LICENSE,sha256=M757fo-k_Rmxdg4ajtimaL2rhSyRtpLdQUJLy3Jan8o,1086
31
+ pip-26.2.1.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt,sha256=Ew46ZNX91dCWp1JpRjSn2d8oRGnehuVzIQAmgEHj1oY,1093
32
+ pip/__init__.py,sha256=BKp2zqsPQ0HiktquNWN_L4cYsYMxPML7WI0TBMucBEM,355
33
+ pip/__main__.py,sha256=rOZRtrXjDBzY24niaxTnd9ZHHWL7B0EawVdLoJ3nI6c,874
34
+ pip/__pip-runner__.py,sha256=720Mt6h07Uce52v80EOF__JYauoLw9b7Pfs_5B91isg,1451
35
+ pip/__pycache__/__init__.cpython-314.pyc,,
36
+ pip/__pycache__/__main__.cpython-314.pyc,,
37
+ pip/__pycache__/__pip-runner__.cpython-314.pyc,,
38
+ pip/_internal/__init__.py,sha256=S7i9Dn9aSZS0MG-2Wrve3dV9TImPzvQn5jjhp9t_uf0,511
39
+ pip/_internal/__pycache__/__init__.cpython-314.pyc,,
40
+ pip/_internal/__pycache__/cache.cpython-314.pyc,,
41
+ pip/_internal/__pycache__/configuration.cpython-314.pyc,,
42
+ pip/_internal/__pycache__/exceptions.cpython-314.pyc,,
43
+ pip/_internal/__pycache__/main.cpython-314.pyc,,
44
+ pip/_internal/__pycache__/pyproject.cpython-314.pyc,,
45
+ pip/_internal/__pycache__/self_outdated_check.cpython-314.pyc,,
46
+ pip/_internal/__pycache__/wheel_builder.cpython-314.pyc,,
47
+ pip/_internal/build_env/__init__.py,sha256=AI5x2Kfv1exG1IbsNHuIV1agqNgstTj_LWpbwWLq8ok,788
48
+ pip/_internal/build_env/__pycache__/__init__.cpython-314.pyc,,
49
+ pip/_internal/build_env/__pycache__/base.cpython-314.pyc,,
50
+ pip/_internal/build_env/__pycache__/installer.cpython-314.pyc,,
51
+ pip/_internal/build_env/__pycache__/noop.cpython-314.pyc,,
52
+ pip/_internal/build_env/__pycache__/venv.cpython-314.pyc,,
53
+ pip/_internal/build_env/__pycache__/virtual.cpython-314.pyc,,
54
+ pip/_internal/build_env/base.py,sha256=7RHW5X-QSVWHeK7_5Uei9Gbq0q1pAXHF9tq7Mj3wtTs,3440
55
+ pip/_internal/build_env/installer.py,sha256=eMUytQCdBiQ9TgkaGeTAzq_IVBqLHyD9OJ_kNTIjjcM,13046
56
+ pip/_internal/build_env/noop.py,sha256=FXk9ZFTTN0s1cecZE6ycN2ZznBh75Ok2I3QXF8HTo6I,1001
57
+ pip/_internal/build_env/venv.py,sha256=PsDl0PpmB9jRNaIawhy6Xk9R8WcYoAogLS2afmZ9AQc,5692
58
+ pip/_internal/build_env/virtual.py,sha256=HsVRzzhgBGyy06DZBoO0PW_3kIEacy9S4TI5H1q72Hk,4858
59
+ pip/_internal/cache.py,sha256=eqMQVfpD8x7GcCO0V0z73mnjPIuSapMFoQ_WRE7iLY8,10457
60
+ pip/_internal/cli/__init__.py,sha256=Iqg_tKA771XuMO1P4t_sDHnSKPzkUb9D0DqunAmw_ko,131
61
+ pip/_internal/cli/__pycache__/__init__.cpython-314.pyc,,
62
+ pip/_internal/cli/__pycache__/autocompletion.cpython-314.pyc,,
63
+ pip/_internal/cli/__pycache__/base_command.cpython-314.pyc,,
64
+ pip/_internal/cli/__pycache__/cmdoptions.cpython-314.pyc,,
65
+ pip/_internal/cli/__pycache__/command_context.cpython-314.pyc,,
66
+ pip/_internal/cli/__pycache__/index_command.cpython-314.pyc,,
67
+ pip/_internal/cli/__pycache__/main.cpython-314.pyc,,
68
+ pip/_internal/cli/__pycache__/main_parser.cpython-314.pyc,,
69
+ pip/_internal/cli/__pycache__/parser.cpython-314.pyc,,
70
+ pip/_internal/cli/__pycache__/progress_bars.cpython-314.pyc,,
71
+ pip/_internal/cli/__pycache__/req_command.cpython-314.pyc,,
72
+ pip/_internal/cli/__pycache__/spinners.cpython-314.pyc,,
73
+ pip/_internal/cli/__pycache__/status_codes.cpython-314.pyc,,
74
+ pip/_internal/cli/autocompletion.py,sha256=gFtmiFhHccizyx4JPJnEKik-uftU7kwrUvm72cSFPHI,7353
75
+ pip/_internal/cli/base_command.py,sha256=yF5_mQEIrLG2G0nvymZS0nLhiDg4B0T89W5iX78H558,9431
76
+ pip/_internal/cli/cmdoptions.py,sha256=aBNxaIy4YV4AfjAqrG8RoZFcv7kwWzRAzg5mnZmOGDw,41180
77
+ pip/_internal/cli/command_context.py,sha256=kmu3EWZbfBega1oDamnGJTA_UaejhIQNuMj2CVmMXu0,817
78
+ pip/_internal/cli/index_command.py,sha256=_Qzc9oHnButVvD0wxYcHfe0uJZqRWOtIg5HaQpnSNeM,7504
79
+ pip/_internal/cli/main.py,sha256=O10guzBqF2MykAaZYo6sua097dXqC3nozKodtTOpHDc,3209
80
+ pip/_internal/cli/main_parser.py,sha256=7PhEfZ8AXiWUpTfB_KJMngI2sF8XIXl52alI1LZ_e_M,4368
81
+ pip/_internal/cli/parser.py,sha256=WvRHuI2MdFp187BWrY_D17L02asq9jmCnng81af52SQ,14147
82
+ pip/_internal/cli/progress_bars.py,sha256=13U3AY3DYwdEIwPYLtUn5B4QcpJUApLWCkfJ-u_PqzY,4706
83
+ pip/_internal/cli/req_command.py,sha256=wW-mRcPqPczeqxp9SQ_yh3YfrRAYAlEAZextlLcDbUc,18952
84
+ pip/_internal/cli/spinners.py,sha256=EJzZIZNyUtJljp3-WjcsyIrqxW-HUsfWzhuW84n_Tqw,7362
85
+ pip/_internal/cli/status_codes.py,sha256=9QhNe6hHqsiw5y5wufiNKBOgJjV0HF3I3P2K21nj-OM,136
86
+ pip/_internal/commands/__init__.py,sha256=aNeCbQurGWihfhQq7BqaLXHqWDQ0i3I04OS7kxK6plQ,4026
87
+ pip/_internal/commands/__pycache__/__init__.cpython-314.pyc,,
88
+ pip/_internal/commands/__pycache__/cache.cpython-314.pyc,,
89
+ pip/_internal/commands/__pycache__/check.cpython-314.pyc,,
90
+ pip/_internal/commands/__pycache__/completion.cpython-314.pyc,,
91
+ pip/_internal/commands/__pycache__/configuration.cpython-314.pyc,,
92
+ pip/_internal/commands/__pycache__/debug.cpython-314.pyc,,
93
+ pip/_internal/commands/__pycache__/download.cpython-314.pyc,,
94
+ pip/_internal/commands/__pycache__/freeze.cpython-314.pyc,,
95
+ pip/_internal/commands/__pycache__/hash.cpython-314.pyc,,
96
+ pip/_internal/commands/__pycache__/help.cpython-314.pyc,,
97
+ pip/_internal/commands/__pycache__/index.cpython-314.pyc,,
98
+ pip/_internal/commands/__pycache__/inspect.cpython-314.pyc,,
99
+ pip/_internal/commands/__pycache__/install.cpython-314.pyc,,
100
+ pip/_internal/commands/__pycache__/list.cpython-314.pyc,,
101
+ pip/_internal/commands/__pycache__/lock.cpython-314.pyc,,
102
+ pip/_internal/commands/__pycache__/search.cpython-314.pyc,,
103
+ pip/_internal/commands/__pycache__/show.cpython-314.pyc,,
104
+ pip/_internal/commands/__pycache__/uninstall.cpython-314.pyc,,
105
+ pip/_internal/commands/__pycache__/wheel.cpython-314.pyc,,
106
+ pip/_internal/commands/cache.py,sha256=YLZrLWNvChl0pImBkoSZGGD3fb2MfdYGpYF4J0aQs6w,9251
107
+ pip/_internal/commands/check.py,sha256=hVFBQezQ3zj4EydoWbFQj_afPUppMt7r9JPAlY22U6Y,2244
108
+ pip/_internal/commands/completion.py,sha256=LjvRIZ6QUiDXJL3IOMFeD-_J97HfjMGgEk0j2tWGu1U,4565
109
+ pip/_internal/commands/configuration.py,sha256=5M6KM30G3i6oMHAsVUSWP4E93cSSJQoJ6evURC754E8,10132
110
+ pip/_internal/commands/debug.py,sha256=tCWUOEyz2HdlLGTvzNqSZIAJQkQYCy58zBTdfIWyzSo,6556
111
+ pip/_internal/commands/download.py,sha256=cuXEj9PmoZ4kCsxm_BaZ_OkmIsV_gluLiOVSuOO2MS0,5404
112
+ pip/_internal/commands/freeze.py,sha256=Lg8EOokxnRZrwdLWJgLpBWxNUt7-HrkWlEC05e-vBww,3100
113
+ pip/_internal/commands/hash.py,sha256=GO9pRN3wXC2kQaovK57TaLYBMc3IltOH92O6QEw6YE0,1679
114
+ pip/_internal/commands/help.py,sha256=Bz3LcjNQXkz4Cu__pL4CZ86o4-HNLZj1NZWdlJhjuu0,1108
115
+ pip/_internal/commands/index.py,sha256=ny_hGzXuZHzjsq4CIJh_6YfZGVJm7G7LqQQdKTibJ_Q,5608
116
+ pip/_internal/commands/inspect.py,sha256=iiAM-JuL_Z1-QP34cgAloZPSr50Mc7wAvuFDRzHQrQk,3185
117
+ pip/_internal/commands/install.py,sha256=DREULA-TGbCKhqBBLkrbDKztyQ557QbDe6ZJUYuh2yk,33761
118
+ pip/_internal/commands/list.py,sha256=W-FyxXTrHJhqRl4ZoqFp68_5GAwC9GYuY6fhFTJdHzU,13908
119
+ pip/_internal/commands/lock.py,sha256=VhpNRWItLdqywSOIqXg3vuIyf59cozh09-Z6Z9cMiLM,5987
120
+ pip/_internal/commands/search.py,sha256=zbMsX_YASj6kXA6XIBgTDv0bGK51xG-CV3IynZJcE-c,5782
121
+ pip/_internal/commands/show.py,sha256=91_XljhCHWyCNfoFBa4XdacbumQgoNbhkcHHk_gcW9Y,8247
122
+ pip/_internal/commands/uninstall.py,sha256=CsOihqvb6ZA6O67L70oXeoLHeOfNzMM88H9g-9aocgw,3868
123
+ pip/_internal/commands/wheel.py,sha256=5m3NvVKatqLDOVoC_4WOFiDDrvQRjB52jkbvpbZApug,6187
124
+ pip/_internal/configuration.py,sha256=0eEdh1xTlOHhoCrTtwHYM5DEj7BbTmhIaCaNNj3srBM,14562
125
+ pip/_internal/distributions/__init__.py,sha256=Hq6kt6gXBgjNit5hTTWLAzeCNOKoB-N0pGYSqehrli8,858
126
+ pip/_internal/distributions/__pycache__/__init__.cpython-314.pyc,,
127
+ pip/_internal/distributions/__pycache__/base.cpython-314.pyc,,
128
+ pip/_internal/distributions/__pycache__/installed.cpython-314.pyc,,
129
+ pip/_internal/distributions/__pycache__/sdist.cpython-314.pyc,,
130
+ pip/_internal/distributions/__pycache__/wheel.cpython-314.pyc,,
131
+ pip/_internal/distributions/base.py,sha256=BjYazg2EhbEgrO1W_JD6jEZIDVlUpA_WZkqU-NvCBkQ,1907
132
+ pip/_internal/distributions/installed.py,sha256=QPDhCqc-GTGiWZAAOFaVKMETg1m_kYuf6RBO9ZZlDqY,994
133
+ pip/_internal/distributions/sdist.py,sha256=hof85VbuXa_NydvFZj6zOtnxuPY15tsuCJVirLuNT-U,7783
134
+ pip/_internal/distributions/wheel.py,sha256=qOMVYzKT3tJsO0QundLjADcFiW_RODui4K51XRqMru8,1429
135
+ pip/_internal/exceptions.py,sha256=Zdu17pVbD1eI_yjg52Zd0ygAWDy8LtXS1Atfvn1pPts,38302
136
+ pip/_internal/index/__init__.py,sha256=tzwMH_fhQeubwMqHdSivasg1cRgTSbNg2CiMVnzMmyU,29
137
+ pip/_internal/index/__pycache__/__init__.cpython-314.pyc,,
138
+ pip/_internal/index/__pycache__/collector.cpython-314.pyc,,
139
+ pip/_internal/index/__pycache__/package_finder.cpython-314.pyc,,
140
+ pip/_internal/index/__pycache__/sources.cpython-314.pyc,,
141
+ pip/_internal/index/collector.py,sha256=bu-NBVToIeyYEbcv0_gtInAxsCK3E0yI6Je6yxAwE5k,16578
142
+ pip/_internal/index/package_finder.py,sha256=RoWK5rPkOcmOdiWEXhnk9aaFDgaj4QEE70FeQokqZf4,43149
143
+ pip/_internal/index/sources.py,sha256=fqqVli93Lr-HNk-wFD67yyfZzS6WeDkSZGv1RFw63QE,8621
144
+ pip/_internal/locations/__init__.py,sha256=iP9yVZn_4iPuNcaUNh2A_vJLcvUZ-8y4zvKLDVEqaM0,14022
145
+ pip/_internal/locations/__pycache__/__init__.cpython-314.pyc,,
146
+ pip/_internal/locations/__pycache__/_distutils.cpython-314.pyc,,
147
+ pip/_internal/locations/__pycache__/_sysconfig.cpython-314.pyc,,
148
+ pip/_internal/locations/__pycache__/base.cpython-314.pyc,,
149
+ pip/_internal/locations/_distutils.py,sha256=jpFj4V00rD9IR3vA9TqrGkwcdNVFc58LsChZavge9JY,5975
150
+ pip/_internal/locations/_sysconfig.py,sha256=HoZYQ1sVQD3IRpQCp4TpdTQLNrDFFzI9zRjXrTYnJWY,7788
151
+ pip/_internal/locations/base.py,sha256=5mVcXh9jnSepEO25aG2U-qZWguzeoOPIbT0mRiBDDME,2548
152
+ pip/_internal/main.py,sha256=1cHqjsfFCrMFf3B5twzocxTJUdHMLoXUpy5lJoFqUi8,338
153
+ pip/_internal/metadata/__init__.py,sha256=vp-JAxiWg_-l5F8AT0Jcey72uUnh8CDwwol9-KktHZ8,5824
154
+ pip/_internal/metadata/__pycache__/__init__.cpython-314.pyc,,
155
+ pip/_internal/metadata/__pycache__/_json.cpython-314.pyc,,
156
+ pip/_internal/metadata/__pycache__/base.cpython-314.pyc,,
157
+ pip/_internal/metadata/__pycache__/pkg_resources.cpython-314.pyc,,
158
+ pip/_internal/metadata/_json.py,sha256=hNvnMHOXLAyNlzirWhPL9Nx2CvCqa1iRma6Osq1YfV8,2711
159
+ pip/_internal/metadata/base.py,sha256=_o9lMyHmia4Ea9fhceyB9rp3jUUU8k7FmlhXB7N9_tM,25642
160
+ pip/_internal/metadata/importlib/__init__.py,sha256=jUUidoxnHcfITHHaAWG1G2i5fdBYklv_uJcjo2x7VYE,135
161
+ pip/_internal/metadata/importlib/__pycache__/__init__.cpython-314.pyc,,
162
+ pip/_internal/metadata/importlib/__pycache__/_compat.cpython-314.pyc,,
163
+ pip/_internal/metadata/importlib/__pycache__/_dists.cpython-314.pyc,,
164
+ pip/_internal/metadata/importlib/__pycache__/_envs.cpython-314.pyc,,
165
+ pip/_internal/metadata/importlib/_compat.py,sha256=sneVh4_6WxQZK4ljdl3ylVuP-q0ttSqbgl9mWt0HnOg,2804
166
+ pip/_internal/metadata/importlib/_dists.py,sha256=akX5xiLB_3dvbeb2gHL8i7wORi01_Cnty0HnKFQAF0Y,8717
167
+ pip/_internal/metadata/importlib/_envs.py,sha256=ulCRDEXYeinwS5AXL-Quj7C4Erk20kHhIwBmE2P3BYA,5590
168
+ pip/_internal/metadata/pkg_resources.py,sha256=NO76ZrfR2-LKJTyaXrmQoGhmJMArALvacrlZHViSDT8,10544
169
+ pip/_internal/models/__init__.py,sha256=AjmCEBxX_MH9f_jVjIGNCFJKYCYeSEe18yyvNx4uRKQ,62
170
+ pip/_internal/models/__pycache__/__init__.cpython-314.pyc,,
171
+ pip/_internal/models/__pycache__/candidate.cpython-314.pyc,,
172
+ pip/_internal/models/__pycache__/direct_url.cpython-314.pyc,,
173
+ pip/_internal/models/__pycache__/format_control.cpython-314.pyc,,
174
+ pip/_internal/models/__pycache__/index.cpython-314.pyc,,
175
+ pip/_internal/models/__pycache__/installation_report.cpython-314.pyc,,
176
+ pip/_internal/models/__pycache__/link.cpython-314.pyc,,
177
+ pip/_internal/models/__pycache__/release_control.cpython-314.pyc,,
178
+ pip/_internal/models/__pycache__/scheme.cpython-314.pyc,,
179
+ pip/_internal/models/__pycache__/search_scope.cpython-314.pyc,,
180
+ pip/_internal/models/__pycache__/selection_prefs.cpython-314.pyc,,
181
+ pip/_internal/models/__pycache__/target_python.cpython-314.pyc,,
182
+ pip/_internal/models/__pycache__/wheel.cpython-314.pyc,,
183
+ pip/_internal/models/candidate.py,sha256=MvANZJiHkw6Y4T-oYSM8710G6yYB4_DwofoD7BAmrnM,824
184
+ pip/_internal/models/direct_url.py,sha256=9RS3TQAXknwLd8JOOZWlbBV6WZFs9qn-YAYk0VQ8R_Q,944
185
+ pip/_internal/models/format_control.py,sha256=PwemYG1L27BM0f1KP61rm24wShENFyxqlD1TWu34alc,2471
186
+ pip/_internal/models/index.py,sha256=tYnL8oxGi4aSNWur0mG8DAP7rC6yuha_MwJO8xw0crI,1030
187
+ pip/_internal/models/installation_report.py,sha256=U4MlXWFB-8ev_yheuMO9T2m_y5b4C-hOzVaoHVobl38,2846
188
+ pip/_internal/models/link.py,sha256=SSXtFO3YAreUYY2R0PqtKXbAe1vV9Bqt5r_qPN218zE,23474
189
+ pip/_internal/models/release_control.py,sha256=31Jh-ZHsTIBZLe-7uPNoYLiRSWXAjEI1jGNxwqLKd4A,3365
190
+ pip/_internal/models/scheme.py,sha256=G-O9KElabcXqbPwfE_66lzX5fGahh3Gu6DAkz_9ZhJw,558
191
+ pip/_internal/models/search_scope.py,sha256=_i-Gj_w_FwZAvTs7WhjslBDD70J-8hmIdjXByI8uEZQ,4461
192
+ pip/_internal/models/selection_prefs.py,sha256=0teekwSVxW5MOk0WPG5Novw5q_XJjxijcd75kZO6E9g,1503
193
+ pip/_internal/models/target_python.py,sha256=I0eFS-eia3kwhrOvgsphFZtNAB2IwXZ9Sr9fp6IjBP4,4243
194
+ pip/_internal/models/wheel.py,sha256=1SdfDvN7ALTsbyZ9EOsNy1GPirP1n6EjHyzPrZyLSh8,2920
195
+ pip/_internal/network/__init__.py,sha256=FMy06P__y6jMjUc8z3ZcQdKF-pmZ2zM14_vBeHPGhUI,49
196
+ pip/_internal/network/__pycache__/__init__.cpython-314.pyc,,
197
+ pip/_internal/network/__pycache__/auth.cpython-314.pyc,,
198
+ pip/_internal/network/__pycache__/cache.cpython-314.pyc,,
199
+ pip/_internal/network/__pycache__/download.cpython-314.pyc,,
200
+ pip/_internal/network/__pycache__/lazy_wheel.cpython-314.pyc,,
201
+ pip/_internal/network/__pycache__/session.cpython-314.pyc,,
202
+ pip/_internal/network/__pycache__/utils.cpython-314.pyc,,
203
+ pip/_internal/network/__pycache__/xmlrpc.cpython-314.pyc,,
204
+ pip/_internal/network/auth.py,sha256=TBpwe7zcaPuBdBldjAOZhf20lmkacpIgGA-AqLcr8eU,21545
205
+ pip/_internal/network/cache.py,sha256=6DlMXJ7pb35M1vgtTK0-L_kiHJFxf7t9zrfeJ9vqO34,4862
206
+ pip/_internal/network/download.py,sha256=SVrmKao567lfs8RaCdyuOitzIRCZp9Rf3RcDj_o8vkg,14618
207
+ pip/_internal/network/lazy_wheel.py,sha256=y9gVksdJCSjnLfYzs_m3DYUAtl3hc_k-xFPDBd9DgOs,7646
208
+ pip/_internal/network/session.py,sha256=2KqMv5Hu_PFRYRkDBhSjIbqbsBp0lXv4tqoLKnM2K6o,19924
209
+ pip/_internal/network/utils.py,sha256=OTA1vwFtu2Ee1zWrqLysBpRQGTjvXxCJJUTEqy7hNcA,8128
210
+ pip/_internal/network/xmlrpc.py,sha256=_-Rnk3vOff8uF9hAGmT6SLALflY1gMBcbGwS12fb_Y4,1830
211
+ pip/_internal/operations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
212
+ pip/_internal/operations/__pycache__/__init__.cpython-314.pyc,,
213
+ pip/_internal/operations/__pycache__/check.cpython-314.pyc,,
214
+ pip/_internal/operations/__pycache__/freeze.cpython-314.pyc,,
215
+ pip/_internal/operations/__pycache__/prepare.cpython-314.pyc,,
216
+ pip/_internal/operations/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
217
+ pip/_internal/operations/build/__pycache__/__init__.cpython-314.pyc,,
218
+ pip/_internal/operations/build/__pycache__/build_tracker.cpython-314.pyc,,
219
+ pip/_internal/operations/build/__pycache__/metadata.cpython-314.pyc,,
220
+ pip/_internal/operations/build/__pycache__/metadata_editable.cpython-314.pyc,,
221
+ pip/_internal/operations/build/__pycache__/wheel.cpython-314.pyc,,
222
+ pip/_internal/operations/build/__pycache__/wheel_editable.cpython-314.pyc,,
223
+ pip/_internal/operations/build/build_tracker.py,sha256=W3b5cmkMWPaE6QIwfzsTayJo7-OlxFHWDxfPuax1KcE,4771
224
+ pip/_internal/operations/build/metadata.py,sha256=INHaeiRfOiLYCXApfDNRo9Cw2xI4VwTc0KItvfdfOjk,1421
225
+ pip/_internal/operations/build/metadata_editable.py,sha256=oWudMsnjy4loO_Jy7g4N9nxsnaEX_iDlVRgCy7pu1rs,1509
226
+ pip/_internal/operations/build/wheel.py,sha256=3bP-nNiJ4S8JvMaBnyessXQUBhxTqt1GBx6DQ1iPJDY,1136
227
+ pip/_internal/operations/build/wheel_editable.py,sha256=q3kfElclM6FutVbFwE87JOTpVWt5ixDf3_UkHAIVfz4,1478
228
+ pip/_internal/operations/check.py,sha256=k7mTjLb5yZbidYw8Nt9vu7_u1L1ekLOzUECeN4qcNsA,5891
229
+ pip/_internal/operations/freeze.py,sha256=PDdY-y_ZtZZJLAKcaWPIGRKAGW7DXR48f0aMRU0j7BA,9854
230
+ pip/_internal/operations/install/__init__.py,sha256=ak-UETcQPKlFZaWoYKWu5QVXbpFBvg0sXc3i0O4vSYY,50
231
+ pip/_internal/operations/install/__pycache__/__init__.cpython-314.pyc,,
232
+ pip/_internal/operations/install/__pycache__/wheel.cpython-314.pyc,,
233
+ pip/_internal/operations/install/wheel.py,sha256=qhFwJSShLm4quY8zIss_t-bff0YV49HTNAKfu4fSpic,29078
234
+ pip/_internal/operations/prepare.py,sha256=zLkVMSDu9cUR0KnDm3bZ3QvIeaErhJKrr109UyDMlKQ,35030
235
+ pip/_internal/pyproject.py,sha256=J-sTWqC-XfsKQgz9m1bypMWZPHItsSHzIN_NWeIRmhM,4555
236
+ pip/_internal/req/__init__.py,sha256=x3uB7ZW-l_MOPm8ldF8Gi0dh5C8W23dB_wOH2NmWpFc,3140
237
+ pip/_internal/req/__pycache__/__init__.cpython-314.pyc,,
238
+ pip/_internal/req/__pycache__/constructors.cpython-314.pyc,,
239
+ pip/_internal/req/__pycache__/pep723.cpython-314.pyc,,
240
+ pip/_internal/req/__pycache__/req_dependency_group.cpython-314.pyc,,
241
+ pip/_internal/req/__pycache__/req_file.cpython-314.pyc,,
242
+ pip/_internal/req/__pycache__/req_install.cpython-314.pyc,,
243
+ pip/_internal/req/__pycache__/req_set.cpython-314.pyc,,
244
+ pip/_internal/req/__pycache__/req_uninstall.cpython-314.pyc,,
245
+ pip/_internal/req/constructors.py,sha256=fwILg3OiIK_f13RUGX5zQyz4YasUMp7MC6u9uPvoGzw,22276
246
+ pip/_internal/req/pep723.py,sha256=JsG1p3CaVcW8cjclD2kDj7d9qtVrNQaevY_UnKh00tk,1242
247
+ pip/_internal/req/req_dependency_group.py,sha256=PrWKtlwI8xbWnWEKjXs9RkrpQx2_h02ABefYT0ZdeQg,3145
248
+ pip/_internal/req/req_file.py,sha256=dmGBSxZ9dj1eOq2NXv94bor0u1n8P4-AvmJL-vYzIsE,20644
249
+ pip/_internal/req/req_install.py,sha256=r289__WNVaTxpRtLFUz3FpNvdGv8yYa87G-QkP5DsJc,32173
250
+ pip/_internal/req/req_set.py,sha256=awkqIXnYA4Prmsj0Qb3zhqdbYUmXd-1o0P-KZ3mvRQs,2828
251
+ pip/_internal/req/req_uninstall.py,sha256=t5HSYuLoLxnF7jrcIBDjTEP-sjjr8O4fZouEqOkVM_c,24276
252
+ pip/_internal/resolution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
253
+ pip/_internal/resolution/__pycache__/__init__.cpython-314.pyc,,
254
+ pip/_internal/resolution/__pycache__/base.cpython-314.pyc,,
255
+ pip/_internal/resolution/base.py,sha256=J9Fq3kFOjFj9gBShYQtldEFPrRGSWtsp-rO9rIc4W4g,573
256
+ pip/_internal/resolution/legacy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
257
+ pip/_internal/resolution/legacy/__pycache__/__init__.cpython-314.pyc,,
258
+ pip/_internal/resolution/legacy/__pycache__/resolver.cpython-314.pyc,,
259
+ pip/_internal/resolution/legacy/resolver.py,sha256=2CVLIZLm_nXkfJTt5RKtIbIxvCkn9Gavf4Yp9c1IjDU,24110
260
+ pip/_internal/resolution/resolvelib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
261
+ pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-314.pyc,,
262
+ pip/_internal/resolution/resolvelib/__pycache__/base.cpython-314.pyc,,
263
+ pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-314.pyc,,
264
+ pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-314.pyc,,
265
+ pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-314.pyc,,
266
+ pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-314.pyc,,
267
+ pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-314.pyc,,
268
+ pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-314.pyc,,
269
+ pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-314.pyc,,
270
+ pip/_internal/resolution/resolvelib/base.py,sha256=fo7ojoQtgjmQH5ca3VyKJAO3p5sHnihMDw79Z8_31-U,5900
271
+ pip/_internal/resolution/resolvelib/candidates.py,sha256=SEkpEH6T6zl7Ve7Dw9oIS6tnREj-1U_q4U-2xEH0ISc,20848
272
+ pip/_internal/resolution/resolvelib/factory.py,sha256=rqwnD4GWEdVgG7nGP6OGj493yiGW6jZr0cW_msMOK_U,36162
273
+ pip/_internal/resolution/resolvelib/found_candidates.py,sha256=F55YtXekKUbVwphlXska01LkdTGVgx1qONlLK7BX-HM,6005
274
+ pip/_internal/resolution/resolvelib/provider.py,sha256=Nkx4A16MOAxjCj9jFm8wmlMk5cbWh1YK2-UYWTKEJCw,12310
275
+ pip/_internal/resolution/resolvelib/reporter.py,sha256=tEC7MF8IqGU4Ww9t61YVfNFKtoaQpb6-AwLZptJz1VE,3918
276
+ pip/_internal/resolution/resolvelib/requirements.py,sha256=Izl9n8nc188lA1BSPS8QxfudfDQPHgngw-ij6hXt0nQ,8239
277
+ pip/_internal/resolution/resolvelib/resolver.py,sha256=wM3CcRTYPdjnQ1ai3YP6htFmkE32o1xx2RgjU-ykAjc,13849
278
+ pip/_internal/self_outdated_check.py,sha256=9XxOXPqsZlKceTP2tZS7I7rXjodnqd3GrIQ8U0_L8BM,8097
279
+ pip/_internal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
280
+ pip/_internal/utils/__pycache__/__init__.cpython-314.pyc,,
281
+ pip/_internal/utils/__pycache__/_jaraco_text.cpython-314.pyc,,
282
+ pip/_internal/utils/__pycache__/_log.cpython-314.pyc,,
283
+ pip/_internal/utils/__pycache__/appdirs.cpython-314.pyc,,
284
+ pip/_internal/utils/__pycache__/compat.cpython-314.pyc,,
285
+ pip/_internal/utils/__pycache__/compatibility_tags.cpython-314.pyc,,
286
+ pip/_internal/utils/__pycache__/datetime.cpython-314.pyc,,
287
+ pip/_internal/utils/__pycache__/deprecation.cpython-314.pyc,,
288
+ pip/_internal/utils/__pycache__/direct_url_helpers.cpython-314.pyc,,
289
+ pip/_internal/utils/__pycache__/egg_link.cpython-314.pyc,,
290
+ pip/_internal/utils/__pycache__/entrypoints.cpython-314.pyc,,
291
+ pip/_internal/utils/__pycache__/filesystem.cpython-314.pyc,,
292
+ pip/_internal/utils/__pycache__/filetypes.cpython-314.pyc,,
293
+ pip/_internal/utils/__pycache__/glibc.cpython-314.pyc,,
294
+ pip/_internal/utils/__pycache__/hashes.cpython-314.pyc,,
295
+ pip/_internal/utils/__pycache__/logging.cpython-314.pyc,,
296
+ pip/_internal/utils/__pycache__/misc.cpython-314.pyc,,
297
+ pip/_internal/utils/__pycache__/packaging.cpython-314.pyc,,
298
+ pip/_internal/utils/__pycache__/pylock.cpython-314.pyc,,
299
+ pip/_internal/utils/__pycache__/retry.cpython-314.pyc,,
300
+ pip/_internal/utils/__pycache__/subprocess.cpython-314.pyc,,
301
+ pip/_internal/utils/__pycache__/temp_dir.cpython-314.pyc,,
302
+ pip/_internal/utils/__pycache__/unpacking.cpython-314.pyc,,
303
+ pip/_internal/utils/__pycache__/urls.cpython-314.pyc,,
304
+ pip/_internal/utils/__pycache__/virtualenv.cpython-314.pyc,,
305
+ pip/_internal/utils/__pycache__/wheel.cpython-314.pyc,,
306
+ pip/_internal/utils/_jaraco_text.py,sha256=M15uUPIh5NpP1tdUGBxRau6q1ZAEtI8-XyLEETscFfE,3350
307
+ pip/_internal/utils/_log.py,sha256=-jHLOE_THaZz5BFcCnoSL9EYAtJ0nXem49s9of4jvKw,1015
308
+ pip/_internal/utils/appdirs.py,sha256=LrzDPZMKVh0rubtCx9vu3XlZbLCSug6VSj4Qsvt66BA,1681
309
+ pip/_internal/utils/compat.py,sha256=i2JUZXGrqP-ZoD8t4gwckBA3KYNUWCluvRDXScts5fE,2601
310
+ pip/_internal/utils/compatibility_tags.py,sha256=DiNSLqpuruXUamGQwOJ2WZByDGLTGaXi9O-Xf8fOi34,6630
311
+ pip/_internal/utils/datetime.py,sha256=kuJOf1mW8G5tRFN6jWardddS-9qSaR53lK1jmx3NTZY,868
312
+ pip/_internal/utils/deprecation.py,sha256=IQFumZa-XWJ3UoPnX4duwbf79CTzOZD_Vk1PkivAu4g,4537
313
+ pip/_internal/utils/direct_url_helpers.py,sha256=WCCPJnmoPHz7kiYePrEcVAen2lDpCT9WQVImoHHWCO8,3363
314
+ pip/_internal/utils/egg_link.py,sha256=YWfsrbmfcrfWgqQYy6OuIjsyb9IfL1q_2v4zsms1WjI,2459
315
+ pip/_internal/utils/entrypoints.py,sha256=uPjAyShKObdotjQjJUzprQ6r3xQvDIZwUYfHHqZ7Dok,3324
316
+ pip/_internal/utils/filesystem.py,sha256=gig73bOOS1NnDB94EDDvdDnHjQoeRz_TlfQPiCV7Me0,6812
317
+ pip/_internal/utils/filetypes.py,sha256=sEMa38qaqjvx1Zid3OCAUja31BOBU-USuSMPBvU3yjo,689
318
+ pip/_internal/utils/glibc.py,sha256=sEh8RJJLYSdRvTqAO4THVPPA-YSDVLD4SI9So-bxX1U,3726
319
+ pip/_internal/utils/hashes.py,sha256=38-bCOJSHippQ7r9RttrMHxb2mv3EARt1Gw8kFmW73g,5040
320
+ pip/_internal/utils/logging.py,sha256=hGTjBuIjNZxydV6vs4woxAbhkHI8L-9uCO14OCvPlA8,13919
321
+ pip/_internal/utils/misc.py,sha256=28LWQFvFWmrpJqMcV0soif1xnl3_gb25B3gG_iU5zhM,25408
322
+ pip/_internal/utils/packaging.py,sha256=s5tpUmFumwV0H9JSTzryrIY4JwQM8paGt7Sm7eNwt2Y,1601
323
+ pip/_internal/utils/pylock.py,sha256=XQTZ1ggh7yfpHfRdbvjSAe1peOtg2Z2xFrUeZ7wl4Ts,10290
324
+ pip/_internal/utils/retry.py,sha256=oOK3VGgKRKxSkXDPARf73cnQS3hDtnE9-feAg4AlNZE,1488
325
+ pip/_internal/utils/subprocess.py,sha256=nqNz2p3G4QANCCBcaJkqIQvQUYA50TwjZnoYjiyPxs8,9001
326
+ pip/_internal/utils/temp_dir.py,sha256=TDiL9BzEp2eHalQLH0rhyM3m2xuydEg9c6t1h4bT5l8,9303
327
+ pip/_internal/utils/unpacking.py,sha256=5i9Sn__SNElhoCXnLt2SvQaQ-SnTzcUaDH1_JI1THUw,14789
328
+ pip/_internal/utils/urls.py,sha256=JQWrRAoXHBpPsY9Aij61bsZjMQLCcuyrUO1R6W_BwIo,1647
329
+ pip/_internal/utils/virtualenv.py,sha256=9od4LsceDynUSsLTEXXgtumlUQ8VvKp86b2xzK0Yu3g,2272
330
+ pip/_internal/utils/wheel.py,sha256=YdRuj6MicG-Q9Mg03FbUv1WTLam6Lc7AgijY4voVyis,4468
331
+ pip/_internal/vcs/__init__.py,sha256=UAqvzpbi0VbZo3Ub6skEeZAw-ooIZR-zX_WpCbxyCoU,596
332
+ pip/_internal/vcs/__pycache__/__init__.cpython-314.pyc,,
333
+ pip/_internal/vcs/__pycache__/bazaar.cpython-314.pyc,,
334
+ pip/_internal/vcs/__pycache__/git.cpython-314.pyc,,
335
+ pip/_internal/vcs/__pycache__/mercurial.cpython-314.pyc,,
336
+ pip/_internal/vcs/__pycache__/subversion.cpython-314.pyc,,
337
+ pip/_internal/vcs/__pycache__/versioncontrol.cpython-314.pyc,,
338
+ pip/_internal/vcs/bazaar.py,sha256=3W1eHjkYx2vc6boeb2NBh4I_rlGAXM-vrzfNhLm1Rxg,3734
339
+ pip/_internal/vcs/git.py,sha256=L52rqJN--Kq0kjAR8_9Si8RJEcNlULJdk6Vipg8ZlfA,19273
340
+ pip/_internal/vcs/mercurial.py,sha256=w1ZJWLKqNP1onEjkfjlwBVnMqPZNSIER8ayjQcnTq4w,5575
341
+ pip/_internal/vcs/subversion.py,sha256=uUgdPvxmvEB8Qwtjr0Hc0XgFjbiNi5cbvI4vARLOJXo,11787
342
+ pip/_internal/vcs/versioncontrol.py,sha256=JsUgTG53DkJPy5mXVBH7uqeFQyaL69707ibts5uCBYA,22579
343
+ pip/_internal/wheel_builder.py,sha256=kdPvAcxfknA8B_4g6hPDjB7C4uzL_cV5Vde2Oj2Ipzk,9146
344
+ pip/_vendor/README.rst,sha256=t7IinjaiuwUh812XmVApQHJb8pTw33U8A9URqy6GlF4,9222
345
+ pip/_vendor/__init__.py,sha256=WzusPTGWIMeQQWSVJ0h2rafGkVTa9WKJ2HT-2-EoZrU,4907
346
+ pip/_vendor/__pycache__/__init__.cpython-314.pyc,,
347
+ pip/_vendor/bom.cdx.json,sha256=eX4gCqf_8W-tn7Le6uzlCisr7GI-tsN1kXbu5s7hkyg,5319
348
+ pip/_vendor/cachecontrol/LICENSE.txt,sha256=hu7uh74qQ_P_H1ZJb0UfaSQ5JvAl_tuwM2ZsMExMFhs,558
349
+ pip/_vendor/cachecontrol/__init__.py,sha256=GxwRkm_TQBtPZpfpVK9r6S9dAy2DVnVgDVHJKTiPZ1k,820
350
+ pip/_vendor/cachecontrol/__pycache__/__init__.cpython-314.pyc,,
351
+ pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-314.pyc,,
352
+ pip/_vendor/cachecontrol/__pycache__/adapter.cpython-314.pyc,,
353
+ pip/_vendor/cachecontrol/__pycache__/cache.cpython-314.pyc,,
354
+ pip/_vendor/cachecontrol/__pycache__/controller.cpython-314.pyc,,
355
+ pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-314.pyc,,
356
+ pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-314.pyc,,
357
+ pip/_vendor/cachecontrol/__pycache__/serialize.cpython-314.pyc,,
358
+ pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-314.pyc,,
359
+ pip/_vendor/cachecontrol/_cmd.py,sha256=iist2EpzJvDVIhMAxXq8iFnTBsiZAd6iplxfmNboNyk,1737
360
+ pip/_vendor/cachecontrol/adapter.py,sha256=W-HW-l01gyCsnxkOyCbqx7sxrWYoBbKrDsKkVVQN6NE,6586
361
+ pip/_vendor/cachecontrol/cache.py,sha256=OXwv7Fn2AwnKNiahJHnjtvaKLndvVLv_-zO-ltlV9qI,1953
362
+ pip/_vendor/cachecontrol/caches/__init__.py,sha256=dtrrroK5BnADR1GWjCZ19aZ0tFsMfvFBtLQQU1sp_ag,303
363
+ pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-314.pyc,,
364
+ pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-314.pyc,,
365
+ pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-314.pyc,,
366
+ pip/_vendor/cachecontrol/caches/file_cache.py,sha256=d8upFmy_zwaCmlbWEVBlLXFddt8Zw8c5SFpxeOZsdfw,4117
367
+ pip/_vendor/cachecontrol/caches/redis_cache.py,sha256=9rmqwtYu_ljVkW6_oLqbC7EaX_a8YT_yLuna-eS0dgo,1386
368
+ pip/_vendor/cachecontrol/controller.py,sha256=xBauC-vUSu5GsJsxD4-W-JaKqqbBz0MN6Zv8PA2N8hI,19102
369
+ pip/_vendor/cachecontrol/filewrapper.py,sha256=DhxC_rSk-beKdbsYhfvBUDovQHX9r3gHH_jP9-q_mKk,4354
370
+ pip/_vendor/cachecontrol/heuristics.py,sha256=gqMXU8w0gQuEQiSdu3Yg-0vd9kW7nrWKbLca75rheGE,4881
371
+ pip/_vendor/cachecontrol/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
372
+ pip/_vendor/cachecontrol/serialize.py,sha256=HQd2IllQ05HzPkVLMXTF2uX5mjEQjDBkxCqUJUODpZk,5163
373
+ pip/_vendor/cachecontrol/wrapper.py,sha256=hsGc7g8QGQTT-4f8tgz3AM5qwScg6FO0BSdLSRdEvpU,1417
374
+ pip/_vendor/certifi/LICENSE,sha256=6TcW2mucDVpKHfYP5pWzcPBpVgPSH2-D8FPkLPwQyvc,989
375
+ pip/_vendor/certifi/__init__.py,sha256=-W1R_y8WCaSkT1tdjuxH_zTBZY1YH6xQgdN1nbBajOE,94
376
+ pip/_vendor/certifi/__main__.py,sha256=1k3Cr95vCxxGRGDljrW3wMdpZdL3Nhf0u1n-k2qdsCY,255
377
+ pip/_vendor/certifi/__pycache__/__init__.cpython-314.pyc,,
378
+ pip/_vendor/certifi/__pycache__/__main__.cpython-314.pyc,,
379
+ pip/_vendor/certifi/__pycache__/core.cpython-314.pyc,,
380
+ pip/_vendor/certifi/cacert.pem,sha256=u8fpwB11UbuKFZtd7dmJuO484QWv9SK2jrGwG_hUyrA,234354
381
+ pip/_vendor/certifi/core.py,sha256=gu_ECVI1m3Rq0ytpsNE61hgQGcKaOAt9Rs9G8KsTCOI,3442
382
+ pip/_vendor/certifi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
383
+ pip/_vendor/distlib/LICENSE.txt,sha256=gI4QyKarjesUn_mz-xn0R6gICUYG1xKpylf-rTVSWZ0,14531
384
+ pip/_vendor/distlib/__init__.py,sha256=tmYThB1xmgfRjRtyy8YP0i0ymrF2n6eVswcwK6OYbcc,625
385
+ pip/_vendor/distlib/__pycache__/__init__.cpython-314.pyc,,
386
+ pip/_vendor/distlib/__pycache__/compat.cpython-314.pyc,,
387
+ pip/_vendor/distlib/__pycache__/resources.cpython-314.pyc,,
388
+ pip/_vendor/distlib/__pycache__/scripts.cpython-314.pyc,,
389
+ pip/_vendor/distlib/__pycache__/util.cpython-314.pyc,,
390
+ pip/_vendor/distlib/compat.py,sha256=HTzhOY98c_fyMVE7xtVuZZ-AVkN4-RGes-hWmvuwquk,40605
391
+ pip/_vendor/distlib/resources.py,sha256=wZt_Ako8TY-L6ZIAmP42J7MNX0XTEF6gkM0Om5F7UPY,11350
392
+ pip/_vendor/distlib/scripts.py,sha256=rVm4A-YfGQDpsORwOy7AwepyRTayuy6rc-MnaCMBAcM,18835
393
+ pip/_vendor/distlib/t32.exe,sha256=a0GV5kCoWsMutvliiCKmIgV98eRZ33wXoS-XrqvJQVs,97792
394
+ pip/_vendor/distlib/t64-arm.exe,sha256=68TAa32V504xVBnufojh0PcenpR3U4wAqTqf-MZqbPw,182784
395
+ pip/_vendor/distlib/t64.exe,sha256=gaYY8hy4fbkHYTTnA4i26ct8IQZzkBG2pRdy0iyuBrc,108032
396
+ pip/_vendor/distlib/util.py,sha256=n2QDXvB0XtwrtehygnwdLgLkLia58sZjzgZPKyD6rAE,68167
397
+ pip/_vendor/distlib/w32.exe,sha256=R4csx3-OGM9kL4aPIzQKRo5TfmRSHZo6QWyLhDhNBks,91648
398
+ pip/_vendor/distlib/w64-arm.exe,sha256=xdyYhKj0WDcVUOCb05blQYvzdYIKMbmJn2SZvzkcey4,168448
399
+ pip/_vendor/distlib/w64.exe,sha256=ejGf-rojoBfXseGLpya6bFTFPWRG21X5KvU8J5iU-K0,101888
400
+ pip/_vendor/distro/LICENSE,sha256=y16Ofl9KOYjhBjwULGDcLfdWBfTEZRXnduOspt-XbhQ,11325
401
+ pip/_vendor/distro/__init__.py,sha256=2fHjF-SfgPvjyNZ1iHh_wjqWdR_Yo5ODHwZC0jLBPhc,981
402
+ pip/_vendor/distro/__main__.py,sha256=bu9d3TifoKciZFcqRBuygV3GSuThnVD_m2IK4cz96Vs,64
403
+ pip/_vendor/distro/__pycache__/__init__.cpython-314.pyc,,
404
+ pip/_vendor/distro/__pycache__/__main__.cpython-314.pyc,,
405
+ pip/_vendor/distro/__pycache__/distro.cpython-314.pyc,,
406
+ pip/_vendor/distro/distro.py,sha256=XqbefacAhDT4zr_trnbA15eY8vdK4GTghgmvUGrEM_4,49430
407
+ pip/_vendor/distro/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
408
+ pip/_vendor/idna/LICENSE.md,sha256=GppPDj1HmickDd1ZqRN6ZqtKD539yMphiMwL_YUYfwQ,1541
409
+ pip/_vendor/idna/__init__.py,sha256=MPqNDLZbXqGaNdXxAFhiqFPKEQXju2jNQhCey6-5eJM,868
410
+ pip/_vendor/idna/__main__.py,sha256=4JMK66Wj4uLZTKbF-sT3LAxOsr6buig77PmOkJCRRxw,83
411
+ pip/_vendor/idna/__pycache__/__init__.cpython-314.pyc,,
412
+ pip/_vendor/idna/__pycache__/__main__.cpython-314.pyc,,
413
+ pip/_vendor/idna/__pycache__/cli.cpython-314.pyc,,
414
+ pip/_vendor/idna/__pycache__/codec.cpython-314.pyc,,
415
+ pip/_vendor/idna/__pycache__/compat.cpython-314.pyc,,
416
+ pip/_vendor/idna/__pycache__/core.cpython-314.pyc,,
417
+ pip/_vendor/idna/__pycache__/idnadata.cpython-314.pyc,,
418
+ pip/_vendor/idna/__pycache__/intranges.cpython-314.pyc,,
419
+ pip/_vendor/idna/__pycache__/package_data.cpython-314.pyc,,
420
+ pip/_vendor/idna/__pycache__/uts46data.cpython-314.pyc,,
421
+ pip/_vendor/idna/cli.py,sha256=swqJLMNc8Uzs60KziNpbWnHuqlG3WRQwJSbo4n8xDAo,4139
422
+ pip/_vendor/idna/codec.py,sha256=JRbo-f7pEkLdWeiH89Z72UR4VBYhvKDFrQBeNX6sRDE,5040
423
+ pip/_vendor/idna/compat.py,sha256=AepA39ceRHxkfHP41-FvKW5Ki-f4PfUZ90RUMlCNdmo,1353
424
+ pip/_vendor/idna/core.py,sha256=SfOr1xO3PoE0RDYx7bMciAnjiyjJPbPw_93AB5IUYOw,24685
425
+ pip/_vendor/idna/idnadata.py,sha256=Af-mo8WBmkhAK6TyXKOQH88OX0mQNDKtdL7UWtQpppk,44862
426
+ pip/_vendor/idna/intranges.py,sha256=g49scLSkqJtAhLmOODa7hVHriSjmb60tiTsEoocJdBI,1851
427
+ pip/_vendor/idna/package_data.py,sha256=TeI94EqAFAFaXfBJwsOPUMLn2969uirPa-DaeaceAyU,21
428
+ pip/_vendor/idna/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
429
+ pip/_vendor/idna/uts46data.py,sha256=jujNz5QqWMcJf-XYLv4X1jBvb5FlI0t6-e1mILsgbPk,234325
430
+ pip/_vendor/msgpack/COPYING,sha256=SS3tuoXaWHL3jmCRvNH-pHTWYNNay03ulkuKqz8AdCc,614
431
+ pip/_vendor/msgpack/__init__.py,sha256=RA8gcqK17YpkxBnNwXJVa1oa2LygWDgfF1nA1NPw3mo,1109
432
+ pip/_vendor/msgpack/__pycache__/__init__.cpython-314.pyc,,
433
+ pip/_vendor/msgpack/__pycache__/exceptions.cpython-314.pyc,,
434
+ pip/_vendor/msgpack/__pycache__/ext.cpython-314.pyc,,
435
+ pip/_vendor/msgpack/__pycache__/fallback.cpython-314.pyc,,
436
+ pip/_vendor/msgpack/exceptions.py,sha256=dCTWei8dpkrMsQDcjQk74ATl9HsIBH0ybt8zOPNqMYc,1081
437
+ pip/_vendor/msgpack/ext.py,sha256=kteJv03n9tYzd5oo3xYopVTo4vRaAxonBQQJhXohZZo,5726
438
+ pip/_vendor/msgpack/fallback.py,sha256=0g1Pzp0vtmBEmJ5w9F3s_-JMVURP8RS4G1cc5TRaAsI,32390
439
+ pip/_vendor/packaging/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197
440
+ pip/_vendor/packaging/LICENSE.APACHE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
441
+ pip/_vendor/packaging/LICENSE.BSD,sha256=tw5-m3QvHMb5SLNMFqo5_-zpQZY2S8iP8NIYDwAo-sU,1344
442
+ pip/_vendor/packaging/__init__.py,sha256=QhMEdPu2XogrJzV3S0KWS6t7l0I9k8EeDRJl4fnw87s,494
443
+ pip/_vendor/packaging/__pycache__/__init__.cpython-314.pyc,,
444
+ pip/_vendor/packaging/__pycache__/_elffile.cpython-314.pyc,,
445
+ pip/_vendor/packaging/__pycache__/_manylinux.cpython-314.pyc,,
446
+ pip/_vendor/packaging/__pycache__/_musllinux.cpython-314.pyc,,
447
+ pip/_vendor/packaging/__pycache__/_parser.cpython-314.pyc,,
448
+ pip/_vendor/packaging/__pycache__/_structures.cpython-314.pyc,,
449
+ pip/_vendor/packaging/__pycache__/_tokenizer.cpython-314.pyc,,
450
+ pip/_vendor/packaging/__pycache__/dependency_groups.cpython-314.pyc,,
451
+ pip/_vendor/packaging/__pycache__/direct_url.cpython-314.pyc,,
452
+ pip/_vendor/packaging/__pycache__/errors.cpython-314.pyc,,
453
+ pip/_vendor/packaging/__pycache__/markers.cpython-314.pyc,,
454
+ pip/_vendor/packaging/__pycache__/metadata.cpython-314.pyc,,
455
+ pip/_vendor/packaging/__pycache__/pylock.cpython-314.pyc,,
456
+ pip/_vendor/packaging/__pycache__/requirements.cpython-314.pyc,,
457
+ pip/_vendor/packaging/__pycache__/specifiers.cpython-314.pyc,,
458
+ pip/_vendor/packaging/__pycache__/tags.cpython-314.pyc,,
459
+ pip/_vendor/packaging/__pycache__/utils.cpython-314.pyc,,
460
+ pip/_vendor/packaging/__pycache__/version.cpython-314.pyc,,
461
+ pip/_vendor/packaging/_elffile.py,sha256=-sKkptYqzYw2-x3QByJa5mB4rfPWu1pxkZHRx1WAFCY,3211
462
+ pip/_vendor/packaging/_manylinux.py,sha256=Hf6nB0cOrayEs96-p3oIXAgGnFquv20DO5l-o2_Xnv0,9559
463
+ pip/_vendor/packaging/_musllinux.py,sha256=Z6swjH3MA7XS3qXnmMN7QPhqP3fnoYI0eQ18e9-HgAE,2707
464
+ pip/_vendor/packaging/_parser.py,sha256=Kf2nsDw4c54X82pY8ba4F02Bve6OygGMAjL-Begqcew,11698
465
+ pip/_vendor/packaging/_structures.py,sha256=60jRbF78p8z5MKnNd6cAprgOadCJHV0DlmUmRBqFZcs,1109
466
+ pip/_vendor/packaging/_tokenizer.py,sha256=tFU2Wr-ZZJdAbkXLEJo7qUQDJaIkfft9DqaifiEND7A,5391
467
+ pip/_vendor/packaging/dependency_groups.py,sha256=XZIAVFK9uHG4RCGprmJn3VInUWMesxha_kytJuMO9eY,10218
468
+ pip/_vendor/packaging/direct_url.py,sha256=eKmbDiPP1sLV4Mj_kCSZqqknrIyVO9Sr7JpF8KCjp4U,10917
469
+ pip/_vendor/packaging/errors.py,sha256=6hfEYXAf8v_IF65-lFadJOMIieBP2xIKtyEXjG1nGIs,2680
470
+ pip/_vendor/packaging/licenses/__init__.py,sha256=_Jx0XRiD_58palsWnyLrLuh59ZpGCPIPXLKdZo9OJvQ,7293
471
+ pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-314.pyc,,
472
+ pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-314.pyc,,
473
+ pip/_vendor/packaging/licenses/_spdx.py,sha256=WW7DXiyg68up_YND_wpRYlr1SHhiV4FfJLQffghhMxQ,51122
474
+ pip/_vendor/packaging/markers.py,sha256=QixBVcb9D2HjwEYiuhpNkbqk9znPRbU8zNX0kR1RIrU,17067
475
+ pip/_vendor/packaging/metadata.py,sha256=crAh0E3GVGVqPlu6EdRFsaG-Y6UYznTUqjuGKRGPv6c,38770
476
+ pip/_vendor/packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
477
+ pip/_vendor/packaging/pylock.py,sha256=G_1gncTmDbRLY1jo4VDI9Uw-b5IErh_Q9V_BbVJTmD8,33890
478
+ pip/_vendor/packaging/requirements.py,sha256=Q-BdEHVW5K785GBXt7RcP4UEsdIKWoWFqlrHjR4WV50,4395
479
+ pip/_vendor/packaging/specifiers.py,sha256=3XBcSslm-YQEEEO_zrv4F6dR5wRxs4ErJvJ0vjNBfGM,71550
480
+ pip/_vendor/packaging/tags.py,sha256=ANYHZxYQVp9BlOQYOHU5ArDNVIpTFl4KlbocYVBWnFs,34236
481
+ pip/_vendor/packaging/utils.py,sha256=M7-JMKic2sP1YtV_8aW7eVGB-x3ADuKCiSrsVeCd2Uo,9848
482
+ pip/_vendor/packaging/version.py,sha256=Mcu7Tf6Y1i0gQ4FXv4t0g8cbL5joAEshjgIpz_2vISI,38393
483
+ pip/_vendor/pkg_resources/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023
484
+ pip/_vendor/pkg_resources/__init__.py,sha256=vbTJ0_ruUgGxQjlEqsruFmiNPVyh2t9q-zyTDT053xI,124451
485
+ pip/_vendor/pkg_resources/__pycache__/__init__.cpython-314.pyc,,
486
+ pip/_vendor/platformdirs/LICENSE,sha256=KeD9YukphQ6G6yjD_czwzv30-pSHkBHP-z0NS-1tTbY,1089
487
+ pip/_vendor/platformdirs/__init__.py,sha256=gBmL_J_KdPgKiwM3dHCo-y-8CbS06QCa1XIhJ9bIgew,32389
488
+ pip/_vendor/platformdirs/__main__.py,sha256=DQ1o1E1l0Ghuitj4uQJKAPwkcKbGzkzO0sbhzd9RbUc,1773
489
+ pip/_vendor/platformdirs/__pycache__/__init__.cpython-314.pyc,,
490
+ pip/_vendor/platformdirs/__pycache__/__main__.cpython-314.pyc,,
491
+ pip/_vendor/platformdirs/__pycache__/_xdg.cpython-314.pyc,,
492
+ pip/_vendor/platformdirs/__pycache__/android.cpython-314.pyc,,
493
+ pip/_vendor/platformdirs/__pycache__/api.cpython-314.pyc,,
494
+ pip/_vendor/platformdirs/__pycache__/macos.cpython-314.pyc,,
495
+ pip/_vendor/platformdirs/__pycache__/unix.cpython-314.pyc,,
496
+ pip/_vendor/platformdirs/__pycache__/version.cpython-314.pyc,,
497
+ pip/_vendor/platformdirs/__pycache__/windows.cpython-314.pyc,,
498
+ pip/_vendor/platformdirs/_xdg.py,sha256=5w6S07vVabEROhaUB_X7i0hmLNbdYtC9aEvPbsEIS8M,7894
499
+ pip/_vendor/platformdirs/android.py,sha256=BBj3wfw-dfuVxsCsKsvFByKVspRDgfv8gwIzhpE1JRQ,11566
500
+ pip/_vendor/platformdirs/api.py,sha256=EaIsFgXGu8cDTb41WM3hse_SrIoOUht8_TCo5XdOOSM,14887
501
+ pip/_vendor/platformdirs/macos.py,sha256=PWudeDZAY9UuwLP_5rN3exSRFtYdY542hDhjah4dSWA,9538
502
+ pip/_vendor/platformdirs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
503
+ pip/_vendor/platformdirs/unix.py,sha256=X7Cip1xOHFOnSVveqKWzU1P7jn4zuDGpRgmVxJnk4vk,13317
504
+ pip/_vendor/platformdirs/version.py,sha256=dJvdm7L_7wobEcxrNoJtH7CtmYcG_VR5yNmtBshJ-xs,522
505
+ pip/_vendor/platformdirs/windows.py,sha256=YOdSGNhdpxm_ydZq7uG74i9mX2_WWbcMSA4fobXwL0M,15798
506
+ pip/_vendor/pygments/LICENSE,sha256=qdZvHVJt8C4p3Oc0NtNOVuhjL0bCdbvf_HBWnogvnxc,1331
507
+ pip/_vendor/pygments/__init__.py,sha256=Xnd_7fJUqU_6D0bxXW0qS9M_OE9G6VW8YNPbGLWoKwQ,2986
508
+ pip/_vendor/pygments/__main__.py,sha256=IqAQ_836Kv2CTx8r6Ie6duRQuYSPl85sbYomEwIsY14,356
509
+ pip/_vendor/pygments/__pycache__/__init__.cpython-314.pyc,,
510
+ pip/_vendor/pygments/__pycache__/__main__.cpython-314.pyc,,
511
+ pip/_vendor/pygments/__pycache__/console.cpython-314.pyc,,
512
+ pip/_vendor/pygments/__pycache__/filter.cpython-314.pyc,,
513
+ pip/_vendor/pygments/__pycache__/formatter.cpython-314.pyc,,
514
+ pip/_vendor/pygments/__pycache__/lexer.cpython-314.pyc,,
515
+ pip/_vendor/pygments/__pycache__/modeline.cpython-314.pyc,,
516
+ pip/_vendor/pygments/__pycache__/plugin.cpython-314.pyc,,
517
+ pip/_vendor/pygments/__pycache__/regexopt.cpython-314.pyc,,
518
+ pip/_vendor/pygments/__pycache__/scanner.cpython-314.pyc,,
519
+ pip/_vendor/pygments/__pycache__/sphinxext.cpython-314.pyc,,
520
+ pip/_vendor/pygments/__pycache__/style.cpython-314.pyc,,
521
+ pip/_vendor/pygments/__pycache__/token.cpython-314.pyc,,
522
+ pip/_vendor/pygments/__pycache__/unistring.cpython-314.pyc,,
523
+ pip/_vendor/pygments/__pycache__/util.cpython-314.pyc,,
524
+ pip/_vendor/pygments/console.py,sha256=C189JAwhC1Qh0AKgshzb1wVDzFqBnv1VZ45kTEDIO30,1721
525
+ pip/_vendor/pygments/filter.py,sha256=1dnbkq2AdC3AkHt3DaXwnOkTBLChl1kR6naSLwnr_tc,1913
526
+ pip/_vendor/pygments/filters/__init__.py,sha256=Prd6xUK_7kw0rQv_OXPY3871RzwtWKGp_g7SddYHBXg,40397
527
+ pip/_vendor/pygments/filters/__pycache__/__init__.cpython-314.pyc,,
528
+ pip/_vendor/pygments/formatter.py,sha256=EuAXPX6c3XQkCt3lD0VhSPSZByG7YQk8HrCwxlf-CZQ,4393
529
+ pip/_vendor/pygments/formatters/__init__.py,sha256=EYLDCIgBHL_DkuhNRQZlHpS2_UE5-MfsGL1hMcOa95w,5388
530
+ pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-314.pyc,,
531
+ pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-314.pyc,,
532
+ pip/_vendor/pygments/formatters/_mapping.py,sha256=1Cw37FuQlNacnxRKmtlPX4nyLoX9_ttko5ZwscNUZZ4,4176
533
+ pip/_vendor/pygments/lexer.py,sha256=wSXDzt2fNZJSrlfdIfnKVlheRpFkszkPmgwBJevbBNo,35394
534
+ pip/_vendor/pygments/lexers/__init__.py,sha256=s8I_tVlotrM8cFTGlnjw45UY5sj5jhDwdQzOOjhzgNg,12118
535
+ pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-314.pyc,,
536
+ pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-314.pyc,,
537
+ pip/_vendor/pygments/lexers/__pycache__/python.cpython-314.pyc,,
538
+ pip/_vendor/pygments/lexers/_mapping.py,sha256=wGAYjOBprDVZA01eocwcLJ6L8biM9rP2jxwr1bQJ96M,77934
539
+ pip/_vendor/pygments/lexers/python.py,sha256=TqyfQOPhCYPx35apQL65CAj9k-4BxuzLq8MDfdm2jvE,54250
540
+ pip/_vendor/pygments/modeline.py,sha256=me8g5rySidvPtMBOrDy2O1sMqZd02lBHMY5KDZefUws,1008
541
+ pip/_vendor/pygments/plugin.py,sha256=P6zIw-vkSQ0k1WKHrzbBTjpwlCZPbR-6Qe_dO9Bjdu0,1928
542
+ pip/_vendor/pygments/regexopt.py,sha256=d2hTvazlow5zzZIOCVnfeEG2CY0GrY_igH1kCSSf7ow,3308
543
+ pip/_vendor/pygments/scanner.py,sha256=DtoLi1pOKpNu-6jiakJpSQLUi_ep29SQQhv7oAwYWME,3095
544
+ pip/_vendor/pygments/sphinxext.py,sha256=RflpnfXB4rZLYyZ-OQ_igntVOlB8jG42xFYgEVIyHf8,7984
545
+ pip/_vendor/pygments/style.py,sha256=wJSXOXjehGYxI6e3DGaUtONeWuhmTfswfkysrL9Was0,6423
546
+ pip/_vendor/pygments/styles/__init__.py,sha256=kYdCGK8gZ1V8wfFQETOzpPmZTJ1nMB0b1iNlU8dHQ9E,2045
547
+ pip/_vendor/pygments/styles/__pycache__/__init__.cpython-314.pyc,,
548
+ pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-314.pyc,,
549
+ pip/_vendor/pygments/styles/_mapping.py,sha256=6lovFUE29tz6EsV3XYY4hgozJ7q1JL7cfO3UOlgnS8w,3312
550
+ pip/_vendor/pygments/token.py,sha256=DVil5T2ltHkTgQTUYy1dMtgyigjavCs1ypE4Qf2CrGo,6229
551
+ pip/_vendor/pygments/unistring.py,sha256=Z4w4HfOVUhueCURRkfhAqQ2b-69UzkhY4xuHevYEy5g,63211
552
+ pip/_vendor/pygments/util.py,sha256=zk935tJSpwSA9zxNmV1TuhcEP0MfboXiRZSGQnLPEqk,10046
553
+ pip/_vendor/pyproject_hooks/LICENSE,sha256=GyKwSbUmfW38I6Z79KhNjsBLn9-xpR02DkK0NCyLQVQ,1081
554
+ pip/_vendor/pyproject_hooks/__init__.py,sha256=cPB_a9LXz5xvsRbX1o2qyAdjLatZJdQ_Lc5McNX-X7Y,691
555
+ pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-314.pyc,,
556
+ pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-314.pyc,,
557
+ pip/_vendor/pyproject_hooks/_impl.py,sha256=jY-raxnmyRyB57ruAitrJRUzEexuAhGTpgMygqx67Z4,14936
558
+ pip/_vendor/pyproject_hooks/_in_process/__init__.py,sha256=MJNPpfIxcO-FghxpBbxkG1rFiQf6HOUbV4U5mq0HFns,557
559
+ pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-314.pyc,,
560
+ pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-314.pyc,,
561
+ pip/_vendor/pyproject_hooks/_in_process/_in_process.py,sha256=qcXMhmx__MIJq10gGHW3mA4Tl8dy8YzHMccwnNoKlw0,12216
562
+ pip/_vendor/pyproject_hooks/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
563
+ pip/_vendor/requests/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
564
+ pip/_vendor/requests/__init__.py,sha256=nC2attFwdoYN-oE6-vQW4ciuvIu7J2P_TU1qQ2DcueE,5873
565
+ pip/_vendor/requests/__pycache__/__init__.cpython-314.pyc,,
566
+ pip/_vendor/requests/__pycache__/__version__.cpython-314.pyc,,
567
+ pip/_vendor/requests/__pycache__/_internal_utils.cpython-314.pyc,,
568
+ pip/_vendor/requests/__pycache__/_types.cpython-314.pyc,,
569
+ pip/_vendor/requests/__pycache__/adapters.cpython-314.pyc,,
570
+ pip/_vendor/requests/__pycache__/api.cpython-314.pyc,,
571
+ pip/_vendor/requests/__pycache__/auth.cpython-314.pyc,,
572
+ pip/_vendor/requests/__pycache__/certs.cpython-314.pyc,,
573
+ pip/_vendor/requests/__pycache__/compat.cpython-314.pyc,,
574
+ pip/_vendor/requests/__pycache__/cookies.cpython-314.pyc,,
575
+ pip/_vendor/requests/__pycache__/exceptions.cpython-314.pyc,,
576
+ pip/_vendor/requests/__pycache__/help.cpython-314.pyc,,
577
+ pip/_vendor/requests/__pycache__/hooks.cpython-314.pyc,,
578
+ pip/_vendor/requests/__pycache__/models.cpython-314.pyc,,
579
+ pip/_vendor/requests/__pycache__/packages.cpython-314.pyc,,
580
+ pip/_vendor/requests/__pycache__/sessions.cpython-314.pyc,,
581
+ pip/_vendor/requests/__pycache__/status_codes.cpython-314.pyc,,
582
+ pip/_vendor/requests/__pycache__/structures.cpython-314.pyc,,
583
+ pip/_vendor/requests/__pycache__/utils.cpython-314.pyc,,
584
+ pip/_vendor/requests/__version__.py,sha256=q7qQZwsDcKPcQNl8LepGo11L7JQf8Q18PPMJjvBKF_k,435
585
+ pip/_vendor/requests/_internal_utils.py,sha256=TH2NEyyYmPx9cV5HPzrHR4XdxKuW0skkD4eDXcbZgf8,1542
586
+ pip/_vendor/requests/_types.py,sha256=0G33n1SiecDMP67FlsRGJG1a0U7f1SnrMo3vvWKkSok,5838
587
+ pip/_vendor/requests/adapters.py,sha256=5kSKhXlJuR_enrOjd3khSGpRBj1WqCh08Qssu0CEZ8M,28208
588
+ pip/_vendor/requests/api.py,sha256=TRVICsBG8Ikgl5joZQR270oo6-b4G0AHWPjvQuxrVQk,7152
589
+ pip/_vendor/requests/auth.py,sha256=6TlRpVLUw8X9m4Sl4dSbA8qrpHI8T_ES2mBTYA7IWmU,12233
590
+ pip/_vendor/requests/certs.py,sha256=eD1G0RoMZ3kA0lydkw7oo0lmcKqvD1hhz6yOlgSKm8w,442
591
+ pip/_vendor/requests/compat.py,sha256=1UheFGomceWe7aysgboYWxcEOH_HpQFmKhIyPiAanog,2035
592
+ pip/_vendor/requests/cookies.py,sha256=ChzmFA8rlCBSLFCA41bmifp5bCUi9VyhCCb17Y4Kcjw,21549
593
+ pip/_vendor/requests/exceptions.py,sha256=Am6y4ncoBptpmesOjRxc5iiuBDYjx3UN1oRVBlNgRyE,4576
594
+ pip/_vendor/requests/help.py,sha256=TVWejkCROwKexHHB44KCZSr-c0o5XakNL7LT1UJlRy8,4114
595
+ pip/_vendor/requests/hooks.py,sha256=69igJHXTGg5HOo9VPpUB_0NkW5VjiFrVKETnpj8Ndqs,1138
596
+ pip/_vendor/requests/models.py,sha256=99d7WF4pR35NHo9jrbGiBocZ3LCMsloVU0DAcQ49x3Q,41848
597
+ pip/_vendor/requests/packages.py,sha256=_ZQDCJTJ8SP3kVWunSqBsRZNPzj2c1WFVqbdr08pz3U,1057
598
+ pip/_vendor/requests/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
599
+ pip/_vendor/requests/sessions.py,sha256=lvuzC7vwalmlJo0TtXiFFJdWqj8xaVtcFeQd17svZ6Y,34248
600
+ pip/_vendor/requests/status_codes.py,sha256=GVD0fInPGAGXh-B9jOSPZtazjmIvfZTXCpAkf-5sBA4,4351
601
+ pip/_vendor/requests/structures.py,sha256=upRgw5B48l5vHSokrJQaxvjS7pcZf6jI0MJi2KHmegI,4134
602
+ pip/_vendor/requests/utils.py,sha256=u7MICyzQTvfUa3asg9nBvcrnhSIPEc6qhJSxiGGwTOk,36334
603
+ pip/_vendor/resolvelib/LICENSE,sha256=84j9OMrRMRLB3A9mm76A5_hFQe26-3LzAw0sp2QsPJ0,751
604
+ pip/_vendor/resolvelib/__init__.py,sha256=yoX-d4STvwGGCiQRE5cJC9Cter69SgVgqClxOCvSP7M,541
605
+ pip/_vendor/resolvelib/__pycache__/__init__.cpython-314.pyc,,
606
+ pip/_vendor/resolvelib/__pycache__/providers.cpython-314.pyc,,
607
+ pip/_vendor/resolvelib/__pycache__/reporters.cpython-314.pyc,,
608
+ pip/_vendor/resolvelib/__pycache__/structs.cpython-314.pyc,,
609
+ pip/_vendor/resolvelib/providers.py,sha256=pIWJbIdJJ9GFtNbtwTH0Ia43Vj6hYCEJj2DOLue15FM,8914
610
+ pip/_vendor/resolvelib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
611
+ pip/_vendor/resolvelib/reporters.py,sha256=pNJf4nFxLpAeKxlBUi2GEj0a2Ij1nikY0UabTKXesT4,2037
612
+ pip/_vendor/resolvelib/resolvers/__init__.py,sha256=728M3EvmnPbVXS7ExXlv2kMu6b7wEsoPutEfl-uVk_I,640
613
+ pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-314.pyc,,
614
+ pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-314.pyc,,
615
+ pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-314.pyc,,
616
+ pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-314.pyc,,
617
+ pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-314.pyc,,
618
+ pip/_vendor/resolvelib/resolvers/abstract.py,sha256=CNeQPnpAudY77nmzOkONSmAgRlzIf06X-X9mvRYODms,1543
619
+ pip/_vendor/resolvelib/resolvers/criterion.py,sha256=lcmZGv5sKHOnFD_RzZwvlGSj19MeA-5rCMpdf2Sgw7Y,1768
620
+ pip/_vendor/resolvelib/resolvers/exceptions.py,sha256=ln_jaQtgLlRUSFY627yiHG2gD7AgaXzRKaElFVh7fDQ,1768
621
+ pip/_vendor/resolvelib/resolvers/resolution.py,sha256=3J_zkW-sD3EY-BlNXjyln__njpyH5n0UZJT6uV7CheA,24212
622
+ pip/_vendor/resolvelib/structs.py,sha256=pu-EJiR2IBITr2SQeNPRa0rXhjlStfmO_GEgAhr3004,6420
623
+ pip/_vendor/rich/LICENSE,sha256=3u18F6QxgVgZCj6iOcyHmlpQJxzruYrnAl9I--WNyhU,1056
624
+ pip/_vendor/rich/__init__.py,sha256=dRxjIL-SbFVY0q3IjSMrfgBTHrm1LZDgLOygVBwiYZc,6090
625
+ pip/_vendor/rich/__main__.py,sha256=e_aVC-tDzarWQW9SuZMuCgBr6ODV_iDNV2Wh2xkxOlw,7896
626
+ pip/_vendor/rich/__pycache__/__init__.cpython-314.pyc,,
627
+ pip/_vendor/rich/__pycache__/__main__.cpython-314.pyc,,
628
+ pip/_vendor/rich/__pycache__/_cell_widths.cpython-314.pyc,,
629
+ pip/_vendor/rich/__pycache__/_emoji_codes.cpython-314.pyc,,
630
+ pip/_vendor/rich/__pycache__/_emoji_replace.cpython-314.pyc,,
631
+ pip/_vendor/rich/__pycache__/_export_format.cpython-314.pyc,,
632
+ pip/_vendor/rich/__pycache__/_extension.cpython-314.pyc,,
633
+ pip/_vendor/rich/__pycache__/_fileno.cpython-314.pyc,,
634
+ pip/_vendor/rich/__pycache__/_inspect.cpython-314.pyc,,
635
+ pip/_vendor/rich/__pycache__/_log_render.cpython-314.pyc,,
636
+ pip/_vendor/rich/__pycache__/_loop.cpython-314.pyc,,
637
+ pip/_vendor/rich/__pycache__/_null_file.cpython-314.pyc,,
638
+ pip/_vendor/rich/__pycache__/_palettes.cpython-314.pyc,,
639
+ pip/_vendor/rich/__pycache__/_pick.cpython-314.pyc,,
640
+ pip/_vendor/rich/__pycache__/_ratio.cpython-314.pyc,,
641
+ pip/_vendor/rich/__pycache__/_spinners.cpython-314.pyc,,
642
+ pip/_vendor/rich/__pycache__/_stack.cpython-314.pyc,,
643
+ pip/_vendor/rich/__pycache__/_timer.cpython-314.pyc,,
644
+ pip/_vendor/rich/__pycache__/_win32_console.cpython-314.pyc,,
645
+ pip/_vendor/rich/__pycache__/_windows.cpython-314.pyc,,
646
+ pip/_vendor/rich/__pycache__/_windows_renderer.cpython-314.pyc,,
647
+ pip/_vendor/rich/__pycache__/_wrap.cpython-314.pyc,,
648
+ pip/_vendor/rich/__pycache__/abc.cpython-314.pyc,,
649
+ pip/_vendor/rich/__pycache__/align.cpython-314.pyc,,
650
+ pip/_vendor/rich/__pycache__/ansi.cpython-314.pyc,,
651
+ pip/_vendor/rich/__pycache__/bar.cpython-314.pyc,,
652
+ pip/_vendor/rich/__pycache__/box.cpython-314.pyc,,
653
+ pip/_vendor/rich/__pycache__/cells.cpython-314.pyc,,
654
+ pip/_vendor/rich/__pycache__/color.cpython-314.pyc,,
655
+ pip/_vendor/rich/__pycache__/color_triplet.cpython-314.pyc,,
656
+ pip/_vendor/rich/__pycache__/columns.cpython-314.pyc,,
657
+ pip/_vendor/rich/__pycache__/console.cpython-314.pyc,,
658
+ pip/_vendor/rich/__pycache__/constrain.cpython-314.pyc,,
659
+ pip/_vendor/rich/__pycache__/containers.cpython-314.pyc,,
660
+ pip/_vendor/rich/__pycache__/control.cpython-314.pyc,,
661
+ pip/_vendor/rich/__pycache__/default_styles.cpython-314.pyc,,
662
+ pip/_vendor/rich/__pycache__/diagnose.cpython-314.pyc,,
663
+ pip/_vendor/rich/__pycache__/emoji.cpython-314.pyc,,
664
+ pip/_vendor/rich/__pycache__/errors.cpython-314.pyc,,
665
+ pip/_vendor/rich/__pycache__/file_proxy.cpython-314.pyc,,
666
+ pip/_vendor/rich/__pycache__/filesize.cpython-314.pyc,,
667
+ pip/_vendor/rich/__pycache__/highlighter.cpython-314.pyc,,
668
+ pip/_vendor/rich/__pycache__/json.cpython-314.pyc,,
669
+ pip/_vendor/rich/__pycache__/jupyter.cpython-314.pyc,,
670
+ pip/_vendor/rich/__pycache__/layout.cpython-314.pyc,,
671
+ pip/_vendor/rich/__pycache__/live.cpython-314.pyc,,
672
+ pip/_vendor/rich/__pycache__/live_render.cpython-314.pyc,,
673
+ pip/_vendor/rich/__pycache__/logging.cpython-314.pyc,,
674
+ pip/_vendor/rich/__pycache__/markup.cpython-314.pyc,,
675
+ pip/_vendor/rich/__pycache__/measure.cpython-314.pyc,,
676
+ pip/_vendor/rich/__pycache__/padding.cpython-314.pyc,,
677
+ pip/_vendor/rich/__pycache__/pager.cpython-314.pyc,,
678
+ pip/_vendor/rich/__pycache__/palette.cpython-314.pyc,,
679
+ pip/_vendor/rich/__pycache__/panel.cpython-314.pyc,,
680
+ pip/_vendor/rich/__pycache__/pretty.cpython-314.pyc,,
681
+ pip/_vendor/rich/__pycache__/progress.cpython-314.pyc,,
682
+ pip/_vendor/rich/__pycache__/progress_bar.cpython-314.pyc,,
683
+ pip/_vendor/rich/__pycache__/prompt.cpython-314.pyc,,
684
+ pip/_vendor/rich/__pycache__/protocol.cpython-314.pyc,,
685
+ pip/_vendor/rich/__pycache__/region.cpython-314.pyc,,
686
+ pip/_vendor/rich/__pycache__/repr.cpython-314.pyc,,
687
+ pip/_vendor/rich/__pycache__/rule.cpython-314.pyc,,
688
+ pip/_vendor/rich/__pycache__/scope.cpython-314.pyc,,
689
+ pip/_vendor/rich/__pycache__/screen.cpython-314.pyc,,
690
+ pip/_vendor/rich/__pycache__/segment.cpython-314.pyc,,
691
+ pip/_vendor/rich/__pycache__/spinner.cpython-314.pyc,,
692
+ pip/_vendor/rich/__pycache__/status.cpython-314.pyc,,
693
+ pip/_vendor/rich/__pycache__/style.cpython-314.pyc,,
694
+ pip/_vendor/rich/__pycache__/styled.cpython-314.pyc,,
695
+ pip/_vendor/rich/__pycache__/syntax.cpython-314.pyc,,
696
+ pip/_vendor/rich/__pycache__/table.cpython-314.pyc,,
697
+ pip/_vendor/rich/__pycache__/terminal_theme.cpython-314.pyc,,
698
+ pip/_vendor/rich/__pycache__/text.cpython-314.pyc,,
699
+ pip/_vendor/rich/__pycache__/theme.cpython-314.pyc,,
700
+ pip/_vendor/rich/__pycache__/themes.cpython-314.pyc,,
701
+ pip/_vendor/rich/__pycache__/traceback.cpython-314.pyc,,
702
+ pip/_vendor/rich/__pycache__/tree.cpython-314.pyc,,
703
+ pip/_vendor/rich/_cell_widths.py,sha256=fbmeyetEdHjzE_Vx2l1uK7tnPOhMs2X1lJfO3vsKDpA,10209
704
+ pip/_vendor/rich/_emoji_codes.py,sha256=hu1VL9nbVdppJrVoijVshRlcRRe_v3dju3Mmd2sKZdY,140235
705
+ pip/_vendor/rich/_emoji_replace.py,sha256=n-kcetsEUx2ZUmhQrfeMNc-teeGhpuSQ5F8VPBsyvDo,1064
706
+ pip/_vendor/rich/_export_format.py,sha256=RI08pSrm5tBSzPMvnbTqbD9WIalaOoN5d4M1RTmLq1Y,2128
707
+ pip/_vendor/rich/_extension.py,sha256=Xt47QacCKwYruzjDi-gOBq724JReDj9Cm9xUi5fr-34,265
708
+ pip/_vendor/rich/_fileno.py,sha256=HWZxP5C2ajMbHryvAQZseflVfQoGzsKOHzKGsLD8ynQ,799
709
+ pip/_vendor/rich/_inspect.py,sha256=ROT0PLC2GMWialWZkqJIjmYq7INRijQQkoSokWTaAiI,9656
710
+ pip/_vendor/rich/_log_render.py,sha256=1ByI0PA1ZpxZY3CGJOK54hjlq4X-Bz_boIjIqCd8Kns,3225
711
+ pip/_vendor/rich/_loop.py,sha256=hV_6CLdoPm0va22Wpw4zKqM0RYsz3TZxXj0PoS-9eDQ,1236
712
+ pip/_vendor/rich/_null_file.py,sha256=ADGKp1yt-k70FMKV6tnqCqecB-rSJzp-WQsD7LPL-kg,1394
713
+ pip/_vendor/rich/_palettes.py,sha256=cdev1JQKZ0JvlguV9ipHgznTdnvlIzUFDBb0It2PzjI,7063
714
+ pip/_vendor/rich/_pick.py,sha256=evDt8QN4lF5CiwrUIXlOJCntitBCOsI3ZLPEIAVRLJU,423
715
+ pip/_vendor/rich/_ratio.py,sha256=IOtl78sQCYZsmHyxhe45krkb68u9xVz7zFsXVJD-b2Y,5325
716
+ pip/_vendor/rich/_spinners.py,sha256=U2r1_g_1zSjsjiUdAESc2iAMc3i4ri_S8PYP6kQ5z1I,19919
717
+ pip/_vendor/rich/_stack.py,sha256=-C8OK7rxn3sIUdVwxZBBpeHhIzX0eI-VM3MemYfaXm0,351
718
+ pip/_vendor/rich/_timer.py,sha256=zelxbT6oPFZnNrwWPpc1ktUeAT-Vc4fuFcRZLQGLtMI,417
719
+ pip/_vendor/rich/_win32_console.py,sha256=BSaDRIMwBLITn_m0mTRLPqME5q-quGdSMuYMpYeYJwc,22755
720
+ pip/_vendor/rich/_windows.py,sha256=aBwaD_S56SbgopIvayVmpk0Y28uwY2C5Bab1wl3Bp-I,1925
721
+ pip/_vendor/rich/_windows_renderer.py,sha256=t74ZL3xuDCP3nmTp9pH1L5LiI2cakJuQRQleHCJerlk,2783
722
+ pip/_vendor/rich/_wrap.py,sha256=FlSsom5EX0LVkA3KWy34yHnCfLtqX-ZIepXKh-70rpc,3404
723
+ pip/_vendor/rich/abc.py,sha256=ON-E-ZqSSheZ88VrKX2M3PXpFbGEUUZPMa_Af0l-4f0,890
724
+ pip/_vendor/rich/align.py,sha256=dg-7uY0ukMLLlUEsBDRLva22_sQgIJD4BK0dmZHFHug,10324
725
+ pip/_vendor/rich/ansi.py,sha256=Avs1LHbSdcyOvDOdpELZUoULcBiYewY76eNBp6uFBhs,6921
726
+ pip/_vendor/rich/bar.py,sha256=ldbVHOzKJOnflVNuv1xS7g6dLX2E3wMnXkdPbpzJTcs,3263
727
+ pip/_vendor/rich/box.py,sha256=kmavBc_dn73L_g_8vxWSwYJD2uzBXOUFTtJOfpbczcM,10686
728
+ pip/_vendor/rich/cells.py,sha256=KrQkj5-LghCCpJLSNQIyAZjndc4bnEqOEmi5YuZ9UCY,5130
729
+ pip/_vendor/rich/color.py,sha256=3HSULVDj7qQkXUdFWv78JOiSZzfy5y1nkcYhna296V0,18211
730
+ pip/_vendor/rich/color_triplet.py,sha256=3lhQkdJbvWPoLDO-AnYImAWmJvV5dlgYNCVZ97ORaN4,1054
731
+ pip/_vendor/rich/columns.py,sha256=HUX0KcMm9dsKNi11fTbiM_h2iDtl8ySCaVcxlalEzq8,7131
732
+ pip/_vendor/rich/console.py,sha256=t9azZpmRMVU5cphVBZSShNsmBxd2-IAWcTTlhor-E1s,100849
733
+ pip/_vendor/rich/constrain.py,sha256=1VIPuC8AgtKWrcncQrjBdYqA3JVWysu6jZo1rrh7c7Q,1288
734
+ pip/_vendor/rich/containers.py,sha256=c_56TxcedGYqDepHBMTuZdUIijitAQgnox-Qde0Z1qo,5502
735
+ pip/_vendor/rich/control.py,sha256=EUTSUFLQbxY6Zmo_sdM-5Ls323vIHTBfN8TPulqeHUY,6487
736
+ pip/_vendor/rich/default_styles.py,sha256=khQFqqaoDs3bprMqWpHw8nO5UpG2DN6QtuTd6LzZwYc,8257
737
+ pip/_vendor/rich/diagnose.py,sha256=fJl1TItRn19gGwouqTg-8zPUW3YqQBqGltrfPQs1H9w,1025
738
+ pip/_vendor/rich/emoji.py,sha256=Wd4bQubZdSy6-PyrRQNuMHtn2VkljK9uPZPVlu2cmx0,2367
739
+ pip/_vendor/rich/errors.py,sha256=5pP3Kc5d4QJ_c0KFsxrfyhjiPVe7J1zOqSFbFAzcV-Y,642
740
+ pip/_vendor/rich/file_proxy.py,sha256=Tl9THMDZ-Pk5Wm8sI1gGg_U5DhusmxD-FZ0fUbcU0W0,1683
741
+ pip/_vendor/rich/filesize.py,sha256=_iz9lIpRgvW7MNSeCZnLg-HwzbP4GETg543WqD8SFs0,2484
742
+ pip/_vendor/rich/highlighter.py,sha256=G_sn-8DKjM1sEjLG_oc4ovkWmiUpWvj8bXi0yed2LnY,9586
743
+ pip/_vendor/rich/json.py,sha256=vVEoKdawoJRjAFayPwXkMBPLy7RSTs-f44wSQDR2nJ0,5031
744
+ pip/_vendor/rich/jupyter.py,sha256=QyoKoE_8IdCbrtiSHp9TsTSNyTHY0FO5whE7jOTd9UE,3252
745
+ pip/_vendor/rich/layout.py,sha256=ajkSFAtEVv9EFTcFs-w4uZfft7nEXhNzL7ZVdgrT5rI,14004
746
+ pip/_vendor/rich/live.py,sha256=tF3ukAAJZ_N2ZbGclqZ-iwLoIoZ8f0HHUz79jAyJqj8,15180
747
+ pip/_vendor/rich/live_render.py,sha256=It_39YdzrBm8o3LL0kaGorPFg-BfZWAcrBjLjFokbx4,3521
748
+ pip/_vendor/rich/logging.py,sha256=5KaPPSMP9FxcXPBcKM4cGd_zW78PMgf-YbMVnvfSw0o,12468
749
+ pip/_vendor/rich/markup.py,sha256=3euGKP5s41NCQwaSjTnJxus5iZMHjxpIM0W6fCxra38,8451
750
+ pip/_vendor/rich/measure.py,sha256=HmrIJX8sWRTHbgh8MxEay_83VkqNW_70s8aKP5ZcYI8,5305
751
+ pip/_vendor/rich/padding.py,sha256=KVEI3tOwo9sgK1YNSuH__M1_jUWmLZwRVV_KmOtVzyM,4908
752
+ pip/_vendor/rich/pager.py,sha256=SO_ETBFKbg3n_AgOzXm41Sv36YxXAyI3_R-KOY2_uSc,828
753
+ pip/_vendor/rich/palette.py,sha256=lInvR1ODDT2f3UZMfL1grq7dY_pDdKHw4bdUgOGaM4Y,3396
754
+ pip/_vendor/rich/panel.py,sha256=9sQl00hPIqH5G2gALQo4NepFwpP0k9wT-s_gOms5pIc,11157
755
+ pip/_vendor/rich/pretty.py,sha256=gy3S72u4FRg2ytoo7N1ZDWDIvB4unbzd5iUGdgm-8fc,36391
756
+ pip/_vendor/rich/progress.py,sha256=CUc2lkU-X59mVdGfjMCBkZeiGPL3uxdONjhNJF2T7wY,60408
757
+ pip/_vendor/rich/progress_bar.py,sha256=mZTPpJUwcfcdgQCTTz3kyY-fc79ddLwtx6Ghhxfo064,8162
758
+ pip/_vendor/rich/prompt.py,sha256=l0RhQU-0UVTV9e08xW1BbIj0Jq2IXyChX4lC0lFNzt4,12447
759
+ pip/_vendor/rich/protocol.py,sha256=5hHHDDNHckdk8iWH5zEbi-zuIVSF5hbU2jIo47R7lTE,1391
760
+ pip/_vendor/rich/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
761
+ pip/_vendor/rich/region.py,sha256=rNT9xZrVZTYIXZC0NYn41CJQwYNbR-KecPOxTgQvB8Y,166
762
+ pip/_vendor/rich/repr.py,sha256=5MZJZmONgC6kud-QW-_m1okXwL2aR6u6y-pUcUCJz28,4431
763
+ pip/_vendor/rich/rule.py,sha256=0fNaS_aERa3UMRc3T5WMpN_sumtDxfaor2y3of1ftBk,4602
764
+ pip/_vendor/rich/scope.py,sha256=TMUU8qo17thyqQCPqjDLYpg_UU1k5qVd-WwiJvnJVas,2843
765
+ pip/_vendor/rich/screen.py,sha256=YoeReESUhx74grqb0mSSb9lghhysWmFHYhsbMVQjXO8,1591
766
+ pip/_vendor/rich/segment.py,sha256=otnKeKGEV-WRlQVosfJVeFDcDxAKHpvJ_hLzSu5lumM,24743
767
+ pip/_vendor/rich/spinner.py,sha256=onIhpKlljRHppTZasxO8kXgtYyCHUkpSgKglRJ3o51g,4214
768
+ pip/_vendor/rich/status.py,sha256=kkPph3YeAZBo-X-4wPp8gTqZyU466NLwZBA4PZTTewo,4424
769
+ pip/_vendor/rich/style.py,sha256=W9Ccy8Py8lNICtlfcp-ryzMTuQaGxAU3av7-g5fHu0s,26990
770
+ pip/_vendor/rich/styled.py,sha256=eZNnzGrI4ki_54pgY3Oj0T-x3lxdXTYh4_ryDB24wBU,1258
771
+ pip/_vendor/rich/syntax.py,sha256=eDKIRwl--eZ0Lwo2da2RRtfutXGavrJO61Cl5OkS59U,36371
772
+ pip/_vendor/rich/table.py,sha256=ZmT7V7MMCOYKw7TGY9SZLyYDf6JdM-WVf07FdVuVhTI,40049
773
+ pip/_vendor/rich/terminal_theme.py,sha256=1j5-ufJfnvlAo5Qsi_ACZiXDmwMXzqgmFByObT9-yJY,3370
774
+ pip/_vendor/rich/text.py,sha256=AO7JPCz6-gaN1thVLXMBntEmDPVYFgFNG1oM61_sanU,47552
775
+ pip/_vendor/rich/theme.py,sha256=oNyhXhGagtDlbDye3tVu3esWOWk0vNkuxFw-_unlaK0,3771
776
+ pip/_vendor/rich/themes.py,sha256=0xgTLozfabebYtcJtDdC5QkX5IVUEaviqDUJJh4YVFk,102
777
+ pip/_vendor/rich/traceback.py,sha256=c0WmB_L04_UfZbLaoH982_U_s7eosxKMUiAVmDPdRYU,35861
778
+ pip/_vendor/rich/tree.py,sha256=yWnQ6rAvRGJ3qZGqBrxS2SW2TKBTNrP0SdY8QxOFPuw,9451
779
+ pip/_vendor/tomli/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
780
+ pip/_vendor/tomli/__init__.py,sha256=nrBC18DbXRTCFo7ElG5BDeWpHJzOhokvXk215GM8Z2I,314
781
+ pip/_vendor/tomli/__pycache__/__init__.cpython-314.pyc,,
782
+ pip/_vendor/tomli/__pycache__/_parser.cpython-314.pyc,,
783
+ pip/_vendor/tomli/__pycache__/_re.cpython-314.pyc,,
784
+ pip/_vendor/tomli/__pycache__/_types.cpython-314.pyc,,
785
+ pip/_vendor/tomli/_parser.py,sha256=pBIjTIa_cQs2HglDJ2lh8OJfptfDa6eg5-7Iej4BjHs,26440
786
+ pip/_vendor/tomli/_re.py,sha256=oSNZ_ilFI6chEuQ01YRSoUydBQr_okF_mSdHTkFmv90,3396
787
+ pip/_vendor/tomli/_types.py,sha256=-GTG2VUqkpxwMqzmVO4F7ybKddIbAnuAHXfmWQcTi3Q,254
788
+ pip/_vendor/tomli/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
789
+ pip/_vendor/tomli_w/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
790
+ pip/_vendor/tomli_w/__init__.py,sha256=0F8yDtXx3Uunhm874KrAcP76srsM98y7WyHQwCulZbo,169
791
+ pip/_vendor/tomli_w/__pycache__/__init__.cpython-314.pyc,,
792
+ pip/_vendor/tomli_w/__pycache__/_writer.cpython-314.pyc,,
793
+ pip/_vendor/tomli_w/_writer.py,sha256=dsifFS2xYf1i76mmRyfz9y125xC7Z_HQ845ZKhJsYXs,6961
794
+ pip/_vendor/tomli_w/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
795
+ pip/_vendor/truststore/LICENSE,sha256=M757fo-k_Rmxdg4ajtimaL2rhSyRtpLdQUJLy3Jan8o,1086
796
+ pip/_vendor/truststore/__init__.py,sha256=Bu7kqkmpunhLsj5xCu8gT_25ktoPXcSnwe8VHk1GmJo,1320
797
+ pip/_vendor/truststore/__pycache__/__init__.cpython-314.pyc,,
798
+ pip/_vendor/truststore/__pycache__/_api.cpython-314.pyc,,
799
+ pip/_vendor/truststore/__pycache__/_macos.cpython-314.pyc,,
800
+ pip/_vendor/truststore/__pycache__/_openssl.cpython-314.pyc,,
801
+ pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-314.pyc,,
802
+ pip/_vendor/truststore/__pycache__/_windows.cpython-314.pyc,,
803
+ pip/_vendor/truststore/_api.py,sha256=CYJCV5BTfttZYfqY3movdMBE-8az7uhET_LYbKT2Nn4,11413
804
+ pip/_vendor/truststore/_macos.py,sha256=nZlLkOmszUE0g6ryRwBVGY5COzPyudcsiJtDWarM5LQ,20503
805
+ pip/_vendor/truststore/_openssl.py,sha256=zB-SQvJydks7tQ0yIwrP6GD3fQNSSaPiq7zw4yF5T40,2412
806
+ pip/_vendor/truststore/_ssl_constants.py,sha256=NUD4fVKdSD02ri7-db0tnO0VqLP9aHuzmStcW7tAl08,1130
807
+ pip/_vendor/truststore/_windows.py,sha256=rAHyKYD8M7t-bXfG8VgOVa3TpfhVhbt4rZQlO45YuP8,17993
808
+ pip/_vendor/truststore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
809
+ pip/_vendor/urllib3/LICENSE.txt,sha256=Ew46ZNX91dCWp1JpRjSn2d8oRGnehuVzIQAmgEHj1oY,1093
810
+ pip/_vendor/urllib3/__init__.py,sha256=JMo1tg1nIV1AeJ2vENC_Txfl0e5h6Gzl9DGVk1rWRbo,6979
811
+ pip/_vendor/urllib3/__pycache__/__init__.cpython-314.pyc,,
812
+ pip/_vendor/urllib3/__pycache__/_base_connection.cpython-314.pyc,,
813
+ pip/_vendor/urllib3/__pycache__/_collections.cpython-314.pyc,,
814
+ pip/_vendor/urllib3/__pycache__/_request_methods.cpython-314.pyc,,
815
+ pip/_vendor/urllib3/__pycache__/_version.cpython-314.pyc,,
816
+ pip/_vendor/urllib3/__pycache__/connection.cpython-314.pyc,,
817
+ pip/_vendor/urllib3/__pycache__/connectionpool.cpython-314.pyc,,
818
+ pip/_vendor/urllib3/__pycache__/exceptions.cpython-314.pyc,,
819
+ pip/_vendor/urllib3/__pycache__/fields.cpython-314.pyc,,
820
+ pip/_vendor/urllib3/__pycache__/filepost.cpython-314.pyc,,
821
+ pip/_vendor/urllib3/__pycache__/poolmanager.cpython-314.pyc,,
822
+ pip/_vendor/urllib3/__pycache__/response.cpython-314.pyc,,
823
+ pip/_vendor/urllib3/_base_connection.py,sha256=HzcSEHexgDrRUr60jNniB2KQjdw97SedD5luRfHtCXg,5580
824
+ pip/_vendor/urllib3/_collections.py,sha256=aOVm2mKilvuvT1efAGtkA7pi65C1NC3HJfpFxvYBS8A,17522
825
+ pip/_vendor/urllib3/_request_methods.py,sha256=gCeF85SO_UU4WoPwYHIoz_tw-eM_EVOkLFp8OFsC7DA,9931
826
+ pip/_vendor/urllib3/_version.py,sha256=-gMrKhsPiOj0XzUezVFa59d1S6QgQiKgQT5gGgyM8-w,520
827
+ pip/_vendor/urllib3/connection.py,sha256=Zos3qxKDW9-GQ6aVqfBQVRM5soB0IjHxY_xXWpJaFTI,42786
828
+ pip/_vendor/urllib3/connectionpool.py,sha256=sGFnddXYwlx7KC4JCP1gKvdNGLNK-YTCJDdGACGj3Y8,44164
829
+ pip/_vendor/urllib3/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
830
+ pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-314.pyc,,
831
+ pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-314.pyc,,
832
+ pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-314.pyc,,
833
+ pip/_vendor/urllib3/contrib/emscripten/__init__.py,sha256=ZruXaWKVzAEJdqNH3NEh0mrHrw--2VZYb0zX0RonNZA,870
834
+ pip/_vendor/urllib3/contrib/emscripten/__pycache__/__init__.cpython-314.pyc,,
835
+ pip/_vendor/urllib3/contrib/emscripten/__pycache__/connection.cpython-314.pyc,,
836
+ pip/_vendor/urllib3/contrib/emscripten/__pycache__/fetch.cpython-314.pyc,,
837
+ pip/_vendor/urllib3/contrib/emscripten/__pycache__/request.cpython-314.pyc,,
838
+ pip/_vendor/urllib3/contrib/emscripten/__pycache__/response.cpython-314.pyc,,
839
+ pip/_vendor/urllib3/contrib/emscripten/connection.py,sha256=giElsBoUsKVURbZzb8GCrJmqW23Xnvj2aNyQVF42slg,8960
840
+ pip/_vendor/urllib3/contrib/emscripten/emscripten_fetch_worker.js,sha256=z1k3zZ4_hDKd3-tN7wzz8LHjHC2pxN_uu8B3k9D9A3c,3677
841
+ pip/_vendor/urllib3/contrib/emscripten/fetch.py,sha256=5xcd--viFxZd2nBy0aK73dtJ9Tsh1yYZU_SUXwnwibk,23520
842
+ pip/_vendor/urllib3/contrib/emscripten/request.py,sha256=mL28szy1KvE3NJhWor5jNmarp8gwplDU-7gwGZY5g0Q,566
843
+ pip/_vendor/urllib3/contrib/emscripten/response.py,sha256=CDpY0GFoluR3IxECkM2gH5uDfYDM0EL1FWr7B76wtgM,9719
844
+ pip/_vendor/urllib3/contrib/pyopenssl.py,sha256=Pi_qwvdl83tNpuj1k5pCpP_gmxlk4BfFrTlAeg-qZ_U,19760
845
+ pip/_vendor/urllib3/contrib/socks.py,sha256=rSuklfha4-vto-8qSLhSPmf5lmRPIYuqdAxKe9bg2RA,7639
846
+ pip/_vendor/urllib3/exceptions.py,sha256=hQPHoqo4yw46esNSVkciVQXVUgAxWAglsh6MbyQta-Q,9945
847
+ pip/_vendor/urllib3/fields.py,sha256=aGLFAVZpVU-FbJlllve4Ahg0-pH9ZZBQ2Iz7lfpkjkM,10801
848
+ pip/_vendor/urllib3/filepost.py,sha256=U8eNZ-mpKKHhrlbHEEiTxxgK16IejhEa7uz42yqA_dI,2388
849
+ pip/_vendor/urllib3/http2/__init__.py,sha256=xzrASH7R5ANRkPJOot5lGnATOq3KKuyXzI42rcnwmqs,1741
850
+ pip/_vendor/urllib3/http2/__pycache__/__init__.cpython-314.pyc,,
851
+ pip/_vendor/urllib3/http2/__pycache__/connection.cpython-314.pyc,,
852
+ pip/_vendor/urllib3/http2/__pycache__/probe.cpython-314.pyc,,
853
+ pip/_vendor/urllib3/http2/connection.py,sha256=bHMH6fNvatwXPrKqrcn74yA3pUWcqPDppnK1LcKCbP8,12578
854
+ pip/_vendor/urllib3/http2/probe.py,sha256=nnAkqbhAakOiF75rz7W0udZ38Eeh_uD8fjV74N73FEI,3014
855
+ pip/_vendor/urllib3/poolmanager.py,sha256=grIrETG1rgHYBaQau1yN4xxfK8U9CKVRYmwBXW_kdSo,23929
856
+ pip/_vendor/urllib3/py.typed,sha256=UaCuPFa3H8UAakbt-5G8SPacldTOGvJv18pPjUJ5gDY,93
857
+ pip/_vendor/urllib3/response.py,sha256=DzBM-dzl6x_h2EZGc9iw0gbOkQ36bolC7WESH4TurH8,53031
858
+ pip/_vendor/urllib3/util/__init__.py,sha256=-qeS0QceivazvBEKDNFCAI-6ACcdDOE4TMvo7SLNlAQ,1001
859
+ pip/_vendor/urllib3/util/__pycache__/__init__.cpython-314.pyc,,
860
+ pip/_vendor/urllib3/util/__pycache__/connection.cpython-314.pyc,,
861
+ pip/_vendor/urllib3/util/__pycache__/proxy.cpython-314.pyc,,
862
+ pip/_vendor/urllib3/util/__pycache__/request.cpython-314.pyc,,
863
+ pip/_vendor/urllib3/util/__pycache__/response.cpython-314.pyc,,
864
+ pip/_vendor/urllib3/util/__pycache__/retry.cpython-314.pyc,,
865
+ pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-314.pyc,,
866
+ pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-314.pyc,,
867
+ pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-314.pyc,,
868
+ pip/_vendor/urllib3/util/__pycache__/timeout.cpython-314.pyc,,
869
+ pip/_vendor/urllib3/util/__pycache__/url.cpython-314.pyc,,
870
+ pip/_vendor/urllib3/util/__pycache__/util.cpython-314.pyc,,
871
+ pip/_vendor/urllib3/util/__pycache__/wait.cpython-314.pyc,,
872
+ pip/_vendor/urllib3/util/connection.py,sha256=JjO722lzHlzLXPTkr9ZWBdhseXnMVjMSb1DJLVrXSnQ,4444
873
+ pip/_vendor/urllib3/util/proxy.py,sha256=seP8-Q5B6bB0dMtwPj-YcZZQ30vHuLqRu-tI0JZ2fzs,1148
874
+ pip/_vendor/urllib3/util/request.py,sha256=p9Ki9eo1tFBO-jqV_7KmmJ60RKqoY2r4ao0SmaHLyOs,8086
875
+ pip/_vendor/urllib3/util/response.py,sha256=vQE639uoEhj1vpjEdxu5lNIhJCSUZkd7pqllUI0BZOA,3374
876
+ pip/_vendor/urllib3/util/retry.py,sha256=2YnSX-_FecMShD61Mx5s68J0_btUHZrrc_BkFVRS1P4,19577
877
+ pip/_vendor/urllib3/util/ssl_.py,sha256=Oqe3rIhUU3e3GVgZob2hxmR8Q0ZDhrhESPlPP_GLaVQ,17742
878
+ pip/_vendor/urllib3/util/ssl_match_hostname.py,sha256=Ft44KJzTzGMmKff_ZXP91li2V4WhmvEy16PKBcv4vZk,5479
879
+ pip/_vendor/urllib3/util/ssltransport.py,sha256=Ez4O8pR_vT8dan_FvqBYS6dgDfBXEMfVfrzcdUoWfi4,8847
880
+ pip/_vendor/urllib3/util/timeout.py,sha256=vsUJRpO0nfKk-y1OKlgFGY1ONJGPgkaZ7B7kruEpVYw,10363
881
+ pip/_vendor/urllib3/util/url.py,sha256=PEDQMypidude0nAZctLLiFK9epN-LPnSH7KpOLLwqH0,15256
882
+ pip/_vendor/urllib3/util/util.py,sha256=j3lbZK1jPyiwD34T8IgJzdWEZVT-4E-0vYIJi9UjeNA,1146
883
+ pip/_vendor/urllib3/util/wait.py,sha256=_ph8IrUR3sqPqi0OopQgJUlH4wzkGeM5CiyA7XGGtmI,4423
884
+ pip/_vendor/vendor.txt,sha256=PfDJYBv6Lg3KI8xXSk-QCk1_2tBgqyA_q4NUNQ7ZMyA,317
885
+ pip/py.typed,sha256=EBVvvPRTn_eIpz5e5QztSCdrMX7Qwd7VP93RSoIlZ2I,286
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/REQUESTED ADDED
File without changes
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/WHEEL ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Wheel-Version: 1.0
2
+ Generator: flit 3.12.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/entry_points.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ [console_scripts]
2
+ pip=pip._internal.cli.main:main
3
+ pip3=pip._internal.cli.main:main
4
+
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/AUTHORS.txt ADDED
@@ -0,0 +1,888 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @Switch01
2
+ A_Rog
3
+ Aakanksha Agrawal
4
+ Aarni Koskela
5
+ abdul rawoof
6
+ Abdul Rawoof Khan
7
+ Abhinav Sagar
8
+ ABHYUDAY PRATAP SINGH
9
+ abs51295
10
+ AceGentile
11
+ Adam Chainz
12
+ Adam Tse
13
+ Adam Turner
14
+ Adam Wentz
15
+ admin
16
+ Adolfo Ochagavía
17
+ Adrien Morison
18
+ Agus
19
+ ahayrapetyan
20
+ Ahilya
21
+ AinsworthK
22
+ Akash Srivastava
23
+ Alan Yee
24
+ Albert Tugushev
25
+ Albert-Guan
26
+ albertg
27
+ Alberto Sottile
28
+ Aleks Bunin
29
+ Ales Erjavec
30
+ Alessandro Molina
31
+ Alethea Flowers
32
+ Alex Gaynor
33
+ Alex Grönholm
34
+ Alex Hedges
35
+ Alex Loosley
36
+ Alex Morega
37
+ Alex Stachowiak
38
+ Alexander Regueiro
39
+ Alexander Shtyrov
40
+ Alexandre Conrad
41
+ Alexey Popravka
42
+ Aleš Erjavec
43
+ Alli
44
+ Aman
45
+ Ami Fischman
46
+ Ananya Maiti
47
+ Anatoly Techtonik
48
+ Anders Kaseorg
49
+ Andre Aguiar
50
+ Andrea Corna
51
+ Andreas Lutro
52
+ Andrei Geacar
53
+ Andrew Gaul
54
+ Andrew Shymanel
55
+ Andrey Bienkowski
56
+ Andrey Bulgakov
57
+ Andrés Delfino
58
+ Andy Freeland
59
+ Andy Kluger
60
+ Ani Hayrapetyan
61
+ Aniruddha Basak
62
+ Anish Tambe
63
+ Anrs Hu
64
+ Anthony Sottile
65
+ Antoine Lambert
66
+ Antoine Musso
67
+ Anton Ovchinnikov
68
+ Anton Patrushev
69
+ Anton Zelenov
70
+ Antonio Alvarado Hernandez
71
+ Antony Lee
72
+ Antti Kaihola
73
+ Anubhav Patel
74
+ Anudit Nagar
75
+ Anuj Godase
76
+ AQNOUCH Mohammed
77
+ AraHaan
78
+ Aren Siekmeier
79
+ arena
80
+ arenasys
81
+ Arindam Choudhury
82
+ Armin Ronacher
83
+ Arnon Yaari
84
+ Artem
85
+ Arun Babu Neelicattu
86
+ Ashley Manton
87
+ Ashwin Ramaswami
88
+ atse
89
+ Atsushi Odagiri
90
+ Avinash Karhana
91
+ Avner Cohen
92
+ Awit (Ah-Wit) Ghirmai
93
+ Baptiste Mispelon
94
+ Barney Gale
95
+ barneygale
96
+ Bartek Ogryczak
97
+ Bastian Venthur
98
+ Ben Bodenmiller
99
+ Ben Darnell
100
+ Ben Hoyt
101
+ Ben Mares
102
+ Ben Rosser
103
+ Bence Nagy
104
+ Benjamin Peterson
105
+ Benjamin VanEvery
106
+ Benoit Pierre
107
+ Berker Peksag
108
+ Bernard
109
+ Bernard Tyers
110
+ Bernardo B. Marques
111
+ Bernhard M. Wiedemann
112
+ Bertil Hatt
113
+ Bhavam Vidyarthi
114
+ Blazej Michalik
115
+ Bogdan Opanchuk
116
+ BorisZZZ
117
+ Brad Erickson
118
+ Bradley Ayers
119
+ Bradley Reynolds
120
+ Branch Vincent
121
+ Brandon L. Reiss
122
+ Brandt Bucher
123
+ Brannon Dorsey
124
+ Brett Randall
125
+ Brett Rosen
126
+ Brian Cristante
127
+ Brian Rosner
128
+ briantracy
129
+ BrownTruck
130
+ Bruno Oliveira
131
+ Bruno Renié
132
+ Bruno S
133
+ Bstrdsmkr
134
+ Buck Golemon
135
+ burrows
136
+ Bussonnier Matthias
137
+ bwoodsend
138
+ c22
139
+ Caleb Brown
140
+ Caleb Martinez
141
+ Calvin Smith
142
+ Carl Meyer
143
+ Carlos Liam
144
+ Carol Willing
145
+ Carter Thayer
146
+ Cass
147
+ Chandrasekhar Atina
148
+ Charlie Marsh
149
+ charwick
150
+ Chih-Hsuan Yen
151
+ Chris Brinker
152
+ Chris Hunt
153
+ Chris Jerdonek
154
+ Chris Kuehl
155
+ Chris Markiewicz
156
+ Chris McDonough
157
+ Chris Pawley
158
+ Chris Pryer
159
+ Chris Wolfe
160
+ Christian Clauss
161
+ Christian Heimes
162
+ Christian Oudard
163
+ Christoph Reiter
164
+ Christopher Hunt
165
+ Christopher Snyder
166
+ chrysle
167
+ cjc7373
168
+ Clark Boylan
169
+ Claudio Jolowicz
170
+ Clay McClure
171
+ Cody
172
+ Cody Soyland
173
+ Colin Watson
174
+ Collin Anderson
175
+ Connor Osborn
176
+ Cooper Lees
177
+ Cooper Ry Lees
178
+ Cory Benfield
179
+ Cory Wright
180
+ Craig Kerstiens
181
+ Cristian Sorinel
182
+ Cristina
183
+ Cristina Muñoz
184
+ ctg123
185
+ Curtis Doty
186
+ cytolentino
187
+ Daan De Meyer
188
+ Dale
189
+ Damian
190
+ Damian Quiroga
191
+ Damian Shaw
192
+ Dan Black
193
+ Dan Savilonis
194
+ Dan Sully
195
+ Dane Hillard
196
+ daniel
197
+ Daniel Collins
198
+ Daniel Hahler
199
+ Daniel Hollas
200
+ Daniel Holth
201
+ Daniel Jost
202
+ Daniel Katz
203
+ Daniel Shaulov
204
+ Daniele Esposti
205
+ Daniele Nicolodi
206
+ Daniele Procida
207
+ Daniil Konovalenko
208
+ Danny Hermes
209
+ Danny McClanahan
210
+ Darren Kavanagh
211
+ Dav Clark
212
+ Dave Abrahams
213
+ Dave Jones
214
+ David Aguilar
215
+ David Black
216
+ David Bordeynik
217
+ David Caro
218
+ David D Lowe
219
+ David Evans
220
+ David Hewitt
221
+ David Linke
222
+ David Poggi
223
+ David Poznik
224
+ David Pursehouse
225
+ David Runge
226
+ David Tucker
227
+ David Wales
228
+ Davidovich
229
+ Dayna Blackwell
230
+ ddelange
231
+ Deepak Sharma
232
+ Deepyaman Datta
233
+ Denis Roussel (ACSONE)
234
+ Denise Yu
235
+ dependabot[bot]
236
+ dereksz
237
+ derwolfe
238
+ Desetude
239
+ developer
240
+ Devesh Kumar
241
+ Devesh Kumar Singh
242
+ devsagul
243
+ Dewank Pant
244
+ Diego Caraballo
245
+ Diego Ramirez
246
+ DiegoCaraballo
247
+ Dimitri Merejkowsky
248
+ Dimitri Papadopoulos
249
+ Dimitri Papadopoulos Orfanos
250
+ Dirk Stolle
251
+ dkjsone
252
+ Dmitrii Sutiagin
253
+ Dmitry Gladkov
254
+ Dmitry Volodin
255
+ Domen Kožar
256
+ Dominic Davis-Foster
257
+ Donald Stufft
258
+ Dongweiming
259
+ doron zarhi
260
+ Dos Moonen
261
+ Douglas Thor
262
+ DrFeathers
263
+ Dustin Ingram
264
+ Dustin Rodrigues
265
+ Dwayne Bailey
266
+ Ed Morley
267
+ Edgar Ramírez
268
+ Edgar Ramírez Mondragón
269
+ Ee Durbin
270
+ Efflam Lemaillet
271
+ efflamlemaillet
272
+ Eitan Adler
273
+ ekristina
274
+ elainechan
275
+ Eli Schwartz
276
+ Elisha Hollander
277
+ Ellen Marie Dash
278
+ Emil Burzo
279
+ Emil Styrke
280
+ Emmanuel Arias
281
+ Endoh Takanao
282
+ enoch
283
+ Erdinc Mutlu
284
+ Eric Cousineau
285
+ Eric Gillingham
286
+ Eric Hanchrow
287
+ Eric Hopper
288
+ Erik M. Bray
289
+ Erik Rose
290
+ Erwin Janssen
291
+ Eugene Vereshchagin
292
+ everdimension
293
+ Federico
294
+ Felipe Peter
295
+ Felix Yan
296
+ fiber-space
297
+ Filip Kokosiński
298
+ Filipe Laíns
299
+ Finn Womack
300
+ finnagin
301
+ Flavio Amurrio
302
+ Florian Briand
303
+ Florian Rathgeber
304
+ Francesco
305
+ Francesco Montesano
306
+ Fredrik Orderud
307
+ Fredrik Roubert
308
+ Frost Ming
309
+ Gabriel Curio
310
+ Gabriel de Perthuis
311
+ Garry Polley
312
+ gavin
313
+ gdanielson
314
+ Gene Wood
315
+ Geoffrey Sneddon
316
+ George Margaritis
317
+ George Song
318
+ Georgi Valkov
319
+ Georgy Pchelkin
320
+ Gertjan van Zwieten
321
+ ghost
322
+ Giancarlo Cicellyn Comneno
323
+ Giftlin Rajaiah
324
+ gizmoguy1
325
+ gkdoc
326
+ Godefroid Chapelle
327
+ Gopinath M
328
+ GOTO Hayato
329
+ gousaiyang
330
+ gpiks
331
+ Greg Roodt
332
+ Greg Ward
333
+ Guido Diepen
334
+ Guilherme Espada
335
+ Guillaume Seguin
336
+ gutsytechster
337
+ Guy Rozendorn
338
+ Guy Tuval
339
+ gzpan123
340
+ Hanjun Kim
341
+ Hari Charan
342
+ Harsh Vardhan
343
+ Harsha Sai
344
+ harupy
345
+ Harutaka Kawamura
346
+ Hasan-8326
347
+ hauntsaninja
348
+ Henrich Hartzer
349
+ Henry Schreiner
350
+ Herbert Pfennig
351
+ Holly Stotelmyer
352
+ Honnix
353
+ Hsiaoming Yang
354
+ Hugo
355
+ Hugo Lopes Tavares
356
+ Hugo van Kemenade
357
+ Hugues Bruant
358
+ Hynek Schlawack
359
+ iamsrp-deshaw
360
+ Ian Bicking
361
+ Ian Cordasco
362
+ Ian Lee
363
+ Ian Stapleton Cordasco
364
+ Ian Wienand
365
+ Igor Kuzmitshov
366
+ Igor Sobreira
367
+ Ikko Ashimine
368
+ Ilan Schnell
369
+ Illia Volochii
370
+ Ilya Abdolmanafi
371
+ Ilya Baryshev
372
+ Inada Naoki
373
+ Ionel Cristian Mărieș
374
+ Ionel Maries Cristian
375
+ Itamar Turner-Trauring
376
+ iTrooz
377
+ Ivan Pozdeev
378
+ J. Nick Koston
379
+ Jacob Kim
380
+ Jacob Walls
381
+ Jaime Sanz
382
+ Jake Lishman
383
+ jakirkham
384
+ Jakub Kuczys
385
+ Jakub Stasiak
386
+ Jakub Vysoky
387
+ Jakub Wilk
388
+ James
389
+ James Cleveland
390
+ James Curtin
391
+ James Firth
392
+ James Gerity
393
+ James Polley
394
+ Jan Pokorný
395
+ Jannis Leidel
396
+ Jarek Potiuk
397
+ jarondl
398
+ Jason Curtis
399
+ Jason R. Coombs
400
+ JasonMo
401
+ JasonMo1
402
+ Jay Graves
403
+ Jean Abou Samra
404
+ Jean-Christophe Fillion-Robin
405
+ Jeff Barber
406
+ Jeff Dairiki
407
+ Jeff Widman
408
+ Jelmer Vernooij
409
+ jenix21
410
+ Jeremy Fleischman
411
+ Jeremy Stanley
412
+ Jeremy Zafran
413
+ Jesse Rittner
414
+ Jiashuo Li
415
+ Jim Fisher
416
+ Jim Garrison
417
+ Jinzhe Zeng
418
+ Jiun Bae
419
+ Jivan Amara
420
+ Joa
421
+ Joe Bylund
422
+ Joe Michelini
423
+ Johannes Altmanninger
424
+ John Paton
425
+ John Sirois
426
+ John T. Wodder II
427
+ John-Scott Atlakson
428
+ johnthagen
429
+ Jon Banafato
430
+ Jon Dufresne
431
+ Jon Parise
432
+ Jonas Nockert
433
+ Jonathan Herbert
434
+ Joonatan Partanen
435
+ Joost Molenaar
436
+ Jorge Niedbalski
437
+ Joseph Bylund
438
+ Joseph Long
439
+ Josh Bronson
440
+ Josh Cannon
441
+ Josh Hansen
442
+ Josh Schneier
443
+ Joshua
444
+ JoshuaPerdue
445
+ Jost Migenda
446
+ Juan Luis Cano Rodríguez
447
+ Juanjo Bazán
448
+ Judah Rand
449
+ Julian Berman
450
+ Julian Gethmann
451
+ Julien Demoor
452
+ Julien Stephan
453
+ July Tikhonov
454
+ Jussi Kukkonen
455
+ Justin van Heek
456
+ jwg4
457
+ Jyrki Pulliainen
458
+ Kai Chen
459
+ Kai Mueller
460
+ Kamal Bin Mustafa
461
+ Karolina Surma
462
+ kasium
463
+ kaustav haldar
464
+ Kaz Nishimura
465
+ keanemind
466
+ Keith Maxwell
467
+ Kelsey Hightower
468
+ Kenneth Belitzky
469
+ Kenneth Reitz
470
+ Kevin Burke
471
+ Kevin Carter
472
+ Kevin Frommelt
473
+ Kevin R Patterson
474
+ Kevin Turcios
475
+ Kexuan Sun
476
+ Kit Randel
477
+ Klaas van Schelven
478
+ KOLANICH
479
+ konstin
480
+ kpinc
481
+ Krishan Bhasin
482
+ Krishna Oza
483
+ Kumar McMillan
484
+ Kuntal Majumder
485
+ Kurt McKee
486
+ Kyle Persohn
487
+ lakshmanaram
488
+ Laszlo Kiss-Kollar
489
+ Laurent Bristiel
490
+ Laurent LAPORTE
491
+ Laurie O
492
+ Laurie Opperman
493
+ layday
494
+ Leon Sasson
495
+ Lev Givon
496
+ Lincoln de Sousa
497
+ Lipis
498
+ lorddavidiii
499
+ Loren Carvalho
500
+ Louis Liu
501
+ Lucas Cimon
502
+ Ludovic Gasc
503
+ Luis Carlos
504
+ Luis Medel
505
+ Lukas Geiger
506
+ Lukas Juhrich
507
+ Luke Macken
508
+ Luo Jiebin
509
+ luojiebin
510
+ luz.paz
511
+ László Kiss Kollár
512
+ M00nL1ght
513
+ MajorTanya
514
+ Malcolm Smith
515
+ Marc Abramowitz
516
+ Marc Tamlyn
517
+ Marcus Smith
518
+ Mariatta
519
+ Mark Kohler
520
+ Mark McLoughlin
521
+ Mark Williams
522
+ Markus Hametner
523
+ Martey Dodoo
524
+ Martin Fischer
525
+ Martin Häcker
526
+ Martin Pavlasek
527
+ Masaki
528
+ Masklinn
529
+ Matej Stuchlik
530
+ Mateusz Sokół
531
+ Mathew Jennings
532
+ Mathieu Bridon
533
+ Mathieu Kniewallner
534
+ Matt Bacchi
535
+ Matt Good
536
+ Matt Maker
537
+ Matt Robenolt
538
+ Matt Wozniski
539
+ matthew
540
+ Matthew Einhorn
541
+ Matthew Feickert
542
+ Matthew Gilliard
543
+ Matthew Hughes
544
+ Matthew Iversen
545
+ Matthew Treinish
546
+ Matthew Trumbell
547
+ Matthew Willson
548
+ Matthias Bussonnier
549
+ mattip
550
+ Maurits van Rees
551
+ Max W Chase
552
+ Maxim Kurnikov
553
+ Maxime Rouyrre
554
+ mayeut
555
+ mbaluna
556
+ Md Sujauddin Sekh
557
+ mdebi
558
+ Meet Vasita
559
+ memoselyk
560
+ meowmeowcat
561
+ Michael
562
+ Michael Aquilina
563
+ Michael E. Karpeles
564
+ Michael Klich
565
+ Michael Mintz
566
+ Michael Williamson
567
+ michaelpacer
568
+ Michał Górny
569
+ Mickaël Schoentgen
570
+ Miguel Araujo Perez
571
+ Mihir Singh
572
+ Mike
573
+ Mike Hendricks
574
+ Min RK
575
+ MinRK
576
+ Miro Hrončok
577
+ Mohsen Fooladnezhad
578
+ Monica Baluna
579
+ montefra
580
+ Monty Taylor
581
+ morotti
582
+ mrKazzila
583
+ Muha Ajjan
584
+ MUTHUSRIHEMADHARSHINI S A
585
+ Nadav Wexler
586
+ Nahuel Ambrosini
587
+ Nate Coraor
588
+ Nate Prewitt
589
+ Nathan Houghton
590
+ Nathaniel J. Smith
591
+ Nehal J Wani
592
+ Neil Botelho
593
+ Nguyễn Gia Phong
594
+ Nicholas Serra
595
+ Nick Coghlan
596
+ Nick Stenning
597
+ Nick Timkovich
598
+ Nicolas Bock
599
+ Nicole Harris
600
+ Nikhil Benesch
601
+ Nikhil Ladha
602
+ Nikita Chepanov
603
+ Nikolay Korolev
604
+ Nipunn Koorapati
605
+ Nitesh Sharma
606
+ Niyas Sait
607
+ Noah
608
+ Noah Gorny
609
+ Nok Lam Chan
610
+ Norbert Manthey
611
+ Nothing-991
612
+ Nowell Strite
613
+ NtaleGrey
614
+ nucccc
615
+ nvdv
616
+ OBITORASU
617
+ Ofek Lev
618
+ ofrinevo
619
+ Oleg Burnaev
620
+ Oliver Freund
621
+ Oliver Jeeves
622
+ Oliver Mannion
623
+ Oliver Tonnhofer
624
+ Olivier Girardot
625
+ Olivier Grisel
626
+ Ollie Rutherfurd
627
+ Omar Abdalgwad
628
+ OMOTO Kenji
629
+ Omry Yadan
630
+ onlinejudge95
631
+ Oren Held
632
+ Oscar Benjamin
633
+ oxygen dioxide
634
+ Oz N Tiram
635
+ Pachwenko
636
+ Paresh Joshi
637
+ Patrick Dubroy
638
+ Patrick Jenkins
639
+ Patrick Lawson
640
+ patricktokeeffe
641
+ Patrik Kopkan
642
+ Paul Ganssle
643
+ Paul Kehrer
644
+ Paul Moore
645
+ Paul Nasrat
646
+ Paul Oswald
647
+ Paul van der Linden
648
+ Paulus Schoutsen
649
+ Pavel Safronov
650
+ Pavithra Eswaramoorthy
651
+ Pawel Jasinski
652
+ Paweł Szramowski
653
+ Pekka Klärck
654
+ Peter Gessler
655
+ Peter Lisák
656
+ Peter Shen
657
+ Peter Waller
658
+ Petr Viktorin
659
+ petr-tik
660
+ Phaneendra Chiruvella
661
+ Phil Elson
662
+ Phil Freo
663
+ Phil Pennock
664
+ Phil Whelan
665
+ Philip Jägenstedt
666
+ Philip Molloy
667
+ Philippe Ombredanne
668
+ Pi Delport
669
+ Pierre-Yves Rofes
670
+ Pieter Degroote
671
+ pip
672
+ Prabakaran Kumaresshan
673
+ Prabhjyotsing Surjit Singh Sodhi
674
+ Prabhu Marappan
675
+ Pradyun Gedam
676
+ Prashant Sharma
677
+ Pratik Mallya
678
+ pre-commit-ci[bot]
679
+ Preet Thakkar
680
+ Preston Holmes
681
+ Przemek Wrzos
682
+ Pulkit Goyal
683
+ q0w
684
+ Qiangning Hong
685
+ Qiming Xu
686
+ qraqras
687
+ Quentin Lee
688
+ Quentin Pradet
689
+ R. David Murray
690
+ Rafael Caricio
691
+ RAHUL KUMAR
692
+ rahulkotargasthi
693
+ Ralf Schmitt
694
+ Ran Benita
695
+ Randy Döring
696
+ Razzi Abuissa
697
+ rdb
698
+ Reece Dunham
699
+ Remi Rampin
700
+ Rene Dudfield
701
+ Riccardo Magliocchetti
702
+ Riccardo Schirone
703
+ Richard Jones
704
+ Richard Si
705
+ Ricky Ng-Adam
706
+ Rishi
707
+ rmorotti
708
+ RobberPhex
709
+ Robert Collins
710
+ Robert McGibbon
711
+ Robert Pollak
712
+ Robert T. McGibbon
713
+ robin elisha robinson
714
+ Rodney, Tiara
715
+ Roey Berman
716
+ Rohan Jain
717
+ Roman Bogorodskiy
718
+ Roman Donchenko
719
+ Romuald Brunet
720
+ ronaudinho
721
+ Ronny Pfannschmidt
722
+ Rory McCann
723
+ Ross Brattain
724
+ Roy Wellington Ⅳ
725
+ RoyS
726
+ Ruairidh MacLeod
727
+ Russell Keith-Magee
728
+ Ryan Shepherd
729
+ Ryan Wooden
730
+ ryneeverett
731
+ Ryuma Asai
732
+ S. Guliaev
733
+ Sachi King
734
+ Sai Sridhar Tarra
735
+ Salvatore Rinchiera
736
+ sandeepkiran-js
737
+ Sander Van Balen
738
+ Savio Jomton
739
+ schlamar
740
+ Scott Kitterman
741
+ Sean
742
+ seanj
743
+ Sebastian Höffner
744
+ Sebastian Jordan
745
+ Sebastian Schaetz
746
+ Segev Finer
747
+ SeongSoo Cho
748
+ Sepehr Rasouli
749
+ sepehrrasooli
750
+ Sergey Vasilyev
751
+ Seth Michael Larson
752
+ Seth Woodworth
753
+ Shahar Epstein
754
+ Shantanu
755
+ shenxianpeng
756
+ shireenrao
757
+ Shivam Shrey
758
+ Shivansh-007
759
+ Shixian Sheng
760
+ Shlomi Fish
761
+ Shovan Maity
762
+ Shubham Nagure
763
+ Simeon Visser
764
+ Simon Cross
765
+ Simon Pichugin
766
+ sinoroc
767
+ sinscary
768
+ snook92
769
+ socketubs
770
+ Sorin Sbarnea
771
+ Srinivas Nyayapati
772
+ Srishti Hegde
773
+ Stavros Korokithakis
774
+ Stefan Scherfke
775
+ Stefano Rivera
776
+ Stephan Erb
777
+ Stephane Chazelas
778
+ Stephen Payne
779
+ Stephen Rosen
780
+ stepshal
781
+ Steve (Gadget) Barnes
782
+ Steve Barnes
783
+ Steve Dower
784
+ Steve Kowalik
785
+ Steven Myint
786
+ Steven Silvester
787
+ stonebig
788
+ studioj
789
+ Stéphane Bidoul
790
+ Stéphane Bidoul (ACSONE)
791
+ Stéphane Klein
792
+ Sumana Harihareswara
793
+ Surbhi Sharma
794
+ Sviatoslav Sydorenko
795
+ Sviatoslav Sydorenko (Святослав Сидоренко)
796
+ Swat009
797
+ Sylvain
798
+ S​age Abdullah
799
+ Takayuki SHIMIZUKAWA
800
+ Taneli Hukkinen
801
+ tbeswick
802
+ Terrance
803
+ Thiago
804
+ Thijs Triemstra
805
+ Thomas Fenzl
806
+ Thomas Grainger
807
+ Thomas Guettler
808
+ Thomas Johansson
809
+ Thomas Kluyver
810
+ Thomas Smith
811
+ Thomas VINCENT
812
+ Tim D. Smith
813
+ Tim Gates
814
+ Tim Harder
815
+ Tim Heap
816
+ tim smith
817
+ tinruufu
818
+ Tobias Hermann
819
+ Tom Forbes
820
+ Tom Freudenheim
821
+ Tom V
822
+ Tomas Hrnciar
823
+ Tomas Orsava
824
+ Tomer Chachamu
825
+ Tommi Enenkel | AnB
826
+ Tomáš Hrnčiar
827
+ Tony Beswick
828
+ Tony Narlock
829
+ Tony Zhaocheng Tan
830
+ TonyBeswick
831
+ toonarmycaptain
832
+ Toshio Kuratomi
833
+ toxinu
834
+ Travis Swicegood
835
+ Tushar Sadhwani
836
+ Tzu-ping Chung
837
+ Valentin Haenel
838
+ Victor Stinner
839
+ victorvpaulo
840
+ Vikram - Google
841
+ Viktor Szépe
842
+ Ville Skyttä
843
+ Vinay Sajip
844
+ Vincent Fazio
845
+ Vincent Philippon
846
+ Vinicyus Macedo
847
+ Vipul Kumar
848
+ Vitaly Babiy
849
+ Vladimir Fokow
850
+ Vladimir Rutsky
851
+ W. Trevor King
852
+ Weida Hong
853
+ Wil Tan
854
+ Wilfred Hughes
855
+ William Edwards
856
+ William ML Leslie
857
+ William T Olson
858
+ William Woodruff
859
+ Wilson Mo
860
+ wim glenn
861
+ Winson Luk
862
+ Wolfgang Maier
863
+ Wu Zhenyu
864
+ XAMES3
865
+ Xavier Fernandez
866
+ Xianpeng Shen
867
+ xoviat
868
+ xtreak
869
+ YAMAMOTO Takashi
870
+ Yash
871
+ Yashraj
872
+ Yen Chi Hsuan
873
+ Yeray Diaz Diaz
874
+ Youngkwang Yang
875
+ Yoval P
876
+ Yu Jian
877
+ Yuan Jing Vincent Yan
878
+ Yuki Kobayashi
879
+ Yusuke Hayashi
880
+ Zachary Ware
881
+ zackzack38
882
+ Zearin
883
+ Zhiping Deng
884
+ ziebam
885
+ Zvezdan Petkovic
886
+ Łukasz Langa
887
+ Роман Донченко
888
+ Семён Марьясин
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2008-present The pip developers (see AUTHORS.txt file)
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2012-2021 Eric Larson
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/certifi/LICENSE ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This package contains a modified version of ca-bundle.crt:
2
+
3
+ ca-bundle.crt -- Bundle of CA Root Certificates
4
+
5
+ This is a bundle of X.509 certificates of public Certificate Authorities
6
+ (CA). These were automatically extracted from Mozilla's root certificates
7
+ file (certdata.txt). This file can be found in the mozilla source tree:
8
+ https://hg.mozilla.org/mozilla-central/file/tip/security/nss/lib/ckfw/builtins/certdata.txt
9
+ It contains the certificates in PEM format and therefore
10
+ can be directly used with curl / libcurl / php_curl, or with
11
+ an Apache+mod_ssl webserver for SSL client authentication.
12
+ Just configure this file as the SSLCACertificateFile.#
13
+
14
+ ***** BEGIN LICENSE BLOCK *****
15
+ This Source Code Form is subject to the terms of the Mozilla Public License,
16
+ v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain
17
+ one at http://mozilla.org/MPL/2.0/.
18
+
19
+ ***** END LICENSE BLOCK *****
20
+ @(#) $RCSfile: certdata.txt,v $ $Revision: 1.80 $ $Date: 2011/11/03 15:11:58 $
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ A. HISTORY OF THE SOFTWARE
2
+ ==========================
3
+
4
+ Python was created in the early 1990s by Guido van Rossum at Stichting
5
+ Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
6
+ as a successor of a language called ABC. Guido remains Python's
7
+ principal author, although it includes many contributions from others.
8
+
9
+ In 1995, Guido continued his work on Python at the Corporation for
10
+ National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
11
+ in Reston, Virginia where he released several versions of the
12
+ software.
13
+
14
+ In May 2000, Guido and the Python core development team moved to
15
+ BeOpen.com to form the BeOpen PythonLabs team. In October of the same
16
+ year, the PythonLabs team moved to Digital Creations (now Zope
17
+ Corporation, see http://www.zope.com). In 2001, the Python Software
18
+ Foundation (PSF, see http://www.python.org/psf/) was formed, a
19
+ non-profit organization created specifically to own Python-related
20
+ Intellectual Property. Zope Corporation is a sponsoring member of
21
+ the PSF.
22
+
23
+ All Python releases are Open Source (see http://www.opensource.org for
24
+ the Open Source Definition). Historically, most, but not all, Python
25
+ releases have also been GPL-compatible; the table below summarizes
26
+ the various releases.
27
+
28
+ Release Derived Year Owner GPL-
29
+ from compatible? (1)
30
+
31
+ 0.9.0 thru 1.2 1991-1995 CWI yes
32
+ 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
33
+ 1.6 1.5.2 2000 CNRI no
34
+ 2.0 1.6 2000 BeOpen.com no
35
+ 1.6.1 1.6 2001 CNRI yes (2)
36
+ 2.1 2.0+1.6.1 2001 PSF no
37
+ 2.0.1 2.0+1.6.1 2001 PSF yes
38
+ 2.1.1 2.1+2.0.1 2001 PSF yes
39
+ 2.2 2.1.1 2001 PSF yes
40
+ 2.1.2 2.1.1 2002 PSF yes
41
+ 2.1.3 2.1.2 2002 PSF yes
42
+ 2.2.1 2.2 2002 PSF yes
43
+ 2.2.2 2.2.1 2002 PSF yes
44
+ 2.2.3 2.2.2 2003 PSF yes
45
+ 2.3 2.2.2 2002-2003 PSF yes
46
+ 2.3.1 2.3 2002-2003 PSF yes
47
+ 2.3.2 2.3.1 2002-2003 PSF yes
48
+ 2.3.3 2.3.2 2002-2003 PSF yes
49
+ 2.3.4 2.3.3 2004 PSF yes
50
+ 2.3.5 2.3.4 2005 PSF yes
51
+ 2.4 2.3 2004 PSF yes
52
+ 2.4.1 2.4 2005 PSF yes
53
+ 2.4.2 2.4.1 2005 PSF yes
54
+ 2.4.3 2.4.2 2006 PSF yes
55
+ 2.4.4 2.4.3 2006 PSF yes
56
+ 2.5 2.4 2006 PSF yes
57
+ 2.5.1 2.5 2007 PSF yes
58
+ 2.5.2 2.5.1 2008 PSF yes
59
+ 2.5.3 2.5.2 2008 PSF yes
60
+ 2.6 2.5 2008 PSF yes
61
+ 2.6.1 2.6 2008 PSF yes
62
+ 2.6.2 2.6.1 2009 PSF yes
63
+ 2.6.3 2.6.2 2009 PSF yes
64
+ 2.6.4 2.6.3 2009 PSF yes
65
+ 2.6.5 2.6.4 2010 PSF yes
66
+ 3.0 2.6 2008 PSF yes
67
+ 3.0.1 3.0 2009 PSF yes
68
+ 3.1 3.0.1 2009 PSF yes
69
+ 3.1.1 3.1 2009 PSF yes
70
+ 3.1.2 3.1 2010 PSF yes
71
+ 3.2 3.1 2010 PSF yes
72
+
73
+ Footnotes:
74
+
75
+ (1) GPL-compatible doesn't mean that we're distributing Python under
76
+ the GPL. All Python licenses, unlike the GPL, let you distribute
77
+ a modified version without making your changes open source. The
78
+ GPL-compatible licenses make it possible to combine Python with
79
+ other software that is released under the GPL; the others don't.
80
+
81
+ (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
82
+ because its license has a choice of law clause. According to
83
+ CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
84
+ is "not incompatible" with the GPL.
85
+
86
+ Thanks to the many outside volunteers who have worked under Guido's
87
+ direction to make these releases possible.
88
+
89
+
90
+ B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
91
+ ===============================================================
92
+
93
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
94
+ --------------------------------------------
95
+
96
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
97
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
98
+ otherwise using this software ("Python") in source or binary form and
99
+ its associated documentation.
100
+
101
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
102
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
103
+ analyze, test, perform and/or display publicly, prepare derivative works,
104
+ distribute, and otherwise use Python alone or in any derivative version,
105
+ provided, however, that PSF's License Agreement and PSF's notice of copyright,
106
+ i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
107
+ Python Software Foundation; All Rights Reserved" are retained in Python alone or
108
+ in any derivative version prepared by Licensee.
109
+
110
+ 3. In the event Licensee prepares a derivative work that is based on
111
+ or incorporates Python or any part thereof, and wants to make
112
+ the derivative work available to others as provided herein, then
113
+ Licensee hereby agrees to include in any such work a brief summary of
114
+ the changes made to Python.
115
+
116
+ 4. PSF is making Python available to Licensee on an "AS IS"
117
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
118
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
119
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
120
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
121
+ INFRINGE ANY THIRD PARTY RIGHTS.
122
+
123
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
124
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
125
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
126
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
127
+
128
+ 6. This License Agreement will automatically terminate upon a material
129
+ breach of its terms and conditions.
130
+
131
+ 7. Nothing in this License Agreement shall be deemed to create any
132
+ relationship of agency, partnership, or joint venture between PSF and
133
+ Licensee. This License Agreement does not grant permission to use PSF
134
+ trademarks or trade name in a trademark sense to endorse or promote
135
+ products or services of Licensee, or any third party.
136
+
137
+ 8. By copying, installing or otherwise using Python, Licensee
138
+ agrees to be bound by the terms and conditions of this License
139
+ Agreement.
140
+
141
+
142
+ BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
143
+ -------------------------------------------
144
+
145
+ BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
146
+
147
+ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
148
+ office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
149
+ Individual or Organization ("Licensee") accessing and otherwise using
150
+ this software in source or binary form and its associated
151
+ documentation ("the Software").
152
+
153
+ 2. Subject to the terms and conditions of this BeOpen Python License
154
+ Agreement, BeOpen hereby grants Licensee a non-exclusive,
155
+ royalty-free, world-wide license to reproduce, analyze, test, perform
156
+ and/or display publicly, prepare derivative works, distribute, and
157
+ otherwise use the Software alone or in any derivative version,
158
+ provided, however, that the BeOpen Python License is retained in the
159
+ Software, alone or in any derivative version prepared by Licensee.
160
+
161
+ 3. BeOpen is making the Software available to Licensee on an "AS IS"
162
+ basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
163
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
164
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
165
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
166
+ INFRINGE ANY THIRD PARTY RIGHTS.
167
+
168
+ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
169
+ SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
170
+ AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
171
+ DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
172
+
173
+ 5. This License Agreement will automatically terminate upon a material
174
+ breach of its terms and conditions.
175
+
176
+ 6. This License Agreement shall be governed by and interpreted in all
177
+ respects by the law of the State of California, excluding conflict of
178
+ law provisions. Nothing in this License Agreement shall be deemed to
179
+ create any relationship of agency, partnership, or joint venture
180
+ between BeOpen and Licensee. This License Agreement does not grant
181
+ permission to use BeOpen trademarks or trade names in a trademark
182
+ sense to endorse or promote products or services of Licensee, or any
183
+ third party. As an exception, the "BeOpen Python" logos available at
184
+ http://www.pythonlabs.com/logos.html may be used according to the
185
+ permissions granted on that web page.
186
+
187
+ 7. By copying, installing or otherwise using the software, Licensee
188
+ agrees to be bound by the terms and conditions of this License
189
+ Agreement.
190
+
191
+
192
+ CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
193
+ ---------------------------------------
194
+
195
+ 1. This LICENSE AGREEMENT is between the Corporation for National
196
+ Research Initiatives, having an office at 1895 Preston White Drive,
197
+ Reston, VA 20191 ("CNRI"), and the Individual or Organization
198
+ ("Licensee") accessing and otherwise using Python 1.6.1 software in
199
+ source or binary form and its associated documentation.
200
+
201
+ 2. Subject to the terms and conditions of this License Agreement, CNRI
202
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
203
+ license to reproduce, analyze, test, perform and/or display publicly,
204
+ prepare derivative works, distribute, and otherwise use Python 1.6.1
205
+ alone or in any derivative version, provided, however, that CNRI's
206
+ License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
207
+ 1995-2001 Corporation for National Research Initiatives; All Rights
208
+ Reserved" are retained in Python 1.6.1 alone or in any derivative
209
+ version prepared by Licensee. Alternately, in lieu of CNRI's License
210
+ Agreement, Licensee may substitute the following text (omitting the
211
+ quotes): "Python 1.6.1 is made available subject to the terms and
212
+ conditions in CNRI's License Agreement. This Agreement together with
213
+ Python 1.6.1 may be located on the Internet using the following
214
+ unique, persistent identifier (known as a handle): 1895.22/1013. This
215
+ Agreement may also be obtained from a proxy server on the Internet
216
+ using the following URL: http://hdl.handle.net/1895.22/1013".
217
+
218
+ 3. In the event Licensee prepares a derivative work that is based on
219
+ or incorporates Python 1.6.1 or any part thereof, and wants to make
220
+ the derivative work available to others as provided herein, then
221
+ Licensee hereby agrees to include in any such work a brief summary of
222
+ the changes made to Python 1.6.1.
223
+
224
+ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
225
+ basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
226
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
227
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
228
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
229
+ INFRINGE ANY THIRD PARTY RIGHTS.
230
+
231
+ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
232
+ 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
233
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
234
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
235
+
236
+ 6. This License Agreement will automatically terminate upon a material
237
+ breach of its terms and conditions.
238
+
239
+ 7. This License Agreement shall be governed by the federal
240
+ intellectual property law of the United States, including without
241
+ limitation the federal copyright law, and, to the extent such
242
+ U.S. federal law does not apply, by the law of the Commonwealth of
243
+ Virginia, excluding Virginia's conflict of law provisions.
244
+ Notwithstanding the foregoing, with regard to derivative works based
245
+ on Python 1.6.1 that incorporate non-separable material that was
246
+ previously distributed under the GNU General Public License (GPL), the
247
+ law of the Commonwealth of Virginia shall govern this License
248
+ Agreement only as to issues arising under or with respect to
249
+ Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
250
+ License Agreement shall be deemed to create any relationship of
251
+ agency, partnership, or joint venture between CNRI and Licensee. This
252
+ License Agreement does not grant permission to use CNRI trademarks or
253
+ trade name in a trademark sense to endorse or promote products or
254
+ services of Licensee, or any third party.
255
+
256
+ 8. By clicking on the "ACCEPT" button where indicated, or by copying,
257
+ installing or otherwise using Python 1.6.1, Licensee agrees to be
258
+ bound by the terms and conditions of this License Agreement.
259
+
260
+ ACCEPT
261
+
262
+
263
+ CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
264
+ --------------------------------------------------
265
+
266
+ Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
267
+ The Netherlands. All rights reserved.
268
+
269
+ Permission to use, copy, modify, and distribute this software and its
270
+ documentation for any purpose and without fee is hereby granted,
271
+ provided that the above copyright notice appear in all copies and that
272
+ both that copyright notice and this permission notice appear in
273
+ supporting documentation, and that the name of Stichting Mathematisch
274
+ Centrum or CWI not be used in advertising or publicity pertaining to
275
+ distribution of the software without specific, written prior
276
+ permission.
277
+
278
+ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
279
+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
280
+ FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
281
+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
282
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
283
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
284
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/distro/LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright {yyyy} {name of copyright owner}
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2013-2026, Kim Davies and contributors.
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are
8
+ met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright
11
+ notice, this list of conditions and the following disclaimer.
12
+
13
+ 2. Redistributions in binary form must reproduce the above copyright
14
+ notice, this list of conditions and the following disclaimer in the
15
+ documentation and/or other materials provided with the distribution.
16
+
17
+ 3. Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
27
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/msgpack/COPYING ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (C) 2008-2011 INADA Naoki <songofacandy@gmail.com>
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ This software is made available under the terms of *either* of the licenses
2
+ found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made
3
+ under the terms of *both* these licenses.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) Donald Stufft and individual contributors.
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright notice,
8
+ this list of conditions and the following disclaimer.
9
+
10
+ 2. Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
18
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2
+ of this software and associated documentation files (the "Software"), to
3
+ deal in the Software without restriction, including without limitation the
4
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
5
+ sell copies of the Software, and to permit persons to whom the Software is
6
+ furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in
9
+ all copies or substantial portions of the Software.
10
+
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
17
+ IN THE SOFTWARE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2010-202x The platformdirs developers
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/pygments/LICENSE ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2006-2022 by the respective authors (see AUTHORS file).
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are
6
+ met:
7
+
8
+ * Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+
11
+ * Redistributions in binary form must reproduce the above copyright
12
+ notice, this list of conditions and the following disclaimer in the
13
+ documentation and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
19
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Thomas Kluyver
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/requests/LICENSE ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2018, Tzu-ping Chung <uranusjr@gmail.com>
2
+
3
+ Permission to use, copy, modify, and distribute this software for any
4
+ purpose with or without fee is hereby granted, provided that the above
5
+ copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/rich/LICENSE ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2020 Will McGugan
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/tomli/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Taneli Hukkinen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Taneli Hukkinen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/truststore/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Seth Michael Larson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
venv/lib/python3.14/site-packages/pip-26.2.1.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2008-2020 Andrey Petrov and contributors.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
venv/lib/python3.14/site-packages/pip/_internal/req/__init__.py ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import collections
4
+ import logging
5
+ from collections.abc import Generator
6
+ from dataclasses import dataclass
7
+
8
+ from pip._internal.cli.progress_bars import BarType, get_install_progress_renderer
9
+ from pip._internal.utils.logging import indent_log
10
+
11
+ from .req_file import parse_requirements
12
+ from .req_install import InstallRequirement
13
+ from .req_set import RequirementSet
14
+
15
+ __all__ = [
16
+ "RequirementSet",
17
+ "InstallRequirement",
18
+ "parse_requirements",
19
+ "install_given_reqs",
20
+ ]
21
+
22
+ logger = logging.getLogger(__name__)
23
+
24
+
25
+ @dataclass(frozen=True)
26
+ class InstallationResult:
27
+ name: str
28
+
29
+
30
+ def _validate_requirements(
31
+ requirements: list[InstallRequirement],
32
+ ) -> Generator[tuple[str, InstallRequirement], None, None]:
33
+ for req in requirements:
34
+ assert req.name, f"invalid to-be-installed requirement: {req}"
35
+ yield req.name, req
36
+
37
+
38
+ def install_given_reqs(
39
+ requirements: list[InstallRequirement],
40
+ root: str | None,
41
+ home: str | None,
42
+ prefix: str | None,
43
+ warn_script_location: bool,
44
+ use_user_site: bool,
45
+ pycompile: bool,
46
+ progress_bar: BarType,
47
+ script_executable: str | None = None,
48
+ ) -> list[InstallationResult]:
49
+ """
50
+ Install everything in the given list.
51
+
52
+ (to be called after having downloaded and unpacked the packages)
53
+ """
54
+ to_install = collections.OrderedDict(_validate_requirements(requirements))
55
+
56
+ if to_install:
57
+ logger.info(
58
+ "Installing collected packages: %s",
59
+ ", ".join(to_install.keys()),
60
+ )
61
+
62
+ installed = []
63
+
64
+ show_progress = logger.isEnabledFor(logging.INFO) and len(to_install) > 1
65
+
66
+ items = iter(to_install.values())
67
+ if show_progress:
68
+ renderer = get_install_progress_renderer(
69
+ bar_type=progress_bar, total=len(to_install)
70
+ )
71
+ items = renderer(items)
72
+
73
+ with indent_log():
74
+ for requirement in items:
75
+ req_name = requirement.name
76
+ assert req_name is not None
77
+ if requirement.should_reinstall:
78
+ logger.info("Attempting uninstall: %s", req_name)
79
+ with indent_log():
80
+ uninstalled_pathset = requirement.uninstall(auto_confirm=True)
81
+ else:
82
+ uninstalled_pathset = None
83
+
84
+ try:
85
+ requirement.install(
86
+ root=root,
87
+ home=home,
88
+ prefix=prefix,
89
+ warn_script_location=warn_script_location,
90
+ use_user_site=use_user_site,
91
+ pycompile=pycompile,
92
+ script_executable=script_executable,
93
+ )
94
+ except Exception:
95
+ # if install did not succeed, rollback previous uninstall
96
+ if uninstalled_pathset and not requirement.install_succeeded:
97
+ uninstalled_pathset.rollback()
98
+ raise
99
+ else:
100
+ if uninstalled_pathset and requirement.install_succeeded:
101
+ uninstalled_pathset.commit()
102
+
103
+ installed.append(InstallationResult(req_name))
104
+
105
+ return installed
venv/lib/python3.14/site-packages/pip/_internal/req/constructors.py ADDED
@@ -0,0 +1,662 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Backing implementation for InstallRequirement's various constructors
2
+
3
+ The idea here is that these formed a major chunk of InstallRequirement's size
4
+ so, moving them and support code dedicated to them outside of that class
5
+ helps creates for better understandability for the rest of the code.
6
+
7
+ These are meant to be used elsewhere within pip to create instances of
8
+ InstallRequirement.
9
+ """
10
+
11
+ from __future__ import annotations
12
+
13
+ import copy
14
+ import logging
15
+ import os
16
+ import re
17
+ from collections.abc import Collection, Mapping
18
+ from dataclasses import dataclass
19
+
20
+ from pip._vendor.packaging import pylock
21
+ from pip._vendor.packaging.markers import InvalidMarker, Marker
22
+ from pip._vendor.packaging.requirements import InvalidRequirement, Requirement
23
+ from pip._vendor.packaging.utils import parse_sdist_filename, parse_wheel_filename
24
+
25
+ from pip._internal.exceptions import InstallationError
26
+ from pip._internal.models.index import PyPI, TestPyPI
27
+ from pip._internal.models.link import Link
28
+ from pip._internal.models.wheel import Wheel
29
+ from pip._internal.req.req_file import ParsedRequirement
30
+ from pip._internal.req.req_install import InstallRequirement
31
+ from pip._internal.utils.filetypes import is_archive_file
32
+ from pip._internal.utils.misc import is_installable_dir
33
+ from pip._internal.utils.packaging import get_requirement
34
+ from pip._internal.utils.pylock import (
35
+ package_archive_requirement_url,
36
+ package_directory_requirement_url,
37
+ package_sdist_requirement_url,
38
+ package_vcs_requirement_url,
39
+ package_wheel_requirement_url,
40
+ )
41
+ from pip._internal.utils.urls import path_to_url
42
+ from pip._internal.vcs import is_url, vcs
43
+
44
+ __all__ = [
45
+ "install_req_from_editable",
46
+ "install_req_from_line",
47
+ "parse_editable",
48
+ ]
49
+
50
+ logger = logging.getLogger(__name__)
51
+
52
+ # All standard version specifier operators
53
+ # https://packaging.python.org/en/latest/specifications/version-specifiers/#id5
54
+ operators = ("~=", "==", "!=", "<=", ">=", "<", ">", "===")
55
+
56
+
57
+ def strip_extras(path: str) -> tuple[str, set[str]]:
58
+ m = re.match(r"^(.+)(\[[^\]]+\])$", path)
59
+ extras = None
60
+ if m:
61
+ path_no_extras = m.group(1).rstrip()
62
+ extras = m.group(2)
63
+ else:
64
+ path_no_extras = path
65
+
66
+ return path_no_extras, _convert_extras(extras)
67
+
68
+
69
+ def _convert_extras(extras: str | None) -> set[str]:
70
+ if not extras:
71
+ return set()
72
+ return get_requirement("placeholder" + extras.lower()).extras
73
+
74
+
75
+ def _set_requirement_extras(req: Requirement, new_extras: set[str]) -> Requirement:
76
+ """
77
+ Returns a new requirement based on the given one, with the supplied extras. If the
78
+ given requirement already has extras those are replaced (or dropped if no new extras
79
+ are given).
80
+ """
81
+ match: re.Match[str] | None = re.fullmatch(
82
+ # see https://peps.python.org/pep-0508/#complete-grammar
83
+ r"([\w\t .-]+)(\[[^\]]*\])?(.*)",
84
+ str(req),
85
+ flags=re.ASCII,
86
+ )
87
+ # ireq.req is a valid requirement so the regex should always match
88
+ assert (
89
+ match is not None
90
+ ), f"regex match on requirement {req} failed, this should never happen"
91
+ pre: str | None = match.group(1)
92
+ post: str | None = match.group(3)
93
+ assert (
94
+ pre is not None and post is not None
95
+ ), f"regex group selection for requirement {req} failed, this should never happen"
96
+ extras: str = "[{}]".format(",".join(sorted(new_extras)) if new_extras else "")
97
+ return get_requirement(f"{pre}{extras}{post}")
98
+
99
+
100
+ def _parse_direct_url_editable(editable_req: str) -> tuple[str | None, str, set[str]]:
101
+ try:
102
+ req = Requirement(editable_req)
103
+ except InvalidRequirement:
104
+ pass
105
+ else:
106
+ if req.url:
107
+ # Join the marker back into the name part. This will be parsed out
108
+ # later into a Requirement again.
109
+ if req.marker:
110
+ name = f"{req.name} ; {req.marker}"
111
+ else:
112
+ name = req.name
113
+ return (name, req.url, req.extras)
114
+
115
+ raise ValueError
116
+
117
+
118
+ def _parse_pip_syntax_editable(editable_req: str) -> tuple[str | None, str, set[str]]:
119
+ url = editable_req
120
+
121
+ # If a file path is specified with extras, strip off the extras.
122
+ url_no_extras, extras = strip_extras(url)
123
+
124
+ if os.path.isdir(url_no_extras):
125
+ # Treating it as code that has already been checked out
126
+ url_no_extras = path_to_url(url_no_extras)
127
+
128
+ if url_no_extras.lower().startswith("file:"):
129
+ package_name = Link(url_no_extras).egg_fragment
130
+ return (package_name, url_no_extras, extras)
131
+
132
+ for version_control in vcs:
133
+ if url.lower().startswith(f"{version_control}:"):
134
+ url = f"{version_control}+{url}"
135
+ break
136
+
137
+ return Link(url).egg_fragment, url, set()
138
+
139
+
140
+ def parse_editable(editable_req: str) -> tuple[str | None, str, set[str]]:
141
+ """Parses an editable requirement into:
142
+ - a requirement name with environment markers
143
+ - an URL
144
+ - extras
145
+ Accepted requirements:
146
+ - svn+http://blahblah@rev#egg=Foobar[baz]&subdirectory=version_subdir
147
+ - local_path[some_extra]
148
+ - Foobar[extra] @ svn+http://blahblah@rev#subdirectory=subdir ; markers
149
+ """
150
+ try:
151
+ package_name, url, extras = _parse_direct_url_editable(editable_req)
152
+ except ValueError:
153
+ package_name, url, extras = _parse_pip_syntax_editable(editable_req)
154
+
155
+ link = Link(url)
156
+
157
+ if not link.is_vcs and not link.url.startswith("file:"):
158
+ backends = ", ".join(vcs.all_schemes)
159
+ raise InstallationError(
160
+ f"{editable_req} is not a valid editable requirement. "
161
+ f"It should either be a path to a local project or a VCS URL "
162
+ f"(beginning with {backends})."
163
+ )
164
+
165
+ # The project name can be inferred from local file URIs easily.
166
+ if not package_name and not link.url.startswith("file:"):
167
+ raise InstallationError(
168
+ f"Could not detect requirement name for '{editable_req}', "
169
+ "please specify one with your_package_name @ URL"
170
+ )
171
+ return package_name, url, extras
172
+
173
+
174
+ def check_first_requirement_in_file(filename: str) -> None:
175
+ """Check if file is parsable as a requirements file.
176
+
177
+ This is heavily based on ``pkg_resources.parse_requirements``, but
178
+ simplified to just check the first meaningful line.
179
+
180
+ :raises InvalidRequirement: If the first meaningful line cannot be parsed
181
+ as an requirement.
182
+ """
183
+ with open(filename, encoding="utf-8", errors="ignore") as f:
184
+ # Create a steppable iterator, so we can handle \-continuations.
185
+ lines = (
186
+ line
187
+ for line in (line.strip() for line in f)
188
+ if line and not line.startswith("#") # Skip blank lines/comments.
189
+ )
190
+
191
+ for line in lines:
192
+ # Drop comments -- a hash without a space may be in a URL.
193
+ if " #" in line:
194
+ line = line[: line.find(" #")]
195
+ # If there is a line continuation, drop it, and append the next line.
196
+ if line.endswith("\\"):
197
+ line = line[:-2].strip() + next(lines, "")
198
+ get_requirement(line)
199
+ return
200
+
201
+
202
+ def deduce_helpful_msg(req: str) -> str:
203
+ """Returns helpful msg in case requirements file does not exist,
204
+ or cannot be parsed.
205
+
206
+ :params req: Requirements file path
207
+ """
208
+ if not os.path.exists(req):
209
+ return f" File '{req}' does not exist."
210
+ msg = " The path does exist. "
211
+ # Try to parse and check if it is a requirements file.
212
+ try:
213
+ check_first_requirement_in_file(req)
214
+ except InvalidRequirement:
215
+ logger.debug("Cannot parse '%s' as requirements file", req)
216
+ else:
217
+ msg += (
218
+ f"The argument you provided "
219
+ f"({req}) appears to be a"
220
+ f" requirements file. If that is the"
221
+ f" case, use the '-r' flag to install"
222
+ f" the packages specified within it."
223
+ )
224
+ return msg
225
+
226
+
227
+ @dataclass(frozen=True)
228
+ class RequirementParts:
229
+ requirement: Requirement | None
230
+ link: Link | None
231
+ markers: Marker | None
232
+ extras: set[str]
233
+
234
+
235
+ def parse_req_from_editable(editable_req: str) -> RequirementParts:
236
+ name, url, extras_override = parse_editable(editable_req)
237
+
238
+ if name is not None:
239
+ try:
240
+ req: Requirement | None = get_requirement(name)
241
+ except InvalidRequirement as exc:
242
+ raise InstallationError(f"Invalid requirement: {name!r}: {exc}")
243
+ else:
244
+ req = None
245
+
246
+ link = Link(url)
247
+
248
+ return RequirementParts(req, link, None, extras_override)
249
+
250
+
251
+ # ---- The actual constructors follow ----
252
+
253
+
254
+ def install_req_from_editable(
255
+ editable_req: str,
256
+ comes_from: InstallRequirement | str | None = None,
257
+ *,
258
+ isolated: bool = False,
259
+ hash_options: dict[str, list[str]] | None = None,
260
+ constraint: bool = False,
261
+ user_supplied: bool = False,
262
+ config_settings: dict[str, str | list[str]] | None = None,
263
+ ) -> InstallRequirement:
264
+ if constraint:
265
+ raise InstallationError("Editable requirements are not allowed as constraints")
266
+
267
+ parts = parse_req_from_editable(editable_req)
268
+ return InstallRequirement(
269
+ parts.requirement,
270
+ comes_from=comes_from,
271
+ user_supplied=user_supplied,
272
+ editable=True,
273
+ link=parts.link,
274
+ constraint=constraint,
275
+ isolated=isolated,
276
+ hash_options=hash_options,
277
+ config_settings=config_settings,
278
+ extras=parts.extras,
279
+ )
280
+
281
+
282
+ def _looks_like_path(name: str) -> bool:
283
+ """Checks whether the string "looks like" a path on the filesystem.
284
+
285
+ This does not check whether the target actually exists, only judge from the
286
+ appearance.
287
+
288
+ Returns true if any of the following conditions is true:
289
+ * a path separator is found (either os.path.sep or os.path.altsep);
290
+ * a dot is found (which represents the current directory).
291
+ """
292
+ if os.path.sep in name:
293
+ return True
294
+ if os.path.altsep is not None and os.path.altsep in name:
295
+ return True
296
+ if name.startswith("."):
297
+ return True
298
+ return False
299
+
300
+
301
+ def _get_url_from_path(path: str, name: str) -> str | None:
302
+ """
303
+ First, it checks whether a provided path is an installable directory. If it
304
+ is, returns the path.
305
+
306
+ If false, check if the path is an archive file (such as a .whl).
307
+ The function checks if the path is a file. If false, if the path has
308
+ an @, it will treat it as a PEP 440 URL requirement and return the path.
309
+ """
310
+ if _looks_like_path(name) and os.path.isdir(path):
311
+ if is_installable_dir(path):
312
+ return path_to_url(path)
313
+ # TODO: The is_installable_dir test here might not be necessary
314
+ # now that it is done in load_pyproject_toml too.
315
+ raise InstallationError(
316
+ f"Directory {name!r} is not installable. Neither 'setup.py' "
317
+ "nor 'pyproject.toml' found."
318
+ )
319
+ if not is_archive_file(path):
320
+ return None
321
+ if os.path.isfile(path):
322
+ return path_to_url(path)
323
+ urlreq_parts = name.split("@", 1)
324
+ if len(urlreq_parts) >= 2 and not _looks_like_path(urlreq_parts[0]):
325
+ # If the path contains '@' and the part before it does not look
326
+ # like a path, try to treat it as a PEP 440 URL req instead.
327
+ return None
328
+ logger.warning(
329
+ "Requirement %r looks like a filename, but the file does not exist",
330
+ name,
331
+ )
332
+ return path_to_url(path)
333
+
334
+
335
+ def parse_req_from_line(name: str, line_source: str | None) -> RequirementParts:
336
+ if is_url(name):
337
+ marker_sep = "; "
338
+ else:
339
+ marker_sep = ";"
340
+ if marker_sep in name:
341
+ name, markers_as_string = name.split(marker_sep, 1)
342
+ markers_as_string = markers_as_string.strip()
343
+ if not markers_as_string:
344
+ markers = None
345
+ else:
346
+ try:
347
+ markers = Marker(markers_as_string)
348
+ except InvalidMarker as exc:
349
+ raise InstallationError(f"Invalid requirement: {name.strip()!r}: {exc}")
350
+ else:
351
+ markers = None
352
+ name = name.strip()
353
+ req_as_string = None
354
+ path = os.path.normpath(os.path.abspath(name))
355
+ link = None
356
+
357
+ if is_url(name):
358
+ link = Link(name)
359
+ extras: set[str] = set()
360
+ else:
361
+ p, extras = strip_extras(path)
362
+ url = _get_url_from_path(p, name)
363
+ if url is not None:
364
+ link = Link(url)
365
+
366
+ # it's a local file, dir, or url
367
+ if link:
368
+ # Handle relative file URLs
369
+ if link.scheme == "file" and re.search(r"\.\./", link.url):
370
+ link = Link(path_to_url(os.path.normpath(os.path.abspath(link.path))))
371
+ # wheel file
372
+ if link.is_wheel:
373
+ wheel = Wheel(link.filename) # can raise InvalidWheelFilename
374
+ req_as_string = f"{wheel.name}=={wheel.version}"
375
+ else:
376
+ # set the req to the egg fragment. when it's not there, this
377
+ # will become an 'unnamed' requirement
378
+ req_as_string = link.egg_fragment
379
+
380
+ # a requirement specifier
381
+ else:
382
+ req_as_string = name
383
+
384
+ def with_source(text: str) -> str:
385
+ if not line_source:
386
+ return text
387
+ return f"{text} (from {line_source})"
388
+
389
+ def _parse_req_string(req_as_string: str) -> Requirement:
390
+ try:
391
+ return get_requirement(req_as_string)
392
+ except InvalidRequirement as exc:
393
+ if os.path.sep in req_as_string:
394
+ add_msg = "It looks like a path."
395
+ add_msg += deduce_helpful_msg(req_as_string)
396
+ elif "=" in req_as_string and not any(
397
+ op in req_as_string for op in operators
398
+ ):
399
+ add_msg = "= is not a valid operator. Did you mean == ?"
400
+ else:
401
+ add_msg = ""
402
+ msg = with_source(f"Invalid requirement: {req_as_string!r}: {exc}")
403
+ if add_msg:
404
+ msg += f"\nHint: {add_msg}"
405
+ raise InstallationError(msg)
406
+
407
+ if req_as_string is not None:
408
+ req: Requirement | None = _parse_req_string(req_as_string)
409
+ else:
410
+ req = None
411
+
412
+ return RequirementParts(req, link, markers, extras)
413
+
414
+
415
+ def install_req_from_line(
416
+ name: str,
417
+ comes_from: str | InstallRequirement | None = None,
418
+ *,
419
+ isolated: bool = False,
420
+ hash_options: dict[str, list[str]] | None = None,
421
+ constraint: bool = False,
422
+ line_source: str | None = None,
423
+ user_supplied: bool = False,
424
+ config_settings: dict[str, str | list[str]] | None = None,
425
+ ) -> InstallRequirement:
426
+ """Creates an InstallRequirement from a name, which might be a
427
+ requirement, directory containing 'setup.py', filename, or URL.
428
+
429
+ :param line_source: An optional string describing where the line is from,
430
+ for logging purposes in case of an error.
431
+ """
432
+ parts = parse_req_from_line(name, line_source)
433
+
434
+ return InstallRequirement(
435
+ parts.requirement,
436
+ comes_from,
437
+ link=parts.link,
438
+ markers=parts.markers,
439
+ isolated=isolated,
440
+ hash_options=hash_options,
441
+ config_settings=config_settings,
442
+ constraint=constraint,
443
+ extras=parts.extras,
444
+ user_supplied=user_supplied,
445
+ )
446
+
447
+
448
+ def install_req_from_req_string(
449
+ req_string: str,
450
+ comes_from: InstallRequirement | None = None,
451
+ isolated: bool = False,
452
+ user_supplied: bool = False,
453
+ ) -> InstallRequirement:
454
+ try:
455
+ req = get_requirement(req_string)
456
+ except InvalidRequirement as exc:
457
+ raise InstallationError(f"Invalid requirement: {req_string!r}: {exc}")
458
+
459
+ domains_not_allowed = [
460
+ PyPI.file_storage_domain,
461
+ TestPyPI.file_storage_domain,
462
+ ]
463
+ if (
464
+ req.url
465
+ and comes_from
466
+ and comes_from.link
467
+ and comes_from.link.netloc in domains_not_allowed
468
+ ):
469
+ # Explicitly disallow pypi packages that depend on external urls
470
+ raise InstallationError(
471
+ "Packages installed from PyPI cannot depend on packages "
472
+ "which are not also hosted on PyPI.\n"
473
+ f"{comes_from.name} depends on {req} "
474
+ )
475
+
476
+ return InstallRequirement(
477
+ req,
478
+ comes_from,
479
+ isolated=isolated,
480
+ user_supplied=user_supplied,
481
+ )
482
+
483
+
484
+ def install_req_from_parsed_requirement(
485
+ parsed_req: ParsedRequirement,
486
+ isolated: bool = False,
487
+ user_supplied: bool = False,
488
+ config_settings: dict[str, str | list[str]] | None = None,
489
+ ) -> InstallRequirement:
490
+ if parsed_req.is_editable:
491
+ req = install_req_from_editable(
492
+ parsed_req.requirement,
493
+ comes_from=parsed_req.comes_from,
494
+ constraint=parsed_req.constraint,
495
+ isolated=isolated,
496
+ user_supplied=user_supplied,
497
+ config_settings=config_settings,
498
+ )
499
+
500
+ else:
501
+ req = install_req_from_line(
502
+ parsed_req.requirement,
503
+ comes_from=parsed_req.comes_from,
504
+ isolated=isolated,
505
+ hash_options=(
506
+ parsed_req.options.get("hashes", {}) if parsed_req.options else {}
507
+ ),
508
+ constraint=parsed_req.constraint,
509
+ line_source=parsed_req.line_source,
510
+ user_supplied=user_supplied,
511
+ config_settings=config_settings,
512
+ )
513
+ return req
514
+
515
+
516
+ def install_req_from_link_and_ireq(
517
+ link: Link, ireq: InstallRequirement
518
+ ) -> InstallRequirement:
519
+ return InstallRequirement(
520
+ req=ireq.req,
521
+ comes_from=ireq.comes_from,
522
+ editable=ireq.editable,
523
+ link=link,
524
+ markers=ireq.markers,
525
+ isolated=ireq.isolated,
526
+ hash_options=ireq.hash_options,
527
+ config_settings=ireq.config_settings,
528
+ user_supplied=ireq.user_supplied,
529
+ )
530
+
531
+
532
+ def install_req_drop_extras(ireq: InstallRequirement) -> InstallRequirement:
533
+ """
534
+ Creates a new InstallationRequirement using the given template but without
535
+ any extras. Sets the original requirement as the new one's parent
536
+ (comes_from).
537
+ """
538
+ return InstallRequirement(
539
+ req=(
540
+ _set_requirement_extras(ireq.req, set()) if ireq.req is not None else None
541
+ ),
542
+ comes_from=ireq,
543
+ editable=ireq.editable,
544
+ link=ireq.link,
545
+ markers=ireq.markers,
546
+ isolated=ireq.isolated,
547
+ hash_options=ireq.hash_options,
548
+ constraint=ireq.constraint,
549
+ extras=[],
550
+ config_settings=ireq.config_settings,
551
+ user_supplied=ireq.user_supplied,
552
+ )
553
+
554
+
555
+ def install_req_extend_extras(
556
+ ireq: InstallRequirement,
557
+ extras: Collection[str],
558
+ ) -> InstallRequirement:
559
+ """
560
+ Returns a copy of an installation requirement with some additional extras.
561
+ Makes a shallow copy of the ireq object.
562
+ """
563
+ result = copy.copy(ireq)
564
+ result.extras = {*ireq.extras, *extras}
565
+ result.req = (
566
+ _set_requirement_extras(ireq.req, result.extras)
567
+ if ireq.req is not None
568
+ else None
569
+ )
570
+ return result
571
+
572
+
573
+ def _pylock_hashes_to_hash_options(hashes: Mapping[str, str]) -> dict[str, list[str]]:
574
+ return {k: [v] for k, v in hashes.items()}
575
+
576
+
577
+ def install_req_from_pylock_package(
578
+ package: pylock.Package,
579
+ package_dist: (
580
+ pylock.PackageVcs
581
+ | pylock.PackageArchive
582
+ | pylock.PackageDirectory
583
+ | pylock.PackageSdist
584
+ | pylock.PackageWheel
585
+ ),
586
+ pylock_path_or_url: str,
587
+ user_supplied: bool,
588
+ ) -> tuple[InstallRequirement, Link | None]:
589
+ """Construct an InstallRequirement from a pylock package and artifact.
590
+
591
+ If the artifact is a Sdist or Wheel, also return a locked Link which
592
+ is meant to override candidates from indexes or --find-links.
593
+ """
594
+ # TODO: validate file size
595
+ if isinstance(package_dist, pylock.PackageVcs):
596
+ req_url = package_vcs_requirement_url(pylock_path_or_url, package_dist)
597
+ return (
598
+ InstallRequirement(
599
+ req=Requirement(f"{package.name} @ {req_url}"),
600
+ comes_from=pylock_path_or_url,
601
+ user_supplied=user_supplied,
602
+ ),
603
+ None,
604
+ )
605
+ elif isinstance(package_dist, pylock.PackageArchive):
606
+ req_url = package_archive_requirement_url(pylock_path_or_url, package_dist)
607
+ return (
608
+ InstallRequirement(
609
+ req=Requirement(f"{package.name} @ {req_url}"),
610
+ comes_from=pylock_path_or_url,
611
+ hash_options=_pylock_hashes_to_hash_options(package_dist.hashes),
612
+ user_supplied=user_supplied,
613
+ ),
614
+ None,
615
+ )
616
+ elif isinstance(package_dist, pylock.PackageDirectory):
617
+ req_url = package_directory_requirement_url(pylock_path_or_url, package_dist)
618
+ if package_dist.editable:
619
+ return (
620
+ install_req_from_editable(
621
+ req_url,
622
+ comes_from=pylock_path_or_url,
623
+ user_supplied=user_supplied,
624
+ ),
625
+ None,
626
+ )
627
+ else:
628
+ return (
629
+ install_req_from_line(
630
+ req_url,
631
+ comes_from=pylock_path_or_url,
632
+ user_supplied=user_supplied,
633
+ ),
634
+ None,
635
+ )
636
+ else:
637
+ # wheel or sdist
638
+ version = package.version
639
+ if isinstance(package_dist, pylock.PackageWheel):
640
+ if not version:
641
+ _, version, _, _ = parse_wheel_filename(package_dist.filename)
642
+ requirement_url = package_wheel_requirement_url(
643
+ pylock_path_or_url, package_dist
644
+ )
645
+ elif isinstance(package_dist, pylock.PackageSdist):
646
+ if not version:
647
+ _, version = parse_sdist_filename(package_dist.filename)
648
+ requirement_url = package_sdist_requirement_url(
649
+ pylock_path_or_url, package_dist
650
+ )
651
+ ireq = InstallRequirement(
652
+ req=Requirement(f"{package.name}=={version}"),
653
+ comes_from=pylock_path_or_url,
654
+ hash_options=_pylock_hashes_to_hash_options(package_dist.hashes),
655
+ user_supplied=user_supplied,
656
+ )
657
+ locked_link = Link(
658
+ requirement_url,
659
+ comes_from=pylock_path_or_url,
660
+ upload_time=package_dist.upload_time,
661
+ )
662
+ return ireq, locked_link
venv/lib/python3.14/site-packages/pip/_internal/req/pep723.py ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import re
2
+ from typing import Any
3
+
4
+ from pip._internal.utils.compat import tomllib
5
+
6
+ REGEX = r"(?m)^# /// (?P<type>[a-zA-Z0-9-]+)$\s(?P<content>(^#(| .*)$\s)+)^# ///$"
7
+
8
+
9
+ class PEP723Exception(ValueError):
10
+ """Raised to indicate a problem when parsing PEP 723 metadata from a script"""
11
+
12
+ def __init__(self, msg: str) -> None:
13
+ self.msg = msg
14
+
15
+
16
+ def pep723_metadata(scriptfile: str) -> dict[str, Any]:
17
+ with open(scriptfile, encoding="utf8") as f:
18
+ script = f.read()
19
+
20
+ name = "script"
21
+ matches = list(
22
+ filter(lambda m: m.group("type") == name, re.finditer(REGEX, script))
23
+ )
24
+
25
+ if len(matches) > 1:
26
+ raise PEP723Exception(f"Multiple {name!r} blocks found in {scriptfile!r}")
27
+ elif len(matches) == 1:
28
+ content = "".join(
29
+ line[2:] if line.startswith("# ") else line[1:]
30
+ for line in matches[0].group("content").splitlines(keepends=True)
31
+ )
32
+ try:
33
+ metadata = tomllib.loads(content)
34
+ except Exception as exc:
35
+ raise PEP723Exception(f"Failed to parse TOML in {scriptfile!r}") from exc
36
+ else:
37
+ raise PEP723Exception(
38
+ f"File does not contain {name!r} metadata: {scriptfile!r}"
39
+ )
40
+
41
+ return metadata
venv/lib/python3.14/site-packages/pip/_internal/req/req_dependency_group.py ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Iterable, Iterator
2
+ from typing import Any
3
+
4
+ from pip._vendor.packaging.dependency_groups import DependencyGroupResolver
5
+ from pip._vendor.packaging.errors import ExceptionGroup
6
+
7
+ from pip._internal.exceptions import InstallationError
8
+ from pip._internal.utils.compat import tomllib
9
+
10
+
11
+ def parse_dependency_groups(groups: list[tuple[str, str]]) -> list[str]:
12
+ """
13
+ Parse dependency groups data as provided via the CLI, in a `[path:]group` syntax.
14
+
15
+ Raises InstallationErrors if anything goes wrong.
16
+ """
17
+ resolvers = _build_resolvers(path for (path, _) in groups)
18
+ return list(_resolve_all_groups(resolvers, groups))
19
+
20
+
21
+ def _resolve_all_groups(
22
+ resolvers: dict[str, DependencyGroupResolver], groups: list[tuple[str, str]]
23
+ ) -> Iterator[str]:
24
+ """
25
+ Run all resolution, converting any error from `DependencyGroupResolver` into
26
+ an InstallationError.
27
+ """
28
+ for path, groupname in groups:
29
+ resolver = resolvers[path]
30
+ try:
31
+ yield from (str(req) for req in resolver.resolve(groupname))
32
+ except ExceptionGroup as eg:
33
+ # Convert ExceptionGroup to a single InstallationError with all messages
34
+ messages = [str(e) for e in eg.exceptions]
35
+ raise InstallationError(
36
+ f"[dependency-groups] resolution failed for '{groupname}' "
37
+ f"from '{path}': {'; '.join(messages)}"
38
+ ) from eg
39
+
40
+
41
+ def _build_resolvers(paths: Iterable[str]) -> dict[str, Any]:
42
+ resolvers = {}
43
+ for path in paths:
44
+ if path in resolvers:
45
+ continue
46
+
47
+ pyproject = _load_pyproject(path)
48
+ if "dependency-groups" not in pyproject:
49
+ raise InstallationError(
50
+ f"[dependency-groups] table was missing from '{path}'. "
51
+ "Cannot resolve '--group' option."
52
+ )
53
+ raw_dependency_groups = pyproject["dependency-groups"]
54
+ if not isinstance(raw_dependency_groups, dict):
55
+ raise InstallationError(
56
+ f"[dependency-groups] table was malformed in {path}. "
57
+ "Cannot resolve '--group' option."
58
+ )
59
+
60
+ try:
61
+ resolvers[path] = DependencyGroupResolver(raw_dependency_groups)
62
+ except ExceptionGroup as eg:
63
+ # Handle ExceptionGroup from resolver initialization
64
+ messages = [str(e) for e in eg.exceptions]
65
+ raise InstallationError(
66
+ f"[dependency-groups] data was invalid in {path}: {'; '.join(messages)}"
67
+ ) from eg
68
+
69
+ return resolvers
70
+
71
+
72
+ def _load_pyproject(path: str) -> dict[str, Any]:
73
+ """
74
+ This helper loads a pyproject.toml as TOML.
75
+
76
+ It raises an InstallationError if the operation fails.
77
+ """
78
+ try:
79
+ with open(path, "rb") as fp:
80
+ return tomllib.load(fp)
81
+ except FileNotFoundError:
82
+ raise InstallationError(f"{path} not found. Cannot resolve '--group' option.")
83
+ except tomllib.TOMLDecodeError as e:
84
+ raise InstallationError(f"Error parsing {path}: {e}") from e
85
+ except OSError as e:
86
+ raise InstallationError(f"Error reading {path}: {e}") from e
venv/lib/python3.14/site-packages/pip/_internal/req/req_file.py ADDED
@@ -0,0 +1,622 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Requirements file parsing
3
+ """
4
+
5
+ from __future__ import annotations
6
+
7
+ import codecs
8
+ import logging
9
+ import optparse
10
+ import os
11
+ import re
12
+ import shlex
13
+ import sys
14
+ import urllib.parse
15
+ from collections.abc import Callable, Generator, Iterable
16
+ from dataclasses import dataclass
17
+ from optparse import Values
18
+ from typing import (
19
+ TYPE_CHECKING,
20
+ Any,
21
+ NoReturn,
22
+ )
23
+
24
+ from pip._internal.cli import cmdoptions
25
+ from pip._internal.exceptions import InstallationError, RequirementsFileParseError
26
+ from pip._internal.models.release_control import ReleaseControl
27
+ from pip._internal.models.search_scope import SearchScope
28
+ from pip._internal.utils.compat import get_locale_encoding
29
+
30
+ if TYPE_CHECKING:
31
+ from pip._internal.index.package_finder import PackageFinder
32
+ from pip._internal.network.session import PipSession
33
+
34
+ __all__ = ["parse_requirements"]
35
+
36
+ ReqFileLines = Iterable[tuple[int, str]]
37
+
38
+ LineParser = Callable[[str], tuple[str, Values]]
39
+
40
+ SCHEME_RE = re.compile(r"^(http|https|file):", re.I)
41
+ COMMENT_RE = re.compile(r"(^|\s+)#.*$")
42
+
43
+ # Matches environment variable-style values in '${MY_VARIABLE_1}' with the
44
+ # variable name consisting of only uppercase letters, digits or the '_'
45
+ # (underscore). This follows the POSIX standard defined in IEEE Std 1003.1,
46
+ # 2013 Edition.
47
+ ENV_VAR_RE = re.compile(r"(?P<var>\$\{(?P<name>[A-Z0-9_]+)\})")
48
+
49
+ SUPPORTED_OPTIONS: list[Callable[..., optparse.Option]] = [
50
+ cmdoptions.index_url,
51
+ cmdoptions.extra_index_url,
52
+ cmdoptions.no_index,
53
+ cmdoptions.constraints,
54
+ cmdoptions.requirements,
55
+ cmdoptions.editable,
56
+ cmdoptions.find_links,
57
+ cmdoptions.no_binary,
58
+ cmdoptions.only_binary,
59
+ cmdoptions.prefer_binary,
60
+ cmdoptions.require_hashes,
61
+ cmdoptions.no_require_hashes,
62
+ cmdoptions.pre,
63
+ cmdoptions.all_releases,
64
+ cmdoptions.only_final,
65
+ cmdoptions.trusted_host,
66
+ cmdoptions.use_new_feature,
67
+ ]
68
+
69
+ # options to be passed to requirements
70
+ SUPPORTED_OPTIONS_REQ: list[Callable[..., optparse.Option]] = [
71
+ cmdoptions.hash,
72
+ cmdoptions.config_settings,
73
+ ]
74
+
75
+ SUPPORTED_OPTIONS_EDITABLE_REQ: list[Callable[..., optparse.Option]] = [
76
+ cmdoptions.config_settings,
77
+ ]
78
+
79
+
80
+ # the 'dest' string values
81
+ SUPPORTED_OPTIONS_REQ_DEST = [str(o().dest) for o in SUPPORTED_OPTIONS_REQ]
82
+ SUPPORTED_OPTIONS_EDITABLE_REQ_DEST = [
83
+ str(o().dest) for o in SUPPORTED_OPTIONS_EDITABLE_REQ
84
+ ]
85
+
86
+ # order of BOMS is important: codecs.BOM_UTF16_LE is a prefix of codecs.BOM_UTF32_LE
87
+ # so data.startswith(BOM_UTF16_LE) would be true for UTF32_LE data
88
+ BOMS: list[tuple[bytes, str]] = [
89
+ (codecs.BOM_UTF8, "utf-8"),
90
+ (codecs.BOM_UTF32, "utf-32"),
91
+ (codecs.BOM_UTF32_BE, "utf-32-be"),
92
+ (codecs.BOM_UTF32_LE, "utf-32-le"),
93
+ (codecs.BOM_UTF16, "utf-16"),
94
+ (codecs.BOM_UTF16_BE, "utf-16-be"),
95
+ (codecs.BOM_UTF16_LE, "utf-16-le"),
96
+ ]
97
+
98
+ PEP263_ENCODING_RE = re.compile(rb"coding[:=]\s*([-\w.]+)")
99
+ DEFAULT_ENCODING = "utf-8"
100
+
101
+ logger = logging.getLogger(__name__)
102
+
103
+
104
+ @dataclass(frozen=True, slots=True)
105
+ class ParsedRequirement:
106
+ requirement: str
107
+ is_editable: bool
108
+ comes_from: str
109
+ constraint: bool
110
+ options: dict[str, Any] | None
111
+ line_source: str | None
112
+
113
+
114
+ @dataclass(frozen=True, slots=True)
115
+ class ParsedLine:
116
+ filename: str
117
+ lineno: int
118
+ args: str
119
+ opts: Values
120
+ constraint: bool
121
+
122
+ @property
123
+ def is_editable(self) -> bool:
124
+ return bool(self.opts.editables)
125
+
126
+ @property
127
+ def requirement(self) -> str | None:
128
+ if self.args:
129
+ return self.args
130
+ elif self.is_editable:
131
+ # We don't support multiple -e on one line
132
+ return self.opts.editables[0]
133
+ return None
134
+
135
+
136
+ def parse_requirements(
137
+ filename: str,
138
+ session: PipSession,
139
+ finder: PackageFinder | None = None,
140
+ options: optparse.Values | None = None,
141
+ constraint: bool = False,
142
+ ) -> Generator[ParsedRequirement, None, None]:
143
+ """Parse a requirements file and yield ParsedRequirement instances.
144
+
145
+ :param filename: Path or url of requirements file.
146
+ :param session: PipSession instance.
147
+ :param finder: Instance of pip.index.PackageFinder.
148
+ :param options: cli options.
149
+ :param constraint: If true, parsing a constraint file rather than
150
+ requirements file.
151
+ """
152
+ line_parser = get_line_parser(finder)
153
+ parser = RequirementsFileParser(session, line_parser)
154
+
155
+ for parsed_line in parser.parse(filename, constraint):
156
+ parsed_req = handle_line(
157
+ parsed_line, options=options, finder=finder, session=session
158
+ )
159
+ if parsed_req is not None:
160
+ yield parsed_req
161
+
162
+
163
+ def preprocess(content: str) -> ReqFileLines:
164
+ """Split, filter, and join lines, and return a line iterator
165
+
166
+ :param content: the content of the requirements file
167
+ """
168
+ lines_enum: ReqFileLines = enumerate(content.splitlines(), start=1)
169
+ lines_enum = join_lines(lines_enum)
170
+ lines_enum = ignore_comments(lines_enum)
171
+ lines_enum = expand_env_variables(lines_enum)
172
+ return lines_enum
173
+
174
+
175
+ def handle_requirement_line(
176
+ line: ParsedLine,
177
+ options: optparse.Values | None = None,
178
+ ) -> ParsedRequirement:
179
+ # preserve for the nested code path
180
+ line_comes_from = "{} {} (line {})".format(
181
+ "-c" if line.constraint else "-r",
182
+ line.filename,
183
+ line.lineno,
184
+ )
185
+
186
+ assert line.requirement is not None
187
+
188
+ # get the options that apply to requirements
189
+ if line.is_editable:
190
+ supported_dest = SUPPORTED_OPTIONS_EDITABLE_REQ_DEST
191
+ else:
192
+ supported_dest = SUPPORTED_OPTIONS_REQ_DEST
193
+ req_options = {}
194
+ for dest in supported_dest:
195
+ if dest in line.opts.__dict__ and line.opts.__dict__[dest]:
196
+ req_options[dest] = line.opts.__dict__[dest]
197
+
198
+ line_source = f"line {line.lineno} of {line.filename}"
199
+ return ParsedRequirement(
200
+ requirement=line.requirement,
201
+ is_editable=line.is_editable,
202
+ comes_from=line_comes_from,
203
+ constraint=line.constraint,
204
+ options=req_options,
205
+ line_source=line_source,
206
+ )
207
+
208
+
209
+ def handle_option_line(
210
+ opts: Values,
211
+ filename: str,
212
+ lineno: int,
213
+ finder: PackageFinder | None = None,
214
+ options: optparse.Values | None = None,
215
+ session: PipSession | None = None,
216
+ ) -> None:
217
+ if opts.hashes:
218
+ logger.warning(
219
+ "%s line %s has --hash but no requirement, and will be ignored.",
220
+ filename,
221
+ lineno,
222
+ )
223
+
224
+ if options:
225
+ # percolate options upward
226
+ if opts.require_hashes:
227
+ options.require_hashes = opts.require_hashes
228
+ if opts.no_require_hashes:
229
+ options.no_require_hashes = opts.no_require_hashes
230
+ if opts.features_enabled:
231
+ options.features_enabled.extend(
232
+ f for f in opts.features_enabled if f not in options.features_enabled
233
+ )
234
+
235
+ # set finder options
236
+ if finder:
237
+ find_links = finder.find_links
238
+ index_urls = finder.index_urls
239
+ no_index = finder.search_scope.no_index
240
+ if opts.no_index is True:
241
+ no_index = True
242
+ index_urls = []
243
+ if opts.index_url and not no_index:
244
+ index_urls = [opts.index_url]
245
+ if opts.extra_index_urls and not no_index:
246
+ index_urls.extend(opts.extra_index_urls)
247
+ if opts.find_links:
248
+ # FIXME: it would be nice to keep track of the source
249
+ # of the find_links: support a find-links local path
250
+ # relative to a requirements file.
251
+ value = opts.find_links[0]
252
+ req_dir = os.path.dirname(os.path.abspath(filename))
253
+ relative_to_reqs_file = os.path.join(req_dir, value)
254
+ if os.path.exists(relative_to_reqs_file):
255
+ value = relative_to_reqs_file
256
+ find_links.append(value)
257
+
258
+ if session:
259
+ # We need to update the auth urls in session
260
+ session.update_index_urls(index_urls)
261
+
262
+ search_scope = SearchScope(
263
+ find_links=find_links,
264
+ index_urls=index_urls,
265
+ no_index=no_index,
266
+ )
267
+ finder.search_scope = search_scope
268
+
269
+ # Transform --pre into --all-releases :all:
270
+ if opts.pre:
271
+ if not opts.release_control:
272
+ opts.release_control = ReleaseControl()
273
+ opts.release_control.all_releases.add(":all:")
274
+
275
+ if opts.release_control:
276
+ if not finder.release_control:
277
+ # First time seeing release_control, set it on finder
278
+ finder.set_release_control(opts.release_control)
279
+
280
+ if opts.prefer_binary:
281
+ finder.set_prefer_binary()
282
+
283
+ if session:
284
+ for host in opts.trusted_hosts or []:
285
+ source = f"line {lineno} of {filename}"
286
+ session.add_trusted_host(host, source=source)
287
+
288
+
289
+ def handle_line(
290
+ line: ParsedLine,
291
+ options: optparse.Values | None = None,
292
+ finder: PackageFinder | None = None,
293
+ session: PipSession | None = None,
294
+ ) -> ParsedRequirement | None:
295
+ """Handle a single parsed requirements line; This can result in
296
+ creating/yielding requirements, or updating the finder.
297
+
298
+ :param line: The parsed line to be processed.
299
+ :param options: CLI options.
300
+ :param finder: The finder - updated by non-requirement lines.
301
+ :param session: The session - updated by non-requirement lines.
302
+
303
+ Returns a ParsedRequirement object if the line is a requirement line,
304
+ otherwise returns None.
305
+
306
+ For lines that contain requirements, the only options that have an effect
307
+ are from SUPPORTED_OPTIONS_REQ, and they are scoped to the
308
+ requirement. Other options from SUPPORTED_OPTIONS may be present, but are
309
+ ignored.
310
+
311
+ For lines that do not contain requirements, the only options that have an
312
+ effect are from SUPPORTED_OPTIONS. Options from SUPPORTED_OPTIONS_REQ may
313
+ be present, but are ignored. These lines may contain multiple options
314
+ (although our docs imply only one is supported), and all our parsed and
315
+ affect the finder.
316
+ """
317
+
318
+ if line.requirement is not None:
319
+ parsed_req = handle_requirement_line(line, options)
320
+ return parsed_req
321
+ else:
322
+ handle_option_line(
323
+ line.opts,
324
+ line.filename,
325
+ line.lineno,
326
+ finder,
327
+ options,
328
+ session,
329
+ )
330
+ return None
331
+
332
+
333
+ class RequirementsFileParser:
334
+ def __init__(
335
+ self,
336
+ session: PipSession,
337
+ line_parser: LineParser,
338
+ ) -> None:
339
+ self._session = session
340
+ self._line_parser = line_parser
341
+
342
+ def parse(
343
+ self, filename: str, constraint: bool
344
+ ) -> Generator[ParsedLine, None, None]:
345
+ """Parse a given file, yielding parsed lines."""
346
+ yield from self._parse_and_recurse(
347
+ filename, constraint, [{os.path.abspath(filename): None}]
348
+ )
349
+
350
+ def _parse_and_recurse(
351
+ self,
352
+ filename: str,
353
+ constraint: bool,
354
+ parsed_files_stack: list[dict[str, str | None]],
355
+ ) -> Generator[ParsedLine, None, None]:
356
+ for line in self._parse_file(filename, constraint):
357
+ if line.requirement is None and (
358
+ line.opts.requirements or line.opts.constraints
359
+ ):
360
+ # parse a nested requirements file
361
+ if line.opts.requirements:
362
+ req_path = line.opts.requirements[0]
363
+ nested_constraint = False
364
+ else:
365
+ req_path = line.opts.constraints[0]
366
+ nested_constraint = True
367
+
368
+ # original file is over http
369
+ if SCHEME_RE.search(filename):
370
+ # do a url join so relative paths work
371
+ req_path = urllib.parse.urljoin(filename, req_path)
372
+ # original file and nested file are paths
373
+ elif not SCHEME_RE.search(req_path):
374
+ # do a join so relative paths work
375
+ # and then abspath so that we can identify recursive references
376
+ req_path = os.path.abspath(
377
+ os.path.join(
378
+ os.path.dirname(filename),
379
+ req_path,
380
+ )
381
+ )
382
+ parsed_files = parsed_files_stack[0]
383
+ if req_path in parsed_files:
384
+ initial_file = parsed_files[req_path]
385
+ tail = (
386
+ f" and again in {initial_file}"
387
+ if initial_file is not None
388
+ else ""
389
+ )
390
+ raise RequirementsFileParseError(
391
+ f"{req_path} recursively references itself in {filename}{tail}"
392
+ )
393
+ # Keeping a track where was each file first included in
394
+ new_parsed_files = parsed_files.copy()
395
+ new_parsed_files[req_path] = filename
396
+ yield from self._parse_and_recurse(
397
+ req_path, nested_constraint, [new_parsed_files, *parsed_files_stack]
398
+ )
399
+ else:
400
+ yield line
401
+
402
+ def _parse_file(
403
+ self, filename: str, constraint: bool
404
+ ) -> Generator[ParsedLine, None, None]:
405
+ _, content = get_file_content(filename, self._session, constraint=constraint)
406
+
407
+ lines_enum = preprocess(content)
408
+
409
+ for line_number, line in lines_enum:
410
+ try:
411
+ args_str, opts = self._line_parser(line)
412
+ except OptionParsingError as e:
413
+ # add offending line
414
+ msg = f"Invalid requirement: {line}\n{e.msg}"
415
+ raise RequirementsFileParseError(msg)
416
+
417
+ yield ParsedLine(
418
+ filename,
419
+ line_number,
420
+ args_str,
421
+ opts,
422
+ constraint,
423
+ )
424
+
425
+
426
+ def get_line_parser(finder: PackageFinder | None) -> LineParser:
427
+ def parse_line(line: str) -> tuple[str, Values]:
428
+ # Build new parser for each line since it accumulates appendable
429
+ # options.
430
+ parser = build_parser()
431
+ defaults = parser.get_default_values()
432
+ defaults.index_url = None
433
+ if finder:
434
+ defaults.format_control = finder.format_control
435
+ defaults.release_control = finder.release_control
436
+
437
+ args_str, options_str = break_args_options(line)
438
+
439
+ try:
440
+ options = shlex.split(options_str)
441
+ except ValueError as e:
442
+ raise OptionParsingError(f"Could not split options: {options_str}") from e
443
+
444
+ opts, _ = parser.parse_args(options, defaults)
445
+
446
+ return args_str, opts
447
+
448
+ return parse_line
449
+
450
+
451
+ def break_args_options(line: str) -> tuple[str, str]:
452
+ """Break up the line into an args and options string. We only want to shlex
453
+ (and then optparse) the options, not the args. args can contain markers
454
+ which are corrupted by shlex.
455
+ """
456
+ tokens = line.split(" ")
457
+ args = []
458
+ options = tokens[:]
459
+ for token in tokens:
460
+ if token.startswith(("-", "--")):
461
+ break
462
+ else:
463
+ args.append(token)
464
+ options.pop(0)
465
+ return " ".join(args), " ".join(options)
466
+
467
+
468
+ class OptionParsingError(Exception):
469
+ def __init__(self, msg: str) -> None:
470
+ self.msg = msg
471
+
472
+
473
+ def build_parser() -> optparse.OptionParser:
474
+ """
475
+ Return a parser for parsing requirement lines
476
+ """
477
+ parser = optparse.OptionParser(add_help_option=False)
478
+
479
+ option_factories = SUPPORTED_OPTIONS + SUPPORTED_OPTIONS_REQ
480
+ for option_factory in option_factories:
481
+ option = option_factory()
482
+ parser.add_option(option)
483
+
484
+ # By default optparse sys.exits on parsing errors. We want to wrap
485
+ # that in our own exception.
486
+ def parser_exit(self: Any, msg: str) -> NoReturn:
487
+ raise OptionParsingError(msg)
488
+
489
+ # NOTE: mypy disallows assigning to a method
490
+ # https://github.com/python/mypy/issues/2427
491
+ parser.exit = parser_exit # type: ignore
492
+
493
+ return parser
494
+
495
+
496
+ def join_lines(lines_enum: ReqFileLines) -> ReqFileLines:
497
+ """Joins a line ending in '\' with the previous line (except when following
498
+ comments). The joined line takes on the index of the first line.
499
+ """
500
+ primary_line_number = None
501
+ new_line: list[str] = []
502
+ for line_number, line in lines_enum:
503
+ if not line.endswith("\\") or COMMENT_RE.match(line):
504
+ if COMMENT_RE.match(line):
505
+ # this ensures comments are always matched later
506
+ line = " " + line
507
+ if new_line:
508
+ new_line.append(line)
509
+ assert primary_line_number is not None
510
+ yield primary_line_number, "".join(new_line)
511
+ new_line = []
512
+ else:
513
+ yield line_number, line
514
+ else:
515
+ if not new_line:
516
+ primary_line_number = line_number
517
+ new_line.append(line.strip("\\"))
518
+
519
+ # last line contains \
520
+ if new_line:
521
+ assert primary_line_number is not None
522
+ yield primary_line_number, "".join(new_line)
523
+
524
+
525
+ def ignore_comments(lines_enum: ReqFileLines) -> ReqFileLines:
526
+ """
527
+ Strips comments and filter empty lines.
528
+ """
529
+ for line_number, line in lines_enum:
530
+ line = COMMENT_RE.sub("", line)
531
+ line = line.strip()
532
+ if line:
533
+ yield line_number, line
534
+
535
+
536
+ def expand_env_variables(lines_enum: ReqFileLines) -> ReqFileLines:
537
+ """Replace all environment variables that can be retrieved via `os.getenv`.
538
+
539
+ The only allowed format for environment variables defined in the
540
+ requirement file is `${MY_VARIABLE_1}` to ensure two things:
541
+
542
+ 1. Strings that contain a `$` aren't accidentally (partially) expanded.
543
+ 2. Ensure consistency across platforms for requirement files.
544
+
545
+ These points are the result of a discussion on the `github pull
546
+ request #3514 <https://github.com/pypa/pip/pull/3514>`_.
547
+
548
+ Valid characters in variable names follow the `POSIX standard
549
+ <http://pubs.opengroup.org/onlinepubs/9699919799/>`_ and are limited
550
+ to uppercase letter, digits and the `_` (underscore).
551
+ """
552
+ for line_number, line in lines_enum:
553
+ for env_var, var_name in ENV_VAR_RE.findall(line):
554
+ value = os.getenv(var_name)
555
+ if not value:
556
+ continue
557
+
558
+ line = line.replace(env_var, value)
559
+
560
+ yield line_number, line
561
+
562
+
563
+ def get_file_content(
564
+ url: str, session: PipSession, *, constraint: bool = False
565
+ ) -> tuple[str, str]:
566
+ """Gets the content of a file; it may be a filename, file: URL, or
567
+ http: URL. Returns (location, content). Content is unicode.
568
+ Respects # -*- coding: declarations on the retrieved files.
569
+
570
+ :param url: File path or url.
571
+ :param session: PipSession instance.
572
+ """
573
+ scheme = urllib.parse.urlsplit(url).scheme
574
+ # Pip has special support for file:// URLs (LocalFSAdapter).
575
+ if scheme in ["http", "https", "file"]:
576
+ # Delay importing heavy network modules until absolutely necessary.
577
+ from pip._internal.network.utils import raise_for_status
578
+
579
+ resp = session.get(url)
580
+ raise_for_status(resp)
581
+ return resp.url, resp.text
582
+
583
+ # Assume this is a bare path.
584
+ try:
585
+ with open(url, "rb") as f:
586
+ raw_content = f.read()
587
+ except OSError as exc:
588
+ kind = "constraint" if constraint else "requirements"
589
+ raise InstallationError(f"Could not open {kind} file: {exc}")
590
+
591
+ content = _decode_req_file(raw_content, url)
592
+
593
+ return url, content
594
+
595
+
596
+ def _decode_req_file(data: bytes, url: str) -> str:
597
+ for bom, encoding in BOMS:
598
+ if data.startswith(bom):
599
+ return data[len(bom) :].decode(encoding)
600
+
601
+ for line in data.split(b"\n")[:2]:
602
+ if line[0:1] == b"#":
603
+ result = PEP263_ENCODING_RE.search(line)
604
+ if result is not None:
605
+ encoding = result.groups()[0].decode("ascii")
606
+ return data.decode(encoding)
607
+
608
+ try:
609
+ return data.decode(DEFAULT_ENCODING)
610
+ except UnicodeDecodeError:
611
+ locale_encoding = get_locale_encoding() or sys.getdefaultencoding()
612
+ logging.warning(
613
+ "unable to decode data from %s with default encoding %s, "
614
+ "falling back to encoding from locale: %s. "
615
+ "If this is intentional you should specify the encoding with a "
616
+ "PEP-263 style comment, e.g. '# -*- coding: %s -*-'",
617
+ url,
618
+ DEFAULT_ENCODING,
619
+ locale_encoding,
620
+ locale_encoding,
621
+ )
622
+ return data.decode(locale_encoding)
venv/lib/python3.14/site-packages/pip/_internal/req/req_install.py ADDED
@@ -0,0 +1,842 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import functools
4
+ import logging
5
+ import os
6
+ import shutil
7
+ import sys
8
+ import uuid
9
+ import zipfile
10
+ from collections.abc import Collection, Iterable
11
+ from optparse import Values
12
+ from pathlib import Path
13
+ from typing import Any
14
+
15
+ from pip._vendor.packaging.markers import Marker
16
+ from pip._vendor.packaging.requirements import Requirement
17
+ from pip._vendor.packaging.specifiers import SpecifierSet
18
+ from pip._vendor.packaging.utils import canonicalize_name
19
+ from pip._vendor.packaging.version import Version
20
+ from pip._vendor.packaging.version import parse as parse_version
21
+ from pip._vendor.pyproject_hooks import BuildBackendHookCaller
22
+
23
+ from pip._internal.build_env import BuildEnvironment, NoOpBuildEnvironment
24
+ from pip._internal.exceptions import InstallationError, PreviousBuildDirError
25
+ from pip._internal.locations import get_scheme
26
+ from pip._internal.metadata import (
27
+ BaseDistribution,
28
+ get_default_environment,
29
+ get_directory_distribution,
30
+ get_wheel_distribution,
31
+ )
32
+ from pip._internal.metadata.base import FilesystemWheel
33
+ from pip._internal.models.direct_url import DirectUrl
34
+ from pip._internal.models.link import Link
35
+ from pip._internal.operations.build.metadata import generate_metadata
36
+ from pip._internal.operations.build.metadata_editable import generate_editable_metadata
37
+ from pip._internal.pyproject import load_pyproject_toml, make_pyproject_path
38
+ from pip._internal.req.req_uninstall import UninstallPathSet
39
+ from pip._internal.utils.deprecation import deprecated
40
+ from pip._internal.utils.hashes import Hashes
41
+ from pip._internal.utils.misc import (
42
+ ConfiguredBuildBackendHookCaller,
43
+ ask_path_exists,
44
+ backup_dir,
45
+ display_path,
46
+ hide_url,
47
+ is_installable_dir,
48
+ redact_auth_from_requirement,
49
+ redact_auth_from_url,
50
+ )
51
+ from pip._internal.utils.packaging import get_requirement
52
+ from pip._internal.utils.subprocess import runner_with_spinner_message
53
+ from pip._internal.utils.temp_dir import TempDirectory, tempdir_kinds
54
+ from pip._internal.utils.unpacking import unpack_file
55
+ from pip._internal.utils.virtualenv import running_under_virtualenv
56
+ from pip._internal.vcs import vcs
57
+
58
+ logger = logging.getLogger(__name__)
59
+
60
+
61
+ class InstallRequirement:
62
+ """
63
+ Represents something that may be installed later on, may have information
64
+ about where to fetch the relevant requirement and also contains logic for
65
+ installing the said requirement.
66
+ """
67
+
68
+ def __init__(
69
+ self,
70
+ req: Requirement | None,
71
+ comes_from: str | InstallRequirement | None,
72
+ editable: bool = False,
73
+ link: Link | None = None,
74
+ markers: Marker | None = None,
75
+ isolated: bool = False,
76
+ *,
77
+ hash_options: dict[str, list[str]] | None = None,
78
+ config_settings: dict[str, str | list[str]] | None = None,
79
+ constraint: bool = False,
80
+ extras: Collection[str] = (),
81
+ user_supplied: bool = False,
82
+ ) -> None:
83
+ assert req is None or isinstance(req, Requirement), req
84
+ self.req = req
85
+ self.comes_from = comes_from
86
+ self.constraint = constraint
87
+ self.editable = editable
88
+
89
+ # source_dir is the local directory where the linked requirement is
90
+ # located, or unpacked. In case unpacking is needed, creating and
91
+ # populating source_dir is done by the RequirementPreparer. Note this
92
+ # is not necessarily the directory where pyproject.toml or setup.py is
93
+ # located - that one is obtained via unpacked_source_directory.
94
+ self.source_dir: str | None = None
95
+ if self.editable:
96
+ assert link
97
+ if link.is_file:
98
+ self.source_dir = os.path.normpath(os.path.abspath(link.file_path))
99
+
100
+ # original_link is the direct URL that was provided by the user for the
101
+ # requirement, either directly or via a constraints file.
102
+ if link is None and req and req.url:
103
+ # PEP 508 URL requirement
104
+ link = Link(req.url)
105
+ self.link = self.original_link = link
106
+
107
+ # When this InstallRequirement is a wheel obtained from the cache of locally
108
+ # built wheels, this is the source link corresponding to the cache entry, which
109
+ # was used to download and build the cached wheel.
110
+ self.cached_wheel_source_link: Link | None = None
111
+
112
+ # Information about the location of the artifact that was downloaded . This
113
+ # property is guaranteed to be set in resolver results.
114
+ self.download_info: DirectUrl | None = None
115
+
116
+ # Path to any downloaded or already-existing package.
117
+ self.local_file_path: str | None = None
118
+ if self.link and self.link.is_file:
119
+ self.local_file_path = self.link.file_path
120
+
121
+ if extras:
122
+ self.extras = extras
123
+ elif req:
124
+ self.extras = req.extras
125
+ else:
126
+ self.extras = set()
127
+ if markers is None and req:
128
+ markers = req.marker
129
+ self.markers = markers
130
+
131
+ # This holds the Distribution object if this requirement is already installed.
132
+ self.satisfied_by: BaseDistribution | None = None
133
+ # Whether the installation process should try to uninstall an existing
134
+ # distribution before installing this requirement.
135
+ self.should_reinstall = False
136
+ # Temporary build location
137
+ self._temp_build_dir: TempDirectory | None = None
138
+ # Set to True after successful installation
139
+ self.install_succeeded: bool | None = None
140
+ # Supplied options
141
+ self.hash_options = hash_options if hash_options else {}
142
+ self.config_settings = config_settings
143
+ # Set to True after successful preparation of this requirement
144
+ self.prepared = False
145
+ # User supplied requirement are explicitly requested for installation
146
+ # by the user via CLI arguments or requirements files, as opposed to,
147
+ # e.g. dependencies, extras or constraints.
148
+ self.user_supplied = user_supplied
149
+
150
+ self.isolated = isolated
151
+ self.build_env: BuildEnvironment = NoOpBuildEnvironment()
152
+
153
+ # For PEP 517, the directory where we request the project metadata
154
+ # gets stored. We need this to pass to build_wheel, so the backend
155
+ # can ensure that the wheel matches the metadata (see the PEP for
156
+ # details).
157
+ self.metadata_directory: str | None = None
158
+
159
+ # The cached metadata distribution that this requirement represents.
160
+ # See get_dist / set_dist.
161
+ self._distribution: BaseDistribution | None = None
162
+
163
+ # The static build requirements (from pyproject.toml)
164
+ self.pyproject_requires: list[str] | None = None
165
+
166
+ # Build requirements that we will check are available
167
+ self.requirements_to_check: list[str] = []
168
+
169
+ # The PEP 517 backend we should use to build the project
170
+ self._pep517_backend_spec: str
171
+ self._pep517_backend_path: str | None
172
+ self.pep517_backend: BuildBackendHookCaller | None = None
173
+
174
+ # This requirement needs more preparation before it can be built
175
+ self.needs_more_preparation = False
176
+
177
+ # This requirement needs to be unpacked before it can be installed.
178
+ self._archive_source: Path | None = None
179
+
180
+ def __str__(self) -> str:
181
+ if self.req:
182
+ s = redact_auth_from_requirement(self.req)
183
+ if self.link:
184
+ s += f" from {redact_auth_from_url(self.link.url)}"
185
+ elif self.link:
186
+ s = redact_auth_from_url(self.link.url)
187
+ else:
188
+ s = "<InstallRequirement>"
189
+ if self.satisfied_by is not None:
190
+ if self.satisfied_by.location is not None:
191
+ location = display_path(self.satisfied_by.location)
192
+ else:
193
+ location = "<memory>"
194
+ s += f" in {location}"
195
+ if self.comes_from:
196
+ if isinstance(self.comes_from, str):
197
+ comes_from: str | None = self.comes_from
198
+ else:
199
+ comes_from = self.comes_from.from_path()
200
+ if comes_from:
201
+ s += f" (from {comes_from})"
202
+ return s
203
+
204
+ def __repr__(self) -> str:
205
+ return (
206
+ f"<{self.__class__.__name__} object: "
207
+ f"{str(self)} editable={self.editable!r}>"
208
+ )
209
+
210
+ def format_debug(self) -> str:
211
+ """An un-tested helper for getting state, for debugging."""
212
+ attributes = vars(self)
213
+ names = sorted(attributes)
214
+
215
+ state = (f"{attr}={attributes[attr]!r}" for attr in sorted(names))
216
+ return "<{name} object: {{{state}}}>".format(
217
+ name=self.__class__.__name__,
218
+ state=", ".join(state),
219
+ )
220
+
221
+ # Things that are valid for all kinds of requirements?
222
+ @property
223
+ def name(self) -> str | None:
224
+ if self.req is None:
225
+ return None
226
+ return self.req.name
227
+
228
+ @functools.cached_property
229
+ def supports_pyproject_editable(self) -> bool:
230
+ assert self.pep517_backend
231
+ with self.build_env:
232
+ runner = runner_with_spinner_message(
233
+ "Checking if build backend supports build_editable"
234
+ )
235
+ with self.pep517_backend.subprocess_runner(runner):
236
+ return "build_editable" in self.pep517_backend._supported_features()
237
+
238
+ @property
239
+ def specifier(self) -> SpecifierSet:
240
+ assert self.req is not None
241
+ return self.req.specifier
242
+
243
+ @property
244
+ def is_direct(self) -> bool:
245
+ """Whether this requirement was specified as a direct URL."""
246
+ return self.original_link is not None
247
+
248
+ @property
249
+ def is_pinned(self) -> bool:
250
+ """Return whether I am pinned to an exact version.
251
+
252
+ For example, some-package==1.2 is pinned; some-package>1.2 is not.
253
+ """
254
+ assert self.req is not None
255
+ specifiers = self.req.specifier
256
+ return len(specifiers) == 1 and next(iter(specifiers)).operator in {"==", "==="}
257
+
258
+ def match_markers(self, extras_requested: Iterable[str] | None = None) -> bool:
259
+ if not extras_requested:
260
+ # Provide an extra to safely evaluate the markers
261
+ # without matching any extra
262
+ extras_requested = ("",)
263
+ if self.markers is not None:
264
+ return any(
265
+ self.markers.evaluate({"extra": extra}) for extra in extras_requested
266
+ )
267
+ else:
268
+ return True
269
+
270
+ @property
271
+ def has_hash_options(self) -> bool:
272
+ """Return whether any known-good hashes are specified as options.
273
+
274
+ These activate --require-hashes mode; hashes specified as part of a
275
+ URL do not.
276
+
277
+ """
278
+ return bool(self.hash_options)
279
+
280
+ def hashes(self, trust_internet: bool = True) -> Hashes:
281
+ """Return a hash-comparer that considers my option- and URL-based
282
+ hashes to be known-good.
283
+
284
+ Hashes in URLs--ones embedded in the requirements file, not ones
285
+ downloaded from an index server--are almost peers with ones from
286
+ flags. They satisfy --require-hashes (whether it was implicitly or
287
+ explicitly activated) but do not activate it. md5 and sha224 are not
288
+ allowed in flags, which should nudge people toward good algos. We
289
+ always OR all hashes together, even ones from URLs.
290
+
291
+ :param trust_internet: Whether to trust URL-based (#md5=...) hashes
292
+ downloaded from the internet, as by populate_link()
293
+
294
+ """
295
+ good_hashes = self.hash_options.copy()
296
+ if trust_internet:
297
+ link = self.link
298
+ elif self.is_direct and self.user_supplied:
299
+ link = self.original_link
300
+ else:
301
+ link = None
302
+ if link and link.hash:
303
+ assert link.hash_name is not None
304
+ good_hashes.setdefault(link.hash_name, []).append(link.hash)
305
+ return Hashes(good_hashes)
306
+
307
+ def from_path(self) -> str | None:
308
+ """Format a nice indicator to show where this "comes from" """
309
+ if self.req is None:
310
+ return None
311
+ s = str(self.req)
312
+ if self.comes_from:
313
+ comes_from: str | None
314
+ if isinstance(self.comes_from, str):
315
+ comes_from = self.comes_from
316
+ else:
317
+ comes_from = self.comes_from.from_path()
318
+ if comes_from:
319
+ s += "->" + comes_from
320
+ return s
321
+
322
+ def ensure_build_location(
323
+ self, build_dir: str, autodelete: bool, parallel_builds: bool
324
+ ) -> str:
325
+ assert build_dir is not None
326
+ if self._temp_build_dir is not None:
327
+ assert self._temp_build_dir.path
328
+ return self._temp_build_dir.path
329
+ if self.req is None:
330
+ # Some systems have /tmp as a symlink which confuses custom
331
+ # builds (such as numpy). Thus, we ensure that the real path
332
+ # is returned.
333
+ self._temp_build_dir = TempDirectory(
334
+ kind=tempdir_kinds.REQ_BUILD, globally_managed=True
335
+ )
336
+
337
+ return self._temp_build_dir.path
338
+
339
+ # This is the only remaining place where we manually determine the path
340
+ # for the temporary directory. It is only needed for editables where
341
+ # it is the value of the --src option.
342
+
343
+ # When parallel builds are enabled, add a UUID to the build directory
344
+ # name so multiple builds do not interfere with each other.
345
+ dir_name: str = canonicalize_name(self.req.name)
346
+ if parallel_builds:
347
+ dir_name = f"{dir_name}_{uuid.uuid4().hex}"
348
+
349
+ # FIXME: Is there a better place to create the build_dir? (hg and bzr
350
+ # need this)
351
+ if not os.path.exists(build_dir):
352
+ logger.debug("Creating directory %s", build_dir)
353
+ os.makedirs(build_dir)
354
+ actual_build_dir = os.path.join(build_dir, dir_name)
355
+ # `None` indicates that we respect the globally-configured deletion
356
+ # settings, which is what we actually want when auto-deleting.
357
+ delete_arg = None if autodelete else False
358
+ return TempDirectory(
359
+ path=actual_build_dir,
360
+ delete=delete_arg,
361
+ kind=tempdir_kinds.REQ_BUILD,
362
+ globally_managed=True,
363
+ ).path
364
+
365
+ def _set_requirement(self) -> None:
366
+ """Set requirement after generating metadata."""
367
+ assert self.req is None
368
+ assert self.metadata is not None
369
+ assert self.source_dir is not None
370
+
371
+ # Construct a Requirement object from the generated metadata
372
+ if isinstance(parse_version(self.metadata["Version"]), Version):
373
+ op = "=="
374
+ else:
375
+ op = "==="
376
+
377
+ self.req = get_requirement(
378
+ "".join(
379
+ [
380
+ self.metadata["Name"],
381
+ op,
382
+ self.metadata["Version"],
383
+ ]
384
+ )
385
+ )
386
+
387
+ def warn_on_mismatching_name(self) -> None:
388
+ assert self.req is not None
389
+ metadata_name = canonicalize_name(self.metadata["Name"])
390
+ if canonicalize_name(self.req.name) == metadata_name:
391
+ # Everything is fine.
392
+ return
393
+
394
+ # If we're here, there's a mismatch. Log a warning about it.
395
+ logger.warning(
396
+ "Generating metadata for package %s "
397
+ "produced metadata for project name %s. Fix your "
398
+ "#egg=%s fragments.",
399
+ self.name,
400
+ metadata_name,
401
+ self.name,
402
+ )
403
+ self.req = get_requirement(metadata_name)
404
+
405
+ def check_if_exists(self, use_user_site: bool) -> None:
406
+ """Find an installed distribution that satisfies or conflicts
407
+ with this requirement, and set self.satisfied_by or
408
+ self.should_reinstall appropriately.
409
+ """
410
+ if self.req is None:
411
+ return
412
+ existing_dist = get_default_environment().get_distribution(self.req.name)
413
+ if not existing_dist:
414
+ return
415
+
416
+ version_compatible = self.req.specifier.contains(
417
+ existing_dist.version,
418
+ prereleases=True,
419
+ )
420
+ if not version_compatible:
421
+ self.satisfied_by = None
422
+ if use_user_site:
423
+ if existing_dist.in_usersite:
424
+ self.should_reinstall = True
425
+ elif running_under_virtualenv() and existing_dist.in_site_packages:
426
+ raise InstallationError(
427
+ f"Will not install to the user site because it will "
428
+ f"lack sys.path precedence to {existing_dist.raw_name} "
429
+ f"in {existing_dist.location}"
430
+ )
431
+ else:
432
+ self.should_reinstall = True
433
+ else:
434
+ if self.editable:
435
+ self.should_reinstall = True
436
+ # when installing editables, nothing pre-existing should ever
437
+ # satisfy
438
+ self.satisfied_by = None
439
+ else:
440
+ self.satisfied_by = existing_dist
441
+
442
+ # Things valid for wheels
443
+ @property
444
+ def is_wheel(self) -> bool:
445
+ if not self.link:
446
+ return False
447
+ return self.link.is_wheel
448
+
449
+ @property
450
+ def is_wheel_from_cache(self) -> bool:
451
+ # When True, it means that this InstallRequirement is a local wheel file in the
452
+ # cache of locally built wheels.
453
+ return self.cached_wheel_source_link is not None
454
+
455
+ # Things valid for sdists
456
+ @property
457
+ def unpacked_source_directory(self) -> str:
458
+ assert self.source_dir, f"No source dir for {self}"
459
+ return os.path.join(
460
+ self.source_dir, self.link and self.link.subdirectory_fragment or ""
461
+ )
462
+
463
+ @property
464
+ def setup_py_path(self) -> str:
465
+ assert self.source_dir, f"No source dir for {self}"
466
+ setup_py = os.path.join(self.unpacked_source_directory, "setup.py")
467
+
468
+ return setup_py
469
+
470
+ @property
471
+ def pyproject_toml_path(self) -> str:
472
+ assert self.source_dir, f"No source dir for {self}"
473
+ return make_pyproject_path(self.unpacked_source_directory)
474
+
475
+ def load_pyproject_toml(self) -> None:
476
+ """Load the pyproject.toml file.
477
+
478
+ After calling this routine, all of the attributes related to PEP 517
479
+ processing for this requirement have been set.
480
+ """
481
+ pyproject_toml_data = load_pyproject_toml(
482
+ self.pyproject_toml_path, self.setup_py_path, str(self)
483
+ )
484
+ assert pyproject_toml_data
485
+ requires, backend, check, backend_path = pyproject_toml_data
486
+ self.requirements_to_check = check
487
+ self.pyproject_requires = requires
488
+ self._pep517_backend_spec = backend
489
+ self._pep517_backend_path = backend_path
490
+
491
+ def configure_backend(self, python_executable: str) -> None:
492
+ """Set up the build backend hook caller.
493
+
494
+ This is done separately after pyproject.toml loading as the backend
495
+ need to be called with the build environment's Python executable,
496
+ which can vary."""
497
+ self.pep517_backend = ConfiguredBuildBackendHookCaller(
498
+ self,
499
+ self.unpacked_source_directory,
500
+ self._pep517_backend_spec,
501
+ backend_path=self._pep517_backend_path,
502
+ python_executable=python_executable,
503
+ )
504
+
505
+ def editable_sanity_check(self) -> None:
506
+ """Check that an editable requirement if valid for use with PEP 517/518.
507
+
508
+ This verifies that an editable has a build backend that supports PEP 660.
509
+ """
510
+ if self.editable and not self.supports_pyproject_editable:
511
+ raise InstallationError(
512
+ f"Project {self} uses a build backend "
513
+ f"that is missing the 'build_editable' hook, so "
514
+ f"it cannot be installed in editable mode. "
515
+ f"Consider using a build backend that supports PEP 660."
516
+ )
517
+
518
+ def prepare_metadata(self, allow_editables: bool) -> None:
519
+ """Ensure that project metadata is available.
520
+
521
+ Under PEP 517 and PEP 660, call the backend hook to prepare the metadata.
522
+ Under legacy processing, call setup.py egg-info.
523
+ """
524
+ assert self.source_dir, f"No source dir for {self}"
525
+ details = self.name or f"from {self.link}"
526
+
527
+ assert self.pep517_backend is not None
528
+ if self.editable and allow_editables and self.supports_pyproject_editable:
529
+ self.metadata_directory = generate_editable_metadata(
530
+ build_env=self.build_env,
531
+ backend=self.pep517_backend,
532
+ details=details,
533
+ )
534
+ else:
535
+ self.metadata_directory = generate_metadata(
536
+ build_env=self.build_env,
537
+ backend=self.pep517_backend,
538
+ details=details,
539
+ )
540
+
541
+ # Act on the newly generated metadata, based on the name and version.
542
+ if not self.name:
543
+ self._set_requirement()
544
+ else:
545
+ self.warn_on_mismatching_name()
546
+
547
+ self.assert_source_matches_version()
548
+
549
+ @property
550
+ def metadata(self) -> Any:
551
+ if not hasattr(self, "_metadata"):
552
+ self._metadata = self.get_dist().metadata
553
+
554
+ return self._metadata
555
+
556
+ def set_dist(self, distribution: BaseDistribution) -> None:
557
+ self._distribution = distribution
558
+
559
+ def get_dist(self) -> BaseDistribution:
560
+ if self._distribution is not None:
561
+ return self._distribution
562
+ elif self.metadata_directory:
563
+ return get_directory_distribution(self.metadata_directory)
564
+ elif self.local_file_path and self.is_wheel:
565
+ assert self.req is not None
566
+ return get_wheel_distribution(
567
+ FilesystemWheel(self.local_file_path),
568
+ canonicalize_name(self.req.name),
569
+ )
570
+ raise AssertionError(
571
+ f"InstallRequirement {self} has no metadata directory and no wheel: "
572
+ f"can't make a distribution."
573
+ )
574
+
575
+ def assert_source_matches_version(self) -> None:
576
+ assert self.source_dir, f"No source dir for {self}"
577
+ version = self.metadata["version"]
578
+ if self.req and self.req.specifier and version not in self.req.specifier:
579
+ logger.warning(
580
+ "Requested %s, but installing version %s",
581
+ self,
582
+ version,
583
+ )
584
+ else:
585
+ logger.debug(
586
+ "Source in %s has version %s, which satisfies requirement %s",
587
+ display_path(self.source_dir),
588
+ version,
589
+ self,
590
+ )
591
+
592
+ # For both source distributions and editables
593
+ def ensure_has_source_dir(
594
+ self,
595
+ parent_dir: str,
596
+ autodelete: bool = False,
597
+ parallel_builds: bool = False,
598
+ ) -> None:
599
+ """Ensure that a source_dir is set.
600
+
601
+ This will create a temporary build dir if the name of the requirement
602
+ isn't known yet.
603
+
604
+ :param parent_dir: The ideal pip parent_dir for the source_dir.
605
+ Generally src_dir for editables and build_dir for sdists.
606
+ :return: self.source_dir
607
+ """
608
+ if self.source_dir is None:
609
+ self.source_dir = self.ensure_build_location(
610
+ parent_dir,
611
+ autodelete=autodelete,
612
+ parallel_builds=parallel_builds,
613
+ )
614
+
615
+ def needs_unpacked_archive(self, archive_source: Path) -> None:
616
+ assert self._archive_source is None
617
+ self._archive_source = archive_source
618
+
619
+ def ensure_pristine_source_checkout(self) -> None:
620
+ """Ensure the source directory has not yet been built in."""
621
+ assert self.source_dir is not None
622
+ if self._archive_source is not None:
623
+ unpack_file(str(self._archive_source), self.source_dir)
624
+ elif is_installable_dir(self.source_dir):
625
+ # If a checkout exists, it's unwise to keep going.
626
+ # version inconsistencies are logged later, but do not fail
627
+ # the installation.
628
+ raise PreviousBuildDirError(
629
+ f"pip can't proceed with requirements '{self}' due to a "
630
+ f"pre-existing build directory ({self.source_dir}). This is likely "
631
+ "due to a previous installation that failed . pip is "
632
+ "being responsible and not assuming it can delete this. "
633
+ "Please delete it and try again."
634
+ )
635
+
636
+ # For editable installations
637
+ def update_editable(self) -> None:
638
+ if not self.link:
639
+ logger.debug(
640
+ "Cannot update repository at %s; repository location is unknown",
641
+ self.source_dir,
642
+ )
643
+ return
644
+ assert self.editable
645
+ assert self.source_dir
646
+ if self.link.scheme == "file":
647
+ # Static paths don't get updated
648
+ return
649
+ vcs_backend = vcs.get_backend_for_scheme(self.link.scheme)
650
+ # Editable requirements are validated in Requirement constructors.
651
+ # So here, if it's neither a path nor a valid VCS URL, it's a bug.
652
+ assert vcs_backend, f"Unsupported VCS URL {self.link.url}"
653
+ hidden_url = hide_url(self.link.url)
654
+ vcs_backend.obtain(self.source_dir, url=hidden_url, verbosity=0)
655
+
656
+ # Top-level Actions
657
+ def uninstall(
658
+ self, auto_confirm: bool = False, verbose: bool = False
659
+ ) -> UninstallPathSet | None:
660
+ """
661
+ Uninstall the distribution currently satisfying this requirement.
662
+
663
+ Prompts before removing or modifying files unless
664
+ ``auto_confirm`` is True.
665
+
666
+ Refuses to delete or modify files outside of ``sys.prefix`` -
667
+ thus uninstallation within a virtual environment can only
668
+ modify that virtual environment, even if the virtualenv is
669
+ linked to global site-packages.
670
+
671
+ """
672
+ assert self.req
673
+ dist = get_default_environment().get_distribution(self.req.name)
674
+ if not dist:
675
+ logger.warning("Skipping %s as it is not installed.", self.name)
676
+ return None
677
+ logger.info("Found existing installation: %s", dist)
678
+
679
+ uninstalled_pathset = UninstallPathSet.from_dist(dist)
680
+ uninstalled_pathset.remove(auto_confirm, verbose)
681
+ return uninstalled_pathset
682
+
683
+ def _get_archive_name(self, path: str, parentdir: str, rootdir: str) -> str:
684
+ def _clean_zip_name(name: str, prefix: str) -> str:
685
+ assert name.startswith(
686
+ prefix + os.path.sep
687
+ ), f"name {name!r} doesn't start with prefix {prefix!r}"
688
+ name = name[len(prefix) + 1 :]
689
+ name = name.replace(os.path.sep, "/")
690
+ return name
691
+
692
+ assert self.req is not None
693
+ path = os.path.join(parentdir, path)
694
+ name = _clean_zip_name(path, rootdir)
695
+ return self.req.name + "/" + name
696
+
697
+ def archive(self, build_dir: str | None) -> None:
698
+ """Saves archive to provided build_dir.
699
+
700
+ Used for saving downloaded VCS requirements as part of `pip download`.
701
+ """
702
+ assert self.source_dir
703
+ if build_dir is None:
704
+ return
705
+
706
+ create_archive = True
707
+ archive_name = "{}-{}.zip".format(self.name, self.metadata["version"])
708
+ archive_path = os.path.join(build_dir, archive_name)
709
+
710
+ if os.path.exists(archive_path):
711
+ response = ask_path_exists(
712
+ f"The file {display_path(archive_path)} exists. (i)gnore, (w)ipe, "
713
+ "(b)ackup, (a)bort ",
714
+ ("i", "w", "b", "a"),
715
+ )
716
+ if response == "i":
717
+ create_archive = False
718
+ elif response == "w":
719
+ logger.warning("Deleting %s", display_path(archive_path))
720
+ os.remove(archive_path)
721
+ elif response == "b":
722
+ dest_file = backup_dir(archive_path)
723
+ logger.warning(
724
+ "Backing up %s to %s",
725
+ display_path(archive_path),
726
+ display_path(dest_file),
727
+ )
728
+ shutil.move(archive_path, dest_file)
729
+ elif response == "a":
730
+ sys.exit(-1)
731
+
732
+ if not create_archive:
733
+ return
734
+
735
+ zip_output = zipfile.ZipFile(
736
+ archive_path,
737
+ "w",
738
+ zipfile.ZIP_DEFLATED,
739
+ allowZip64=True,
740
+ )
741
+ with zip_output:
742
+ dir = os.path.normcase(os.path.abspath(self.unpacked_source_directory))
743
+ for dirpath, dirnames, filenames in os.walk(dir):
744
+ for dirname in dirnames:
745
+ dir_arcname = self._get_archive_name(
746
+ dirname,
747
+ parentdir=dirpath,
748
+ rootdir=dir,
749
+ )
750
+ zipdir = zipfile.ZipInfo(dir_arcname + "/")
751
+ zipdir.external_attr = 0x1ED << 16 # 0o755
752
+ zip_output.writestr(zipdir, "")
753
+ for filename in filenames:
754
+ file_arcname = self._get_archive_name(
755
+ filename,
756
+ parentdir=dirpath,
757
+ rootdir=dir,
758
+ )
759
+ filename = os.path.join(dirpath, filename)
760
+ zip_output.write(filename, file_arcname)
761
+
762
+ logger.info("Saved %s", display_path(archive_path))
763
+
764
+ def install(
765
+ self,
766
+ root: str | None = None,
767
+ home: str | None = None,
768
+ prefix: str | None = None,
769
+ warn_script_location: bool = True,
770
+ use_user_site: bool = False,
771
+ pycompile: bool = True,
772
+ script_executable: str | None = None,
773
+ ) -> None:
774
+ # Lazy import to avoid transitively importing `_vendor.distlib.compat`
775
+ # which in turn imports `urllib.request` which is slow.
776
+ # During an actual installation, `urllib.request` will end up imported anyway,
777
+ # but `req.req_install` (this module) is also imported from commands that
778
+ # don't actually install anything (e.g. `pip freeze` or `pip show`).
779
+ from pip._internal.operations.install.wheel import install_wheel
780
+
781
+ assert self.req is not None
782
+ scheme = get_scheme(
783
+ self.req.name,
784
+ user=use_user_site,
785
+ home=home,
786
+ root=root,
787
+ isolated=self.isolated,
788
+ prefix=prefix,
789
+ )
790
+
791
+ assert self.is_wheel
792
+ assert self.local_file_path
793
+
794
+ install_wheel(
795
+ self.req.name,
796
+ self.local_file_path,
797
+ scheme=scheme,
798
+ req_description=str(self.req),
799
+ pycompile=pycompile,
800
+ warn_script_location=warn_script_location,
801
+ direct_url=self.download_info if self.is_direct else None,
802
+ requested=self.user_supplied,
803
+ script_executable=script_executable,
804
+ )
805
+ self.install_succeeded = True
806
+
807
+
808
+ def check_invalid_constraint_type(req: InstallRequirement) -> str:
809
+ # Check for unsupported forms
810
+ problem = ""
811
+ if not req.name:
812
+ problem = "Unnamed requirements are not allowed as constraints"
813
+ elif req.editable:
814
+ problem = "Editable requirements are not allowed as constraints"
815
+ elif req.extras:
816
+ problem = "Constraints cannot have extras"
817
+
818
+ if problem:
819
+ deprecated(
820
+ reason=(
821
+ "Constraints are only allowed to take the form of a package "
822
+ "name and a version specifier. Other forms were originally "
823
+ "permitted as an accident of the implementation, but were "
824
+ "undocumented. The new implementation of the resolver no "
825
+ "longer supports these forms."
826
+ ),
827
+ replacement="replacing the constraint with a requirement",
828
+ # No plan yet for when the new resolver becomes default
829
+ gone_in=None,
830
+ issue=8210,
831
+ )
832
+
833
+ return problem
834
+
835
+
836
+ def _has_option(options: Values, reqs: list[InstallRequirement], option: str) -> bool:
837
+ if getattr(options, option, None):
838
+ return True
839
+ for req in reqs:
840
+ if getattr(req, option, None):
841
+ return True
842
+ return False
venv/lib/python3.14/site-packages/pip/_internal/req/req_set.py ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import logging
2
+ from collections import OrderedDict
3
+
4
+ from pip._vendor.packaging.utils import canonicalize_name
5
+
6
+ from pip._internal.req.req_install import InstallRequirement
7
+
8
+ logger = logging.getLogger(__name__)
9
+
10
+
11
+ class RequirementSet:
12
+ def __init__(self, check_supported_wheels: bool = True) -> None:
13
+ """Create a RequirementSet."""
14
+
15
+ self.requirements: dict[str, InstallRequirement] = OrderedDict()
16
+ self.check_supported_wheels = check_supported_wheels
17
+
18
+ self.unnamed_requirements: list[InstallRequirement] = []
19
+
20
+ def __str__(self) -> str:
21
+ requirements = sorted(
22
+ (req for req in self.requirements.values() if not req.comes_from),
23
+ key=lambda req: canonicalize_name(req.name or ""),
24
+ )
25
+ return " ".join(str(req.req) for req in requirements)
26
+
27
+ def __repr__(self) -> str:
28
+ requirements = sorted(
29
+ self.requirements.values(),
30
+ key=lambda req: canonicalize_name(req.name or ""),
31
+ )
32
+
33
+ format_string = "<{classname} object; {count} requirement(s): {reqs}>"
34
+ return format_string.format(
35
+ classname=self.__class__.__name__,
36
+ count=len(requirements),
37
+ reqs=", ".join(str(req.req) for req in requirements),
38
+ )
39
+
40
+ def add_unnamed_requirement(self, install_req: InstallRequirement) -> None:
41
+ assert not install_req.name
42
+ self.unnamed_requirements.append(install_req)
43
+
44
+ def add_named_requirement(self, install_req: InstallRequirement) -> None:
45
+ assert install_req.name
46
+
47
+ project_name = canonicalize_name(install_req.name)
48
+ self.requirements[project_name] = install_req
49
+
50
+ def has_requirement(self, name: str) -> bool:
51
+ project_name = canonicalize_name(name)
52
+
53
+ return (
54
+ project_name in self.requirements
55
+ and not self.requirements[project_name].constraint
56
+ )
57
+
58
+ def get_requirement(self, name: str) -> InstallRequirement:
59
+ project_name = canonicalize_name(name)
60
+
61
+ if project_name in self.requirements:
62
+ return self.requirements[project_name]
63
+
64
+ raise KeyError(f"No project with the name {name!r}")
65
+
66
+ @property
67
+ def all_requirements(self) -> list[InstallRequirement]:
68
+ return self.unnamed_requirements + list(self.requirements.values())
69
+
70
+ @property
71
+ def requirements_to_install(self) -> list[InstallRequirement]:
72
+ """Return the list of requirements that need to be installed.
73
+
74
+ TODO remove this property together with the legacy resolver, since the new
75
+ resolver only returns requirements that need to be installed.
76
+ """
77
+ return [
78
+ install_req
79
+ for install_req in self.all_requirements
80
+ if not install_req.constraint and not install_req.satisfied_by
81
+ ]
venv/lib/python3.14/site-packages/pip/_internal/req/req_uninstall.py ADDED
@@ -0,0 +1,644 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import functools
4
+ import os
5
+ import sys
6
+ import sysconfig
7
+ from collections.abc import Callable, Generator, Iterable
8
+ from importlib.util import cache_from_source
9
+ from typing import Any
10
+
11
+ from pip._internal.exceptions import LegacyDistutilsInstall, UninstallMissingRecord
12
+ from pip._internal.locations import get_bin_prefix, get_bin_user
13
+ from pip._internal.metadata import BaseDistribution
14
+ from pip._internal.utils.compat import WINDOWS
15
+ from pip._internal.utils.egg_link import egg_link_path_from_location
16
+ from pip._internal.utils.logging import getLogger, indent_log
17
+ from pip._internal.utils.misc import ask, normalize_path, renames, rmtree
18
+ from pip._internal.utils.temp_dir import AdjacentTempDirectory, TempDirectory
19
+ from pip._internal.utils.virtualenv import running_under_virtualenv
20
+
21
+ logger = getLogger(__name__)
22
+
23
+
24
+ def _script_names(
25
+ bin_dir: str, script_name: str, is_gui: bool
26
+ ) -> Generator[str, None, None]:
27
+ """Create the fully qualified name of the files created by
28
+ {console,gui}_scripts for the given ``dist``.
29
+ Returns the list of file names
30
+ """
31
+ exe_name = os.path.join(bin_dir, script_name)
32
+ yield exe_name
33
+ if not WINDOWS:
34
+ return
35
+ yield f"{exe_name}.exe"
36
+ yield f"{exe_name}.exe.manifest"
37
+ if is_gui:
38
+ yield f"{exe_name}-script.pyw"
39
+ else:
40
+ yield f"{exe_name}-script.py"
41
+
42
+
43
+ def _unique(
44
+ fn: Callable[..., Generator[Any, None, None]],
45
+ ) -> Callable[..., Generator[Any, None, None]]:
46
+ @functools.wraps(fn)
47
+ def unique(*args: Any, **kw: Any) -> Generator[Any, None, None]:
48
+ seen: set[Any] = set()
49
+ for item in fn(*args, **kw):
50
+ if item not in seen:
51
+ seen.add(item)
52
+ yield item
53
+
54
+ return unique
55
+
56
+
57
+ @_unique
58
+ def uninstallation_paths(dist: BaseDistribution) -> Generator[str, None, None]:
59
+ """
60
+ Yield all the uninstallation paths for dist based on RECORD-without-.py[co]
61
+
62
+ Yield paths to all the files in RECORD. For each .py file in RECORD, add
63
+ the .pyc and .pyo in the same directory.
64
+
65
+ UninstallPathSet.add() takes care of the __pycache__ .py[co].
66
+
67
+ If RECORD is not found, raises an error,
68
+ with possible information from the INSTALLER file.
69
+
70
+ https://packaging.python.org/specifications/recording-installed-packages/
71
+ """
72
+ location = dist.location
73
+ assert location is not None, "not installed"
74
+
75
+ entries = dist.iter_declared_entries()
76
+ if entries is None:
77
+ raise UninstallMissingRecord(distribution=dist)
78
+
79
+ for entry in entries:
80
+ path = os.path.join(location, entry)
81
+ yield path
82
+ if path.endswith(".py"):
83
+ dn, fn = os.path.split(path)
84
+ base = fn[:-3]
85
+ path = os.path.join(dn, base + ".pyc")
86
+ yield path
87
+ path = os.path.join(dn, base + ".pyo")
88
+ yield path
89
+
90
+
91
+ def compact(paths: Iterable[str]) -> set[str]:
92
+ """Compact a path set to contain the minimal number of paths
93
+ necessary to contain all paths in the set. If /a/path/ and
94
+ /a/path/to/a/file.txt are both in the set, leave only the
95
+ shorter path."""
96
+
97
+ sep = os.path.sep
98
+ short_paths: set[str] = set()
99
+ prefixes: set[str] = set()
100
+
101
+ for path in sorted(paths, key=len):
102
+ current = path[:-1] if path.endswith(sep + "*") else path
103
+ parent = current.rstrip(sep)
104
+ while parent:
105
+ if parent in prefixes:
106
+ break
107
+ next_parent = os.path.dirname(parent).rstrip(sep)
108
+ parent = "" if next_parent == parent else next_parent
109
+ else:
110
+ short_paths.add(path)
111
+ prefixes.add(current.rstrip(sep))
112
+ return short_paths
113
+
114
+
115
+ def compress_for_rename(paths: Iterable[str]) -> set[str]:
116
+ """Returns a set containing the paths that need to be renamed.
117
+
118
+ This set may include directories when the original sequence of paths
119
+ included every file on disk.
120
+ """
121
+ case_map = {os.path.normcase(p): p for p in paths}
122
+ remaining = set(case_map)
123
+ unchecked = sorted({os.path.split(p)[0] for p in case_map.values()}, key=len)
124
+ wildcards: set[str] = set()
125
+
126
+ def norm_join(*a: str) -> str:
127
+ return os.path.normcase(os.path.join(*a))
128
+
129
+ for root in unchecked:
130
+ if any(os.path.normcase(root).startswith(w) for w in wildcards):
131
+ # This directory has already been handled.
132
+ continue
133
+
134
+ all_files: set[str] = set()
135
+ all_subdirs: set[str] = set()
136
+ for dirname, subdirs, files in os.walk(root):
137
+ all_subdirs.update(norm_join(root, dirname, d) for d in subdirs)
138
+ all_files.update(norm_join(root, dirname, f) for f in files)
139
+ # If all the files we found are in our remaining set of files to
140
+ # remove, then remove them from the latter set and add a wildcard
141
+ # for the directory.
142
+ if not (all_files - remaining):
143
+ remaining.difference_update(all_files)
144
+ wildcards.add(root + os.sep)
145
+
146
+ return set(map(case_map.__getitem__, remaining)) | wildcards
147
+
148
+
149
+ def compress_for_output_listing(paths: Iterable[str]) -> tuple[set[str], set[str]]:
150
+ """Returns a tuple of 2 sets of which paths to display to user
151
+
152
+ The first set contains paths that would be deleted. Files of a package
153
+ are not added and the top-level directory of the package has a '*' added
154
+ at the end - to signify that all it's contents are removed.
155
+
156
+ The second set contains files that would have been skipped in the above
157
+ folders.
158
+ """
159
+
160
+ will_remove = set(paths)
161
+ will_skip = set()
162
+
163
+ # Determine folders and files
164
+ folders = set()
165
+ files = set()
166
+ for path in will_remove:
167
+ if path.endswith(".pyc"):
168
+ continue
169
+ if path.endswith("__init__.py") or ".dist-info" in path:
170
+ folders.add(os.path.dirname(path))
171
+ files.add(path)
172
+
173
+ _normcased_files = set(map(os.path.normcase, files))
174
+
175
+ folders = compact(folders)
176
+
177
+ # This walks the tree using os.walk to not miss extra folders
178
+ # that might get added.
179
+ for folder in folders:
180
+ for dirpath, _, dirfiles in os.walk(folder):
181
+ for fname in dirfiles:
182
+ if fname.endswith(".pyc"):
183
+ continue
184
+
185
+ file_ = os.path.join(dirpath, fname)
186
+ if (
187
+ os.path.isfile(file_)
188
+ and os.path.normcase(file_) not in _normcased_files
189
+ ):
190
+ # We are skipping this file. Add it to the set.
191
+ will_skip.add(file_)
192
+
193
+ will_remove = files | {os.path.join(folder, "*") for folder in folders}
194
+
195
+ return will_remove, will_skip
196
+
197
+
198
+ class StashedUninstallPathSet:
199
+ """A set of file rename operations to stash files while
200
+ tentatively uninstalling them."""
201
+
202
+ def __init__(self) -> None:
203
+ # Mapping from source file root to [Adjacent]TempDirectory
204
+ # for files under that directory.
205
+ self._save_dirs: dict[str, TempDirectory] = {}
206
+ # (old path, new path) tuples for each move that may need
207
+ # to be undone.
208
+ self._moves: list[tuple[str, str]] = []
209
+
210
+ def _get_directory_stash(self, path: str) -> str:
211
+ """Stashes a directory.
212
+
213
+ Directories are stashed adjacent to their original location if
214
+ possible, or else moved/copied into the user's temp dir."""
215
+
216
+ try:
217
+ save_dir: TempDirectory = AdjacentTempDirectory(path)
218
+ except OSError:
219
+ save_dir = TempDirectory(kind="uninstall")
220
+ self._save_dirs[os.path.normcase(path)] = save_dir
221
+
222
+ return save_dir.path
223
+
224
+ def _get_file_stash(self, path: str) -> str:
225
+ """Stashes a file.
226
+
227
+ If no root has been provided, one will be created for the directory
228
+ in the user's temp directory."""
229
+ path = os.path.normcase(path)
230
+ head, old_head = os.path.dirname(path), None
231
+ save_dir = None
232
+
233
+ while head != old_head:
234
+ try:
235
+ save_dir = self._save_dirs[head]
236
+ break
237
+ except KeyError:
238
+ pass
239
+ head, old_head = os.path.dirname(head), head
240
+ else:
241
+ # Did not find any suitable root
242
+ head = os.path.dirname(path)
243
+ save_dir = TempDirectory(kind="uninstall")
244
+ self._save_dirs[head] = save_dir
245
+
246
+ relpath = os.path.relpath(path, head)
247
+ if relpath and relpath != os.path.curdir:
248
+ return os.path.join(save_dir.path, relpath)
249
+ return save_dir.path
250
+
251
+ def stash(self, path: str) -> str:
252
+ """Stashes the directory or file and returns its new location.
253
+ Handle symlinks as files to avoid modifying the symlink targets.
254
+ """
255
+ path_is_dir = os.path.isdir(path) and not os.path.islink(path)
256
+ if path_is_dir:
257
+ new_path = self._get_directory_stash(path)
258
+ else:
259
+ new_path = self._get_file_stash(path)
260
+
261
+ self._moves.append((path, new_path))
262
+ if path_is_dir and os.path.isdir(new_path):
263
+ # If we're moving a directory, we need to
264
+ # remove the destination first or else it will be
265
+ # moved to inside the existing directory.
266
+ # We just created new_path ourselves, so it will
267
+ # be removable.
268
+ os.rmdir(new_path)
269
+ renames(path, new_path)
270
+ return new_path
271
+
272
+ def commit(self) -> None:
273
+ """Commits the uninstall by removing stashed files."""
274
+ for save_dir in self._save_dirs.values():
275
+ save_dir.cleanup()
276
+ self._moves = []
277
+ self._save_dirs = {}
278
+
279
+ def rollback(self) -> None:
280
+ """Undoes the uninstall by moving stashed files back."""
281
+ for p in self._moves:
282
+ logger.info("Moving to %s\n from %s", *p)
283
+
284
+ for new_path, path in self._moves:
285
+ try:
286
+ logger.debug("Replacing %s from %s", new_path, path)
287
+ if os.path.isfile(new_path) or os.path.islink(new_path):
288
+ os.unlink(new_path)
289
+ elif os.path.isdir(new_path):
290
+ rmtree(new_path)
291
+ renames(path, new_path)
292
+ except OSError as ex:
293
+ logger.error("Failed to restore %s", new_path)
294
+ logger.debug("Exception: %s", ex)
295
+
296
+ self.commit()
297
+
298
+ @property
299
+ def can_rollback(self) -> bool:
300
+ return bool(self._moves)
301
+
302
+
303
+ class UninstallPathSet:
304
+ """A set of file paths to be removed in the uninstallation of a
305
+ requirement."""
306
+
307
+ def __init__(self, dist: BaseDistribution) -> None:
308
+ self._paths: set[str] = set()
309
+ self._refuse: set[str] = set()
310
+ self._pth: dict[str, UninstallPthEntries] = {}
311
+ self._dist = dist
312
+ self._moved_paths = StashedUninstallPathSet()
313
+ # Create local cache of normalize_path results. Creating an UninstallPathSet
314
+ # can result in hundreds/thousands of redundant calls to normalize_path with
315
+ # the same args, which hurts performance.
316
+ self._normalize_path_cached = functools.lru_cache(normalize_path)
317
+
318
+ def _permitted(self, path: str) -> bool:
319
+ """
320
+ Return True if the given path is one we are permitted to
321
+ remove/modify, False otherwise.
322
+
323
+ """
324
+ # aka is_local, but caching normalized sys.prefix
325
+ if not running_under_virtualenv():
326
+ return True
327
+ return path.startswith(self._normalize_path_cached(sys.prefix))
328
+
329
+ def add(self, path: str) -> None:
330
+ head, tail = os.path.split(path)
331
+
332
+ # we normalize the head to resolve parent directory symlinks, but not
333
+ # the tail, since we only want to uninstall symlinks, not their targets
334
+ path = os.path.join(self._normalize_path_cached(head), os.path.normcase(tail))
335
+
336
+ if not os.path.exists(path):
337
+ return
338
+ if self._permitted(path):
339
+ self._paths.add(path)
340
+ else:
341
+ self._refuse.add(path)
342
+
343
+ # __pycache__ files can show up after 'installed-files.txt' is created,
344
+ # due to imports
345
+ if os.path.splitext(path)[1] == ".py":
346
+ self.add(cache_from_source(path))
347
+
348
+ def add_pth(self, pth_file: str, entry: str) -> None:
349
+ pth_file = self._normalize_path_cached(pth_file)
350
+ if self._permitted(pth_file):
351
+ if pth_file not in self._pth:
352
+ self._pth[pth_file] = UninstallPthEntries(pth_file)
353
+ self._pth[pth_file].add(entry)
354
+ else:
355
+ self._refuse.add(pth_file)
356
+
357
+ def remove(self, auto_confirm: bool = False, verbose: bool = False) -> None:
358
+ """Remove paths in ``self._paths`` with confirmation (unless
359
+ ``auto_confirm`` is True)."""
360
+
361
+ if not self._paths:
362
+ logger.info(
363
+ "Can't uninstall '%s'. No files were found to uninstall.",
364
+ self._dist.raw_name,
365
+ )
366
+ return
367
+
368
+ dist_name_version = f"{self._dist.raw_name}-{self._dist.raw_version}"
369
+ logger.info("Uninstalling %s:", dist_name_version)
370
+
371
+ with indent_log():
372
+ if auto_confirm or self._allowed_to_proceed(verbose):
373
+ moved = self._moved_paths
374
+
375
+ for_rename = compress_for_rename(self._paths)
376
+
377
+ for path in sorted(compact(for_rename)):
378
+ moved.stash(path)
379
+ logger.verbose("Removing file or directory %s", path)
380
+
381
+ for pth in self._pth.values():
382
+ pth.remove()
383
+
384
+ logger.info("Successfully uninstalled %s", dist_name_version)
385
+
386
+ def _allowed_to_proceed(self, verbose: bool) -> bool:
387
+ """Display which files would be deleted and prompt for confirmation"""
388
+
389
+ def _display(msg: str, paths: Iterable[str]) -> None:
390
+ if not paths:
391
+ return
392
+
393
+ logger.info(msg)
394
+ with indent_log():
395
+ for path in sorted(compact(paths)):
396
+ logger.info(path)
397
+
398
+ if not verbose:
399
+ will_remove, will_skip = compress_for_output_listing(self._paths)
400
+ else:
401
+ # In verbose mode, display all the files that are going to be
402
+ # deleted.
403
+ will_remove = set(self._paths)
404
+ will_skip = set()
405
+
406
+ _display("Would remove:", will_remove)
407
+ _display("Would not remove (might be manually added):", will_skip)
408
+ _display("Would not remove (outside of prefix):", self._refuse)
409
+ if verbose:
410
+ _display("Will actually move:", compress_for_rename(self._paths))
411
+
412
+ return ask("Proceed (Y/n)? ", ("y", "n", "")) != "n"
413
+
414
+ def rollback(self) -> None:
415
+ """Rollback the changes previously made by remove()."""
416
+ if not self._moved_paths.can_rollback:
417
+ logger.error(
418
+ "Can't roll back %s; was not uninstalled",
419
+ self._dist.raw_name,
420
+ )
421
+ return
422
+ logger.info("Rolling back uninstall of %s", self._dist.raw_name)
423
+ self._moved_paths.rollback()
424
+ for pth in self._pth.values():
425
+ pth.rollback()
426
+
427
+ def commit(self) -> None:
428
+ """Remove temporary save dir: rollback will no longer be possible."""
429
+ self._moved_paths.commit()
430
+
431
+ @classmethod
432
+ def from_dist(cls, dist: BaseDistribution) -> UninstallPathSet:
433
+ dist_location = dist.location
434
+ info_location = dist.info_location
435
+ if dist_location is None:
436
+ logger.info(
437
+ "Not uninstalling %s since it is not installed",
438
+ dist.canonical_name,
439
+ )
440
+ return cls(dist)
441
+
442
+ normalized_dist_location = normalize_path(dist_location)
443
+ if not dist.local:
444
+ logger.info(
445
+ "Not uninstalling %s at %s, outside environment %s",
446
+ dist.canonical_name,
447
+ normalized_dist_location,
448
+ sys.prefix,
449
+ )
450
+ return cls(dist)
451
+
452
+ if normalized_dist_location in {
453
+ p
454
+ for p in {sysconfig.get_path("stdlib"), sysconfig.get_path("platstdlib")}
455
+ if p
456
+ }:
457
+ logger.info(
458
+ "Not uninstalling %s at %s, as it is in the standard library.",
459
+ dist.canonical_name,
460
+ normalized_dist_location,
461
+ )
462
+ return cls(dist)
463
+
464
+ paths_to_remove = cls(dist)
465
+ develop_egg_link = egg_link_path_from_location(dist.raw_name)
466
+
467
+ # Distribution is installed with metadata in a "flat" .egg-info
468
+ # directory. This means it is not a modern .dist-info installation, an
469
+ # egg, or legacy editable.
470
+ setuptools_flat_installation = (
471
+ dist.installed_with_setuptools_egg_info
472
+ and info_location is not None
473
+ and os.path.exists(info_location)
474
+ # If dist is editable and the location points to a ``.egg-info``,
475
+ # we are in fact in the legacy editable case.
476
+ and not info_location.endswith(f"{dist.setuptools_filename}.egg-info")
477
+ )
478
+
479
+ # Uninstall cases order do matter as in the case of 2 installs of the
480
+ # same package, pip needs to uninstall the currently detected version
481
+ if setuptools_flat_installation:
482
+ if info_location is not None:
483
+ paths_to_remove.add(info_location)
484
+ installed_files = dist.iter_declared_entries()
485
+ if installed_files is not None:
486
+ for installed_file in installed_files:
487
+ paths_to_remove.add(os.path.join(dist_location, installed_file))
488
+ # FIXME: need a test for this elif block
489
+ # occurs with --single-version-externally-managed/--record outside
490
+ # of pip
491
+ elif dist.is_file("top_level.txt"):
492
+ try:
493
+ namespace_packages = dist.read_text("namespace_packages.txt")
494
+ except FileNotFoundError:
495
+ namespaces = []
496
+ else:
497
+ namespaces = namespace_packages.splitlines(keepends=False)
498
+ for top_level_pkg in [
499
+ p
500
+ for p in dist.read_text("top_level.txt").splitlines()
501
+ if p and p not in namespaces
502
+ ]:
503
+ path = os.path.join(dist_location, top_level_pkg)
504
+ paths_to_remove.add(path)
505
+ paths_to_remove.add(f"{path}.py")
506
+ paths_to_remove.add(f"{path}.pyc")
507
+ paths_to_remove.add(f"{path}.pyo")
508
+
509
+ elif dist.installed_by_distutils:
510
+ raise LegacyDistutilsInstall(distribution=dist)
511
+
512
+ elif dist.installed_as_egg:
513
+ # package installed by easy_install
514
+ # We cannot match on dist.egg_name because it can slightly vary
515
+ # i.e. setuptools-0.6c11-py2.6.egg vs setuptools-0.6rc11-py2.6.egg
516
+ # XXX We use normalized_dist_location because dist_location my contain
517
+ # a trailing / if the distribution is a zipped egg
518
+ # (which is not a directory).
519
+ paths_to_remove.add(normalized_dist_location)
520
+ easy_install_egg = os.path.split(normalized_dist_location)[1]
521
+ easy_install_pth = os.path.join(
522
+ os.path.dirname(normalized_dist_location),
523
+ "easy-install.pth",
524
+ )
525
+ paths_to_remove.add_pth(easy_install_pth, "./" + easy_install_egg)
526
+
527
+ elif dist.installed_with_dist_info:
528
+ for path in uninstallation_paths(dist):
529
+ paths_to_remove.add(path)
530
+
531
+ elif develop_egg_link:
532
+ # PEP 660 modern editable is handled in the ``.dist-info`` case
533
+ # above, so this only covers the setuptools-style editable.
534
+ with open(develop_egg_link) as fh:
535
+ link_pointer = os.path.normcase(fh.readline().strip())
536
+ normalized_link_pointer = paths_to_remove._normalize_path_cached(
537
+ link_pointer
538
+ )
539
+ assert os.path.samefile(
540
+ normalized_link_pointer, normalized_dist_location
541
+ ), (
542
+ f"Egg-link {develop_egg_link} (to {link_pointer}) does not match "
543
+ f"installed location of {dist.raw_name} (at {dist_location})"
544
+ )
545
+ paths_to_remove.add(develop_egg_link)
546
+ easy_install_pth = os.path.join(
547
+ os.path.dirname(develop_egg_link), "easy-install.pth"
548
+ )
549
+ paths_to_remove.add_pth(easy_install_pth, dist_location)
550
+
551
+ else:
552
+ logger.debug(
553
+ "Not sure how to uninstall: %s - Check: %s",
554
+ dist,
555
+ dist_location,
556
+ )
557
+
558
+ if dist.in_usersite:
559
+ bin_dir = get_bin_user()
560
+ else:
561
+ bin_dir = get_bin_prefix()
562
+
563
+ # find distutils scripts= scripts
564
+ try:
565
+ for script in dist.iter_distutils_script_names():
566
+ paths_to_remove.add(os.path.join(bin_dir, script))
567
+ if WINDOWS:
568
+ paths_to_remove.add(os.path.join(bin_dir, f"{script}.bat"))
569
+ except (FileNotFoundError, NotADirectoryError):
570
+ pass
571
+
572
+ # find console_scripts and gui_scripts
573
+ def iter_scripts_to_remove(
574
+ dist: BaseDistribution,
575
+ bin_dir: str,
576
+ ) -> Generator[str, None, None]:
577
+ for entry_point in dist.iter_entry_points():
578
+ if entry_point.group == "console_scripts":
579
+ yield from _script_names(bin_dir, entry_point.name, False)
580
+ elif entry_point.group == "gui_scripts":
581
+ yield from _script_names(bin_dir, entry_point.name, True)
582
+
583
+ for s in iter_scripts_to_remove(dist, bin_dir):
584
+ paths_to_remove.add(s)
585
+
586
+ return paths_to_remove
587
+
588
+
589
+ class UninstallPthEntries:
590
+ def __init__(self, pth_file: str) -> None:
591
+ self.file = pth_file
592
+ self.entries: set[str] = set()
593
+ self._saved_lines: list[bytes] | None = None
594
+
595
+ def add(self, entry: str) -> None:
596
+ entry = os.path.normcase(entry)
597
+ # On Windows, os.path.normcase converts the entry to use
598
+ # backslashes. This is correct for entries that describe absolute
599
+ # paths outside of site-packages, but all the others use forward
600
+ # slashes.
601
+ # os.path.splitdrive is used instead of os.path.isabs because isabs
602
+ # treats non-absolute paths with drive letter markings like c:foo\bar
603
+ # as absolute paths. It also does not recognize UNC paths if they don't
604
+ # have more than "\\sever\share". Valid examples: "\\server\share\" or
605
+ # "\\server\share\folder".
606
+ if WINDOWS and not os.path.splitdrive(entry)[0]:
607
+ entry = entry.replace("\\", "/")
608
+ self.entries.add(entry)
609
+
610
+ def remove(self) -> None:
611
+ logger.verbose("Removing pth entries from %s:", self.file)
612
+
613
+ # If the file doesn't exist, log a warning and return
614
+ if not os.path.isfile(self.file):
615
+ logger.warning("Cannot remove entries from nonexistent file %s", self.file)
616
+ return
617
+ with open(self.file, "rb") as fh:
618
+ # windows uses '\r\n' with py3k, but uses '\n' with py2.x
619
+ lines = fh.readlines()
620
+ self._saved_lines = lines
621
+ if any(b"\r\n" in line for line in lines):
622
+ endline = "\r\n"
623
+ else:
624
+ endline = "\n"
625
+ # handle missing trailing newline
626
+ if lines and not lines[-1].endswith(endline.encode("utf-8")):
627
+ lines[-1] = lines[-1] + endline.encode("utf-8")
628
+ for entry in self.entries:
629
+ try:
630
+ logger.verbose("Removing entry: %s", entry)
631
+ lines.remove((entry + endline).encode("utf-8"))
632
+ except ValueError:
633
+ pass
634
+ with open(self.file, "wb") as fh:
635
+ fh.writelines(lines)
636
+
637
+ def rollback(self) -> bool:
638
+ if self._saved_lines is None:
639
+ logger.error("Cannot roll back changes to %s, none were made", self.file)
640
+ return False
641
+ logger.debug("Rolling %s back to previous state", self.file)
642
+ with open(self.file, "wb") as fh:
643
+ fh.writelines(self._saved_lines)
644
+ return True
venv/lib/python3.14/site-packages/pip/_internal/resolution/__init__.py ADDED
File without changes
venv/lib/python3.14/site-packages/pip/_internal/resolution/base.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Callable
2
+
3
+ from pip._internal.req.req_install import InstallRequirement
4
+ from pip._internal.req.req_set import RequirementSet
5
+
6
+ InstallRequirementProvider = Callable[
7
+ [str, InstallRequirement | None], InstallRequirement
8
+ ]
9
+
10
+
11
+ class BaseResolver:
12
+ def resolve(
13
+ self, root_reqs: list[InstallRequirement], check_supported_wheels: bool
14
+ ) -> RequirementSet:
15
+ raise NotImplementedError()
16
+
17
+ def get_installation_order(
18
+ self, req_set: RequirementSet
19
+ ) -> list[InstallRequirement]:
20
+ raise NotImplementedError()
venv/lib/python3.14/site-packages/pip/_internal/resolution/legacy/__init__.py ADDED
File without changes
venv/lib/python3.14/site-packages/pip/_internal/resolution/legacy/resolver.py ADDED
@@ -0,0 +1,598 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Dependency Resolution
2
+
3
+ The dependency resolution in pip is performed as follows:
4
+
5
+ for top-level requirements:
6
+ a. only one spec allowed per project, regardless of conflicts or not.
7
+ otherwise a "double requirement" exception is raised
8
+ b. they override sub-dependency requirements.
9
+ for sub-dependencies
10
+ a. "first found, wins" (where the order is breadth first)
11
+ """
12
+
13
+ from __future__ import annotations
14
+
15
+ import logging
16
+ import sys
17
+ from collections import defaultdict
18
+ from collections.abc import Iterable
19
+ from itertools import chain
20
+
21
+ from pip._vendor.packaging import specifiers
22
+ from pip._vendor.packaging.requirements import Requirement
23
+
24
+ from pip._internal.cache import WheelCache
25
+ from pip._internal.exceptions import (
26
+ BestVersionAlreadyInstalled,
27
+ DistributionNotFound,
28
+ HashError,
29
+ HashErrors,
30
+ InstallationError,
31
+ NoneMetadataError,
32
+ UnsupportedPythonVersion,
33
+ )
34
+ from pip._internal.index.package_finder import PackageFinder
35
+ from pip._internal.metadata import BaseDistribution
36
+ from pip._internal.models.link import Link
37
+ from pip._internal.models.wheel import Wheel
38
+ from pip._internal.operations.prepare import RequirementPreparer
39
+ from pip._internal.req.req_install import (
40
+ InstallRequirement,
41
+ check_invalid_constraint_type,
42
+ )
43
+ from pip._internal.req.req_set import RequirementSet
44
+ from pip._internal.resolution.base import BaseResolver, InstallRequirementProvider
45
+ from pip._internal.utils import compatibility_tags
46
+ from pip._internal.utils.compatibility_tags import get_supported
47
+ from pip._internal.utils.direct_url_helpers import direct_url_from_link
48
+ from pip._internal.utils.logging import indent_log
49
+ from pip._internal.utils.misc import normalize_version_info
50
+ from pip._internal.utils.packaging import check_requires_python
51
+
52
+ logger = logging.getLogger(__name__)
53
+
54
+ DiscoveredDependencies = defaultdict[str | None, list[InstallRequirement]]
55
+
56
+
57
+ def _check_dist_requires_python(
58
+ dist: BaseDistribution,
59
+ version_info: tuple[int, int, int],
60
+ ignore_requires_python: bool = False,
61
+ ) -> None:
62
+ """
63
+ Check whether the given Python version is compatible with a distribution's
64
+ "Requires-Python" value.
65
+
66
+ :param version_info: A 3-tuple of ints representing the Python
67
+ major-minor-micro version to check.
68
+ :param ignore_requires_python: Whether to ignore the "Requires-Python"
69
+ value if the given Python version isn't compatible.
70
+
71
+ :raises UnsupportedPythonVersion: When the given Python version isn't
72
+ compatible.
73
+ """
74
+ # This idiosyncratically converts the SpecifierSet to str and let
75
+ # check_requires_python then parse it again into SpecifierSet. But this
76
+ # is the legacy resolver so I'm just not going to bother refactoring.
77
+ try:
78
+ requires_python = str(dist.requires_python)
79
+ except FileNotFoundError as e:
80
+ raise NoneMetadataError(dist, str(e))
81
+ try:
82
+ is_compatible = check_requires_python(
83
+ requires_python,
84
+ version_info=version_info,
85
+ )
86
+ except specifiers.InvalidSpecifier as exc:
87
+ logger.warning(
88
+ "Package %r has an invalid Requires-Python: %s", dist.raw_name, exc
89
+ )
90
+ return
91
+
92
+ if is_compatible:
93
+ return
94
+
95
+ version = ".".join(map(str, version_info))
96
+ if ignore_requires_python:
97
+ logger.debug(
98
+ "Ignoring failed Requires-Python check for package %r: %s not in %r",
99
+ dist.raw_name,
100
+ version,
101
+ requires_python,
102
+ )
103
+ return
104
+
105
+ raise UnsupportedPythonVersion(
106
+ f"Package {dist.raw_name!r} requires a different Python: "
107
+ f"{version} not in {requires_python!r}"
108
+ )
109
+
110
+
111
+ class Resolver(BaseResolver):
112
+ """Resolves which packages need to be installed/uninstalled to perform \
113
+ the requested operation without breaking the requirements of any package.
114
+ """
115
+
116
+ _allowed_strategies = {"eager", "only-if-needed", "to-satisfy-only"}
117
+
118
+ def __init__(
119
+ self,
120
+ preparer: RequirementPreparer,
121
+ finder: PackageFinder,
122
+ wheel_cache: WheelCache | None,
123
+ make_install_req: InstallRequirementProvider,
124
+ use_user_site: bool,
125
+ ignore_dependencies: bool,
126
+ only_dependencies: bool, # unused, for compatibility with new resolver
127
+ ignore_installed: bool,
128
+ ignore_requires_python: bool,
129
+ force_reinstall: bool,
130
+ upgrade_strategy: str,
131
+ py_version_info: tuple[int, ...] | None = None,
132
+ ) -> None:
133
+ super().__init__()
134
+ assert upgrade_strategy in self._allowed_strategies
135
+
136
+ if py_version_info is None:
137
+ py_version_info = sys.version_info[:3]
138
+ else:
139
+ py_version_info = normalize_version_info(py_version_info)
140
+
141
+ self._py_version_info = py_version_info
142
+
143
+ self.preparer = preparer
144
+ self.finder = finder
145
+ self.wheel_cache = wheel_cache
146
+
147
+ self.upgrade_strategy = upgrade_strategy
148
+ self.force_reinstall = force_reinstall
149
+ self.ignore_dependencies = ignore_dependencies
150
+ self.ignore_installed = ignore_installed
151
+ self.ignore_requires_python = ignore_requires_python
152
+ self.use_user_site = use_user_site
153
+ self._make_install_req = make_install_req
154
+
155
+ self._discovered_dependencies: DiscoveredDependencies = defaultdict(list)
156
+
157
+ def resolve(
158
+ self, root_reqs: list[InstallRequirement], check_supported_wheels: bool
159
+ ) -> RequirementSet:
160
+ """Resolve what operations need to be done
161
+
162
+ As a side-effect of this method, the packages (and their dependencies)
163
+ are downloaded, unpacked and prepared for installation. This
164
+ preparation is done by ``pip.operations.prepare``.
165
+
166
+ Once PyPI has static dependency metadata available, it would be
167
+ possible to move the preparation to become a step separated from
168
+ dependency resolution.
169
+ """
170
+ requirement_set = RequirementSet(check_supported_wheels=check_supported_wheels)
171
+ for req in root_reqs:
172
+ if req.constraint:
173
+ check_invalid_constraint_type(req)
174
+ self._add_requirement_to_set(requirement_set, req)
175
+
176
+ # Actually prepare the files, and collect any exceptions. Most hash
177
+ # exceptions cannot be checked ahead of time, because
178
+ # _populate_link() needs to be called before we can make decisions
179
+ # based on link type.
180
+ discovered_reqs: list[InstallRequirement] = []
181
+ hash_errors = HashErrors()
182
+ for req in chain(requirement_set.all_requirements, discovered_reqs):
183
+ try:
184
+ discovered_reqs.extend(self._resolve_one(requirement_set, req))
185
+ except HashError as exc:
186
+ exc.req = req
187
+ hash_errors.append(exc)
188
+
189
+ if hash_errors:
190
+ raise hash_errors
191
+
192
+ return requirement_set
193
+
194
+ def _add_requirement_to_set(
195
+ self,
196
+ requirement_set: RequirementSet,
197
+ install_req: InstallRequirement,
198
+ parent_req_name: str | None = None,
199
+ extras_requested: Iterable[str] | None = None,
200
+ ) -> tuple[list[InstallRequirement], InstallRequirement | None]:
201
+ """Add install_req as a requirement to install.
202
+
203
+ :param parent_req_name: The name of the requirement that needed this
204
+ added. The name is used because when multiple unnamed requirements
205
+ resolve to the same name, we could otherwise end up with dependency
206
+ links that point outside the Requirements set. parent_req must
207
+ already be added. Note that None implies that this is a user
208
+ supplied requirement, vs an inferred one.
209
+ :param extras_requested: an iterable of extras used to evaluate the
210
+ environment markers.
211
+ :return: Additional requirements to scan. That is either [] if
212
+ the requirement is not applicable, or [install_req] if the
213
+ requirement is applicable and has just been added.
214
+ """
215
+ # If the markers do not match, ignore this requirement.
216
+ if not install_req.match_markers(extras_requested):
217
+ logger.info(
218
+ "Ignoring %s: markers '%s' don't match your environment",
219
+ install_req.name,
220
+ install_req.markers,
221
+ )
222
+ return [], None
223
+
224
+ # If the wheel is not supported, raise an error.
225
+ # Should check this after filtering out based on environment markers to
226
+ # allow specifying different wheels based on the environment/OS, in a
227
+ # single requirements file.
228
+ if install_req.link and install_req.link.is_wheel:
229
+ wheel = Wheel(install_req.link.filename)
230
+ tags = compatibility_tags.get_supported()
231
+ if requirement_set.check_supported_wheels and not wheel.supported(tags):
232
+ raise InstallationError(
233
+ f"{wheel.filename} is not a supported wheel on this platform."
234
+ )
235
+
236
+ # This next bit is really a sanity check.
237
+ assert (
238
+ not install_req.user_supplied or parent_req_name is None
239
+ ), "a user supplied req shouldn't have a parent"
240
+
241
+ # Unnamed requirements are scanned again and the requirement won't be
242
+ # added as a dependency until after scanning.
243
+ if not install_req.name:
244
+ requirement_set.add_unnamed_requirement(install_req)
245
+ return [install_req], None
246
+
247
+ try:
248
+ existing_req: InstallRequirement | None = requirement_set.get_requirement(
249
+ install_req.name
250
+ )
251
+ except KeyError:
252
+ existing_req = None
253
+
254
+ has_conflicting_requirement = (
255
+ parent_req_name is None
256
+ and existing_req
257
+ and not existing_req.constraint
258
+ and existing_req.extras == install_req.extras
259
+ and existing_req.req
260
+ and install_req.req
261
+ and existing_req.req.specifier != install_req.req.specifier
262
+ )
263
+ if has_conflicting_requirement:
264
+ raise InstallationError(
265
+ f"Double requirement given: {install_req} "
266
+ f"(already in {existing_req}, name={install_req.name!r})"
267
+ )
268
+
269
+ # When no existing requirement exists, add the requirement as a
270
+ # dependency and it will be scanned again after.
271
+ if not existing_req:
272
+ requirement_set.add_named_requirement(install_req)
273
+ # We'd want to rescan this requirement later
274
+ return [install_req], install_req
275
+
276
+ # Assume there's no need to scan, and that we've already
277
+ # encountered this for scanning.
278
+ if install_req.constraint or not existing_req.constraint:
279
+ return [], existing_req
280
+
281
+ does_not_satisfy_constraint = install_req.link and not (
282
+ existing_req.link and install_req.link.path == existing_req.link.path
283
+ )
284
+ if does_not_satisfy_constraint:
285
+ raise InstallationError(
286
+ f"Could not satisfy constraints for '{install_req.name}': "
287
+ "installation from path or url cannot be "
288
+ "constrained to a version"
289
+ )
290
+ # If we're now installing a constraint, mark the existing
291
+ # object for real installation.
292
+ existing_req.constraint = False
293
+ # If we're now installing a user supplied requirement,
294
+ # mark the existing object as such.
295
+ if install_req.user_supplied:
296
+ existing_req.user_supplied = True
297
+ existing_req.extras = tuple(
298
+ sorted(set(existing_req.extras) | set(install_req.extras))
299
+ )
300
+ logger.debug(
301
+ "Setting %s extras to: %s",
302
+ existing_req,
303
+ existing_req.extras,
304
+ )
305
+ # Return the existing requirement for addition to the parent and
306
+ # scanning again.
307
+ return [existing_req], existing_req
308
+
309
+ def _is_upgrade_allowed(self, req: InstallRequirement) -> bool:
310
+ if self.upgrade_strategy == "to-satisfy-only":
311
+ return False
312
+ elif self.upgrade_strategy == "eager":
313
+ return True
314
+ else:
315
+ assert self.upgrade_strategy == "only-if-needed"
316
+ return req.user_supplied or req.constraint
317
+
318
+ def _set_req_to_reinstall(self, req: InstallRequirement) -> None:
319
+ """
320
+ Set a requirement to be installed.
321
+ """
322
+ # Don't uninstall the conflict if doing a user install and the
323
+ # conflict is not a user install.
324
+ assert req.satisfied_by is not None
325
+ if not self.use_user_site or req.satisfied_by.in_usersite:
326
+ req.should_reinstall = True
327
+ req.satisfied_by = None
328
+
329
+ def _check_skip_installed(self, req_to_install: InstallRequirement) -> str | None:
330
+ """Check if req_to_install should be skipped.
331
+
332
+ This will check if the req is installed, and whether we should upgrade
333
+ or reinstall it, taking into account all the relevant user options.
334
+
335
+ After calling this req_to_install will only have satisfied_by set to
336
+ None if the req_to_install is to be upgraded/reinstalled etc. Any
337
+ other value will be a dist recording the current thing installed that
338
+ satisfies the requirement.
339
+
340
+ Note that for vcs urls and the like we can't assess skipping in this
341
+ routine - we simply identify that we need to pull the thing down,
342
+ then later on it is pulled down and introspected to assess upgrade/
343
+ reinstalls etc.
344
+
345
+ :return: A text reason for why it was skipped, or None.
346
+ """
347
+ if self.ignore_installed:
348
+ return None
349
+
350
+ req_to_install.check_if_exists(self.use_user_site)
351
+ if not req_to_install.satisfied_by:
352
+ return None
353
+
354
+ if self.force_reinstall:
355
+ self._set_req_to_reinstall(req_to_install)
356
+ return None
357
+
358
+ if not self._is_upgrade_allowed(req_to_install):
359
+ if self.upgrade_strategy == "only-if-needed":
360
+ return "already satisfied, skipping upgrade"
361
+ return "already satisfied"
362
+
363
+ # Check for the possibility of an upgrade. For link-based
364
+ # requirements we have to pull the tree down and inspect to assess
365
+ # the version #, so it's handled way down.
366
+ if not req_to_install.link:
367
+ try:
368
+ self.finder.find_requirement(req_to_install, upgrade=True)
369
+ except BestVersionAlreadyInstalled:
370
+ # Then the best version is installed.
371
+ return "already up-to-date"
372
+ except DistributionNotFound:
373
+ # No distribution found, so we squash the error. It will
374
+ # be raised later when we re-try later to do the install.
375
+ # Why don't we just raise here?
376
+ pass
377
+
378
+ self._set_req_to_reinstall(req_to_install)
379
+ return None
380
+
381
+ def _find_requirement_link(self, req: InstallRequirement) -> Link | None:
382
+ upgrade = self._is_upgrade_allowed(req)
383
+ best_candidate = self.finder.find_requirement(req, upgrade)
384
+ if not best_candidate:
385
+ return None
386
+
387
+ # Log a warning per PEP 592 if necessary before returning.
388
+ link = best_candidate.link
389
+ if link.is_yanked:
390
+ reason = link.yanked_reason or "<none given>"
391
+ msg = (
392
+ # Mark this as a unicode string to prevent
393
+ # "UnicodeEncodeError: 'ascii' codec can't encode character"
394
+ # in Python 2 when the reason contains non-ascii characters.
395
+ "The candidate selected for download or install is a "
396
+ f"yanked version: {best_candidate}\n"
397
+ f"Reason for being yanked: {reason}"
398
+ )
399
+ logger.warning(msg)
400
+
401
+ return link
402
+
403
+ def _populate_link(self, req: InstallRequirement) -> None:
404
+ """Ensure that if a link can be found for this, that it is found.
405
+
406
+ Note that req.link may still be None - if the requirement is already
407
+ installed and not needed to be upgraded based on the return value of
408
+ _is_upgrade_allowed().
409
+
410
+ If preparer.require_hashes is True, don't use the wheel cache, because
411
+ cached wheels, always built locally, have different hashes than the
412
+ files downloaded from the index server and thus throw false hash
413
+ mismatches. Furthermore, cached wheels at present have nondeterministic
414
+ contents due to file modification times.
415
+ """
416
+ if req.link is None:
417
+ req.link = self._find_requirement_link(req)
418
+
419
+ if self.wheel_cache is None or self.preparer.require_hashes:
420
+ return
421
+
422
+ assert req.link is not None, "_find_requirement_link unexpectedly returned None"
423
+ cache_entry = self.wheel_cache.get_cache_entry(
424
+ link=req.link,
425
+ package_name=req.name,
426
+ supported_tags=get_supported(),
427
+ )
428
+ if cache_entry is not None:
429
+ logger.debug("Using cached wheel link: %s", cache_entry.link)
430
+ if req.link is req.original_link and cache_entry.persistent:
431
+ req.cached_wheel_source_link = req.link
432
+ if cache_entry.origin is not None:
433
+ req.download_info = cache_entry.origin
434
+ else:
435
+ # Legacy cache entry that does not have origin.json.
436
+ # download_info may miss the archive_info.hashes field.
437
+ req.download_info = direct_url_from_link(
438
+ req.link, link_is_in_wheel_cache=cache_entry.persistent
439
+ )
440
+ req.link = cache_entry.link
441
+
442
+ def _get_dist_for(self, req: InstallRequirement) -> BaseDistribution:
443
+ """Takes a InstallRequirement and returns a single AbstractDist \
444
+ representing a prepared variant of the same.
445
+ """
446
+ if req.editable:
447
+ return self.preparer.prepare_editable_requirement(req)
448
+
449
+ # satisfied_by is only evaluated by calling _check_skip_installed,
450
+ # so it must be None here.
451
+ assert req.satisfied_by is None
452
+ skip_reason = self._check_skip_installed(req)
453
+
454
+ if req.satisfied_by:
455
+ return self.preparer.prepare_installed_requirement(req, skip_reason)
456
+
457
+ # We eagerly populate the link, since that's our "legacy" behavior.
458
+ self._populate_link(req)
459
+ dist = self.preparer.prepare_linked_requirement(req)
460
+
461
+ # NOTE
462
+ # The following portion is for determining if a certain package is
463
+ # going to be re-installed/upgraded or not and reporting to the user.
464
+ # This should probably get cleaned up in a future refactor.
465
+
466
+ # req.req is only avail after unpack for URL
467
+ # pkgs repeat check_if_exists to uninstall-on-upgrade
468
+ # (#14)
469
+ if not self.ignore_installed:
470
+ req.check_if_exists(self.use_user_site)
471
+
472
+ if req.satisfied_by:
473
+ should_modify = (
474
+ self.upgrade_strategy != "to-satisfy-only"
475
+ or self.force_reinstall
476
+ or self.ignore_installed
477
+ or req.link.scheme == "file"
478
+ )
479
+ if should_modify:
480
+ self._set_req_to_reinstall(req)
481
+ else:
482
+ logger.info(
483
+ "Requirement already satisfied (use --upgrade to upgrade): %s",
484
+ req,
485
+ )
486
+ return dist
487
+
488
+ def _resolve_one(
489
+ self,
490
+ requirement_set: RequirementSet,
491
+ req_to_install: InstallRequirement,
492
+ ) -> list[InstallRequirement]:
493
+ """Prepare a single requirements file.
494
+
495
+ :return: A list of additional InstallRequirements to also install.
496
+ """
497
+ # Tell user what we are doing for this requirement:
498
+ # obtain (editable), skipping, processing (local url), collecting
499
+ # (remote url or package name)
500
+ if req_to_install.constraint or req_to_install.prepared:
501
+ return []
502
+
503
+ req_to_install.prepared = True
504
+
505
+ # Parse and return dependencies
506
+ dist = self._get_dist_for(req_to_install)
507
+ # This will raise UnsupportedPythonVersion if the given Python
508
+ # version isn't compatible with the distribution's Requires-Python.
509
+ _check_dist_requires_python(
510
+ dist,
511
+ version_info=self._py_version_info,
512
+ ignore_requires_python=self.ignore_requires_python,
513
+ )
514
+
515
+ more_reqs: list[InstallRequirement] = []
516
+
517
+ def add_req(subreq: Requirement, extras_requested: Iterable[str]) -> None:
518
+ # This idiosyncratically converts the Requirement to str and let
519
+ # make_install_req then parse it again into Requirement. But this is
520
+ # the legacy resolver so I'm just not going to bother refactoring.
521
+ sub_install_req = self._make_install_req(str(subreq), req_to_install)
522
+ parent_req_name = req_to_install.name
523
+ to_scan_again, add_to_parent = self._add_requirement_to_set(
524
+ requirement_set,
525
+ sub_install_req,
526
+ parent_req_name=parent_req_name,
527
+ extras_requested=extras_requested,
528
+ )
529
+ if parent_req_name and add_to_parent:
530
+ self._discovered_dependencies[parent_req_name].append(add_to_parent)
531
+ more_reqs.extend(to_scan_again)
532
+
533
+ with indent_log():
534
+ # We add req_to_install before its dependencies, so that we
535
+ # can refer to it when adding dependencies.
536
+ assert req_to_install.name is not None
537
+ if not requirement_set.has_requirement(req_to_install.name):
538
+ # 'unnamed' requirements will get added here
539
+ # 'unnamed' requirements can only come from being directly
540
+ # provided by the user.
541
+ assert req_to_install.user_supplied
542
+ self._add_requirement_to_set(
543
+ requirement_set, req_to_install, parent_req_name=None
544
+ )
545
+
546
+ if not self.ignore_dependencies:
547
+ if req_to_install.extras:
548
+ logger.debug(
549
+ "Installing extra requirements: %r",
550
+ ",".join(req_to_install.extras),
551
+ )
552
+ missing_requested = sorted(
553
+ set(req_to_install.extras) - set(dist.iter_provided_extras())
554
+ )
555
+ for missing in missing_requested:
556
+ logger.warning(
557
+ "%s %s does not provide the extra '%s'",
558
+ dist.raw_name,
559
+ dist.version,
560
+ missing,
561
+ )
562
+
563
+ available_requested = sorted(
564
+ set(dist.iter_provided_extras()) & set(req_to_install.extras)
565
+ )
566
+ for subreq in dist.iter_dependencies(available_requested):
567
+ add_req(subreq, extras_requested=available_requested)
568
+
569
+ return more_reqs
570
+
571
+ def get_installation_order(
572
+ self, req_set: RequirementSet
573
+ ) -> list[InstallRequirement]:
574
+ """Create the installation order.
575
+
576
+ The installation order is topological - requirements are installed
577
+ before the requiring thing. We break cycles at an arbitrary point,
578
+ and make no other guarantees.
579
+ """
580
+ # The current implementation, which we may change at any point
581
+ # installs the user specified things in the order given, except when
582
+ # dependencies must come earlier to achieve topological order.
583
+ order = []
584
+ ordered_reqs: set[InstallRequirement] = set()
585
+
586
+ def schedule(req: InstallRequirement) -> None:
587
+ if req.satisfied_by or req in ordered_reqs:
588
+ return
589
+ if req.constraint:
590
+ return
591
+ ordered_reqs.add(req)
592
+ for dep in self._discovered_dependencies[req.name]:
593
+ schedule(dep)
594
+ order.append(req)
595
+
596
+ for install_req in req_set.requirements.values():
597
+ schedule(install_req)
598
+ return order
venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/__init__.py ADDED
File without changes
venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/base.py ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Iterable
4
+ from dataclasses import dataclass
5
+ from typing import Optional
6
+
7
+ from pip._vendor.packaging.specifiers import SpecifierSet
8
+ from pip._vendor.packaging.utils import NormalizedName
9
+ from pip._vendor.packaging.version import Version
10
+
11
+ from pip._internal.models.link import Link, links_equivalent
12
+ from pip._internal.req.req_install import InstallRequirement
13
+ from pip._internal.utils.hashes import Hashes
14
+
15
+ CandidateLookup = tuple[Optional["Candidate"], InstallRequirement | None]
16
+
17
+
18
+ def format_name(project: NormalizedName, extras: frozenset[NormalizedName]) -> str:
19
+ if not extras:
20
+ return project
21
+ extras_expr = ",".join(sorted(extras))
22
+ return f"{project}[{extras_expr}]"
23
+
24
+
25
+ @dataclass(frozen=True)
26
+ class Constraint:
27
+ specifier: SpecifierSet
28
+ hashes: Hashes
29
+ hash_options: dict[str, list[str]]
30
+ links: frozenset[Link]
31
+
32
+ @classmethod
33
+ def empty(cls) -> Constraint:
34
+ return Constraint(SpecifierSet(), Hashes(), {}, frozenset())
35
+
36
+ @classmethod
37
+ def from_ireq(cls, ireq: InstallRequirement) -> Constraint:
38
+ links = frozenset([ireq.link]) if ireq.link else frozenset()
39
+ hash_options = {alg: list(v) for alg, v in ireq.hash_options.items()}
40
+ return Constraint(
41
+ ireq.specifier,
42
+ ireq.hashes(trust_internet=False),
43
+ hash_options,
44
+ links,
45
+ )
46
+
47
+ def __bool__(self) -> bool:
48
+ return bool(self.specifier) or bool(self.hashes) or bool(self.links)
49
+
50
+ def __and__(self, other: InstallRequirement) -> Constraint:
51
+ if not isinstance(other, InstallRequirement):
52
+ return NotImplemented
53
+ specifier = self.specifier & other.specifier
54
+ hashes = self.hashes & other.hashes(trust_internet=False)
55
+ if not self.hash_options:
56
+ hash_options = {alg: list(v) for alg, v in other.hash_options.items()}
57
+ elif not other.hash_options:
58
+ hash_options = {alg: list(v) for alg, v in self.hash_options.items()}
59
+ else:
60
+ hash_options = {
61
+ alg: [v for v in other.hash_options[alg] if v in self.hash_options[alg]]
62
+ for alg in self.hash_options.keys() & other.hash_options.keys()
63
+ }
64
+ links = self.links
65
+ if other.link:
66
+ links = links.union([other.link])
67
+ return Constraint(specifier, hashes, hash_options, links)
68
+
69
+ def is_satisfied_by(self, candidate: Candidate) -> bool:
70
+ # Reject if there are any mismatched URL constraints on this package.
71
+ if self.links and not all(_match_link(link, candidate) for link in self.links):
72
+ return False
73
+ # We can safely always allow prereleases here since PackageFinder
74
+ # already implements the prerelease logic, and would have filtered out
75
+ # prerelease candidates if the user does not expect them.
76
+ return self.specifier.contains(candidate.version, prereleases=True)
77
+
78
+ def format_for_error(self) -> str:
79
+ s = str(self.specifier)
80
+ if self.links:
81
+ s += f" (from {', '.join(str(link) for link in self.links)})"
82
+ return s
83
+
84
+
85
+ class Requirement:
86
+ @property
87
+ def project_name(self) -> NormalizedName:
88
+ """The "project name" of a requirement.
89
+
90
+ This is different from ``name`` if this requirement contains extras,
91
+ in which case ``name`` would contain the ``[...]`` part, while this
92
+ refers to the name of the project.
93
+ """
94
+ raise NotImplementedError("Subclass should override")
95
+
96
+ @property
97
+ def name(self) -> str:
98
+ """The name identifying this requirement in the resolver.
99
+
100
+ This is different from ``project_name`` if this requirement contains
101
+ extras, where ``project_name`` would not contain the ``[...]`` part.
102
+ """
103
+ raise NotImplementedError("Subclass should override")
104
+
105
+ def is_satisfied_by(self, candidate: Candidate) -> bool:
106
+ return False
107
+
108
+ def get_candidate_lookup(self) -> CandidateLookup:
109
+ raise NotImplementedError("Subclass should override")
110
+
111
+ def format_for_error(self) -> str:
112
+ raise NotImplementedError("Subclass should override")
113
+
114
+
115
+ def _match_link(link: Link, candidate: Candidate) -> bool:
116
+ if candidate.source_link:
117
+ return links_equivalent(link, candidate.source_link)
118
+ return False
119
+
120
+
121
+ class Candidate:
122
+ @property
123
+ def project_name(self) -> NormalizedName:
124
+ """The "project name" of the candidate.
125
+
126
+ This is different from ``name`` if this candidate contains extras,
127
+ in which case ``name`` would contain the ``[...]`` part, while this
128
+ refers to the name of the project.
129
+ """
130
+ raise NotImplementedError("Override in subclass")
131
+
132
+ @property
133
+ def name(self) -> str:
134
+ """The name identifying this candidate in the resolver.
135
+
136
+ This is different from ``project_name`` if this candidate contains
137
+ extras, where ``project_name`` would not contain the ``[...]`` part.
138
+ """
139
+ raise NotImplementedError("Override in subclass")
140
+
141
+ @property
142
+ def version(self) -> Version:
143
+ raise NotImplementedError("Override in subclass")
144
+
145
+ @property
146
+ def is_installed(self) -> bool:
147
+ raise NotImplementedError("Override in subclass")
148
+
149
+ @property
150
+ def is_editable(self) -> bool:
151
+ raise NotImplementedError("Override in subclass")
152
+
153
+ @property
154
+ def source_link(self) -> Link | None:
155
+ raise NotImplementedError("Override in subclass")
156
+
157
+ def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]:
158
+ raise NotImplementedError("Override in subclass")
159
+
160
+ def get_install_requirement(self) -> InstallRequirement | None:
161
+ raise NotImplementedError("Override in subclass")
162
+
163
+ def format_for_error(self) -> str:
164
+ raise NotImplementedError("Subclass should override")
venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py ADDED
@@ -0,0 +1,598 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import logging
4
+ import sys
5
+ from collections.abc import Iterable
6
+ from typing import TYPE_CHECKING, Any, Union, cast
7
+
8
+ from pip._vendor.packaging.requirements import InvalidRequirement
9
+ from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
10
+ from pip._vendor.packaging.version import Version
11
+
12
+ from pip._internal.exceptions import (
13
+ FailedToPrepareCandidate,
14
+ HashError,
15
+ InstallationSubprocessError,
16
+ InvalidInstalledPackage,
17
+ MetadataInconsistent,
18
+ MetadataInvalid,
19
+ )
20
+ from pip._internal.metadata import BaseDistribution
21
+ from pip._internal.models.link import Link, links_equivalent
22
+ from pip._internal.models.wheel import Wheel
23
+ from pip._internal.req.constructors import (
24
+ install_req_from_editable,
25
+ install_req_from_line,
26
+ )
27
+ from pip._internal.req.req_install import InstallRequirement
28
+ from pip._internal.utils.direct_url_helpers import direct_url_from_link
29
+ from pip._internal.utils.misc import normalize_version_info
30
+
31
+ from .base import Candidate, Requirement, format_name
32
+
33
+ if TYPE_CHECKING:
34
+ from .factory import Factory
35
+
36
+ logger = logging.getLogger(__name__)
37
+
38
+ BaseCandidate = Union[
39
+ "AlreadyInstalledCandidate",
40
+ "EditableCandidate",
41
+ "LinkCandidate",
42
+ ]
43
+
44
+ # Avoid conflicting with the PyPI package "Python".
45
+ REQUIRES_PYTHON_IDENTIFIER = cast(NormalizedName, "<Python from Requires-Python>")
46
+
47
+
48
+ def as_base_candidate(candidate: Candidate) -> BaseCandidate | None:
49
+ """The runtime version of BaseCandidate."""
50
+ base_candidate_classes = (
51
+ AlreadyInstalledCandidate,
52
+ EditableCandidate,
53
+ LinkCandidate,
54
+ )
55
+ if isinstance(candidate, base_candidate_classes):
56
+ return candidate
57
+ return None
58
+
59
+
60
+ def make_install_req_from_link(
61
+ link: Link,
62
+ template: InstallRequirement,
63
+ version: Version | None = None,
64
+ ) -> InstallRequirement:
65
+ assert not template.editable, "template is editable"
66
+ if version is not None and template.req and template.hash_options:
67
+ # When hashes are provided via constraints for an unpinned requirement,
68
+ # the resulting install requirement must appear pinned so that the
69
+ # hash-checking logic does not reject it as HashUnpinned.
70
+ line = f"{template.req.name}=={version}"
71
+ elif template.req:
72
+ line = str(template.req)
73
+ else:
74
+ line = link.url
75
+ ireq = install_req_from_line(
76
+ line,
77
+ user_supplied=template.user_supplied,
78
+ comes_from=template.comes_from,
79
+ isolated=template.isolated,
80
+ constraint=template.constraint,
81
+ hash_options=template.hash_options,
82
+ config_settings=template.config_settings,
83
+ )
84
+ ireq.original_link = template.original_link
85
+ ireq.link = link
86
+ ireq.extras = template.extras
87
+ return ireq
88
+
89
+
90
+ def make_install_req_from_editable(
91
+ link: Link, template: InstallRequirement
92
+ ) -> InstallRequirement:
93
+ assert template.editable, "template not editable"
94
+ if template.name:
95
+ req_string = f"{template.name} @ {link.url}"
96
+ else:
97
+ req_string = link.url
98
+ ireq = install_req_from_editable(
99
+ req_string,
100
+ user_supplied=template.user_supplied,
101
+ comes_from=template.comes_from,
102
+ isolated=template.isolated,
103
+ constraint=template.constraint,
104
+ hash_options=template.hash_options,
105
+ config_settings=template.config_settings,
106
+ )
107
+ ireq.extras = template.extras
108
+ return ireq
109
+
110
+
111
+ def _make_install_req_from_dist(
112
+ dist: BaseDistribution, template: InstallRequirement
113
+ ) -> InstallRequirement:
114
+ if template.req:
115
+ line = str(template.req)
116
+ elif template.link:
117
+ line = f"{dist.canonical_name} @ {template.link.url}"
118
+ else:
119
+ line = f"{dist.canonical_name}=={dist.version}"
120
+ ireq = install_req_from_line(
121
+ line,
122
+ user_supplied=template.user_supplied,
123
+ comes_from=template.comes_from,
124
+ isolated=template.isolated,
125
+ constraint=template.constraint,
126
+ hash_options=template.hash_options,
127
+ config_settings=template.config_settings,
128
+ )
129
+ ireq.satisfied_by = dist
130
+ return ireq
131
+
132
+
133
+ class _InstallRequirementBackedCandidate(Candidate):
134
+ """A candidate backed by an ``InstallRequirement``.
135
+
136
+ This represents a package request with the target not being already
137
+ in the environment, and needs to be fetched and installed. The backing
138
+ ``InstallRequirement`` is responsible for most of the leg work; this
139
+ class exposes appropriate information to the resolver.
140
+
141
+ :param link: The link passed to the ``InstallRequirement``. The backing
142
+ ``InstallRequirement`` will use this link to fetch the distribution.
143
+ :param source_link: The link this candidate "originates" from. This is
144
+ different from ``link`` when the link is found in the wheel cache.
145
+ ``link`` would point to the wheel cache, while this points to the
146
+ found remote link (e.g. from pypi.org).
147
+ """
148
+
149
+ dist: BaseDistribution
150
+ is_installed = False
151
+
152
+ def __init__(
153
+ self,
154
+ link: Link,
155
+ source_link: Link,
156
+ ireq: InstallRequirement,
157
+ factory: Factory,
158
+ name: NormalizedName | None = None,
159
+ version: Version | None = None,
160
+ ) -> None:
161
+ self._link = link
162
+ self._source_link = source_link
163
+ self._factory = factory
164
+ self._ireq = ireq
165
+ self._name = name
166
+ self._version = version
167
+ self.dist = self._prepare()
168
+ self._hash: int | None = None
169
+
170
+ def __str__(self) -> str:
171
+ return f"{self.name} {self.version}"
172
+
173
+ def __repr__(self) -> str:
174
+ return f"{self.__class__.__name__}({str(self._link)!r})"
175
+
176
+ def __hash__(self) -> int:
177
+ if self._hash is not None:
178
+ return self._hash
179
+
180
+ self._hash = hash((self.__class__, self._link))
181
+ return self._hash
182
+
183
+ def __eq__(self, other: Any) -> bool:
184
+ if isinstance(other, self.__class__):
185
+ return links_equivalent(self._link, other._link)
186
+ return False
187
+
188
+ @property
189
+ def source_link(self) -> Link | None:
190
+ return self._source_link
191
+
192
+ @property
193
+ def project_name(self) -> NormalizedName:
194
+ """The normalised name of the project the candidate refers to"""
195
+ if self._name is None:
196
+ self._name = self.dist.canonical_name
197
+ return self._name
198
+
199
+ @property
200
+ def name(self) -> str:
201
+ return self.project_name
202
+
203
+ @property
204
+ def version(self) -> Version:
205
+ if self._version is None:
206
+ self._version = self.dist.version
207
+ return self._version
208
+
209
+ def format_for_error(self) -> str:
210
+ return (
211
+ f"{self.name} {self.version} "
212
+ f"(from {'editable ' if self.is_editable else ''}"
213
+ f"{self._link.file_path if self._link.is_file else self._link})"
214
+ )
215
+
216
+ def _prepare_distribution(self) -> BaseDistribution:
217
+ raise NotImplementedError("Override in subclass")
218
+
219
+ def _check_metadata_consistency(self, dist: BaseDistribution) -> None:
220
+ """Check for consistency of project name and version of dist."""
221
+ if self._name is not None and self._name != dist.canonical_name:
222
+ raise MetadataInconsistent(
223
+ self._ireq,
224
+ "name",
225
+ self._name,
226
+ dist.canonical_name,
227
+ )
228
+ if self._version is not None and self._version != dist.version:
229
+ raise MetadataInconsistent(
230
+ self._ireq,
231
+ "version",
232
+ str(self._version),
233
+ str(dist.version),
234
+ )
235
+ # check dependencies are valid
236
+ # TODO performance: this means we iterate the dependencies at least twice,
237
+ # we may want to cache parsed Requires-Dist
238
+ try:
239
+ list(dist.iter_dependencies(list(dist.iter_provided_extras())))
240
+ except InvalidRequirement as e:
241
+ raise MetadataInvalid(self._ireq, str(e))
242
+
243
+ def _prepare(self) -> BaseDistribution:
244
+ try:
245
+ dist = self._prepare_distribution()
246
+ except HashError as e:
247
+ # Provide HashError the underlying ireq that caused it. This
248
+ # provides context for the resulting error message to show the
249
+ # offending line to the user.
250
+ e.req = self._ireq
251
+ raise
252
+ except InstallationSubprocessError as exc:
253
+ if isinstance(self._ireq.comes_from, InstallRequirement):
254
+ request_chain = self._ireq.comes_from.from_path()
255
+ else:
256
+ request_chain = self._ireq.comes_from
257
+
258
+ if request_chain is None:
259
+ request_chain = "directly requested"
260
+
261
+ raise FailedToPrepareCandidate(
262
+ package_name=self._ireq.name or str(self._link),
263
+ requirement_chain=request_chain,
264
+ failed_step=exc.command_description,
265
+ )
266
+
267
+ self._check_metadata_consistency(dist)
268
+ return dist
269
+
270
+ def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]:
271
+ # Emit the Requires-Python requirement first to fail fast on
272
+ # unsupported candidates and avoid pointless downloads/preparation.
273
+ yield self._factory.make_requires_python_requirement(self.dist.requires_python)
274
+ requires = self.dist.iter_dependencies() if with_requires else ()
275
+ for r in requires:
276
+ yield from self._factory.make_requirements_from_spec(str(r), self._ireq)
277
+
278
+ def get_install_requirement(self) -> InstallRequirement | None:
279
+ return self._ireq
280
+
281
+
282
+ class LinkCandidate(_InstallRequirementBackedCandidate):
283
+ is_editable = False
284
+
285
+ def __init__(
286
+ self,
287
+ link: Link,
288
+ template: InstallRequirement,
289
+ factory: Factory,
290
+ name: NormalizedName | None = None,
291
+ version: Version | None = None,
292
+ ) -> None:
293
+ source_link = link
294
+ cache_entry = factory.get_wheel_cache_entry(source_link, name)
295
+ if cache_entry is not None:
296
+ logger.debug("Using cached wheel link: %s", cache_entry.link)
297
+ link = cache_entry.link
298
+ ireq = make_install_req_from_link(link, template, version=version)
299
+ assert ireq.link == link
300
+ if ireq.link.is_wheel and not ireq.link.is_file:
301
+ wheel = Wheel(ireq.link.filename)
302
+ wheel_name = wheel.name
303
+ assert name == wheel_name, f"{name!r} != {wheel_name!r} for wheel"
304
+ # Version may not be present for PEP 508 direct URLs
305
+ if version is not None:
306
+ wheel_version = Version(wheel.version)
307
+ assert (
308
+ version == wheel_version
309
+ ), f"{version!r} != {wheel_version!r} for wheel {name}"
310
+
311
+ if cache_entry is not None:
312
+ assert ireq.link.is_wheel
313
+ assert ireq.link.is_file
314
+ if cache_entry.persistent and template.link is template.original_link:
315
+ ireq.cached_wheel_source_link = source_link
316
+ if cache_entry.origin is not None:
317
+ ireq.download_info = cache_entry.origin
318
+ else:
319
+ # Legacy cache entry that does not have origin.json.
320
+ # download_info may miss the archive_info.hashes field.
321
+ ireq.download_info = direct_url_from_link(
322
+ source_link, link_is_in_wheel_cache=cache_entry.persistent
323
+ )
324
+
325
+ super().__init__(
326
+ link=link,
327
+ source_link=source_link,
328
+ ireq=ireq,
329
+ factory=factory,
330
+ name=name,
331
+ version=version,
332
+ )
333
+
334
+ def _prepare_distribution(self) -> BaseDistribution:
335
+ preparer = self._factory.preparer
336
+ return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
337
+
338
+
339
+ class EditableCandidate(_InstallRequirementBackedCandidate):
340
+ is_editable = True
341
+
342
+ def __init__(
343
+ self,
344
+ link: Link,
345
+ template: InstallRequirement,
346
+ factory: Factory,
347
+ name: NormalizedName | None = None,
348
+ version: Version | None = None,
349
+ ) -> None:
350
+ super().__init__(
351
+ link=link,
352
+ source_link=link,
353
+ ireq=make_install_req_from_editable(link, template),
354
+ factory=factory,
355
+ name=name,
356
+ version=version,
357
+ )
358
+
359
+ def _prepare_distribution(self) -> BaseDistribution:
360
+ return self._factory.preparer.prepare_editable_requirement(self._ireq)
361
+
362
+
363
+ class AlreadyInstalledCandidate(Candidate):
364
+ is_installed = True
365
+ source_link = None
366
+
367
+ def __init__(
368
+ self,
369
+ dist: BaseDistribution,
370
+ template: InstallRequirement,
371
+ factory: Factory,
372
+ ) -> None:
373
+ self.dist = dist
374
+ self._ireq = _make_install_req_from_dist(dist, template)
375
+ self._factory = factory
376
+ self._version = None
377
+
378
+ # This is just logging some messages, so we can do it eagerly.
379
+ # The returned dist would be exactly the same as self.dist because we
380
+ # set satisfied_by in _make_install_req_from_dist.
381
+ # TODO: Supply reason based on force_reinstall and upgrade_strategy.
382
+ skip_reason = "already satisfied"
383
+ factory.preparer.prepare_installed_requirement(self._ireq, skip_reason)
384
+
385
+ def __str__(self) -> str:
386
+ return str(self.dist)
387
+
388
+ def __repr__(self) -> str:
389
+ return f"{self.__class__.__name__}({self.dist!r})"
390
+
391
+ def __eq__(self, other: object) -> bool:
392
+ if not isinstance(other, AlreadyInstalledCandidate):
393
+ return NotImplemented
394
+ return self.name == other.name and self.version == other.version
395
+
396
+ def __hash__(self) -> int:
397
+ return hash((self.name, self.version))
398
+
399
+ @property
400
+ def project_name(self) -> NormalizedName:
401
+ return self.dist.canonical_name
402
+
403
+ @property
404
+ def name(self) -> str:
405
+ return self.project_name
406
+
407
+ @property
408
+ def version(self) -> Version:
409
+ if self._version is None:
410
+ self._version = self.dist.version
411
+ return self._version
412
+
413
+ @property
414
+ def is_editable(self) -> bool:
415
+ return self.dist.editable
416
+
417
+ def format_for_error(self) -> str:
418
+ return f"{self.name} {self.version} (Installed)"
419
+
420
+ def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]:
421
+ if not with_requires:
422
+ return
423
+
424
+ try:
425
+ for r in self.dist.iter_dependencies():
426
+ yield from self._factory.make_requirements_from_spec(str(r), self._ireq)
427
+ except InvalidRequirement as exc:
428
+ raise InvalidInstalledPackage(dist=self.dist, invalid_exc=exc) from None
429
+
430
+ def get_install_requirement(self) -> InstallRequirement | None:
431
+ return None
432
+
433
+
434
+ class ExtrasCandidate(Candidate):
435
+ """A candidate that has 'extras', indicating additional dependencies.
436
+
437
+ Requirements can be for a project with dependencies, something like
438
+ foo[extra]. The extras don't affect the project/version being installed
439
+ directly, but indicate that we need additional dependencies. We model that
440
+ by having an artificial ExtrasCandidate that wraps the "base" candidate.
441
+
442
+ The ExtrasCandidate differs from the base in the following ways:
443
+
444
+ 1. It has a unique name, of the form foo[extra]. This causes the resolver
445
+ to treat it as a separate node in the dependency graph.
446
+ 2. When we're getting the candidate's dependencies,
447
+ a) We specify that we want the extra dependencies as well.
448
+ b) We add a dependency on the base candidate.
449
+ See below for why this is needed.
450
+ 3. We return None for the underlying InstallRequirement, as the base
451
+ candidate will provide it, and we don't want to end up with duplicates.
452
+
453
+ The dependency on the base candidate is needed so that the resolver can't
454
+ decide that it should recommend foo[extra1] version 1.0 and foo[extra2]
455
+ version 2.0. Having those candidates depend on foo=1.0 and foo=2.0
456
+ respectively forces the resolver to recognise that this is a conflict.
457
+ """
458
+
459
+ def __init__(
460
+ self,
461
+ base: BaseCandidate,
462
+ extras: frozenset[str],
463
+ *,
464
+ comes_from: InstallRequirement | None = None,
465
+ ) -> None:
466
+ """
467
+ :param comes_from: the InstallRequirement that led to this candidate if it
468
+ differs from the base's InstallRequirement. This will often be the
469
+ case in the sense that this candidate's requirement has the extras
470
+ while the base's does not. Unlike the InstallRequirement backed
471
+ candidates, this requirement is used solely for reporting purposes,
472
+ it does not do any leg work.
473
+ """
474
+ self.base = base
475
+ self.extras = frozenset(canonicalize_name(e) for e in extras)
476
+ self._comes_from = comes_from if comes_from is not None else self.base._ireq
477
+
478
+ def __str__(self) -> str:
479
+ name, rest = str(self.base).split(" ", 1)
480
+ return "{}[{}] {}".format(name, ",".join(self.extras), rest)
481
+
482
+ def __repr__(self) -> str:
483
+ return f"{self.__class__.__name__}(base={self.base!r}, extras={self.extras!r})"
484
+
485
+ def __hash__(self) -> int:
486
+ return hash((self.base, self.extras))
487
+
488
+ def __eq__(self, other: Any) -> bool:
489
+ if isinstance(other, self.__class__):
490
+ return self.base == other.base and self.extras == other.extras
491
+ return False
492
+
493
+ @property
494
+ def project_name(self) -> NormalizedName:
495
+ return self.base.project_name
496
+
497
+ @property
498
+ def name(self) -> str:
499
+ """The normalised name of the project the candidate refers to"""
500
+ return format_name(self.base.project_name, self.extras)
501
+
502
+ @property
503
+ def version(self) -> Version:
504
+ return self.base.version
505
+
506
+ def format_for_error(self) -> str:
507
+ return "{} [{}]".format(
508
+ self.base.format_for_error(), ", ".join(sorted(self.extras))
509
+ )
510
+
511
+ @property
512
+ def is_installed(self) -> bool:
513
+ return self.base.is_installed
514
+
515
+ @property
516
+ def is_editable(self) -> bool:
517
+ return self.base.is_editable
518
+
519
+ @property
520
+ def source_link(self) -> Link | None:
521
+ return self.base.source_link
522
+
523
+ def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]:
524
+ factory = self.base._factory
525
+
526
+ # Add a dependency on the exact base
527
+ # (See note 2b in the class docstring)
528
+ yield factory.make_requirement_from_candidate(self.base)
529
+ if not with_requires:
530
+ return
531
+
532
+ # The user may have specified extras that the candidate doesn't
533
+ # support. We ignore any unsupported extras here.
534
+ valid_extras = self.extras.intersection(self.base.dist.iter_provided_extras())
535
+ invalid_extras = self.extras.difference(self.base.dist.iter_provided_extras())
536
+ for extra in sorted(invalid_extras):
537
+ logger.warning(
538
+ "%s %s does not provide the extra '%s'",
539
+ self.base.name,
540
+ self.version,
541
+ extra,
542
+ )
543
+
544
+ for r in self.base.dist.iter_dependencies(valid_extras):
545
+ yield from factory.make_requirements_from_spec(
546
+ str(r),
547
+ self._comes_from,
548
+ valid_extras,
549
+ )
550
+
551
+ def get_install_requirement(self) -> InstallRequirement | None:
552
+ # We don't return anything here, because we always
553
+ # depend on the base candidate, and we'll get the
554
+ # install requirement from that.
555
+ return None
556
+
557
+
558
+ class RequiresPythonCandidate(Candidate):
559
+ is_installed = False
560
+ source_link = None
561
+
562
+ def __init__(self, py_version_info: tuple[int, ...] | None) -> None:
563
+ if py_version_info is not None:
564
+ version_info = normalize_version_info(py_version_info)
565
+ else:
566
+ version_info = sys.version_info[:3]
567
+ self._version = Version(".".join(str(c) for c in version_info))
568
+
569
+ # We don't need to implement __eq__() and __ne__() since there is always
570
+ # only one RequiresPythonCandidate in a resolution, i.e. the host Python.
571
+ # The built-in object.__eq__() and object.__ne__() do exactly what we want.
572
+
573
+ def __str__(self) -> str:
574
+ return f"Python {self._version}"
575
+
576
+ def __repr__(self) -> str:
577
+ return f"{self.__class__.__name__}({self._version!r})"
578
+
579
+ @property
580
+ def project_name(self) -> NormalizedName:
581
+ return REQUIRES_PYTHON_IDENTIFIER
582
+
583
+ @property
584
+ def name(self) -> str:
585
+ return REQUIRES_PYTHON_IDENTIFIER
586
+
587
+ @property
588
+ def version(self) -> Version:
589
+ return self._version
590
+
591
+ def format_for_error(self) -> str:
592
+ return f"Python {self.version}"
593
+
594
+ def iter_dependencies(self, with_requires: bool) -> Iterable[Requirement | None]:
595
+ return ()
596
+
597
+ def get_install_requirement(self) -> InstallRequirement | None:
598
+ return None
venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/factory.py ADDED
@@ -0,0 +1,901 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import contextlib
4
+ import copy
5
+ import functools
6
+ import logging
7
+ from collections.abc import Callable, Iterable, Iterator, Mapping, Sequence
8
+ from typing import (
9
+ TYPE_CHECKING,
10
+ NamedTuple,
11
+ Protocol,
12
+ TypeVar,
13
+ cast,
14
+ )
15
+
16
+ from pip._vendor.packaging.requirements import InvalidRequirement
17
+ from pip._vendor.packaging.specifiers import SpecifierSet
18
+ from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
19
+ from pip._vendor.packaging.version import InvalidVersion, Version
20
+ from pip._vendor.resolvelib import ResolutionImpossible
21
+ from pip._vendor.rich.markup import escape
22
+
23
+ from pip._internal.cache import CacheEntry, WheelCache
24
+ from pip._internal.exceptions import (
25
+ DistributionNotFound,
26
+ InstallationError,
27
+ InvalidInstalledPackage,
28
+ MetadataInconsistent,
29
+ MetadataInvalid,
30
+ UnsupportedPythonVersion,
31
+ UnsupportedWheel,
32
+ )
33
+ from pip._internal.index.package_finder import PackageFinder
34
+ from pip._internal.metadata import BaseDistribution, get_default_environment
35
+ from pip._internal.models.link import Link
36
+ from pip._internal.models.wheel import Wheel
37
+ from pip._internal.operations.prepare import RequirementPreparer
38
+ from pip._internal.req.constructors import (
39
+ install_req_drop_extras,
40
+ install_req_from_link_and_ireq,
41
+ )
42
+ from pip._internal.req.req_install import (
43
+ InstallRequirement,
44
+ check_invalid_constraint_type,
45
+ )
46
+ from pip._internal.resolution.base import InstallRequirementProvider
47
+ from pip._internal.utils.compatibility_tags import get_supported
48
+ from pip._internal.utils.hashes import Hashes
49
+ from pip._internal.utils.packaging import get_requirement
50
+ from pip._internal.utils.virtualenv import running_under_virtualenv
51
+
52
+ from .base import Candidate, Constraint, Requirement
53
+ from .candidates import (
54
+ AlreadyInstalledCandidate,
55
+ BaseCandidate,
56
+ EditableCandidate,
57
+ ExtrasCandidate,
58
+ LinkCandidate,
59
+ RequiresPythonCandidate,
60
+ as_base_candidate,
61
+ )
62
+ from .found_candidates import FoundCandidates, IndexCandidateInfo
63
+ from .requirements import (
64
+ ExplicitRequirement,
65
+ RequiresPythonRequirement,
66
+ SpecifierRequirement,
67
+ SpecifierWithoutExtrasRequirement,
68
+ UnsatisfiableRequirement,
69
+ )
70
+
71
+ if TYPE_CHECKING:
72
+
73
+ class ConflictCause(Protocol):
74
+ requirement: RequiresPythonRequirement
75
+ parent: Candidate
76
+
77
+
78
+ logger = logging.getLogger(__name__)
79
+
80
+ C = TypeVar("C")
81
+ Cache = dict[Link, C]
82
+
83
+
84
+ class CollectedRootRequirements(NamedTuple):
85
+ requirements: list[Requirement]
86
+ constraints: dict[str, Constraint]
87
+ user_requested: dict[str, int]
88
+
89
+
90
+ class Factory:
91
+ def __init__(
92
+ self,
93
+ finder: PackageFinder,
94
+ preparer: RequirementPreparer,
95
+ make_install_req: InstallRequirementProvider,
96
+ wheel_cache: WheelCache | None,
97
+ use_user_site: bool,
98
+ force_reinstall: bool,
99
+ ignore_installed: bool,
100
+ ignore_requires_python: bool,
101
+ py_version_info: tuple[int, ...] | None = None,
102
+ ) -> None:
103
+ self._finder = finder
104
+ self.preparer = preparer
105
+ self._wheel_cache = wheel_cache
106
+ self._python_candidate = RequiresPythonCandidate(py_version_info)
107
+ self._make_install_req_from_spec = make_install_req
108
+ self._use_user_site = use_user_site
109
+ self._force_reinstall = force_reinstall
110
+ self._ignore_requires_python = ignore_requires_python
111
+
112
+ self._build_failures: Cache[InstallationError] = {}
113
+ self._link_candidate_cache: Cache[LinkCandidate] = {}
114
+ self._editable_candidate_cache: Cache[EditableCandidate] = {}
115
+ self._installed_candidate_cache: dict[str, AlreadyInstalledCandidate] = {}
116
+ self._extras_candidate_cache: dict[
117
+ tuple[int, frozenset[NormalizedName]], ExtrasCandidate
118
+ ] = {}
119
+ self._supported_tags_cache = get_supported()
120
+
121
+ if not ignore_installed:
122
+ env = get_default_environment()
123
+ self._installed_dists = {
124
+ dist.canonical_name: dist
125
+ for dist in env.iter_installed_distributions(local_only=False)
126
+ }
127
+ else:
128
+ self._installed_dists = {}
129
+
130
+ @property
131
+ def force_reinstall(self) -> bool:
132
+ return self._force_reinstall
133
+
134
+ def _fail_if_link_is_unsupported_wheel(self, link: Link) -> None:
135
+ if not link.is_wheel:
136
+ return
137
+ wheel = Wheel(link.filename)
138
+ if wheel.supported(self._finder.target_python.get_unsorted_tags()):
139
+ return
140
+ msg = f"{link.filename} is not a supported wheel on this platform."
141
+ raise UnsupportedWheel(msg)
142
+
143
+ def _make_extras_candidate(
144
+ self,
145
+ base: BaseCandidate,
146
+ extras: frozenset[str],
147
+ *,
148
+ comes_from: InstallRequirement | None = None,
149
+ ) -> ExtrasCandidate:
150
+ cache_key = (id(base), frozenset(canonicalize_name(e) for e in extras))
151
+ try:
152
+ candidate = self._extras_candidate_cache[cache_key]
153
+ except KeyError:
154
+ candidate = ExtrasCandidate(base, extras, comes_from=comes_from)
155
+ self._extras_candidate_cache[cache_key] = candidate
156
+ return candidate
157
+
158
+ def _make_candidate_from_dist(
159
+ self,
160
+ dist: BaseDistribution,
161
+ extras: frozenset[str],
162
+ template: InstallRequirement,
163
+ ) -> Candidate:
164
+ try:
165
+ base = self._installed_candidate_cache[dist.canonical_name]
166
+ except KeyError:
167
+ base = AlreadyInstalledCandidate(dist, template, factory=self)
168
+ self._installed_candidate_cache[dist.canonical_name] = base
169
+ if not extras:
170
+ return base
171
+ return self._make_extras_candidate(base, extras, comes_from=template)
172
+
173
+ def _make_candidate_from_link(
174
+ self,
175
+ link: Link,
176
+ extras: frozenset[str],
177
+ template: InstallRequirement,
178
+ name: NormalizedName | None,
179
+ version: Version | None,
180
+ ) -> Candidate | None:
181
+ base: BaseCandidate | None = self._make_base_candidate_from_link(
182
+ link, template, name, version
183
+ )
184
+ if not extras or base is None:
185
+ return base
186
+ return self._make_extras_candidate(base, extras, comes_from=template)
187
+
188
+ def _make_base_candidate_from_link(
189
+ self,
190
+ link: Link,
191
+ template: InstallRequirement,
192
+ name: NormalizedName | None,
193
+ version: Version | None,
194
+ ) -> BaseCandidate | None:
195
+ # TODO: Check already installed candidate, and use it if the link and
196
+ # editable flag match.
197
+
198
+ if link in self._build_failures:
199
+ # We already tried this candidate before, and it does not build.
200
+ # Don't bother trying again.
201
+ return None
202
+
203
+ if template.editable:
204
+ if link not in self._editable_candidate_cache:
205
+ try:
206
+ self._editable_candidate_cache[link] = EditableCandidate(
207
+ link,
208
+ template,
209
+ factory=self,
210
+ name=name,
211
+ version=version,
212
+ )
213
+ except (MetadataInconsistent, MetadataInvalid) as e:
214
+ logger.info(
215
+ "Discarding [blue underline]%s[/]: [yellow]%s[reset]",
216
+ escape(str(link)),
217
+ escape(str(e)),
218
+ extra={"markup": True},
219
+ )
220
+ self._build_failures[link] = e
221
+ return None
222
+
223
+ return self._editable_candidate_cache[link]
224
+ else:
225
+ if link not in self._link_candidate_cache:
226
+ try:
227
+ self._link_candidate_cache[link] = LinkCandidate(
228
+ link,
229
+ template,
230
+ factory=self,
231
+ name=name,
232
+ version=version,
233
+ )
234
+ except MetadataInconsistent as e:
235
+ logger.info(
236
+ "Discarding [blue underline]%s[/]: [yellow]%s[reset]",
237
+ escape(str(link)),
238
+ escape(str(e)),
239
+ extra={"markup": True},
240
+ )
241
+ self._build_failures[link] = e
242
+ return None
243
+ return self._link_candidate_cache[link]
244
+
245
+ def _iter_found_candidates(
246
+ self,
247
+ ireqs: Sequence[InstallRequirement],
248
+ specifier: SpecifierSet,
249
+ hashes: Hashes,
250
+ prefers_installed: bool,
251
+ incompatible_ids: set[int],
252
+ constraint_hash_options: dict[str, list[str]] | None = None,
253
+ ) -> Iterable[Candidate]:
254
+ if not ireqs:
255
+ return ()
256
+
257
+ # The InstallRequirement implementation requires us to give it a
258
+ # "template". Here we just choose the first requirement to represent
259
+ # all of them.
260
+ # Hopefully the Project model can correct this mismatch in the future.
261
+ template = ireqs[0]
262
+ assert template.req, "Candidates found on index must be PEP 508"
263
+ if (
264
+ constraint_hash_options
265
+ and not template.hash_options
266
+ and any(constraint_hash_options.values())
267
+ ):
268
+ template = copy.copy(template)
269
+ template.hash_options = {
270
+ k: list(v) for k, v in constraint_hash_options.items()
271
+ }
272
+ assert template.req # to prevent mypy from being confused by the copy
273
+ name = canonicalize_name(template.req.name)
274
+
275
+ extras: frozenset[str] = frozenset()
276
+ for ireq in ireqs:
277
+ assert ireq.req, "Candidates found on index must be PEP 508"
278
+ specifier &= ireq.req.specifier
279
+ hashes &= ireq.hashes(trust_internet=False)
280
+ extras |= frozenset(ireq.extras)
281
+
282
+ def _get_installed_candidate() -> Candidate | None:
283
+ """Get the candidate for the currently-installed version."""
284
+ # If --force-reinstall is set, we want the version from the index
285
+ # instead, so we "pretend" there is nothing installed.
286
+ if self._force_reinstall:
287
+ return None
288
+ try:
289
+ installed_dist = self._installed_dists[name]
290
+ except KeyError:
291
+ return None
292
+
293
+ try:
294
+ # Don't use the installed distribution if its version
295
+ # does not fit the current dependency graph.
296
+ if not specifier.contains(installed_dist.version, prereleases=True):
297
+ return None
298
+ except InvalidVersion as e:
299
+ raise InvalidInstalledPackage(dist=installed_dist, invalid_exc=e)
300
+
301
+ candidate = self._make_candidate_from_dist(
302
+ dist=installed_dist,
303
+ extras=extras,
304
+ template=template,
305
+ )
306
+ # The candidate is a known incompatibility. Don't use it.
307
+ if id(candidate) in incompatible_ids:
308
+ return None
309
+ return candidate
310
+
311
+ def iter_index_candidate_infos() -> Iterator[IndexCandidateInfo]:
312
+ result = self._finder.find_best_candidate(
313
+ project_name=name,
314
+ specifier=specifier,
315
+ hashes=hashes,
316
+ )
317
+ icans = result.applicable_candidates
318
+
319
+ # PEP 592: Yanked releases are ignored unless the specifier
320
+ # explicitly pins a version (via '==' or '===') that can be
321
+ # solely satisfied by a yanked release.
322
+ all_yanked = all(ican.link.is_yanked for ican in icans)
323
+
324
+ def is_pinned(specifier: SpecifierSet) -> bool:
325
+ for sp in specifier:
326
+ if sp.operator == "===":
327
+ return True
328
+ if sp.operator != "==":
329
+ continue
330
+ if sp.version.endswith(".*"):
331
+ continue
332
+ return True
333
+ return False
334
+
335
+ pinned = is_pinned(specifier)
336
+
337
+ # PackageFinder returns earlier versions first, so we reverse.
338
+ for ican in reversed(icans):
339
+ if not (all_yanked and pinned) and ican.link.is_yanked:
340
+ continue
341
+ func = functools.partial(
342
+ self._make_candidate_from_link,
343
+ link=ican.link,
344
+ extras=extras,
345
+ template=template,
346
+ name=name,
347
+ version=ican.version,
348
+ )
349
+ yield ican.version, func
350
+
351
+ return FoundCandidates(
352
+ iter_index_candidate_infos,
353
+ _get_installed_candidate(),
354
+ prefers_installed,
355
+ incompatible_ids,
356
+ )
357
+
358
+ def _iter_explicit_candidates_from_base(
359
+ self,
360
+ base_requirements: Iterable[Requirement],
361
+ extras: frozenset[str],
362
+ ) -> Iterator[Candidate]:
363
+ """Produce explicit candidates from the base given an extra-ed package.
364
+
365
+ :param base_requirements: Requirements known to the resolver. The
366
+ requirements are guaranteed to not have extras.
367
+ :param extras: The extras to inject into the explicit requirements'
368
+ candidates.
369
+ """
370
+ for req in base_requirements:
371
+ lookup_cand, _ = req.get_candidate_lookup()
372
+ if lookup_cand is None: # Not explicit.
373
+ continue
374
+ # We've stripped extras from the identifier, and should always
375
+ # get a BaseCandidate here, unless there's a bug elsewhere.
376
+ base_cand = as_base_candidate(lookup_cand)
377
+ assert base_cand is not None, "no extras here"
378
+ yield self._make_extras_candidate(base_cand, extras)
379
+
380
+ def _iter_candidates_from_constraints(
381
+ self,
382
+ identifier: str,
383
+ constraint: Constraint,
384
+ template: InstallRequirement,
385
+ ) -> Iterator[Candidate]:
386
+ """Produce explicit candidates from constraints.
387
+
388
+ This creates "fake" InstallRequirement objects that are basically clones
389
+ of what "should" be the template, but with original_link set to link.
390
+ """
391
+ extras: frozenset[str] = frozenset()
392
+ base_identifier = identifier
393
+ with contextlib.suppress(InvalidRequirement):
394
+ parsed_requirement = get_requirement(identifier)
395
+ if parsed_requirement.name != identifier:
396
+ base_identifier = canonicalize_name(parsed_requirement.name)
397
+ extras = frozenset(parsed_requirement.extras)
398
+
399
+ for link in constraint.links:
400
+ self._fail_if_link_is_unsupported_wheel(link)
401
+ base_candidate = self._make_base_candidate_from_link(
402
+ link,
403
+ template=install_req_from_link_and_ireq(link, template),
404
+ name=canonicalize_name(base_identifier),
405
+ version=None,
406
+ )
407
+ if base_candidate is None:
408
+ continue
409
+ if extras:
410
+ yield self._make_extras_candidate(base_candidate, extras)
411
+ else:
412
+ yield base_candidate
413
+
414
+ def find_candidates(
415
+ self,
416
+ identifier: str,
417
+ requirements: Mapping[str, Iterable[Requirement]],
418
+ incompatibilities: Mapping[str, Iterator[Candidate]],
419
+ constraint: Constraint,
420
+ prefers_installed: bool,
421
+ is_satisfied_by: Callable[[Requirement, Candidate], bool],
422
+ ) -> Iterable[Candidate]:
423
+ # Collect basic lookup information from the requirements.
424
+ explicit_candidates: set[Candidate] = set()
425
+ ireqs: list[InstallRequirement] = []
426
+ for req in requirements[identifier]:
427
+ cand, ireq = req.get_candidate_lookup()
428
+ if cand is not None:
429
+ explicit_candidates.add(cand)
430
+ if ireq is not None:
431
+ ireqs.append(ireq)
432
+
433
+ # If the current identifier contains extras, add requires and explicit
434
+ # candidates from entries from extra-less identifier.
435
+ with contextlib.suppress(InvalidRequirement):
436
+ parsed_requirement = get_requirement(identifier)
437
+ if parsed_requirement.name != identifier:
438
+ explicit_candidates.update(
439
+ self._iter_explicit_candidates_from_base(
440
+ requirements.get(parsed_requirement.name, ()),
441
+ frozenset(parsed_requirement.extras),
442
+ ),
443
+ )
444
+ for req in requirements.get(parsed_requirement.name, []):
445
+ _, ireq = req.get_candidate_lookup()
446
+ if ireq is not None:
447
+ ireqs.append(ireq)
448
+
449
+ # Add explicit candidates from constraints. We only do this if there are
450
+ # known ireqs, which represent requirements not already explicit. If
451
+ # there are no ireqs, we're constraining already-explicit requirements,
452
+ # which is handled later when we return the explicit candidates.
453
+ if ireqs:
454
+ try:
455
+ explicit_candidates.update(
456
+ self._iter_candidates_from_constraints(
457
+ identifier,
458
+ constraint,
459
+ template=ireqs[0],
460
+ ),
461
+ )
462
+ except UnsupportedWheel:
463
+ # If we're constrained to install a wheel incompatible with the
464
+ # target architecture, no candidates will ever be valid.
465
+ return ()
466
+
467
+ # Since we cache all the candidates, incompatibility identification
468
+ # can be made quicker by comparing only the id() values.
469
+ incompat_ids = {id(c) for c in incompatibilities.get(identifier, ())}
470
+
471
+ # If none of the requirements want an explicit candidate, we can ask
472
+ # the finder for candidates.
473
+ if not explicit_candidates:
474
+ return self._iter_found_candidates(
475
+ ireqs,
476
+ constraint.specifier,
477
+ constraint.hashes,
478
+ prefers_installed,
479
+ incompat_ids,
480
+ constraint.hash_options,
481
+ )
482
+
483
+ return (
484
+ c
485
+ for c in explicit_candidates
486
+ if id(c) not in incompat_ids
487
+ and constraint.is_satisfied_by(c)
488
+ and all(is_satisfied_by(req, c) for req in requirements[identifier])
489
+ )
490
+
491
+ def _make_requirements_from_install_req(
492
+ self, ireq: InstallRequirement, requested_extras: Iterable[str]
493
+ ) -> Iterator[Requirement]:
494
+ """
495
+ Returns requirement objects associated with the given InstallRequirement. In
496
+ most cases this will be a single object but the following special cases exist:
497
+ - the InstallRequirement has markers that do not apply -> result is empty
498
+ - the InstallRequirement has both a constraint (or link) and extras
499
+ -> result is split in two requirement objects: one with the constraint
500
+ (or link) and one with the extra. This allows centralized constraint
501
+ handling for the base, resulting in fewer candidate rejections.
502
+ """
503
+ if not ireq.match_markers(requested_extras):
504
+ logger.info(
505
+ "Ignoring %s: markers '%s' don't match your environment",
506
+ ireq.name,
507
+ ireq.markers,
508
+ )
509
+ elif not ireq.link:
510
+ if ireq.extras and ireq.req is not None and ireq.req.specifier:
511
+ yield SpecifierWithoutExtrasRequirement(ireq)
512
+ yield SpecifierRequirement(ireq)
513
+ else:
514
+ self._fail_if_link_is_unsupported_wheel(ireq.link)
515
+ # Always make the link candidate for the base requirement to make it
516
+ # available to `find_candidates` for explicit candidate lookup for any
517
+ # set of extras.
518
+ # The extras are required separately via a second requirement.
519
+ cand = self._make_base_candidate_from_link(
520
+ ireq.link,
521
+ template=install_req_drop_extras(ireq) if ireq.extras else ireq,
522
+ name=canonicalize_name(ireq.name) if ireq.name else None,
523
+ version=None,
524
+ )
525
+ if cand is None:
526
+ # There's no way we can satisfy a URL requirement if the underlying
527
+ # candidate fails to build. An unnamed URL must be user-supplied, so
528
+ # we fail eagerly. If the URL is named, an unsatisfiable requirement
529
+ # can make the resolver do the right thing, either backtrack (and
530
+ # maybe find some other requirement that's buildable) or raise a
531
+ # ResolutionImpossible eventually.
532
+ if not ireq.name:
533
+ raise self._build_failures[ireq.link]
534
+ yield UnsatisfiableRequirement(canonicalize_name(ireq.name))
535
+ else:
536
+ # require the base from the link
537
+ yield self.make_requirement_from_candidate(cand)
538
+ if ireq.extras:
539
+ # require the extras on top of the base candidate
540
+ yield self.make_requirement_from_candidate(
541
+ self._make_extras_candidate(cand, frozenset(ireq.extras))
542
+ )
543
+
544
+ def collect_root_requirements(
545
+ self, root_ireqs: list[InstallRequirement]
546
+ ) -> CollectedRootRequirements:
547
+ collected = CollectedRootRequirements([], {}, {})
548
+ for i, ireq in enumerate(root_ireqs):
549
+ if ireq.constraint:
550
+ # Ensure we only accept valid constraints
551
+ problem = check_invalid_constraint_type(ireq)
552
+ if problem:
553
+ raise InstallationError(problem)
554
+ if not ireq.match_markers():
555
+ continue
556
+ assert ireq.name, "Constraint must be named"
557
+ name = canonicalize_name(ireq.name)
558
+ if name in collected.constraints:
559
+ collected.constraints[name] &= ireq
560
+ else:
561
+ collected.constraints[name] = Constraint.from_ireq(ireq)
562
+ else:
563
+ reqs = list(
564
+ self._make_requirements_from_install_req(
565
+ ireq,
566
+ requested_extras=(),
567
+ )
568
+ )
569
+ if not reqs:
570
+ continue
571
+ template = reqs[0]
572
+ if ireq.user_supplied and template.name not in collected.user_requested:
573
+ collected.user_requested[template.name] = i
574
+ collected.requirements.extend(reqs)
575
+ # Put requirements with extras at the end of the root requires. This does not
576
+ # affect resolvelib's picking preference but it does affect its initial criteria
577
+ # population: by putting extras at the end we enable the candidate finder to
578
+ # present resolvelib with a smaller set of candidates to resolvelib, already
579
+ # taking into account any non-transient constraints on the associated base. This
580
+ # means resolvelib will have fewer candidates to visit and reject.
581
+ # Python's list sort is stable, meaning relative order is kept for objects with
582
+ # the same key.
583
+ collected.requirements.sort(key=lambda r: r.name != r.project_name)
584
+ return collected
585
+
586
+ def make_requirement_from_candidate(
587
+ self, candidate: Candidate
588
+ ) -> ExplicitRequirement:
589
+ return ExplicitRequirement(candidate)
590
+
591
+ def make_requirements_from_spec(
592
+ self,
593
+ specifier: str,
594
+ comes_from: InstallRequirement | None,
595
+ requested_extras: Iterable[str] = (),
596
+ ) -> Iterator[Requirement]:
597
+ """
598
+ Returns requirement objects associated with the given specifier. In most cases
599
+ this will be a single object but the following special cases exist:
600
+ - the specifier has markers that do not apply -> result is empty
601
+ - the specifier has both a constraint and extras -> result is split
602
+ in two requirement objects: one with the constraint and one with the
603
+ extra. This allows centralized constraint handling for the base,
604
+ resulting in fewer candidate rejections.
605
+ """
606
+ ireq = self._make_install_req_from_spec(specifier, comes_from)
607
+ return self._make_requirements_from_install_req(ireq, requested_extras)
608
+
609
+ def make_requires_python_requirement(
610
+ self,
611
+ specifier: SpecifierSet,
612
+ ) -> Requirement | None:
613
+ if self._ignore_requires_python:
614
+ return None
615
+ # Don't bother creating a dependency for an empty Requires-Python.
616
+ if not str(specifier):
617
+ return None
618
+ return RequiresPythonRequirement(specifier, self._python_candidate)
619
+
620
+ def get_wheel_cache_entry(self, link: Link, name: str | None) -> CacheEntry | None:
621
+ """Look up the link in the wheel cache.
622
+
623
+ If ``preparer.require_hashes`` is True, don't use the wheel cache,
624
+ because cached wheels, always built locally, have different hashes
625
+ than the files downloaded from the index server and thus throw false
626
+ hash mismatches. Furthermore, cached wheels at present have
627
+ nondeterministic contents due to file modification times.
628
+ """
629
+ if self._wheel_cache is None:
630
+ return None
631
+ return self._wheel_cache.get_cache_entry(
632
+ link=link,
633
+ package_name=name,
634
+ supported_tags=self._supported_tags_cache,
635
+ )
636
+
637
+ def get_dist_to_uninstall(self, candidate: Candidate) -> BaseDistribution | None:
638
+ # TODO: Are there more cases this needs to return True? Editable?
639
+ dist = self._installed_dists.get(candidate.project_name)
640
+ if dist is None: # Not installed, no uninstallation required.
641
+ return None
642
+
643
+ # We're installing into global site. The current installation must
644
+ # be uninstalled, no matter it's in global or user site, because the
645
+ # user site installation has precedence over global.
646
+ if not self._use_user_site:
647
+ return dist
648
+
649
+ # We're installing into user site. Remove the user site installation.
650
+ if dist.in_usersite:
651
+ return dist
652
+
653
+ # We're installing into user site, but the installed incompatible
654
+ # package is in global site. We can't uninstall that, and would let
655
+ # the new user installation to "shadow" it. But shadowing won't work
656
+ # in virtual environments, so we error out.
657
+ if running_under_virtualenv() and dist.in_site_packages:
658
+ message = (
659
+ f"Will not install to the user site because it will lack "
660
+ f"sys.path precedence to {dist.raw_name} in {dist.location}"
661
+ )
662
+ raise InstallationError(message)
663
+ return None
664
+
665
+ def _report_requires_python_error(
666
+ self, causes: Sequence[ConflictCause]
667
+ ) -> UnsupportedPythonVersion:
668
+ assert causes, "Requires-Python error reported with no cause"
669
+
670
+ version = self._python_candidate.version
671
+
672
+ if len(causes) == 1:
673
+ specifier = str(causes[0].requirement.specifier)
674
+ message = (
675
+ f"Package {causes[0].parent.name!r} requires a different "
676
+ f"Python: {version} not in {specifier!r}"
677
+ )
678
+ return UnsupportedPythonVersion(message)
679
+
680
+ message = f"Packages require a different Python. {version} not in:"
681
+ for cause in causes:
682
+ package = cause.parent.format_for_error()
683
+ specifier = str(cause.requirement.specifier)
684
+ message += f"\n{specifier!r} (required by {package})"
685
+ return UnsupportedPythonVersion(message)
686
+
687
+ def _report_single_requirement_conflict(
688
+ self, req: Requirement, parent: Candidate | None
689
+ ) -> DistributionNotFound:
690
+ if parent is None:
691
+ req_disp = str(req)
692
+ else:
693
+ req_disp = f"{req} (from {parent.name})"
694
+
695
+ cands = self._finder.find_all_candidates(req.project_name)
696
+ skipped_by_requires_python = self._finder.requires_python_skipped_reasons()
697
+
698
+ versions_set: set[Version] = set()
699
+ yanked_versions_set: set[Version] = set()
700
+ for c in cands:
701
+ is_yanked = c.link.is_yanked if c.link else False
702
+ if is_yanked:
703
+ yanked_versions_set.add(c.version)
704
+ else:
705
+ versions_set.add(c.version)
706
+
707
+ versions = [str(v) for v in sorted(versions_set)]
708
+ yanked_versions = [str(v) for v in sorted(yanked_versions_set)]
709
+
710
+ if yanked_versions:
711
+ # Saying "version X is yanked" isn't entirely accurate.
712
+ # https://github.com/pypa/pip/issues/11745#issuecomment-1402805842
713
+ logger.critical(
714
+ "Ignored the following yanked versions: %s",
715
+ ", ".join(yanked_versions) or "none",
716
+ )
717
+ if skipped_by_requires_python:
718
+ logger.critical(
719
+ "Ignored the following versions that require a different python "
720
+ "version: %s",
721
+ "; ".join(skipped_by_requires_python) or "none",
722
+ )
723
+
724
+ # Check if only final releases are allowed for this package
725
+ version_type = "version"
726
+ allows_pre = None
727
+ if self._finder.release_control is not None:
728
+ allows_pre = self._finder.release_control.allows_prereleases(
729
+ canonicalize_name(req.project_name)
730
+ )
731
+ if allows_pre is False:
732
+ version_type = "final version"
733
+
734
+ if len(cands) == 1 and cands[0].locked:
735
+ # The package finder ensures that requirements from pylock files
736
+ # have exactly one candidate. So we can provide a specific error
737
+ # message in this case.
738
+ if cands[0].version.is_prerelease and allows_pre is False:
739
+ logger.critical(
740
+ "A pre-release version %s is specified in a provided lock file "
741
+ "for %s but only final versions are allowed",
742
+ cands[0].version,
743
+ cands[0].name,
744
+ )
745
+ else:
746
+ logger.critical(
747
+ "The requirement %s is not compatible with "
748
+ "version %s specified in a provided lock file",
749
+ req_disp,
750
+ ", ".join(versions),
751
+ )
752
+ else:
753
+ logger.critical(
754
+ "Could not find a %s that satisfies the requirement %s "
755
+ "(from versions: %s)",
756
+ version_type,
757
+ req_disp,
758
+ ", ".join(versions) or "none",
759
+ )
760
+ if str(req) == "requirements.txt":
761
+ logger.info(
762
+ "HINT: You are attempting to install a package literally "
763
+ 'named "requirements.txt" (which cannot exist). Consider '
764
+ "using the '-r' flag to install the packages listed in "
765
+ "requirements.txt"
766
+ )
767
+
768
+ return DistributionNotFound(f"No matching distribution found for {req}")
769
+
770
+ def _has_any_candidates(self, project_name: str) -> bool:
771
+ """
772
+ Check if there are any candidates available for the project name.
773
+ """
774
+ return any(
775
+ self.find_candidates(
776
+ project_name,
777
+ requirements={project_name: []},
778
+ incompatibilities={},
779
+ constraint=Constraint.empty(),
780
+ prefers_installed=True,
781
+ is_satisfied_by=lambda r, c: True,
782
+ )
783
+ )
784
+
785
+ def get_installation_error(
786
+ self,
787
+ e: ResolutionImpossible[Requirement, Candidate],
788
+ constraints: dict[str, Constraint],
789
+ ) -> InstallationError:
790
+ assert e.causes, "Installation error reported with no cause"
791
+
792
+ # If one of the things we can't solve is "we need Python X.Y",
793
+ # that is what we report.
794
+ requires_python_causes = [
795
+ cause
796
+ for cause in e.causes
797
+ if isinstance(cause.requirement, RequiresPythonRequirement)
798
+ and not cause.requirement.is_satisfied_by(self._python_candidate)
799
+ ]
800
+ if requires_python_causes:
801
+ # The comprehension above makes sure all Requirement instances are
802
+ # RequiresPythonRequirement, so let's cast for convenience.
803
+ return self._report_requires_python_error(
804
+ cast("Sequence[ConflictCause]", requires_python_causes),
805
+ )
806
+
807
+ # Otherwise, we have a set of causes which can't all be satisfied
808
+ # at once.
809
+
810
+ # The simplest case is when we have *one* cause that can't be
811
+ # satisfied. We just report that case.
812
+ if len(e.causes) == 1:
813
+ req, parent = next(iter(e.causes))
814
+ if req.name not in constraints:
815
+ return self._report_single_requirement_conflict(req, parent)
816
+
817
+ # OK, we now have a list of requirements that can't all be
818
+ # satisfied at once.
819
+
820
+ # A couple of formatting helpers
821
+ def text_join(parts: list[str]) -> str:
822
+ if len(parts) == 1:
823
+ return parts[0]
824
+
825
+ return ", ".join(parts[:-1]) + " and " + parts[-1]
826
+
827
+ def describe_trigger(parent: Candidate) -> str:
828
+ ireq = parent.get_install_requirement()
829
+ if not ireq or not ireq.comes_from:
830
+ return f"{parent.name}=={parent.version}"
831
+ if isinstance(ireq.comes_from, InstallRequirement):
832
+ return str(ireq.comes_from.name)
833
+ return str(ireq.comes_from)
834
+
835
+ triggers = set()
836
+ for req, parent in e.causes:
837
+ if parent is None:
838
+ # This is a root requirement, so we can report it directly
839
+ trigger = req.format_for_error()
840
+ else:
841
+ trigger = describe_trigger(parent)
842
+ triggers.add(trigger)
843
+
844
+ if triggers:
845
+ info = text_join(sorted(triggers))
846
+ else:
847
+ info = "the requested packages"
848
+
849
+ msg = (
850
+ f"Cannot install {info} because these package versions "
851
+ "have conflicting dependencies."
852
+ )
853
+ logger.critical(msg)
854
+ msg = "\nThe conflict is caused by:"
855
+
856
+ relevant_constraints = set()
857
+ for req, parent in e.causes:
858
+ if req.name in constraints:
859
+ relevant_constraints.add(req.name)
860
+ msg = msg + "\n "
861
+ if parent:
862
+ msg = msg + f"{parent.name} {parent.version} depends on "
863
+ else:
864
+ msg = msg + "The user requested "
865
+ msg = msg + req.format_for_error()
866
+ for key in relevant_constraints:
867
+ constraint_text = f"{key}{constraints[key].format_for_error()}"
868
+ msg += f"\n The user requested (constraint) {constraint_text}"
869
+
870
+ # Check for causes that had no candidates
871
+ causes = set()
872
+ for req, _ in e.causes:
873
+ causes.add(req.name)
874
+
875
+ no_candidates = {c for c in causes if not self._has_any_candidates(c)}
876
+ if no_candidates:
877
+ msg = (
878
+ msg
879
+ + "\n\n"
880
+ + "Additionally, some packages in these conflicts have no "
881
+ + "matching distributions available for your environment:"
882
+ + "\n "
883
+ + "\n ".join(sorted(no_candidates))
884
+ )
885
+
886
+ msg = (
887
+ msg
888
+ + "\n\n"
889
+ + "To fix this you could try to:\n"
890
+ + "1. loosen the range of package versions you've specified\n"
891
+ + "2. remove package versions to allow pip to attempt to solve "
892
+ + "the dependency conflict\n"
893
+ )
894
+
895
+ logger.info(msg)
896
+
897
+ return DistributionNotFound(
898
+ "ResolutionImpossible: for help visit "
899
+ "https://pip.pypa.io/en/latest/topics/dependency-resolution/"
900
+ "#dealing-with-dependency-conflicts"
901
+ )
venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Utilities to lazily create and visit candidates found.
2
+
3
+ Creating and visiting a candidate is a *very* costly operation. It involves
4
+ fetching, extracting, potentially building modules from source, and verifying
5
+ distribution metadata. It is therefore crucial for performance to keep
6
+ everything here lazy all the way down, so we only touch candidates that we
7
+ absolutely need, and not "download the world" when we only need one version of
8
+ something.
9
+ """
10
+
11
+ from __future__ import annotations
12
+
13
+ import logging
14
+ from collections.abc import Callable, Iterator, Sequence
15
+ from typing import Any
16
+
17
+ from pip._vendor.packaging.version import _BaseVersion
18
+
19
+ from pip._internal.exceptions import MetadataInvalid
20
+
21
+ from .base import Candidate
22
+
23
+ logger = logging.getLogger(__name__)
24
+
25
+ IndexCandidateInfo = tuple[_BaseVersion, Callable[[], Candidate | None]]
26
+
27
+
28
+ def _iter_built(infos: Iterator[IndexCandidateInfo]) -> Iterator[Candidate]:
29
+ """Iterator for ``FoundCandidates``.
30
+
31
+ This iterator is used when the package is not already installed. Candidates
32
+ from index come later in their normal ordering.
33
+ """
34
+ versions_found: set[_BaseVersion] = set()
35
+ for version, func in infos:
36
+ if version in versions_found:
37
+ continue
38
+ try:
39
+ candidate = func()
40
+ except MetadataInvalid as e:
41
+ logger.warning(
42
+ "Ignoring version %s of %s since it has invalid metadata:\n"
43
+ "%s\n"
44
+ "Please use pip<24.1 if you need to use this version.",
45
+ version,
46
+ e.ireq.name,
47
+ e,
48
+ )
49
+ # Mark version as found to avoid trying other candidates with the same
50
+ # version, since they most likely have invalid metadata as well.
51
+ versions_found.add(version)
52
+ else:
53
+ if candidate is None:
54
+ continue
55
+ yield candidate
56
+ versions_found.add(version)
57
+
58
+
59
+ def _iter_built_with_prepended(
60
+ installed: Candidate, infos: Iterator[IndexCandidateInfo]
61
+ ) -> Iterator[Candidate]:
62
+ """Iterator for ``FoundCandidates``.
63
+
64
+ This iterator is used when the resolver prefers the already-installed
65
+ candidate and NOT to upgrade. The installed candidate is therefore
66
+ always yielded first, and candidates from index come later in their
67
+ normal ordering, except skipped when the version is already installed.
68
+ """
69
+ yield installed
70
+ versions_found: set[_BaseVersion] = {installed.version}
71
+ for version, func in infos:
72
+ if version in versions_found:
73
+ continue
74
+ candidate = func()
75
+ if candidate is None:
76
+ continue
77
+ yield candidate
78
+ versions_found.add(version)
79
+
80
+
81
+ def _iter_built_with_inserted(
82
+ installed: Candidate, infos: Iterator[IndexCandidateInfo]
83
+ ) -> Iterator[Candidate]:
84
+ """Iterator for ``FoundCandidates``.
85
+
86
+ This iterator is used when the resolver prefers to upgrade an
87
+ already-installed package. Candidates from index are returned in their
88
+ normal ordering, except replaced when the version is already installed.
89
+
90
+ The implementation iterates through and yields other candidates, inserting
91
+ the installed candidate exactly once before we start yielding older or
92
+ equivalent candidates, or after all other candidates if they are all newer.
93
+ """
94
+ versions_found: set[_BaseVersion] = set()
95
+ for version, func in infos:
96
+ if version in versions_found:
97
+ continue
98
+ # If the installed candidate is better, yield it first.
99
+ if installed.version >= version:
100
+ yield installed
101
+ versions_found.add(installed.version)
102
+ candidate = func()
103
+ if candidate is None:
104
+ continue
105
+ yield candidate
106
+ versions_found.add(version)
107
+
108
+ # If the installed candidate is older than all other candidates.
109
+ if installed.version not in versions_found:
110
+ yield installed
111
+
112
+
113
+ class FoundCandidates(Sequence[Candidate]):
114
+ """A lazy sequence to provide candidates to the resolver.
115
+
116
+ The intended usage is to return this from `find_matches()` so the resolver
117
+ can iterate through the sequence multiple times, but only access the index
118
+ page when remote packages are actually needed. This improve performances
119
+ when suitable candidates are already installed on disk.
120
+ """
121
+
122
+ def __init__(
123
+ self,
124
+ get_infos: Callable[[], Iterator[IndexCandidateInfo]],
125
+ installed: Candidate | None,
126
+ prefers_installed: bool,
127
+ incompatible_ids: set[int],
128
+ ):
129
+ self._get_infos = get_infos
130
+ self._installed = installed
131
+ self._prefers_installed = prefers_installed
132
+ self._incompatible_ids = incompatible_ids
133
+ self._bool: bool | None = None
134
+
135
+ def __getitem__(self, index: Any) -> Any:
136
+ # Implemented to satisfy the ABC check. This is not needed by the
137
+ # resolver, and should not be used by the provider either (for
138
+ # performance reasons).
139
+ raise NotImplementedError("don't do this")
140
+
141
+ def __iter__(self) -> Iterator[Candidate]:
142
+ infos = self._get_infos()
143
+ if not self._installed:
144
+ iterator = _iter_built(infos)
145
+ elif self._prefers_installed:
146
+ iterator = _iter_built_with_prepended(self._installed, infos)
147
+ else:
148
+ iterator = _iter_built_with_inserted(self._installed, infos)
149
+ return (c for c in iterator if id(c) not in self._incompatible_ids)
150
+
151
+ def __len__(self) -> int:
152
+ # Implemented to satisfy the ABC check. This is not needed by the
153
+ # resolver, and should not be used by the provider either (for
154
+ # performance reasons).
155
+ raise NotImplementedError("don't do this")
156
+
157
+ def __bool__(self) -> bool:
158
+ if self._bool is not None:
159
+ return self._bool
160
+
161
+ if self._prefers_installed and self._installed:
162
+ self._bool = True
163
+ return True
164
+
165
+ self._bool = any(self)
166
+ return self._bool
venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/provider.py ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import math
4
+ from collections import defaultdict
5
+ from collections.abc import Iterable, Iterator, Mapping, Sequence
6
+ from functools import cache
7
+ from typing import (
8
+ TYPE_CHECKING,
9
+ TypeVar,
10
+ )
11
+
12
+ from pip._vendor.resolvelib.providers import AbstractProvider
13
+
14
+ from pip._internal.req.req_install import InstallRequirement
15
+
16
+ from .base import Candidate, Constraint, Requirement
17
+ from .candidates import REQUIRES_PYTHON_IDENTIFIER
18
+ from .factory import Factory
19
+ from .requirements import ExplicitRequirement
20
+
21
+ if TYPE_CHECKING:
22
+ from pip._vendor.resolvelib.providers import Preference
23
+ from pip._vendor.resolvelib.resolvers import RequirementInformation
24
+
25
+ PreferenceInformation = RequirementInformation[Requirement, Candidate]
26
+
27
+ _ProviderBase = AbstractProvider[Requirement, Candidate, str]
28
+ else:
29
+ _ProviderBase = AbstractProvider
30
+
31
+ _CONFLICT_PRIORITY_THRESHOLD = 5
32
+
33
+ # Notes on the relationship between the provider, the factory, and the
34
+ # candidate and requirement classes.
35
+ #
36
+ # The provider is a direct implementation of the resolvelib class. Its role
37
+ # is to deliver the API that resolvelib expects.
38
+ #
39
+ # Rather than work with completely abstract "requirement" and "candidate"
40
+ # concepts as resolvelib does, pip has concrete classes implementing these two
41
+ # ideas. The API of Requirement and Candidate objects are defined in the base
42
+ # classes, but essentially map fairly directly to the equivalent provider
43
+ # methods. In particular, `find_matches` and `is_satisfied_by` are
44
+ # requirement methods, and `get_dependencies` is a candidate method.
45
+ #
46
+ # The factory is the interface to pip's internal mechanisms. It is stateless,
47
+ # and is created by the resolver and held as a property of the provider. It is
48
+ # responsible for creating Requirement and Candidate objects, and provides
49
+ # services to those objects (access to pip's finder and preparer).
50
+
51
+
52
+ D = TypeVar("D")
53
+ V = TypeVar("V")
54
+
55
+
56
+ def _get_with_identifier(
57
+ mapping: Mapping[str, V],
58
+ identifier: str,
59
+ default: D,
60
+ ) -> D | V:
61
+ """Get item from a package name lookup mapping with a resolver identifier.
62
+
63
+ This extra logic is needed when the target mapping is keyed by package
64
+ name, which cannot be directly looked up with an identifier (which may
65
+ contain requested extras). Additional logic is added to also look up a value
66
+ by "cleaning up" the extras from the identifier.
67
+ """
68
+ if identifier in mapping:
69
+ return mapping[identifier]
70
+ # HACK: Theoretically we should check whether this identifier is a valid
71
+ # "NAME[EXTRAS]" format, and parse out the name part with packaging or
72
+ # some regular expression. But since pip's resolver only spits out three
73
+ # kinds of identifiers: normalized PEP 503 names, normalized names plus
74
+ # extras, and Requires-Python, we can cheat a bit here.
75
+ name, open_bracket, _ = identifier.partition("[")
76
+ if open_bracket and name in mapping:
77
+ return mapping[name]
78
+ return default
79
+
80
+
81
+ class PipProvider(_ProviderBase):
82
+ """Pip's provider implementation for resolvelib.
83
+
84
+ :params constraints: A mapping of constraints specified by the user. Keys
85
+ are canonicalized project names.
86
+ :params ignore_dependencies: Whether the user specified ``--no-deps``.
87
+ :params only_dependencies: Whether the user specified ``--only-deps``.
88
+ :params upgrade_strategy: The user-specified upgrade strategy.
89
+ :params user_requested: A set of canonicalized package names that the user
90
+ supplied for pip to install/upgrade.
91
+ """
92
+
93
+ def __init__(
94
+ self,
95
+ factory: Factory,
96
+ constraints: dict[str, Constraint],
97
+ ignore_dependencies: bool,
98
+ only_dependencies: bool,
99
+ upgrade_strategy: str,
100
+ user_requested: dict[str, int],
101
+ ) -> None:
102
+ self._factory = factory
103
+ self._constraints = constraints
104
+ self._ignore_dependencies = ignore_dependencies
105
+ self._only_dependencies = only_dependencies
106
+ self._upgrade_strategy = upgrade_strategy
107
+ self._user_requested = user_requested
108
+ self._conflict_counts: defaultdict[str, int] = defaultdict(int)
109
+ self._conflict_promoted: set[str] = set()
110
+
111
+ @property
112
+ def constraints(self) -> dict[str, Constraint]:
113
+ """Public view of user-specified constraints.
114
+
115
+ Exposes the provider's constraints mapping without encouraging
116
+ external callers to reach into private attributes.
117
+ """
118
+ return self._constraints
119
+
120
+ def identify(self, requirement_or_candidate: Requirement | Candidate) -> str:
121
+ return requirement_or_candidate.name
122
+
123
+ def narrow_requirement_selection(
124
+ self,
125
+ identifiers: Iterable[str],
126
+ resolutions: Mapping[str, Candidate],
127
+ candidates: Mapping[str, Iterator[Candidate]],
128
+ information: Mapping[str, Iterator[PreferenceInformation]],
129
+ backtrack_causes: Sequence[PreferenceInformation],
130
+ ) -> Iterable[str]:
131
+ """Produce a subset of identifiers that should be considered before others.
132
+
133
+ Currently pip narrows the following selection:
134
+ * Requires-Python, if present is always returned by itself
135
+ * Backtrack causes are considered next because they can be identified
136
+ in linear time here, whereas because get_preference() is called
137
+ for each identifier, it would be quadratic to check for them there.
138
+ Further, the current backtrack causes likely need to be resolved
139
+ before other requirements as a resolution can't be found while
140
+ there is a conflict.
141
+ * Identifiers that repeatedly appear as not-yet-pinned in conflicts
142
+ get promoted so they are resolved earlier. This lets their
143
+ constraints take effect before other packages pick a version.
144
+ """
145
+ backtrack_identifiers = set()
146
+ for info in backtrack_causes:
147
+ names = [info.requirement.name]
148
+ if info.parent is not None:
149
+ names.append(info.parent.name)
150
+ for name in names:
151
+ backtrack_identifiers.add(name)
152
+ if name not in resolutions:
153
+ self._conflict_counts[name] += 1
154
+ if self._conflict_counts[name] >= _CONFLICT_PRIORITY_THRESHOLD:
155
+ self._conflict_promoted.add(name)
156
+
157
+ current_backtrack_causes = []
158
+ promoted = []
159
+ for identifier in identifiers:
160
+ if identifier == REQUIRES_PYTHON_IDENTIFIER:
161
+ return [identifier]
162
+
163
+ if identifier in backtrack_identifiers:
164
+ current_backtrack_causes.append(identifier)
165
+ continue
166
+
167
+ if identifier in self._conflict_promoted:
168
+ promoted.append(identifier)
169
+ continue
170
+
171
+ if current_backtrack_causes:
172
+ return current_backtrack_causes
173
+
174
+ if promoted:
175
+ return promoted
176
+
177
+ return identifiers
178
+
179
+ def get_preference(
180
+ self,
181
+ identifier: str,
182
+ resolutions: Mapping[str, Candidate],
183
+ candidates: Mapping[str, Iterator[Candidate]],
184
+ information: Mapping[str, Iterable[PreferenceInformation]],
185
+ backtrack_causes: Sequence[PreferenceInformation],
186
+ ) -> Preference:
187
+ """Produce a sort key for given requirement based on preference.
188
+
189
+ The lower the return value is, the more preferred this group of
190
+ arguments is.
191
+
192
+ Currently pip considers the following in order:
193
+
194
+ * Any requirement that is "direct", e.g., points to an explicit URL.
195
+ * Any requirement that is "pinned", i.e., contains the operator ``===``
196
+ or ``==`` without a wildcard.
197
+ * Any requirement that imposes an upper version limit, i.e., contains the
198
+ operator ``<``, ``<=``, ``~=``, or ``==`` with a wildcard. Because
199
+ pip prioritizes the latest version, preferring explicit upper bounds
200
+ can rule out infeasible candidates sooner. This does not imply that
201
+ upper bounds are good practice; they can make dependency management
202
+ and resolution harder.
203
+ * Order user-specified requirements as they are specified, placing
204
+ other requirements afterward.
205
+ * Any "non-free" requirement, i.e., one that contains at least one
206
+ operator, such as ``>=`` or ``!=``.
207
+ * Alphabetical order for consistency (aids debuggability).
208
+ """
209
+ try:
210
+ next(iter(information[identifier]))
211
+ except StopIteration:
212
+ # There is no information for this identifier, so there's no known
213
+ # candidates.
214
+ has_information = False
215
+ else:
216
+ has_information = True
217
+
218
+ if not has_information:
219
+ direct = False
220
+ ireqs: tuple[InstallRequirement | None, ...] = ()
221
+ else:
222
+ # Go through the information and for each requirement,
223
+ # check if it's explicit (e.g., a direct link) and get the
224
+ # InstallRequirement (the second element) from get_candidate_lookup()
225
+ directs, ireqs = zip(
226
+ *(
227
+ (isinstance(r, ExplicitRequirement), r.get_candidate_lookup()[1])
228
+ for r, _ in information[identifier]
229
+ )
230
+ )
231
+ direct = any(directs)
232
+
233
+ operators: list[tuple[str, str]] = [
234
+ (specifier.operator, specifier.version)
235
+ for specifier_set in (ireq.specifier for ireq in ireqs if ireq)
236
+ for specifier in specifier_set
237
+ ]
238
+
239
+ pinned = any(((op[:2] == "==") and ("*" not in ver)) for op, ver in operators)
240
+ upper_bounded = any(
241
+ ((op in ("<", "<=", "~=")) or (op == "==" and "*" in ver))
242
+ for op, ver in operators
243
+ )
244
+ unfree = bool(operators)
245
+ requested_order = self._user_requested.get(identifier, math.inf)
246
+
247
+ conflict_promoted = identifier in self._conflict_promoted
248
+
249
+ return (
250
+ not conflict_promoted,
251
+ not direct,
252
+ not pinned,
253
+ not upper_bounded,
254
+ requested_order,
255
+ not unfree,
256
+ identifier,
257
+ )
258
+
259
+ def find_matches(
260
+ self,
261
+ identifier: str,
262
+ requirements: Mapping[str, Iterator[Requirement]],
263
+ incompatibilities: Mapping[str, Iterator[Candidate]],
264
+ ) -> Iterable[Candidate]:
265
+ def _eligible_for_upgrade(identifier: str) -> bool:
266
+ """Are upgrades allowed for this project?
267
+
268
+ This checks the upgrade strategy, and whether the project was one
269
+ that the user specified in the command line, in order to decide
270
+ whether we should upgrade if there's a newer version available.
271
+
272
+ (Note that we don't need access to the `--upgrade` flag, because
273
+ an upgrade strategy of "to-satisfy-only" means that `--upgrade`
274
+ was not specified).
275
+ """
276
+ if self._upgrade_strategy == "eager":
277
+ return True
278
+ elif self._upgrade_strategy == "only-if-needed":
279
+ user_order = _get_with_identifier(
280
+ self._user_requested,
281
+ identifier,
282
+ default=None,
283
+ )
284
+ return user_order is not None
285
+ return False
286
+
287
+ constraint = _get_with_identifier(
288
+ self._constraints,
289
+ identifier,
290
+ default=Constraint.empty(),
291
+ )
292
+ return self._factory.find_candidates(
293
+ identifier=identifier,
294
+ requirements=requirements,
295
+ constraint=constraint,
296
+ prefers_installed=(not _eligible_for_upgrade(identifier)),
297
+ incompatibilities=incompatibilities,
298
+ is_satisfied_by=self.is_satisfied_by,
299
+ )
300
+
301
+ @staticmethod
302
+ @cache
303
+ def is_satisfied_by(requirement: Requirement, candidate: Candidate) -> bool:
304
+ return requirement.is_satisfied_by(candidate)
305
+
306
+ def get_dependencies(self, candidate: Candidate) -> Iterable[Requirement]:
307
+ with_requires = not self._ignore_dependencies
308
+ # iter_dependencies() can perform nontrivial work so delay until needed.
309
+ return (r for r in candidate.iter_dependencies(with_requires) if r is not None)
venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/reporter.py ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from collections import defaultdict
4
+ from collections.abc import Mapping
5
+ from logging import getLogger
6
+ from typing import Any
7
+
8
+ from pip._vendor.resolvelib.reporters import BaseReporter
9
+
10
+ from .base import Candidate, Constraint, Requirement
11
+
12
+ logger = getLogger(__name__)
13
+
14
+
15
+ class PipReporter(BaseReporter[Requirement, Candidate, str]):
16
+ def __init__(self, constraints: Mapping[str, Constraint] | None = None) -> None:
17
+ self.reject_count_by_package: defaultdict[str, int] = defaultdict(int)
18
+ self._constraints = constraints or {}
19
+
20
+ self._messages_at_reject_count = {
21
+ 1: (
22
+ "pip is looking at multiple versions of {package_name} to "
23
+ "determine which version is compatible with other "
24
+ "requirements. This could take a while."
25
+ ),
26
+ 8: (
27
+ "pip is still looking at multiple versions of {package_name} to "
28
+ "determine which version is compatible with other "
29
+ "requirements. This could take a while."
30
+ ),
31
+ 13: (
32
+ "This is taking longer than usual. You might need to provide "
33
+ "the dependency resolver with stricter constraints to reduce "
34
+ "runtime. See https://pip.pypa.io/warnings/backtracking for "
35
+ "guidance. If you want to abort this run, press Ctrl + C."
36
+ ),
37
+ }
38
+
39
+ def rejecting_candidate(self, criterion: Any, candidate: Candidate) -> None:
40
+ """Report a candidate being rejected.
41
+
42
+ Logs both the rejection count message (if applicable) and details about
43
+ the requirements and constraints that caused the rejection.
44
+ """
45
+ self.reject_count_by_package[candidate.name] += 1
46
+
47
+ count = self.reject_count_by_package[candidate.name]
48
+ if count in self._messages_at_reject_count:
49
+ message = self._messages_at_reject_count[count]
50
+ logger.info("INFO: %s", message.format(package_name=candidate.name))
51
+
52
+ msg = "Will try a different candidate, due to conflict:"
53
+ for req_info in criterion.information:
54
+ req, parent = req_info.requirement, req_info.parent
55
+ msg += "\n "
56
+ if parent:
57
+ msg += f"{parent.name} {parent.version} depends on "
58
+ else:
59
+ msg += "The user requested "
60
+ msg += req.format_for_error()
61
+
62
+ # Add any relevant constraints
63
+ if self._constraints:
64
+ name = candidate.name
65
+ constraint = self._constraints.get(name)
66
+ if constraint and constraint.specifier:
67
+ constraint_text = f"{name}{constraint.format_for_error()}"
68
+ msg += f"\n The user requested (constraint) {constraint_text}"
69
+
70
+ logger.debug(msg)
71
+
72
+
73
+ class PipDebuggingReporter(BaseReporter[Requirement, Candidate, str]):
74
+ """A reporter that does an info log for every event it sees."""
75
+
76
+ def starting(self) -> None:
77
+ logger.info("Reporter.starting()")
78
+
79
+ def starting_round(self, index: int) -> None:
80
+ logger.info("Reporter.starting_round(%r)", index)
81
+
82
+ def ending_round(self, index: int, state: Any) -> None:
83
+ logger.info("Reporter.ending_round(%r, state)", index)
84
+ logger.debug("Reporter.ending_round(%r, %r)", index, state)
85
+
86
+ def ending(self, state: Any) -> None:
87
+ logger.info("Reporter.ending(%r)", state)
88
+
89
+ def adding_requirement(
90
+ self, requirement: Requirement, parent: Candidate | None
91
+ ) -> None:
92
+ logger.info("Reporter.adding_requirement(%r, %r)", requirement, parent)
93
+
94
+ def rejecting_candidate(self, criterion: Any, candidate: Candidate) -> None:
95
+ logger.info("Reporter.rejecting_candidate(%r, %r)", criterion, candidate)
96
+
97
+ def pinning(self, candidate: Candidate) -> None:
98
+ logger.info("Reporter.pinning(%r)", candidate)
venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/requirements.py ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from typing import Any
4
+
5
+ from pip._vendor.packaging.specifiers import SpecifierSet
6
+ from pip._vendor.packaging.utils import NormalizedName, canonicalize_name
7
+
8
+ from pip._internal.req.constructors import install_req_drop_extras
9
+ from pip._internal.req.req_install import InstallRequirement
10
+
11
+ from .base import Candidate, CandidateLookup, Requirement, format_name
12
+
13
+
14
+ class ExplicitRequirement(Requirement):
15
+ def __init__(self, candidate: Candidate) -> None:
16
+ self.candidate = candidate
17
+
18
+ def __str__(self) -> str:
19
+ return str(self.candidate)
20
+
21
+ def __repr__(self) -> str:
22
+ return f"{self.__class__.__name__}({self.candidate!r})"
23
+
24
+ def __hash__(self) -> int:
25
+ return hash(self.candidate)
26
+
27
+ def __eq__(self, other: Any) -> bool:
28
+ if not isinstance(other, ExplicitRequirement):
29
+ return False
30
+ return self.candidate == other.candidate
31
+
32
+ @property
33
+ def project_name(self) -> NormalizedName:
34
+ # No need to canonicalize - the candidate did this
35
+ return self.candidate.project_name
36
+
37
+ @property
38
+ def name(self) -> str:
39
+ # No need to canonicalize - the candidate did this
40
+ return self.candidate.name
41
+
42
+ def format_for_error(self) -> str:
43
+ return self.candidate.format_for_error()
44
+
45
+ def get_candidate_lookup(self) -> CandidateLookup:
46
+ return self.candidate, None
47
+
48
+ def is_satisfied_by(self, candidate: Candidate) -> bool:
49
+ return candidate == self.candidate
50
+
51
+
52
+ class SpecifierRequirement(Requirement):
53
+ def __init__(self, ireq: InstallRequirement) -> None:
54
+ assert ireq.link is None, "This is a link, not a specifier"
55
+ self._ireq = ireq
56
+ self._equal_cache: str | None = None
57
+ self._hash: int | None = None
58
+ self._extras = frozenset(canonicalize_name(e) for e in self._ireq.extras)
59
+
60
+ @property
61
+ def _equal(self) -> str:
62
+ if self._equal_cache is not None:
63
+ return self._equal_cache
64
+
65
+ self._equal_cache = str(self._ireq)
66
+ return self._equal_cache
67
+
68
+ def __str__(self) -> str:
69
+ return str(self._ireq.req)
70
+
71
+ def __repr__(self) -> str:
72
+ return f"{self.__class__.__name__}({str(self._ireq.req)!r})"
73
+
74
+ def __eq__(self, other: object) -> bool:
75
+ if not isinstance(other, SpecifierRequirement):
76
+ return NotImplemented
77
+ return self._equal == other._equal
78
+
79
+ def __hash__(self) -> int:
80
+ if self._hash is not None:
81
+ return self._hash
82
+
83
+ self._hash = hash(self._equal)
84
+ return self._hash
85
+
86
+ @property
87
+ def project_name(self) -> NormalizedName:
88
+ assert self._ireq.req, "Specifier-backed ireq is always PEP 508"
89
+ return canonicalize_name(self._ireq.req.name)
90
+
91
+ @property
92
+ def name(self) -> str:
93
+ return format_name(self.project_name, self._extras)
94
+
95
+ def format_for_error(self) -> str:
96
+ # Convert comma-separated specifiers into "A, B, ..., F and G"
97
+ # This makes the specifier a bit more "human readable", without
98
+ # risking a change in meaning. (Hopefully! Not all edge cases have
99
+ # been checked)
100
+ parts = [s.strip() for s in str(self).split(",")]
101
+ if len(parts) == 0:
102
+ return ""
103
+ elif len(parts) == 1:
104
+ return parts[0]
105
+
106
+ return ", ".join(parts[:-1]) + " and " + parts[-1]
107
+
108
+ def get_candidate_lookup(self) -> CandidateLookup:
109
+ return None, self._ireq
110
+
111
+ def is_satisfied_by(self, candidate: Candidate) -> bool:
112
+ assert candidate.name == self.name, (
113
+ f"Internal issue: Candidate is not for this requirement "
114
+ f"{candidate.name} vs {self.name}"
115
+ )
116
+ # We can safely always allow prereleases here since PackageFinder
117
+ # already implements the prerelease logic, and would have filtered out
118
+ # prerelease candidates if the user does not expect them.
119
+ assert self._ireq.req, "Specifier-backed ireq is always PEP 508"
120
+ spec = self._ireq.req.specifier
121
+ return spec.contains(candidate.version, prereleases=True)
122
+
123
+
124
+ class SpecifierWithoutExtrasRequirement(SpecifierRequirement):
125
+ """
126
+ Requirement backed by an install requirement on a base package.
127
+ Trims extras from its install requirement if there are any.
128
+ """
129
+
130
+ def __init__(self, ireq: InstallRequirement) -> None:
131
+ assert ireq.link is None, "This is a link, not a specifier"
132
+ self._ireq = install_req_drop_extras(ireq)
133
+ self._equal_cache: str | None = None
134
+ self._hash: int | None = None
135
+ self._extras = frozenset(canonicalize_name(e) for e in self._ireq.extras)
136
+
137
+ @property
138
+ def _equal(self) -> str:
139
+ if self._equal_cache is not None:
140
+ return self._equal_cache
141
+
142
+ self._equal_cache = str(self._ireq)
143
+ return self._equal_cache
144
+
145
+ def __eq__(self, other: object) -> bool:
146
+ if not isinstance(other, SpecifierWithoutExtrasRequirement):
147
+ return NotImplemented
148
+ return self._equal == other._equal
149
+
150
+ def __hash__(self) -> int:
151
+ if self._hash is not None:
152
+ return self._hash
153
+
154
+ self._hash = hash(self._equal)
155
+ return self._hash
156
+
157
+
158
+ class RequiresPythonRequirement(Requirement):
159
+ """A requirement representing Requires-Python metadata."""
160
+
161
+ def __init__(self, specifier: SpecifierSet, match: Candidate) -> None:
162
+ self.specifier = specifier
163
+ self._specifier_string = str(specifier) # for faster __eq__
164
+ self._hash: int | None = None
165
+ self._candidate = match
166
+
167
+ # Pre-compute candidate lookup to avoid repeated specifier checks
168
+ if specifier.contains(match.version, prereleases=True):
169
+ self._candidate_lookup: CandidateLookup = (match, None)
170
+ else:
171
+ self._candidate_lookup = (None, None)
172
+
173
+ def __str__(self) -> str:
174
+ return f"Python {self.specifier}"
175
+
176
+ def __repr__(self) -> str:
177
+ return f"{self.__class__.__name__}({str(self.specifier)!r})"
178
+
179
+ def __hash__(self) -> int:
180
+ if self._hash is not None:
181
+ return self._hash
182
+
183
+ self._hash = hash((self._specifier_string, self._candidate))
184
+ return self._hash
185
+
186
+ def __eq__(self, other: Any) -> bool:
187
+ if not isinstance(other, RequiresPythonRequirement):
188
+ return False
189
+ return (
190
+ self._specifier_string == other._specifier_string
191
+ and self._candidate == other._candidate
192
+ )
193
+
194
+ @property
195
+ def project_name(self) -> NormalizedName:
196
+ return self._candidate.project_name
197
+
198
+ @property
199
+ def name(self) -> str:
200
+ return self._candidate.name
201
+
202
+ def format_for_error(self) -> str:
203
+ return str(self)
204
+
205
+ def get_candidate_lookup(self) -> CandidateLookup:
206
+ return self._candidate_lookup
207
+
208
+ def is_satisfied_by(self, candidate: Candidate) -> bool:
209
+ assert candidate.name == self._candidate.name, "Not Python candidate"
210
+ # We can safely always allow prereleases here since PackageFinder
211
+ # already implements the prerelease logic, and would have filtered out
212
+ # prerelease candidates if the user does not expect them.
213
+ return self.specifier.contains(candidate.version, prereleases=True)
214
+
215
+
216
+ class UnsatisfiableRequirement(Requirement):
217
+ """A requirement that cannot be satisfied."""
218
+
219
+ def __init__(self, name: NormalizedName) -> None:
220
+ self._name = name
221
+
222
+ def __str__(self) -> str:
223
+ return f"{self._name} (unavailable)"
224
+
225
+ def __repr__(self) -> str:
226
+ return f"{self.__class__.__name__}({str(self._name)!r})"
227
+
228
+ def __eq__(self, other: object) -> bool:
229
+ if not isinstance(other, UnsatisfiableRequirement):
230
+ return NotImplemented
231
+ return self._name == other._name
232
+
233
+ def __hash__(self) -> int:
234
+ return hash(self._name)
235
+
236
+ @property
237
+ def project_name(self) -> NormalizedName:
238
+ return self._name
239
+
240
+ @property
241
+ def name(self) -> str:
242
+ return self._name
243
+
244
+ def format_for_error(self) -> str:
245
+ return str(self)
246
+
247
+ def get_candidate_lookup(self) -> CandidateLookup:
248
+ return None, None
249
+
250
+ def is_satisfied_by(self, candidate: Candidate) -> bool:
251
+ return False
venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/resolver.py ADDED
@@ -0,0 +1,341 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import contextlib
4
+ import functools
5
+ import logging
6
+ import os
7
+ from typing import TYPE_CHECKING, cast
8
+
9
+ from pip._vendor.packaging.utils import canonicalize_name
10
+ from pip._vendor.resolvelib import BaseReporter, ResolutionImpossible, ResolutionTooDeep
11
+ from pip._vendor.resolvelib import Resolver as RLResolver
12
+ from pip._vendor.resolvelib.structs import DirectedGraph
13
+
14
+ from pip._internal.cache import WheelCache
15
+ from pip._internal.exceptions import ResolutionTooDeepError
16
+ from pip._internal.index.package_finder import PackageFinder
17
+ from pip._internal.operations.prepare import RequirementPreparer
18
+ from pip._internal.req.constructors import install_req_extend_extras
19
+ from pip._internal.req.req_install import InstallRequirement
20
+ from pip._internal.req.req_set import RequirementSet
21
+ from pip._internal.resolution.base import BaseResolver, InstallRequirementProvider
22
+ from pip._internal.resolution.resolvelib.provider import PipProvider
23
+ from pip._internal.resolution.resolvelib.reporter import (
24
+ PipDebuggingReporter,
25
+ PipReporter,
26
+ )
27
+ from pip._internal.utils.packaging import get_requirement
28
+
29
+ from .base import Candidate, Requirement
30
+ from .factory import Factory
31
+
32
+ if TYPE_CHECKING:
33
+ from pip._vendor.resolvelib.resolvers import Result as RLResult
34
+
35
+ Result = RLResult[Requirement, Candidate, str]
36
+
37
+
38
+ logger = logging.getLogger(__name__)
39
+
40
+
41
+ class Resolver(BaseResolver):
42
+ _allowed_strategies = {"eager", "only-if-needed", "to-satisfy-only"}
43
+
44
+ def __init__(
45
+ self,
46
+ preparer: RequirementPreparer,
47
+ finder: PackageFinder,
48
+ wheel_cache: WheelCache | None,
49
+ make_install_req: InstallRequirementProvider,
50
+ use_user_site: bool,
51
+ ignore_dependencies: bool,
52
+ only_dependencies: bool,
53
+ ignore_installed: bool,
54
+ ignore_requires_python: bool,
55
+ force_reinstall: bool,
56
+ upgrade_strategy: str,
57
+ py_version_info: tuple[int, ...] | None = None,
58
+ ):
59
+ super().__init__()
60
+ assert upgrade_strategy in self._allowed_strategies
61
+ assert not (ignore_dependencies and only_dependencies)
62
+
63
+ self.factory = Factory(
64
+ finder=finder,
65
+ preparer=preparer,
66
+ make_install_req=make_install_req,
67
+ wheel_cache=wheel_cache,
68
+ use_user_site=use_user_site,
69
+ force_reinstall=force_reinstall,
70
+ ignore_installed=ignore_installed,
71
+ ignore_requires_python=ignore_requires_python,
72
+ py_version_info=py_version_info,
73
+ )
74
+ self.ignore_dependencies = ignore_dependencies
75
+ self.only_dependencies = only_dependencies
76
+ self.upgrade_strategy = upgrade_strategy
77
+ self._result: Result | None = None
78
+
79
+ def resolve(
80
+ self, root_reqs: list[InstallRequirement], check_supported_wheels: bool
81
+ ) -> RequirementSet:
82
+ collected = self.factory.collect_root_requirements(root_reqs)
83
+ provider = PipProvider(
84
+ factory=self.factory,
85
+ constraints=collected.constraints,
86
+ ignore_dependencies=self.ignore_dependencies,
87
+ only_dependencies=self.only_dependencies,
88
+ upgrade_strategy=self.upgrade_strategy,
89
+ user_requested=collected.user_requested,
90
+ )
91
+ if "PIP_RESOLVER_DEBUG" in os.environ:
92
+ reporter: BaseReporter[Requirement, Candidate, str] = PipDebuggingReporter()
93
+ else:
94
+ reporter = PipReporter(constraints=provider.constraints)
95
+
96
+ resolver: RLResolver[Requirement, Candidate, str] = RLResolver(
97
+ provider,
98
+ reporter,
99
+ )
100
+
101
+ try:
102
+ limit_how_complex_resolution_can_be = 200000
103
+ result = self._result = resolver.resolve(
104
+ collected.requirements, max_rounds=limit_how_complex_resolution_can_be
105
+ )
106
+
107
+ except ResolutionImpossible as e:
108
+ error = self.factory.get_installation_error(
109
+ cast("ResolutionImpossible[Requirement, Candidate]", e),
110
+ collected.constraints,
111
+ )
112
+ raise error from e
113
+ except ResolutionTooDeep:
114
+ raise ResolutionTooDeepError from None
115
+
116
+ req_set = RequirementSet(check_supported_wheels=check_supported_wheels)
117
+ # process candidates with extras last to ensure their base equivalent is
118
+ # already in the req_set if appropriate.
119
+ # Python's sort is stable so using a binary key function keeps relative order
120
+ # within both subsets.
121
+ for candidate in sorted(
122
+ result.mapping.values(), key=lambda c: c.name != c.project_name
123
+ ):
124
+ ireq = candidate.get_install_requirement()
125
+ if ireq is None:
126
+ if candidate.name != candidate.project_name:
127
+ # extend existing req's extras
128
+ with contextlib.suppress(KeyError):
129
+ req = req_set.get_requirement(candidate.project_name)
130
+ req_set.add_named_requirement(
131
+ install_req_extend_extras(
132
+ req, get_requirement(candidate.name).extras
133
+ )
134
+ )
135
+ continue
136
+
137
+ # Check if there is already an installation under the same name,
138
+ # and set a flag for later stages to uninstall it, if needed.
139
+ installed_dist = self.factory.get_dist_to_uninstall(candidate)
140
+ if installed_dist is None:
141
+ # There is no existing installation -- nothing to uninstall.
142
+ ireq.should_reinstall = False
143
+ elif self.factory.force_reinstall:
144
+ # The --force-reinstall flag is set -- reinstall.
145
+ ireq.should_reinstall = True
146
+ elif installed_dist.version != candidate.version:
147
+ # The installation is different in version -- reinstall.
148
+ ireq.should_reinstall = True
149
+ elif candidate.is_editable or installed_dist.editable:
150
+ # The incoming distribution is editable, or different in
151
+ # editable-ness to installation -- reinstall.
152
+ ireq.should_reinstall = True
153
+ elif candidate.source_link and candidate.source_link.is_file:
154
+ # The incoming distribution is under file://
155
+ if candidate.source_link.is_wheel:
156
+ # is a local wheel -- do nothing.
157
+ logger.info(
158
+ "%s is already installed with the same version as the "
159
+ "provided wheel. Use --force-reinstall to force an "
160
+ "installation of the wheel.",
161
+ ireq.name,
162
+ )
163
+ continue
164
+
165
+ # is a local sdist or path -- reinstall
166
+ ireq.should_reinstall = True
167
+ else:
168
+ continue
169
+
170
+ link = candidate.source_link
171
+ if link and link.is_yanked:
172
+ # The reason can contain non-ASCII characters, Unicode
173
+ # is required for Python 2.
174
+ msg = (
175
+ "The candidate selected for download or install is a "
176
+ "yanked version: {name!r} candidate (version {version} "
177
+ "at {link})\nReason for being yanked: {reason}"
178
+ ).format(
179
+ name=candidate.name,
180
+ version=candidate.version,
181
+ link=link,
182
+ reason=link.yanked_reason or "<none given>",
183
+ )
184
+ logger.warning(msg)
185
+
186
+ req_set.add_named_requirement(ireq)
187
+
188
+ if self.only_dependencies:
189
+ for requested in collected.user_requested:
190
+ project_name = requested.partition("[")[0]
191
+ req_set.requirements.pop(project_name, None)
192
+
193
+ return req_set
194
+
195
+ def get_installation_order(
196
+ self, req_set: RequirementSet
197
+ ) -> list[InstallRequirement]:
198
+ """Get order for installation of requirements in RequirementSet.
199
+
200
+ The returned list contains a requirement before another that depends on
201
+ it. This helps ensure that the environment is kept consistent as they
202
+ get installed one-by-one.
203
+
204
+ The current implementation creates a topological ordering of the
205
+ dependency graph, giving more weight to packages with less
206
+ or no dependencies, while breaking any cycles in the graph at
207
+ arbitrary points. We make no guarantees about where the cycle
208
+ would be broken, other than it *would* be broken.
209
+ """
210
+ assert self._result is not None, "must call resolve() first"
211
+
212
+ if not req_set.requirements:
213
+ # Nothing is left to install, so we do not need an order.
214
+ return []
215
+
216
+ graph = self._result.graph
217
+ weights = get_topological_weights(graph, set(req_set.requirements.keys()))
218
+
219
+ sorted_items = sorted(
220
+ req_set.requirements.items(),
221
+ key=functools.partial(_req_set_item_sorter, weights=weights),
222
+ reverse=True,
223
+ )
224
+ return [ireq for _, ireq in sorted_items]
225
+
226
+
227
+ def get_topological_weights(
228
+ graph: DirectedGraph[str | None], requirement_keys: set[str]
229
+ ) -> dict[str | None, int]:
230
+ """Assign weights to each node based on how "deep" they are.
231
+
232
+ This implementation may change at any point in the future without prior
233
+ notice.
234
+
235
+ We first simplify the dependency graph by pruning any leaves and giving them
236
+ the highest weight: a package without any dependencies should be installed
237
+ first. This is done again and again in the same way, giving ever less weight
238
+ to the newly found leaves. The loop stops when no leaves are left: all
239
+ remaining packages have at least one dependency left in the graph.
240
+
241
+ Then we continue with the remaining graph, by taking the length for the
242
+ longest path to any node from root, ignoring any paths that contain a single
243
+ node twice (i.e. cycles). This is done through a depth-first search through
244
+ the graph, while keeping track of the path to the node.
245
+
246
+ Cycles in the graph result would result in node being revisited while also
247
+ being on its own path. In this case, take no action. This helps ensure we
248
+ don't get stuck in a cycle.
249
+
250
+ When assigning weight, the longer path (i.e. larger length) is preferred.
251
+
252
+ We are only interested in the weights of packages that are in the
253
+ requirement_keys.
254
+ """
255
+ path: set[str | None] = set()
256
+ weights: dict[str | None, list[int]] = {}
257
+
258
+ def visit(node: str | None) -> None:
259
+ if node in path:
260
+ # We hit a cycle, so we'll break it here.
261
+ return
262
+
263
+ # The walk is exponential and for pathologically connected graphs (which
264
+ # are the ones most likely to contain cycles in the first place) it can
265
+ # take until the heat-death of the universe. To counter this we limit
266
+ # the number of attempts to visit (i.e. traverse through) any given
267
+ # node. We choose a value here which gives decent enough coverage for
268
+ # fairly well behaved graphs, and still limits the walk complexity to be
269
+ # linear in nature.
270
+ cur_weights = weights.get(node, [])
271
+ if len(cur_weights) >= 5:
272
+ return
273
+
274
+ # Time to visit the children!
275
+ path.add(node)
276
+ for child in graph.iter_children(node):
277
+ visit(child)
278
+ path.remove(node)
279
+
280
+ if node not in requirement_keys:
281
+ return
282
+
283
+ cur_weights.append(len(path))
284
+ weights[node] = cur_weights
285
+
286
+ # Simplify the graph, pruning leaves that have no dependencies. This is
287
+ # needed for large graphs (say over 200 packages) because the `visit`
288
+ # function is slower for large/densely connected graphs, taking minutes.
289
+ # See https://github.com/pypa/pip/issues/10557
290
+ # We repeat the pruning step until we have no more leaves to remove.
291
+ while True:
292
+ leaves = set()
293
+ for key in graph:
294
+ if key is None:
295
+ continue
296
+ for _child in graph.iter_children(key):
297
+ # This means we have at least one child
298
+ break
299
+ else:
300
+ # No child.
301
+ leaves.add(key)
302
+ if not leaves:
303
+ # We are done simplifying.
304
+ break
305
+ # Calculate the weight for the leaves.
306
+ weight = len(graph) - 1
307
+ for leaf in leaves:
308
+ if leaf not in requirement_keys:
309
+ continue
310
+ weights[leaf] = [weight]
311
+ # Remove the leaves from the graph, making it simpler.
312
+ for leaf in leaves:
313
+ graph.remove(leaf)
314
+
315
+ # Visit the remaining graph, this will only have nodes to handle if the
316
+ # graph had a cycle in it, which the pruning step above could not handle.
317
+ # `None` is guaranteed to be the root node by resolvelib.
318
+ visit(None)
319
+
320
+ # Sanity check: all requirement keys should be in the weights,
321
+ # and no other keys should be in the weights.
322
+ difference = set(weights.keys()).difference(requirement_keys)
323
+ assert not difference, difference
324
+
325
+ # Now give back all the weights, choosing the largest ones from what we
326
+ # accumulated.
327
+ return {node: max(wgts) for (node, wgts) in weights.items()}
328
+
329
+
330
+ def _req_set_item_sorter(
331
+ item: tuple[str, InstallRequirement],
332
+ weights: dict[str | None, int],
333
+ ) -> tuple[int, str]:
334
+ """Key function used to sort install requirements for installation.
335
+
336
+ Based on the "weight" mapping calculated in ``get_installation_order()``.
337
+ The canonical package name is returned as the second member as a tie-
338
+ breaker to ensure the result is predictable, which is useful in tests.
339
+ """
340
+ name = canonicalize_name(item[0])
341
+ return weights[name], name