Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Upgrade virtualenv in uv.lock without downgrading tox on Python <3.9

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
1/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python

調査の方向性

Start with pyproject.toml and uv.lock, then review the Python version markers and dependency resolution described in the issue. Run uv lock --upgrade-package virtualenv on release-v0.9.x and check the lock with uv lock --check; verify tox remains 3.x on Python 3.6–3.8 and virtualenv is at least 21.7.13 on Python 3.9+. Confirm tox runs tox.ini on Python 3.8.

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

説明

dependencies DEV: dev-ops TAG: dependencies

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

Dependabot PR #389 bumped virtualenv from 20.16.2 (py3.6–3.7) and 21.2.0 (py3.8+) to 21.7.13, which fixes path command injection in the bash and fish activation scripts (pypa/virtualenv#3252). It was closed unmerged because it collapsed virtualenv to one version for every Python. On Python <3.9 that left tox<4 resolving to tox 1.1 (2011) instead of 3.14.6, and tox 1.1 cannot run this repo's tox.ini.

Complexity: Low
Target branch: release-v0.9.x

Context
  • pyproject.toml pins tox<4 on Python <3.9 and tox>=4 plus tox-uv on 3.9+.
  • tox 3.x depends on virtualenv, so the lock needs a separate virtualenv version on each Python range tox 3.x runs on. tox 1.1 has no virtualenv dependency, which is how the resolver picked it.
  • The py3.6–3.8 CI jobs pip install tox without the lockfile, so CI passed on #389 despite the broken lock.
  • uv lock --upgrade-package virtualenv on release-v0.9.x keeps tox 3.14.6 and resolves virtualenv to 20.16.2 (py3.6–3.7), 21.4.3 (py3.8) and 21.14.5 (py3.9+).
The Change
  • virtualenv should be upgraded in uv.lock to a release that includes pypa/virtualenv#3252 on every Python range that has one.
  • python-discovery moves with it: virtualenv 21.x depends on it.
  • tox and the virtualenv versions locked for py3.6–3.8 have to stay compatible with each other, since the newer virtualenv releases have dropped those Pythons.
Acceptance Criteria
  • uv.lock resolves tox to 3.x on Python 3.6, 3.7 and 3.8.
  • uv.lock resolves virtualenv to ≥ 21.7.13 on Python 3.9+.
  • uv lock --check passes.
  • tox runs this repo's tox.ini on Python 3.8 with the locked dependencies.
References
  • Closed Dependabot PR: #389

AI usage

Claude Code drafted this from its review of #389 and checked the resolution by relocking the base branch.

Filed from #389's review.

主要言語
Python
スター
15
フォーク
23
平均マージ
4日 2時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

learningequality/morango のほかの issue

learningequality/morango の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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