Contributing docs: local test runs silently skip SpatiaLite and ext.c tests, and the setup steps assume SSH and uv
Maintainer antworten meist innerhalb von 3 Tagen
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 84/100
- Issue-Typ
- Dokumentation
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python, sqlite
- Bereich
- documentation, testing
Rechercherichtung
Lies docs/contributing.rst zusammen mit .github/workflows/test.yml, um die Einrichtung für Mitwirkende auf die CI-Umgebung abzustimmen. Aktualisiere die Anweisungen zum Klonen für HTTPS-Klone von Forks, verlinke die Installationsanweisungen für uv und dokumentiere die lokale Einrichtung der Tests für SpatiaLite und ext.c mit den Befehlen aus dem Issue. Fertig ist die Arbeit, wenn die Seite diese Voraussetzungen erklärt und Mitwirkende erkennen können, warum diese Tests andernfalls lokal übersprungen werden könnten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Following docs/contributing.rst on a fresh macOS machine, I hit three gaps:
-
The clone command uses SSH (
git clone [email protected]:simonw/sqlite-utils). It worked for me because I already have an SSH key on GitHub, but it fails withPermission denied (publickey)for anyone without one, and contributors usually need to clone their fork rather than the main repository. -
Every command uses
uv run, but the page does not say uv must be installed or link to its install instructions. -
uv run pytestpasses locally while skipping tests that CI runs. On my machine: 1,494 passed, 19 skipped.pytest -rsshows 12 skips intests/test_gis.py("Could not find SpatiaLite extension") and 3 intests/test_cli.py("Requires compiled ext.c"). CI installslibsqlite3-mod-spatialiteand compilesext.cin.github/workflows/test.yml, but the contributing page mentions neither, so a contributor changing GIS code can get a green local run and a red CI run.
Environment: macOS 26.2, Python 3.11.5, uv 0.13.7, sqlite-utils main at 9c66baf.
Proposed fix, in docs/contributing.rst: clone your fork over HTTPS, link https://docs.astral.sh/uv/getting-started/installation/, and add a "Tests that skip locally" section with brew install spatialite-tools (macOS) or apt-get install libsqlite3-mod-spatialite (Ubuntu) and cd tests && gcc ext.c -fPIC -shared -o ext.so.
Related: #900 (docs build command) and #872 (CI legs that never run a pandas test). Happy to open a PR for this.
- Vorherrschende Sprache
- Python
- Sterne
- 2.2k
- Forks
- 215
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus simonw/sqlite-utils
-
FTS detection treats table names as LIKE patternsEvtl. vergeben @IlyaKhalafi hat das vor 1 Tag übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
simonw/sqlite-utils#930 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Tests use CliRunner.isolated_filesystem(), which is deprecated and will be removed in Click 9.0Evtl. vergeben @devpryan7792 hat das vor 13 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
simonw/sqlite-utils#916 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
rows_from_file() splits a single-column CSV file on a letter, or raises csv.ErrorEvtl. vergeben @L4XB hat das vor 21 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
simonw/sqlite-utils#907 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
enable_fts() exhausts iterator columns before populating the indexEvtl. vergeben @syahra712 hat das vor 27 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
simonw/sqlite-utils#902 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
rows_from_file() ignores ignore_extras= and extras_key= for anything that isn't Format.CSVEvtl. vergeben @feiiiiii5 hat das vor 38 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
simonw/sqlite-utils#892 ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in simonw/sqlite-utils
Ähnliche Issues
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)Evtl. vergeben @geyazheng hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
langchain-ai/langchain-aws#1469 ·
Maintainer antworten meist innerhalb von 1 Tag
-
GCToggler leaves collection enabled if the body re-enables itEvtl. vergeben @Gambit-Checkmate hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 7 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
EESSI/docs#949 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
doronz88/pymobiledevice3#2176 ·
Maintainer antworten meist innerhalb von 1 Tag
-
b4b usability
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag