Richard Si

Results 62 issues of Richard Si

In https://github.com/python/mypy/pull/14747, I used `dict_items`, `dict_keys`, and `dict_values` in a stub fixture, however, they weren't defined anyway. For some reason we don't generate errors even though these are undefined. Maybe...

bug
contributor UX

**Before**: ![image](https://github.com/pypa/pip/assets/63936253/120a60bb-a2b4-4d90-9be3-1d432724df4a) **After**: ![image](https://github.com/pypa/pip/assets/63936253/56b3a622-e8c7-45cb-b7df-f48f65c9973a) Towards https://github.com/pypa/pip/issues/10421. :sparkles:

bot:chronographer:provided

Resolves GH-2761. ![image](https://github.com/python-discord/bot/assets/63936253/75b75839-1588-42f4-9fed-e7628f188481)

p: 3 - low
a: information
s: waiting for author
t: enhancement

### setuptools version 69.0.3 ### Python version CPython 3.11.7 ### OS Ubuntu 22.04.03 LTS ### Additional environment information _No response_ ### Description Happy New Year! :tada: I was debugging pip's...

bug
Needs Design Proposal

importlib does not cache metadata in-memory, so querying even simple attributes like distribution names and versions can quickly become expensive (as each access requires reading `METADATA`). Fortunately, `Distribution.canonical_name` is optimized...

type: performance
bot:chronographer:provided

Rebased version of https://github.com/pypa/pip/pull/10601.

bot:chronographer:provided

This eliminates a (very) small unnecessary performance penalty and reduces output clutter when the pip subprocess errors out.

bot:chronographer:provided

- Removes BestCandidateResult's iter_all() and iter_applicable() methods as they were redundant - Removes ParsedLine's is_requirement attribute as it was awkward to use (to please mypy, you would need to add...

type: refactor
bot:chronographer:provided
awaiting merge

Tenacity is a 1600+ LOC dependency which is only used for a convenient `@retry` decorator... which is used a grand total of two times. This is a lot of code...

bot:chronographer:provided

Towards: - #5380 - #8473 - #10421 This PR does two things: - Captures the ugly `Retrying (Retry(total=4 ...` urllib3 warnings and rewrites them to be understandable if possible -...

skip news
C: error messages