Skip to content

improve readability of Python interpreter validation message#3309

Merged
frostming merged 2 commits intopdm-project:mainfrom
xinquiry:dev
Nov 23, 2024
Merged

improve readability of Python interpreter validation message#3309
frostming merged 2 commits intopdm-project:mainfrom
xinquiry:dev

Conversation

@xinquiry
Copy link
Copy Markdown
Contributor

Pull Request Checklist

  • A news fragment is added in news/ describing what is new.
  • Test cases added for changed code.

Describe what you have changed in this PR.

Add a conditional statement to get clearer Python interpreter message. fix #3276

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 23, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 85.30%. Comparing base (4b2edae) to head (9ab2050).
Report is 59 commits behind head on main.

Files with missing lines Patch % Lines
src/pdm/project/core.py 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3309      +/-   ##
==========================================
- Coverage   85.31%   85.30%   -0.02%     
==========================================
  Files         112      112              
  Lines       11396    11398       +2     
  Branches     2485     2486       +1     
==========================================
  Hits         9723     9723              
- Misses       1144     1145       +1     
- Partials      529      530       +1     
Flag Coverage Δ
unittests 85.12% <50.00%> (-0.02%) ⬇️

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.

@frostming frostming merged commit 7a16106 into pdm-project:main Nov 23, 2024
@xinquiry xinquiry deleted the dev branch November 24, 2024 05:30
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.

More detailed info for 'saved Python interpreter doesn't match the project's requirement'

2 participants