security(deps): accepted risk for filelock < 4.2.1 in tox requirements on Python 3.10

オープン
#1,581 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, python
領域
ci-cd, security

調査の方向性

Inspect .github/requirements/tox.txt and the Python 3.10 setup in main.yml and ci-daily.yml. Read the tox environment configuration and determine how to run tox on Python 3.11 while creating the Python 3.10 test environment, then update the filelock pin to a fixed release. Done means tox.txt contains no filelock below 4.2.1 and the 17 listed alerts can close.

索引モデルが issue の本文から書いたものです。

説明

Problem

.github/requirements/tox.txt pins filelock==4.1.0 ; python_full_version < '3.11' (via tox, virtualenv and python-discovery). filelock <= 4.2.0 has one high and twelve medium advisories. Every fixed release (4.2.1 and later) requires Python 3.11.

main.yml and ci-daily.yml install tox.txt on Python 3.10, 3.11, 3.12, 3.13 and 3.14. So the file must keep resolving on Python 3.10, and no fix is possible without a workflow change.

Dependabot alerts on tox.txt:

  • High: 3.
  • Medium: 4, 5, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18.
  • Low, same cause: 6, 7, 13, 19.

Decision

The risk was accepted on 2026-12-01. The file installs only on CI runners to run tox. The Vanta rows for the 13 high and medium alerts will be deactivated with this reason and a link to this issue.

Options

  1. Run the tox host on Python 3.11 in the 3.10 matrix job, and let tox create the 3.10 test env (for example with tox -e py310 or tox-uv's interpreter discovery). Then compile tox.txt for 3.11.
  2. Drop Python 3.10 support (CPython 3.10 reached end of life in October 2026), then compile for 3.11. qBraid/pyqasm#489 takes this route for pyqasm.
  3. Wait for a filelock backport to Python 3.10.

Acceptance

tox.txt pins no filelock < 4.2.1, and all 17 filelock alerts close.

主要言語
Python
スター
117
フォーク
66
平均マージ
1日 10時間
マージ済み PR(30日)
22

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

qBraid/qBraid のほかの issue

qBraid/qBraid の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。