slackapi / slackapi/bolt-python

Fully define dependencies for async support via optional dependency group

Offen
#1,472 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

area:async auto-triage-skip dependencies
Vorherrschende Sprache
Python
Sterne
1.3k
Forks
288
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
10

Beschreibung

The current docs suggest adding aiohttp as a dependency to create an async app, but this creates a direct dependency on aiohttp for consumers of slack-bolt on what is is really a transitive dependency for the consumer of slack-bolt. This is especially important because this leaves it to consumers to find compatible versions of slack-bolt and aiohttp without the aide of a package manager.

slack-bolt should define an optional dependency group and include aiohttp so that consumers of this library don't need to maintain a dependency on a transitive. Consumers would be able to uv add slack-bolt[async] for example to include the optional dependencies.

Category (place an x in each of the [ ])
  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • [] Others

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der Dokumentation für slack_bolt.async_app.AsyncApp und den Paketmetadaten, in denen die Abhängigkeiten definiert sind. Prüfe, wie die async-Unterstützung derzeit installiert wird, und verifiziere anschließend, dass die optionale async-Abhängigkeitsgruppe aiohttp enthält und dass der dokumentierte Workflow uv add slack-bolt[async] es installiert, ohne dass Verbraucher dies direkt verwalten müssen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
backend, build-system
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

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