Normalize colors, fix UI input, bump Python to 3.10#47
Merged
Conversation
Update UI components and project metadata: - Bump python_requires to >=3.10 and remove 3.8/3.9 classifiers in setup.py. - Stop ignoring .python-version in .gitignore (and remove the file) to track pyenv version. - Normalize color usage by scaling Color values to 0..1 and introduce TPlot._BLACK_COLOR; use it when drawing points and grid. - Fix grid drawing ranges to include boundary lines (range + 1). - Improve paste handling in TopMenu by using pyglet.key constants for the paste key and accelerator modifier. - Adjust Text widget sizing: store font size, center content vertically, and tweak layout y/height calculations. - Scale Button and ToggleButton colors to normalized RGB. These changes improve visual consistency, correct rendering and input behavior, and update supported Python versions.
Update GitHub Actions and tox configuration to remove older interpreters. Removed Python 3.8 and 3.9 entries (and tox envs py38/py39) and removed PyPy 3.8/3.9 entries; retained CPython 3.10–3.13 and PyPy 3.10. Adjusted tox envlist and testenv basepython mappings to match the new test matrix (.github/workflows/test.yml and tox.ini).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update UI components and project metadata:
These changes improve visual consistency, correct rendering and input behavior, and update supported Python versions.