Skip to content

Update a "How To Contribute" to match uv (not a pip) #4823

@Aweryc

Description

@Aweryc

Issue I am facing

I start to learn how to contribute to PTB and found this.

We have in file CONTRIBUTING.rst:

Install the package in development mode as well as optional dependencies and development dependencies. Note that the --group argument requires pip 25.1 or later.

$ pip install -e .[all] --group all

I assume to change for:

Install the package in development mode as well as optional dependencies and development dependencies. Note that it requires uv package manager installed.

$ uv sync --group all
$ uv pip install -e .

It works for me. And not misleading for user who want to contribute from the start.

Operating System

Win 10

Version of Python, python-telegram-bot & dependencies

python-telegram-bot 22.1
Bot API 9.0
Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy