requirements.txt:

requests beautifulsoup4 somelibrary 

Usually, if you want to install libraries that are written in requirements.txt , they write pip install -r requirements.txt .

My problem is that a bug was noticed in the somelibrary library, which was later corrected by the community in Pull requests . How should I write in requirements.txt for the library to pull with Pull requests.

I don't know much about git

  • one
    git+https://github.com/юзер/репа.git - andreymal
  • one
    Or to pull a specific commit: git+https://github.com/юзер/репа.git@название , where the название is a hash of the commit or the name of a branch or tag name is andreymal
  • @andreymal If the URL of the commit that is in Pull requests looks like this: github.com/ramusus/kinopoiskpy/pull/47/commits/… , then how should it look like? - Dodo Polo

0