Skip to content

Update to pip==22.3 #99

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions light_the_torch/_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ def get_extra_index_urls(computation_backends, channel):
@contextlib.contextmanager
def patch_link_collection(computation_backends, channel):
search_scope = SearchScope(
find_links=[], index_urls=get_extra_index_urls(computation_backends, channel)
find_links=[],
index_urls=get_extra_index_urls(computation_backends, channel),
no_index=False,
)

@contextlib.contextmanager
Expand Down Expand Up @@ -270,7 +272,9 @@ def postprocessing(input, output):
# to PyPI.
_, pypi_file_source = build_source(
SearchScope(
find_links=[], index_urls=["https://pypi.org/simple"]
find_links=[],
index_urls=["https://pypi.org/simple"],
no_index=False,
).get_index_urls_locations(input.project_name)[0],
candidates_from_page=input.candidates_from_page,
page_validator=input.self.session.is_secure_origin,
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ packages = find:
include_package_data = True
python_requires = >=3.7
install_requires =
pip >=22.0, <22.3, != 22.0, != 22.0.1, != 22.0.2
pip == 22.3

[options.packages.find]
exclude =
Expand Down