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: tox-dev/platformdirs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.9.2
Choose a base ref
...
head repository: tox-dev/platformdirs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.9.3
Choose a head ref
  • 4 commits
  • 6 files changed
  • 4 contributors

Commits on Feb 16, 2026

  1. [pre-commit.ci] pre-commit autoupdate (#450)

    <!--pre-commit.ci start-->
    updates:
    - [github.com/python-jsonschema/check-jsonschema: 0.36.1 →
    0.36.2](python-jsonschema/check-jsonschema@0.36.1...0.36.2)
    <!--pre-commit.ci end-->
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Feb 16, 2026
    Configuration menu
    Copy the full SHA
    6564f37 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2026

  1. Fix test failures on BSD for runtime directory defaults (#451)

    ## Summary
    
    Fixes three test failures on NetBSD (and FreeBSD/OpenBSD) where
    `site_runtime_dir` and `user_runtime_dir` tests hardcode `/run` as the
    expected default, but BSD systems use `/var/run`.
    
    The production code in `unix.py` already handles this correctly. This
    change makes the test expectations match.
    
    Fixes #449
    
    ## Changes
    
    - `_func_to_path`: `site_runtime_dir` default is now `/var/run` on BSD,
    `/run` otherwise
    - `_SITE_REDIRECT_CASES`: `user_runtime_dir` expected path uses
    `/var/run` on BSD, `/run` otherwise
    
    ## Test plan
    
    - [x] All 32 related tests pass on Linux (platform check correctly
    resolves to `/run`)
    - [x] On BSD, the check would resolve to `/var/run`, matching production
    behavior
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
    3 people authored Feb 17, 2026
    Configuration menu
    Copy the full SHA
    44eba62 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2026

  1. Respect XDG_CONFIG_HOME in _get_user_dirs_folder (#453)

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    bysiber and pre-commit-ci[bot] authored Feb 23, 2026
    Configuration menu
    Copy the full SHA
    57c7eae View commit details
    Browse the repository at this point in the history
  2. Add missing _optionally_create_directory in Android user_log_dir and …

    …user_runtime_dir (#452)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    bysiber and pre-commit-ci[bot] authored Feb 23, 2026
    Configuration menu
    Copy the full SHA
    f79028c View commit details
    Browse the repository at this point in the history
Loading