Skip to content
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

Fix #2183 no timeout for PyPI calls #2659

Merged
merged 2 commits into from
Mar 1, 2024
Merged

Fix #2183 no timeout for PyPI calls #2659

merged 2 commits into from
Mar 1, 2024

Conversation

elramen
Copy link
Contributor

@elramen elramen commented Feb 29, 2024

Describe what you have changed in this PR.

Updated unearth dependency to version 0.14.0 to prevent pdm from hanging indefinitely when pypi.org is resolved but all other packets (i.e. non-DNS packets) are dropped.

After investigation of issue #2183, we found that the problem was caused by the unearth package. However, it was solved in v. 0.14.0, specifically in commit 1d9a2dc. Therefore, this PR simply updates the unearth dependency to version 0.14.0.

Closes #2183

Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.69%. Comparing base (429df86) to head (88218ce).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2659   +/-   ##
=======================================
  Coverage   84.68%   84.69%           
=======================================
  Files         104      104           
  Lines       10279    10282    +3     
  Branches     2234     2234           
=======================================
+ Hits         8705     8708    +3     
  Misses       1102     1102           
  Partials      472      472           
Flag Coverage Δ
unittests 84.47% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pyproject.toml Outdated Show resolved Hide resolved
@frostming frostming merged commit 0bf7ca1 into pdm-project:main Mar 1, 2024
21 checks passed
@j178 j178 mentioned this pull request Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a timeout to Pypi calls
2 participants