-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[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
Looks like there's a stubtest crash in that CI failure there, that's fun |
Something with a default value of None that's being passed to mypy's internal LiteralType constructor, which accepts only str/int/bool/float. |
I can't reproduce the stubtest crash locally, something weird is going on. |
The error message is actually generated by mypyc, not by stubtest, so I suspect a mypyc bug. Giving up on debugging that ... |
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? |
On the phone right now, but I think I tried it with python 3.11. |
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 |
(python/mypy#15933 should be included in mypy 1.6, and should fix the crash. Marking this as "deferred" for now.) |
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