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: apathetic-tools/serger
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.0
Choose a base ref
...
head repository: apathetic-tools/serger
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.0
Choose a head ref
  • 19 commits
  • 107 files changed
  • 3 contributors

Commits on Nov 30, 2025

  1. refactor(build): rename build tool detection constants and config set…

    …tings
    
    - Rename MAX_LINES_TO_CHECK_FOR_SERGER_BUILD to BUILD_TOOL_FIND_MAX_LINES
    - Rename max_lines_to_check_for_serger_build config to build_tool_find_max_lines
    - Add build tool metadata line to generated scripts (# Build Tool: serger)
    - Update is_serger_build to check for new build tool comment format
    - Update all references in code, tests, and documentation
    InertSloth committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    31f3439 View commit details
    Browse the repository at this point in the history
  2. chore(pytest): suppress pytest-benchmark warnings in parallel tests

    - Add filterwarnings to ignore PytestBenchmarkWarning when xdist is active
    - Benchmarks are automatically disabled in parallel mode, which is expected behavior
    - Prevents warning spam during parallel test execution
    InertSloth committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    53b54c9 View commit details
    Browse the repository at this point in the history
  3. test(tests): migrate tests to tmp_path fixture

    - Migrate test_extract_version.py from tempfile.NamedTemporaryFile to tmp_path
    - Migrate test_verify_compiles.py from tempfile.NamedTemporaryFile to tmp_path
    - Migrate test_error_file_handling.py from tempfile.TemporaryDirectory to tmp_path
    - Migrate test_stitch_modules.py from tempfile.TemporaryDirectory to tmp_path
    - Migrate test_compilation_checking.py from tempfile.TemporaryDirectory to tmp_path
    - Remove unused tempfile imports
    - Improve test isolation and follow pytest best practices
    InertSloth committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    f74fb89 View commit details
    Browse the repository at this point in the history
  4. test(tests): migrate additional test files to tmp_path fixture

    - Migrate test_verify_executes.py from NamedTemporaryFile to tmp_path
    - Migrate test_find_tool_executable.py from NamedTemporaryFile to tmp_path
    - Migrate test_verify_all_modules_listed.py from TemporaryDirectory to tmp_path
    - Migrate test_priv__extract_build_metadata.py from TemporaryDirectory to tmp_path
    - Remove unused tempfile imports
    - All tests pass with check:fix
    InertSloth committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    4f66eca View commit details
    Browse the repository at this point in the history
  5. test(tests): migrate test_priv__collect_modules and test_compute_modu…

    …le_order to tmp_path
    
    - Migrate test_priv__collect_modules.py (14 tests) from TemporaryDirectory to tmp_path
    - Migrate test_compute_module_order.py (7 tests) from TemporaryDirectory to tmp_path
    - Remove unused tempfile imports
    - Fix indentation after removing with blocks
    - All tests pass with check:fix
    InertSloth committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    9aff99c View commit details
    Browse the repository at this point in the history
  6. test(tests): migrate test_build_tool_command and test_post_stitch_pro…

    …cessing to tmp_path
    
    - Migrate test_build_tool_command.py (10 tests) from NamedTemporaryFile to tmp_path
    - Migrate test_post_stitch_processing.py (9 tests) from NamedTemporaryFile to tmp_path
    - Remove unused tempfile imports
    - All tests pass with check:fix
    InertSloth committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    9ac2cea View commit details
    Browse the repository at this point in the history
  7. test(tests): migrate test_execute_post_processing to tmp_path

    - Migrate test_execute_post_processing.py (16 tests) from NamedTemporaryFile to tmp_path
    - Remove unused tempfile import
    - All tests pass with check:fix
    InertSloth committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    24422a0 View commit details
    Browse the repository at this point in the history
  8. test(tests): migrate test_extract_pyproject_metadata to tmp_path

    - Migrate test_extract_pyproject_metadata.py (22 tests) from NamedTemporaryFile and TemporaryDirectory to tmp_path
    - Remove unused tempfile import
    - All tests pass with check:fix
    InertSloth committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    a823938 View commit details
    Browse the repository at this point in the history
  9. test(tests): migrate remaining integration tests to tmp_path

    - Migrate test_zipapp__execution.py (1 test) from TemporaryDirectory to tmp_path
    - Migrate test_installed__execution.py (1 test) from TemporaryDirectory to tmp_path
    - Migrate test_standalone__execution.py (1 test) from TemporaryDirectory to tmp_path
    - Migrate test_docstring_mode.py (4 tests) from TemporaryDirectory to tmp_path
    - Migrate test_docstring_mode_additional.py (2 tests) from TemporaryDirectory to tmp_path
    - Migrate test_comments_mode.py (4 tests) from TemporaryDirectory to tmp_path
    - Remove unused tempfile imports
    - All migrated tests pass with check:fix
    InertSloth committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    7a78b4c View commit details
    Browse the repository at this point in the history
  10. test(tests): migrate remaining tests in test_stitch_modules to tmp_path

    - Migrate 26 additional tests in test_stitch_modules.py from TemporaryDirectory to tmp_path
    - Remove unused tempfile import
    - All tests pass with check:fix
    - Migration complete: no tempfile usage remains in any test files
    InertSloth committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    532bc9a View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2025

  1. refactor(tests): require tmp_path parameter in build_final_script uti…

    …lities
    
    - Make tmp_path required in make_build_final_script_args (remove backward compatibility)
    - Update all test functions calling call_build_final_script to accept and pass tmp_path fixture
    - Update docstrings to reflect tmp_path is required
    - Remove fallback code that used /tmp when tmp_path was not provided
    InertSloth committed Dec 1, 2025
    Configuration menu
    Copy the full SHA
    d3a093f View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump actions/checkout from 5 to 6 (#2)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v5...v6)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-version: '6'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 1, 2025
    Configuration menu
    Copy the full SHA
    4ea9b4b View commit details
    Browse the repository at this point in the history
  3. chore(dev): add quiet modes to suppress success messages

    - Add -q flag to ruff check and format commands to suppress success messages
    - Add --no-error-summary to mypy to suppress success messages
    - Create dev/pyright-quiet.sh script to filter pyright summary (only when all 0s)
    - Add --quiet flag to shiv commands in build:zipapp and test utilities
    - Extract pre-commit install logic to dev/install_pre_commit_hooks.sh script
    InertSloth committed Dec 1, 2025
    Configuration menu
    Copy the full SHA
    63f96b0 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2025

  1. feat(stitch): improve module collection and shim generation with enha…

    …nced testing
    
    - Implement two-pass module collection for consistent module name derivation
    - Add external import conflict detection to prevent shim name collisions
    - Fix package shim generation to always create new module objects
    - Remove globals() lookups from shim generation to prevent incorrect module reuse
    - Refactor tests to use patch_everywhere for stitched mode support
    - Improve logging fixtures for stitched runtime compatibility
    - Update runtime terminology (standalone -> stitched, installed -> package)
    - Configure pytest timeout (60 seconds per test)
    - Reorganize test utilities and improve test isolation
    - Update CLI argument parsing with command groups and better organization
    InertSloth committed Dec 8, 2025
    Configuration menu
    Copy the full SHA
    a08e4c4 View commit details
    Browse the repository at this point in the history
  2. test(log-level): improve trace message assertions in verbose flag test

    - Update test_verbose_flag to specifically check serger's trace messages
      are suppressed at debug level, rather than blanket check for all trace
      messages (external libraries may emit trace messages)
    - Add assertion that brief messages appear at debug level (brief=25 > debug=10)
    - Update test_quiet_flag comment to clarify brief messages are suppressed
    - Remove redundant assertion for emoji version of stitch completed message
    InertSloth committed Dec 8, 2025
    Configuration menu
    Copy the full SHA
    1683cde View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2025

  1. refactor(logs): unify logging API and improve logger configuration

    - Replace logging module usage with apathetic_logging API for consistency
    - Remove setLogLevel function, use logger.setLevel directly
    - Fix test fixtures to use setPropagate() instead of direct assignment
    - Only set root logger level, use INHERIT_LEVEL on app logger for proper propagation
    - Revert unnecessary handler addition to module_logger test fixture
    - Update documentation and guidance files for logging best practices
    InertSloth committed Dec 12, 2025
    Configuration menu
    Copy the full SHA
    579b02a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85fff58 View commit details
    Browse the repository at this point in the history
  3. refactor(test): use apathetic_utils.load_toml instead of manual tomll…

    …ib import
    
    - Replaced manual tomllib/tomli conditional import with apathetic_utils.load_toml()
    - Removed unnecessary sys import and type ignore comments
    - Cleaner, more maintainable code that leverages existing utility
    - apathetic_utils handles Python 3.10/3.11+ compatibility automatically
    InertSloth committed Dec 12, 2025
    Configuration menu
    Copy the full SHA
    ae6e9f7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e5aeb64 View commit details
    Browse the repository at this point in the history
Loading