[BUG]: Remove obsolete PyPI logging dependency from pyproject.toml
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 1/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- build-system
Direzione di ricerca
The issue names backend/pyproject.toml, uv.lock, and the setup command in CONTRIBUTING.md. Read the dependency entry and reproduce the clean setup with uv sync --no-build-isolation; done means the obsolete logging pin is removed, the lockfile is updated, and the documented command succeeds. An open linked pull request already covers this work.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug Description
backend/pyproject.toml pins "logging>=0.4.9.6". logging has been a standard library module since Python 2.3 and does not need to be installed from PyPI.
The PyPI logging package is an unmaintained source distribution from 2008 without prebuilt wheels. Running the backend setup command documented in CONTRIBUTING.md (uv sync --no-build-isolation) fails on a clean setup because the package requires setuptools to build from source, which is not pre-installed in the environment. While plain uv sync succeeds using an isolated build sandbox, pinning this obsolete distribution adds unnecessary build overhead and breaks the documented setup instructions.
I used an AI assistant to help investigate the root cause, and I reproduced and verified all behavior locally in a clean virtual environment.
I would like to work on this issue and submit a PR to remove the pin and update uv.lock.
Steps to Reproduce
- In a clean environment without pre-installed setuptools, navigate to backend/
- Run: uv sync --no-build-isolation
Logs and Screenshots
× Failed to build `logging==0.4.9.6`
├─▶ The build backend returned an error
╰─▶ Call to
`setuptools.build_meta:__legacy__.prepare_metadata_for_build_wheel`
failed (exit code: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 8, in <module>
from setuptools.build_meta import __legacy__ as backend
ModuleNotFoundError: No module named 'setuptools'
Environment Details
- OS: Windows 11 (affects clean Linux/macOS environments as well)
- Python: 3.13
- uv: 0.11.21
Impact
Medium - Feature works but has issues
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- Lingua principale
- TypeScript
- Stelle
- 58
- Fork
- 90
- Merge medio
- 11h 51m
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 AOSSIE-Org/Perspective
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
AOSSIE-Org/Perspective#191 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
AOSSIE-Org/Perspective#190 ·
-
[BUG]: Missing input validation in URlRequest and ChatQuery causes 500 crashes and wasteful scraper executionForse già presa @agarwalpranav0711 l’ha presa 25 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
AOSSIE-Org/Perspective#178 ·
-
[BUG]: chunk_rag_data crashes with ValueError when perspective is a dict, silently dropping RAG vector storageForse già presa @agarwalpranav0711 l’ha presa 36 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
AOSSIE-Org/Perspective#175 ·
-
[BUG]: Scraper passes headers as query params in requests.get (User-Agent never sent)Forse già presa @Th-Shivam l’ha presa 50 giorni fa. Apertabug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
AOSSIE-Org/Perspective#161 · 1 commento ·
Tutte le issue di AOSSIE-Org/Perspective
Issue simili
-
documentation lens:human needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
thebristolsound/birdbrain#2246 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
A voting window past about 69.9 million hours stores a deadline that reads back as no deadlineApertabug ready-for-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
BoardGamesEmpire/board-games-empire-backend#1452 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue stretch
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno