Skip to content

Commit

Permalink
fix(upgrade): use requests instead of vendored pip requests
Browse files Browse the repository at this point in the history
  • Loading branch information
n-dusan committed Oct 29, 2023
1 parent 8d4d28e commit 4305870
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ classifiers =
[options]
install_requires =
lxml >= 4.9
requests == 2.*
packages = upgrade.scripts
zip_safe = False
include_package_data = True
Expand Down
2 changes: 1 addition & 1 deletion upgrade/scripts/validations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


def is_cloudsmith_url_valid(cloudsmith_url: str) -> None:
import pip._vendor.requests as requests
import requests

response = requests.head(cloudsmith_url)
if response.status_code != 200:
Expand Down

0 comments on commit 4305870

Please sign in to comment.