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.4
Choose a head ref
  • 14 commits
  • 16 files changed
  • 7 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
  3. [pre-commit.ci] pre-commit autoupdate (#454)

    <!--pre-commit.ci start-->
    updates:
    - [github.com/tox-dev/tox-toml-fmt: v1.6.0 →
    v1.7.2](tox-dev/tox-toml-fmt@v1.6.0...v1.7.2)
    - [github.com/tox-dev/pyproject-fmt: v2.16.0 →
    v2.16.2](tox-dev/pyproject-fmt@v2.16.0...v2.16.2)
    - [github.com/astral-sh/ruff-pre-commit: v0.15.1 →
    v0.15.2](astral-sh/ruff-pre-commit@v0.15.1...v0.15.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 23, 2026
    Configuration menu
    Copy the full SHA
    aeb0da1 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2026

  1. Add security policy

    gaborbernat committed Feb 26, 2026
    Configuration menu
    Copy the full SHA
    2f0cd48 View commit details
    Browse the repository at this point in the history
  2. Add permissions to workflows (#455)

    ## Summary
    - Add explicit `permissions: contents: read` to workflow files
    - Satisfies the `actions/missing-workflow-permissions` code scanning
    rule
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    gaborbernat and pre-commit-ci[bot] authored Feb 26, 2026
    Configuration menu
    Copy the full SHA
    5ef8a10 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2026

  1. Move SECURITY.md to .github/SECURITY.md

    GitHub recognizes SECURITY.md in .github/ directory. Remove the
    duplicate from repo root.
    gaborbernat authored Feb 27, 2026
    Configuration menu
    Copy the full SHA
    da59cc6 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump the all group with 2 updates (#457)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 27, 2026
    Configuration menu
    Copy the full SHA
    27582df View commit details
    Browse the repository at this point in the history
  3. Standardize .github files to .yaml suffix

    Remove .yml duplicates and rename to .yaml where needed: rename
    dependabot.yml->.yaml rename release.yml->.yaml rename
    FUNDING.yml->.yaml
    gaborbernat authored Feb 27, 2026
    Configuration menu
    Copy the full SHA
    b10b8c5 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2026

  1. Configuration menu
    Copy the full SHA
    423bc18 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2026

  1. Update README.md

    gaborbernat authored Mar 2, 2026
    Configuration menu
    Copy the full SHA
    455f98e View commit details
    Browse the repository at this point in the history
  2. [pre-commit.ci] pre-commit autoupdate (#461)

    <!--pre-commit.ci start-->
    updates:
    - [github.com/python-jsonschema/check-jsonschema: 0.36.2 →
    0.37.0](python-jsonschema/check-jsonschema@0.36.2...0.37.0)
    - [github.com/tox-dev/tox-toml-fmt: v1.7.2 →
    v1.8.0](tox-dev/tox-toml-fmt@v1.7.2...v1.8.0)
    - [github.com/astral-sh/ruff-pre-commit: v0.15.2 →
    v0.15.4](astral-sh/ruff-pre-commit@v0.15.2...v0.15.4)
    <!--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 Mar 2, 2026
    Configuration menu
    Copy the full SHA
    96e0ed0 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2026

  1. Release 4.9.4

    gaborbernat committed Mar 5, 2026
    Configuration menu
    Copy the full SHA
    3fdb23e View commit details
    Browse the repository at this point in the history
Loading