2pisoftware / 2pisoftware/weedremeed-scripts

requirements.txt & pyproject.toml pin weedremeed-client to inaccessible internal GitLab

Offen Anfängerfreundlich
#2 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Summary
`requirements.txt` and `pyproject.toml` install `weedremeed-client` from the **internal GitLab** repo, which external users can't access:

`requirements.txt`:
```
weedremeed-client @ git+ssh://git@gitlab.internal.2pisoftware.com/customers/CISS/weedremeed/weedremeed-python@ff93f46f91f7a016847f90e9f32591d2fef6d78b
```

`pyproject.toml` (`[tool.uv.sources]`):
```
weedremeed-client = { git = "ssh://git@gitlab.internal.2pisoftware.com/customers/CISS/weedremeed/weedremeed-python" }
```

The host is reachable, but the repo is private (requires an SSH key registered to a GitLab account **and** a repo grant), so `pip install -r requirements.txt` fails for anyone outside 2pisoftware with `Permission denied (publickey)`.

## Suggested fix
The library is now publicly mirrored at https://github.com/2pisoftware/weedremeed-python, and its `main` HEAD matches the pinned commit `ff93f46f91f7a016847f90e9f32591d2fef6d78b`. Pointing both files at the public mirror would let external users install directly, e.g.:

```
weedremeed-client @ git+https://github.com/2pisoftware/weedremeed-python@ff93f46f91f7a016847f90e9f32591d2fef6d78b
```

(plus the equivalent change in `pyproject.toml`). Verified: installing from the mirror builds `weedremeed-client 1.0.0` identically to the GitLab pin.

cc @careck

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

The issue is in two files: requirements.txt and pyproject.toml. In requirements.txt, replace the git+ssh URL with the public GitHub mirror URL. In pyproject.toml, update the git source under [tool.uv.sources]. Verify the fix by running a pip install command to ensure the dependency resolves correctly from the new location.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Ruhig
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
90/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.