Upgrade virtualenv in uv.lock without downgrading tox on Python <3.9
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 1/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- build-system, devops
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
❌ 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.tomlpinstox<4on Python <3.9 andtox>=4plustox-uvon 3.9+.- tox 3.x depends on
virtualenv, so the lock needs a separatevirtualenvversion on each Python range tox 3.x runs on. tox 1.1 has novirtualenvdependency, which is how the resolver picked it. - The py3.6–3.8 CI jobs
pip install toxwithout the lockfile, so CI passed on #389 despite the broken lock. uv lock --upgrade-package virtualenvonrelease-v0.9.xkeeps tox 3.14.6 and resolvesvirtualenvto 20.16.2 (py3.6–3.7), 21.4.3 (py3.8) and 21.14.5 (py3.9+).
The Change
virtualenvshould be upgraded inuv.lockto a release that includespypa/virtualenv#3252on every Python range that has one.python-discoverymoves with it:virtualenv21.x depends on it.toxand thevirtualenvversions locked for py3.6–3.8 have to stay compatible with each other, since the newervirtualenvreleases have dropped those Pythons.
Acceptance Criteria
-
uv.lockresolvestoxto 3.x on Python 3.6, 3.7 and 3.8. -
uv.lockresolvesvirtualenvto ≥ 21.7.13 on Python 3.9+. -
uv lock --checkpasses. -
toxruns this repo'stox.inion 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.
- Lingua principale
- Python
- Stelle
- 15
- Fork
- 23
- Merge medio
- 2g 22h
- PR unite (30g)
- 4
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di learningequality/morango
-
DEV: dev-ops DEV: distributions DOCS: developer
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
learningequality/morango#387 ·
-
DEV: backend DEV: dev-ops TAG: unit tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
learningequality/morango#385 ·
-
DEV: backend P0 - critical TAG: tech update / debt TAG: unit tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
learningequality/morango#364 ·
-
DEV: dev-ops TAG: dev experience TAG: tech update / debt
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
learningequality/morango#394 ·
-
Streaming operator modules need similar `begin` hookForse già presa @bjester l’ha presa 5 giorni fa. ApertaDEV: backend TAG: tech update / debt
learningequality/morango#393 · 1 assegnatario ·
Tutte le issue di learningequality/morango
Issue simili
-
wr.dynamodb.read_items returns [{}] for a single partition value that does not existForse già presa @auraseb l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
aws/aws-sdk-pandas#3520 ·
I maintainer di solito rispondono entro 2 giorni
-
requires triage typing
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
sqlalchemy/sqlalchemy#13704 ·
I maintainer di solito rispondono entro 1 giorno
-
Edit tool converts CRLF files to LFForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
huggingface/tau#774 ·
I maintainer di solito rispondono entro 1 giorno
-
show ignores the row limit when a column or table name contains "limit"Forse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
What happened to `check.py`?Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
linebender/resvg#1179 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni