Skip to content

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Jan 8, 2026

Related to #17364

Add a doc comment explaining that relative paths are considered invalid
per the XDG Base Directory Specification, which states that paths in
these environment variables must be absolute.

Also rename parse_path to parse_xdg_path to make the XDG connection
clearer.

Closes astral-sh#17364
@zanieb zanieb changed the title Document why parse_xdg_path requires absolute paths Document why parse_xdg_path requires absolute paths Jan 8, 2026
@zanieb zanieb marked this pull request as ready for review January 8, 2026 21:11
@zanieb zanieb added the internal A refactor or improvement that is not user-facing label Jan 8, 2026
@zanieb zanieb enabled auto-merge (squash) January 8, 2026 21:16
@zanieb zanieb merged commit 25d691e into astral-sh:main Jan 8, 2026
101 checks passed
zanieb added a commit that referenced this pull request Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants