Uh oh!
There was an error while loading. Please reload this page.
[stubsabot] Bump fpdf2 to 2.7.5 - #10533
Conversation
Release: https://pypi.org/pypi/fpdf2/2.7.5 Homepage: https://pyfpdf.github.io/fpdf2/ Repository: https://github.com/PyFPDF/fpdf2 Diff: py-pdf/fpdf2@2.7.4...2.7.5 Stubsabot analysis of the diff between the two releases: - 4 public Python files have been added: `test/test_mirror.py`, `test/test_output.py`, `test/text_shaping/__init__.py`, `test/text_shaping/test_text_shaping.py`. - 0 files included in typeshed's stubs have been deleted. - 19 files included in typeshed's stubs have been modified or renamed. - Total lines of Python code added: 2430. - Total lines of Python code deleted: 828. If stubtest fails for this PR: - Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR) - Fix stubtest failures in another PR, then close this PR Note that you will need to close and re-open the PR in order to trigger CI
AlexWaygood
commented
Aug 5, 2023
Looks like there's a stubtest crash in that CI failure there, that's fun |
JelleZijlstra
commented
Aug 5, 2023
Something with a default value of None that's being passed to mypy's internal LiteralType constructor, which accepts only str/int/bool/float. |
srittau
commented
Aug 21, 2023
I can't reproduce the stubtest crash locally, something weird is going on. |
srittau
commented
Aug 21, 2023
The error message is actually generated by mypyc, not by stubtest, so I suspect a mypyc bug. Giving up on debugging that ... |
AlexWaygood
commented
Aug 22, 2023
Interesting -- nor can I... |
Aha. I can reproduce if I run stubtest using Python 3.9 or Python 3.10 (we're currently using Python 3.10 in CI), but not on Python 3.11. @srittau, which version of Python are you using locally? |
srittau
commented
Aug 22, 2023
On the phone right now, but I think I tried it with python 3.11. |
AlexWaygood
commented
Aug 22, 2023
Since the crash only occurs when stubtest is run using Python <=3.10, I experimented to see whether we could run stubtest on our third-party stubs using Python 3.11, instead of Python 3.10, which is what we currently use. Unfortunately, it looks like several of the packages we have stubs for still can't be installed on Python 3.11 yet: https://github.com/AlexWaygood/typeshed/actions/runs/5943151723 |
AlexWaygood
commented
Aug 23, 2023
(python/mypy#15933 should be included in mypy 1.6, and should fix the crash. Marking this as "deferred" for now.) |
srittau
commented
Aug 24, 2023
Closing, because I messed with stubsabot by merging the main branch into this branch. |
Release: https://pypi.org/pypi/fpdf2/2.7.5
Homepage: https://pyfpdf.github.io/fpdf2/
Repository: https://github.com/PyFPDF/fpdf2
Diff: py-pdf/fpdf2@2.7.4...2.7.5
Stubsabot analysis of the diff between the two releases:
test/test_mirror.py,test/test_output.py,test/text_shaping/__init__.py,test/text_shaping/test_text_shaping.py.If stubtest fails for this PR:
Note that you will need to close and re-open the PR in order to trigger CI