[issue44459] 3.10b2 -> 3.10b3 regression in importlib.metadata for rinoh

2021-06-19 Thread Jason R. Coombs
Jason R. Coombs added the comment: I submitted https://github.com/brechtm/rinohtype/pull/270 to address the issue in rinohtype. Please feel free to reopen and address the questions posed above if appropriate. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___

[issue44459] 3.10b2 -> 3.10b3 regression in importlib.metadata for rinoh

2021-06-19 Thread Jason R. Coombs
Jason R. Coombs added the comment: A small patch to rinoh seems to work around the issue: ``` diff --git a/src/rinoh/resource.py b/src/rinoh/resource.py index 57143f9d..586a4bb7 100644 --- a/src/rinoh/resource.py +++ b/src/rinoh/resource.py @@ -132,7 +132,9 @@ class DynamicEntryPoint(DynamicEn

[issue44459] 3.10b2 -> 3.10b3 regression in importlib.metadata for rinoh

2021-06-19 Thread Jason R. Coombs
Jason R. Coombs added the comment: It seems that even on Python 3.9 or 3.10b2, the [DynamicRinohDistribution](https://github.com/brechtm/rinohtype/blob/e7f1c2c6066303d86cff4105be0829f512059be2/src/rinoh/resource.py#L132) would return `None` for the `name` property (despite the [attempt to ret

[issue44459] 3.10b2 -> 3.10b3 regression in importlib.metadata for rinoh

2021-06-19 Thread Jason R. Coombs
Change by Jason R. Coombs : -- priority: normal -> deferred blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue44459] 3.10b2 -> 3.10b3 regression in importlib.metadata for rinoh

2021-06-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +3.10regression priority: normal -> deferred blocker ___ Python tracker ___ ___ Pytho

[issue44459] 3.10b2 -> 3.10b3 regression in importlib.metadata for rinoh

2021-06-19 Thread Jason R. Coombs
Jason R. Coombs added the comment: Running the debugger, I can confirm that Distribution.name is None in this case: ``` ~ $ python3.10 -m pip-run -q rinohtype -- -m pdb -m rinoh --help WARNING: You are using pip version 21.1.1; however, version 21.1.2 is available. You should consider upgradin

[issue44459] 3.10b2 -> 3.10b3 regression in importlib.metadata for rinoh

2021-06-19 Thread Jason R. Coombs
Jason R. Coombs added the comment: I suspect the performance enhancements to distribution deduplication are relevant here. Previously, distributions were deduplicated based on the canonical distribution name. Now they're deduplicated on the normalized name. And it seems that when attempting

[issue44459] 3.10b2 -> 3.10b3 regression in importlib.metadata for rinoh

2021-06-18 Thread Anthony Sottile
New submission from Anthony Sottile : installed from git: ``` $ git remote -v origin https://github.com/brechtm/rinohtype.git (fetch) origin https://github.com/brechtm/rinohtype.git (push) $ git rev-parse HEAD 4054539bae53eaddd10291c8429a1a32aeeb4786 ``` working in 3.10 b2: ```console $ ./v