Skip to content

Pyglet2.1dev$VERSION updates #2226

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

Merged
merged 45 commits into from
Jul 18, 2024
Merged

Pyglet2.1dev$VERSION updates #2226

merged 45 commits into from
Jul 18, 2024

Conversation

pushfoo
Copy link
Member

@pushfoo pushfoo commented Jul 9, 2024

Supercedes #2183 (same contents, just a branch on the main Arcade repo)

Big changes:

  1. Modified code to use pyglet.options object appropriately
  2. No more __eq__ deletion tricks
  3. Partly document and type the pyglet text stack's apparent secret undocumented support for partial bolding (yes, I tested this)

Other changes:

  • Sound annotations
  • Align & pyright's spec-violating ideas o on Literal for text
  • Document the apparent undocumented support for string bold values across non-win32 platforms
  • Use | None in a few places
  • Temp fix float vs int for window sizes (Apple supports these, apparently to simplify touch events)

To resolve:

(moved to #2278 + will move to sub-issues as needed)

pushfoo added 26 commits July 18, 2024 05:03
* Use new-style | None

* Add casting and TODO on resolving screen coord issues upstream

* Mention rounding issue in set_fullscreen
* Update top-level docstring

* Update bold setter & getter

* Update bold return types
* Use development pyglet in rolling release mode + comment it

* Add commented-out future pyglet == 2.1dev4 release we can swap to it later
* Centralize headless

* Add some type: ignore since pyglet did vague .pyi
@pushfoo pushfoo force-pushed the pyglet2.1dev-updates branch from 30d473e to 5056d91 Compare July 18, 2024 09:06
@einarf einarf mentioned this pull request Jul 18, 2024
4 tasks
@einarf einarf merged commit 6e8259d into development Jul 18, 2024
8 checks passed
@einarf einarf deleted the pyglet2.1dev-updates branch July 18, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants