###### tags: `work-log` # Weekly work log (NASA and CZI grants) ## Week 34 (2023-08-18 - 2023-08-25) ## Week 33 (2023-08-11 - 2023-08-18) ### Sunden ## Week 32 (2023-08-04 - 2023-08-11) ### Sunden - Release of 3.8.0rc1 - Building wheels on numpy 1.25, fixing pypy and adding musl wheels ### Sunden ## Week 31 (2023-07-28 - 2023-08-04) ### Sunden - 3.8 preparation - Fix upstream pyparsing error messages - Communicate with xarray about upcoming type hint changes - nearing end of release-critical tasks - GSOC meeting ## Week 30 (2023-07-21 - 2023-07-28) ### Sunden - 3.8 burndown, especially review typing hinting PRs - GSOC meeting ## Week 29 (2023-07-14 - 2023-07-21) ### Sunden - Travel back from SciPy - Catch-up on maintenance post SciPy - 3.8 burndown ### Sunden ## Week 28 (2023-07-07 - 2023-07-14) ### Sunden - SciPy 2023 Conference - Tutorial presentation - Attend talks, meet people from related libraries - Sprints with new contributors - GSOC meeting ## Week 27 (2023-06-30 - 2023-07-07) ### Sunden - US holidays - 3.8 burndown - 3.7.2 release - Prep for SciPy (incl tutorial work) ## Week 26 (2023-06-23 - 2023-06-30) ### Sunden - investigate pyparsing upstream breakage - improve pyparsing performance by 25% by reducing reliance on forward references - 3.8 burndown - GSOC meeting ## Week 25 (2023-06-16 - 2023-06-23) ### Sunden - (Few days off) - Catchup on maintenance post days off - Scipy tutorial prep - 3.8 burndown - GSOC meeting ## Week 24 (2023-06-09 - 2023-06-16) ### Sunden - Prepare Scipy tutorial - 3.8 burndown - GSOC meeting - ## Week 23 (2023-06-02 - 2023-06-09) ### Sunden - Write developer docs regarding type hints (especisally deprecations) - Data prototype work - GSOC meeting ## Week 22 (2023-05-36 - 2023-06-02) ### Sunden - Catch up on maintenance tasks post developer summit - Talk about unit dtypes in numpy with seberg - Nightly wheel location transition - GSOC meeting ## Week 21 (2023-05-19 - 2023-05-26) ### Sunden - Attend Developer Summit in Seattle ## Week 20 (2023-05-12 - 2023-05-19) ### Sunden - Prepare for Scientific Python Summit - General PR/Issue review - Data Prototype work - GSOC startup ## Week 19 (2023-05-05 - 2023-05-12) ### Sunden - PR/issue review - GSOC reaching out to Ratna as she was selected - Attended Packaging roundtable discussion - Data prototype thinking on nu/units transformations ## Week 18 (2023-04-28 - 2023-05-05) ### Caswell - PR to CPython for input issue - example PR for new image scheme - PR review ### Sunden - general issue / PR review - tracking down fallout from numpy changing sin/cos computatitons - single LUP changes broke 3 tests - PR just open - work on validating converters and formatters ### Sales de Andrade - laptop drive died, lost a bit of work + time - stale bugs triage - work on images - bit of work on confusing PDF compression bug ### Sunden ## Week 17 (2023-04-21 - 2023-04-28) ### Caswell - nerd sniped self into finding and fixing a CPython bug - https://github.com/python/cpython/pull/103931 / https://github.com/python/cpython/issues/103929 - progress on relocatable test images - issue / PR review ### Sunden - General Pr/Issue review - Units work: validating formatters/converters (#257766) - Opened one validating converters from formatters - Implementation is pretty clean, but does fail to distinguish JPL as valid, so some additional rework needed - Work with downstream (xarray) to warn them/help them with type hint changes to mpl ## Week 16 (2023-04-14 - 2023-04-21) ### Sunden - Data prototype work - Try writing wrappers for additional patches (cont'd) - Observed where friction lies with current impl - Lean towards moving towards writing draw functions within data-prototype instead of wrapping internal mpl - Typing work - Opened PRs to seaborn and plotnine fixing/warning them of mpl's upcomming typing changes - Fix up some internal type hints - xlim/ylim passed as tuple - CapStyle/FillStyle allow strings - Bbox.intersection hints - Units work - First crack at validating formatters/converters (#25662) - Raised because of interactions with cftime/nc-time-axis - GSOC - Our rankings were due to NF - SciPy Conf - Accepted for Tuorial ## Week 15 (2023-04-07 - 2023-04-14) ### Sunden - Typing clean up - Run type checkers over xarray, seaborn, plotnine to see what gets caught/what we need to fix on our end - pandas did not flag anything - CI failures - nbconvert released a second version without fixing changed filename of output - mypy pinned because v1.2.0 flags something errantly - GSOC - reviewed/narrowed applications - Data prototype work - Try writing wrappers for additional patches ## Week 14 (2023-03-31 - 2023-04-07) ### Sunden - Typing - Small followups for details post merge (long tail) - Attended new contributor meeting - GSoC management work - CI failures - nbconvert released a version which changed filename of output - PySide6 released a version with additional dependency on libxcb-cursor0 on linux ## Week 13 (2023-03-24 - 2023-03-31) ### Sunden - Typing PR merged - Look into bug report regarding PDF rendering in Preview on MacOS (even though I don't have a mac) ## Week 12 (2023-03-17 - 2023-03-24) ### Sunden - PR review - Look into some older units issues - Work towards getting Typing PR merged - Include stubtest in CI ## Week 11 (2023-04-10 - 2023-04-17) ### Sunden - Pr Review - planning for medium term projects (units) - Run mypy over examples and observe results - many errors from things like reusing variables which make doing so in CI impractical - Was able to spot and correct a number of real errors, though by doing so, so was a valuable exercise ## Week 10 (2023-03-02 - 2023-03-08) ### Sales de Andrade - Release 3.7.1 - Build on Fedora and checked for any issues - Triage of older issues that were fixed but not yet closed - PoC refactoring of pyplot to generate wrappers at runtime ### Sunden - Look into some fresh issues - memory "leak" (#25406) - Metadata issues on figsave (#25430) - Work on typing PR - Sphinx warnings ## Week 9 (2023-02-23 - 2023-03-01) ### Sales de Andrade - Ran test builds on all Fedora's Matplotlib-dependents https://copr.fedorainfracloud.org/coprs/qulogic/mpl37/ - Found [7 related build failures](https://src.fedoraproject.org/rpms/python-matplotlib/pull-request/37#comment-132230), but they are minimal - a bit of triage on stale issues - some docs work based recent issues ## Week 8 (2023-02-17 - 2023-02-22) ### Sales de Andrade - mostly catch up from vacation ### Sunden - 3.7 post release - responding to bug reports/regressions - reverting regression affecting Pandas - Updating release guide documentation - Accepted to GSoC - Work on Scipy Tutorial submission ## Week 7 (2023-02-09 - 2023-02-16) - 3.7.0 release ## Week 6 (2023-02-02 - 2023-02-08) ### Sunden - Actually add config for Ruff - Attend new contributor meeting (demonstrate PR workflow) - Return to thinking about data-prototype (rebase PR treating units as a nu) - PR review/3.7 prep ## Week 5 (2023-01-26 - 2023-02-01) ### Sunden - PR Review - Undeprecate Cursor event handlers (3.7 prep) - Investigate Ruff (replacement for flake8) - Fix CI for mypy PR - Return to thinking about data-prototype ## Week 4 (2023-01-19 - 2023-01-25) ### Sunden - PR review/3.7 prep - GSoC suggested projects list - Document line length change ## Week 3 (2023-01-12 - 2023-01-18) ### Sales de Andrade - PR review - 3.7 preparation - widget styling - 3.7 doc work ### Sunden - PR review/3.7 preparation - GSoC Preparation - Looking into cftime bug report - Learning about NEPs 40-42 (new DType infrastructure) - Responding to review comments on mypy/typing PR ### Caswell - PR review/3.7 preperation ## Week 2 (2023-01-05 - 2023-01-11) ### Sales de Andrade - Release 3.6.3 - Complete all deprecations for 3.7 - PR review ### Sunden - PR review/3.7 preparation - Clearing up sphinx regression that caused our tests to fail - Keep mypy work up to date with api changes on main, fix sphinx builds ### Caswell - PR review/3.7 preperation ## Week 52 (2022-12-29 - 2023-01-04) ### Sunden - PR Review/3.7 preparation - Rotating CircleCI ssh keys - Mypy work: type hinting pyplot and mypy CI ## Week 50 (2022-12-15 - 2022-12-22) ### Sales de Andrade - PR review for 3.7 - CI improvements - Widget improvements ### Sunden - PR review/prep for 3.7 - Additional mypy work (mostly done except pyplot and CI work) - Some modules explicitly excluded from initial wave: - backends (backend_bases is typed, but individual implementations are not) - sphinxext - testing (tests are validated but not all of the helpers) - a few that could be added but weren't generating any warnings - Documentation fixes/deprecations found while going through mypy ### Caswell - PR review + 3.7 work - too much time thinking about packaging ## Week 49 (2022-12-08 - 2022-12-14) ### Sales de Andrade - PR review - CI improvements - HiDPI refactor ### Sunden - PR review - Many more mypy adventures - small fixes to docstring/removing deprecated `refresh` method found while type hinting ## Week 48 (2022-12-01 - 2022-12-07) ### Sales de Andrade - PR review - Automated doc warning posting - Legend 3D improvements ### Sunden - PR review - Investigating mypy typehinting for mpl - Mypy typehinting for cycler - Attended new contributor meeting ## Week 47 (2022-11-24 - 2022-11-30) ### Sales de Andrade - PR review - CI work - Packaging work on matplotlib / pytest-mpl - widget work ### Sunden - PR review - Data prototype patches - Data prototype doc fixup ## Week 46 (2022-11-17 - 2022-11-23) ### Sales de Andrade - More PR review - Fix small triage bugs - Legend 3D tests - Finishing up CodeQL ## Week 45 (2022-11-10 - 2022-11-16) ### Caswell - some PR review - CEL meeting - editing pass at data-prototype prose ### Sales de Andrade - General PR review - Small bug fixes - More Meson experimentation - Investigating better reporting from CircleCI for docs ### Sunden - Follow through on Appveyor - `plt.figlegend` docstring modifications - data prototype scatter plotting - Updates for pydata-sphinx-theme changes - General PR review ## Week 44 (2022-11-03 - 2022-11-09) ### Caswell ### Sales de Andrade - General PR review - More WebAgg testing - Implement font variation support in mplcairo - Release manager docs - Meson experimentation ### Sunden - Fixing Appveyor tests - General PR review - Data prototype experimenting - gaining historical perspective on units handling ## Week 43 (2022-10-26 - 2022-11-02) ### Caswell - Tidelift enrollment - finish AWS ask draft - general issue review/discussion - Wrote up short essay on thinking behind data prototype ### Sales de Andrade - Fix dark mode loading on website - General PR review - Release 3.6.2 - More WebAgg testing - Discourse updates ### Sunden - Data Prototype project planning - Data Prototype examples - Onboarding/access to additional project resources - PR review