Skip to content

CI test#1

Open
lengau wants to merge 15 commits intomainfrom
runtime-dir
Open

CI test#1
lengau wants to merge 15 commits intomainfrom
runtime-dir

Conversation

@lengau
Copy link
Copy Markdown
Owner

@lengau lengau commented Aug 22, 2025

This fixes cases where XDG_RUNTIME_DIR is unset and the default runtime dir does not exist by getting a directory using Python's built-in tempfile.

Fixes tox-dev#368

@lengau lengau closed this Aug 22, 2025
@lengau lengau reopened this Aug 22, 2025
@lengau lengau closed this Aug 22, 2025
@lengau lengau reopened this Aug 22, 2025
@lengau lengau force-pushed the runtime-dir branch 2 times, most recently from 6c4f908 to 569d313 Compare August 22, 2025 16:59
joclement and others added 14 commits December 8, 2025 13:48
* docs: update outdated link

* style: drop unneeded empty line

* docs: correct function description
* Fix docs for `site_cache_dir`

* Clean up documentation grammar
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.7 → v0.14.8](astral-sh/ruff-pre-commit@v0.14.7...v0.14.8)
- [github.com/rbubley/mirrors-prettier: v3.7.3 → v3.7.4](rbubley/mirrors-prettier@v3.7.3...v3.7.4)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Bumps the all group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v5...v6)

Updates `actions/download-artifact` from 6 to 7
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.8 → v0.14.9](astral-sh/ruff-pre-commit@v0.14.8...v0.14.9)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.35.0 → 0.36.0](python-jsonschema/check-jsonschema@0.35.0...0.36.0)
- [github.com/astral-sh/ruff-pre-commit: v0.14.9 → v0.14.10](astral-sh/ruff-pre-commit@v0.14.9...v0.14.10)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.11 → v0.14.13](astral-sh/ruff-pre-commit@v0.14.11...v0.14.13)
- [github.com/rbubley/mirrors-prettier: v3.7.4 → v3.8.0](rbubley/mirrors-prettier@v3.7.4...v3.8.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/tox-dev/pyproject-fmt: v2.11.1 → v2.12.1](tox-dev/pyproject-fmt@v2.11.1...v2.12.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
Fix tox-dev#348

Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
When XDG_RUNTIME_DIR is unset and the platform default runtime directory
(e.g. /run/user/<uid>) does not exist or is not writable, fall back to
a temporary directory via tempfile.gettempdir() instead of returning an
unusable path.

Closes tox-dev#368

Co-authored-by: Alex Lowe <alex.lowe@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

user_runtime_dir does not follow the XDG standard, potentially leading to crashes.

6 participants