Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: letmaik/rawpy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: letmaik/rawpy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: split/pr5-tests
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 21 files changed
  • 1 contributor

Commits on Feb 10, 2026

  1. Modernize build system: add pyproject.toml, refactor setup.py

    - Add pyproject.toml with PEP 517/518 build configuration
    - Refactor setup.py: unify unix_libraw_compile(), add rpath handling,
      remove miniconda/zipfile downloads, code formatting cleanup
    - Rewrite MANIFEST.in for correct sdist contents
    - Update dev-requirements.txt (add setuptools>=69, build, mypy)
    - Update .gitignore (.venv/, .venv-test/, tmp/, *.so.*)
    letmaik committed Feb 10, 2026
    Configuration menu
    Copy the full SHA
    f502852 View commit details
    Browse the repository at this point in the history
  2. Add type stubs and inline type annotations

    - Add rawpy/_rawpy.pyi (614-line stub file for Cython module)
    - Add rawpy/py.typed (PEP 561 marker)
    - Add type annotations to all methods/properties in _rawpy.pyx
    - Convert properties from legacy Cython syntax to @Property decorator
    - Add TYPE_CHECKING imports to __init__.py, type-annotate imread()
    - Add type annotations to enhance.py, rename median -> median_func
    - Add test_stubtest.py (mypy stubtest verification)
    - Add test_mypy.py (mypy validation)
    - Add test_type_imports.py (verify all types importable)
    - Add stubtest_allowlist.txt
    letmaik committed Feb 10, 2026
    Configuration menu
    Copy the full SHA
    46ede3b View commit details
    Browse the repository at this point in the history
  3. Add new tests, example scripts, and test improvements

    - Add test/test_feature_flags.py (test rawpy.flags dict)
    - Add test/test_examples.py (run example scripts as subprocess)
    - Add test/test_user_cblack.py regression test for color balance
    - Improve test_basic.py: X3F skip helper, assertion improvements
    - Add examples/basic_process.py
    - Add examples/bad_pixel_repair.py
    - Add examples/thumbnail_extract.py
    letmaik committed Feb 10, 2026
    Configuration menu
    Copy the full SHA
    c0a18f5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3dd031a View commit details
    Browse the repository at this point in the history
Loading