Skip to content

docs: update README Python prereqs; add dev guides for bumping Python and SymPy (#571)#572

Merged
utensil merged 4 commits intopygae:masterfrom
utiberious:fix/issue-571-python-docs
Apr 2, 2026
Merged

docs: update README Python prereqs; add dev guides for bumping Python and SymPy (#571)#572
utensil merged 4 commits intopygae:masterfrom
utiberious:fix/issue-571-python-docs

Conversation

@utiberious
Copy link
Copy Markdown
Contributor

@utiberious utiberious commented Apr 1, 2026

Closes #571.

Changes

README.md

  • Prerequisites: Python >= 3.8>= 3.10 (3.10, 3.11, 3.12 tested via CI)
  • Added history note: "0.6.0 was the last supported release for Python 3.8/3.9"

setup.py

  • python_requires bumped to >=3.10
  • Classifiers updated to 3.10/3.11/3.12

doc/dev/bumping-python.md (new)
Covers: version policy (drop EOL, add recent-but-not-latest), files to update (including test_requirements.txt), CI action version audit, Python 3.12 compat audit (distutils, escape sequences), local testing setup, and the tracking issue pattern.

The doc uses .md for content with a thin .rst mdinclude wrapper for Sphinx, consistent with existing practice.

Copy link
Copy Markdown
Member

@utensil utensil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this — the doc is well-organized and the version policy is clearly stated.

There's a merge conflict in the making between this PR and #574: both add a "Developer guides" toctree block to doc/index.rst starting from the same base on master. If they merge independently Sphinx will produce two separate "Developer guides" sections in the sidebar. Whichever merges second should rebase and consolidate both into a single toctree block.

setup.py still has python_requires='>=3.6' and classifiers only up to 3.11, so the PyPI version badge won't reflect 3.12 until that's updated. Worth doing in this PR since the README already claims 3.10-3.12 support.

test_requirements.txt is missing from the files-to-update table — adding packaging there was part of the 3.12 bump (needed to replace distutils), so it belongs in the checklist.

utiberious added a commit to utiberious/galgebra that referenced this pull request Apr 2, 2026
- Remove Developer guides toctree from doc/index.rst; pygae#574 owns it
  with the full three-entry block to avoid duplicate sidebar sections
- Fix setup.py: python_requires>=3.10, drop 3.8/3.9 classifiers, add 3.12
- Add test_requirements.txt to the files-to-update table in bumping-python.md
- Remove Developer guides toctree from doc/index.rst; pygae#574 owns it
  with the full three-entry block to avoid duplicate sidebar sections
- Fix setup.py: python_requires>=3.10, drop 3.8/3.9 classifiers, add 3.12
- Add test_requirements.txt to the files-to-update table in bumping-python.md
@utiberious utiberious force-pushed the fix/issue-571-python-docs branch from 27c455c to a5d9b83 Compare April 2, 2026 02:26
- Remove version policy cross-reference to bumping-sympy.md
- Inline the full tracking issue pattern description instead of
  deferring to bumping-sympy.md
- Use bare flake8/pytest to match CI
@utensil utensil merged commit 4cd310b into pygae:master Apr 2, 2026
5 checks passed
utiberious added a commit to utiberious/galgebra that referenced this pull request Apr 2, 2026
Covers: Mlt component-expression constructor (pygae#578/pygae#580),
is_blade null fix (pygae#537), Macdonald PDF update (pygae#577),
dev guides (pygae#572/pygae#574), SymPy 1.13 notebook refresh (pygae#570),
Lt ImmutableDenseMatrix fix (pygae#569), Python 3.10-3.12 CI (pygae#565).
utensil pushed a commit that referenced this pull request Apr 3, 2026
* docs: add 0.6.1 changelog entries

Covers: Mlt component-expression constructor (#578/#580),
is_blade null fix (#537), Macdonald PDF update (#577),
dev guides (#572/#574), SymPy 1.13 notebook refresh (#570),
Lt ImmutableDenseMatrix fix (#569), Python 3.10-3.12 CI (#565).

* docs(changelog): fix is_blade entry reference from issue to PR

The is_blade entry incorrectly referenced issue 537 but should reference
PR 582 to match the convention used in other entries.

---------

Co-authored-by: utiberious <utiberious@users.noreply.github.com>
@utensil utensil mentioned this pull request Apr 3, 2026
2 tasks
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.

Follow-up docs for the Python 3.10-3.12 bump

2 participants