GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SuPyMode/CONTRIBUTING.md at master · MartinPdeS/SuPyMode

Expand file tree

/

CONTRIBUTING.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
70 lines (53 loc) · 2.65 KB
/

CONTRIBUTING.md

Copy path

File metadata and controls

70 lines (53 loc) · 2.65 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Contributing to SuPyMode

Contributions are welcome: focused bug fixes, numerical validation cases, documentation corrections, and feature work.

SuPyMode requires Python 3.11 or newer, CMake, a C++ compiler, and pybind11. After changing native sources, rebuild the editable installation before tests.

git clone https://github.com/MartinPdeS/SuPyMode.git
cd SuPyMode
make editable
make test

Use public Python APIs in tests, document physical conventions and numerical limits, and keep gallery examples small enough for the documentation build. Do not commit generated documentation, compiled artifacts, or caches. The release helper maintains the tracked SuPyMode/_version.py alongside pyproject.toml, the Conda recipe, and Zenodo metadata.

Before opening a pull request, run make quality, make test, and make release-check. Keep changes focused and report platform/compiler details for native changes.

Releases use semantic versioning. make release patch, make release minor, and make release major create and push the release commit and exact tag. make tag VERSION=vX.Y.Z creates a local tag without pushing.

Shared release tooling

Install the pinned release tool in the interpreter used by Make, without rebuilding this package:

python -m pip install "martinpdes-maintenance==0.2.2"
make release-check PYTHON=python

The same dependency is available through the project's release extra. The Makefile calls the installed martinpdes_maintenance.cli module directly; no repository-local release scripts are required. Package-specific metadata paths live in [tool.mps-maintenance] in pyproject.toml. Release tooling is not a runtime dependency.

Preview the next release's metadata changes from a clean, full clone:

python -m martinpdes_maintenance.cli tag vX.Y.Z --dry-run

Fetch tags before selecting a version. Existing make tag and make release commands keep their local-tag and push behavior respectively. The shared tool requires an unused stable tag and a clean working tree. It stages only configured release metadata and never pushes itself. If committing or tagging fails, inspect git status and git log -1 before recovering or retrying.

Package versions are explicit in [project].version. Builds do not derive versions from Git tags or require setuptools-scm. Release commands update the project version, package version file, Conda recipe, and Zenodo metadata together.

Updating the README

Edit readme.yml and run the following commands from the repository root. Commit the generated README with its inputs.

python -m pip install --group readme
make readme PYTHON=python
mps-maintenance readme --check
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.