kikocis/auto-code-rover public
Changesets · Branches · Tags · Compare
| Changeset | 831d2a8f2ea03300a9b18ae6fc1726d0fb8444241bb699cd3c62d3fd67797b5d |
|---|---|
| Author | Martin Mirchev <mirchevmartin2203@gmail.com> · 2024-07-18 14:01 +08:00 |
| Committer | Martin Mirchev <mirchevmartin2203@gmail.com> · 2024-07-18 14:01 +08:00 |
| Parents | 926327b650b6 |
2 files changed
modified app/raw_tasks.py +2 −2
| @@ -5,7 +5,7 @@ | ||
| 5 | 5 | from os.path import join as pjoin |
| 6 | 6 | from pathlib import Path |
| 7 | 7 | |
| 8 | -import requests | |
| 8 | +import httpx | |
| 9 | 9 | |
| 10 | 10 | from app import utils as app_utils |
| 11 | 11 | from app.log import log_and_print |
| @@ -160,7 +160,7 @@ | ||
| 160 | 160 | _, owner, repo, _, issue_number = issue_url.rsplit("/", 4) |
| 161 | 161 | |
| 162 | 162 | api_url = f"https://api.github.com/repos/{owner}/{repo}/issues/{issue_number}" |
| 163 | - response = requests.get(api_url) | |
| 163 | + response = httpx.get(api_url) | |
| 164 | 164 | |
| 165 | 165 | if response.status_code != 200: |
| 166 | 166 | raise RuntimeError( |
modified environment.yml +0 −2
| @@ -26,7 +26,6 @@ | ||
| 26 | 26 | - xz=5.4.5 |
| 27 | 27 | - zlib=1.2.13 |
| 28 | 28 | - loguru=0.7.2 |
| 29 | - - requests=2.31.0 | |
| 30 | 29 | - rich=13.7.1 |
| 31 | 30 | - pip: |
| 32 | 31 | - annotated-types==0.6.0 |
| @@ -45,7 +44,6 @@ | ||
| 45 | 44 | - pydantic==2.5.3 |
| 46 | 45 | - pydantic-core==2.14.6 |
| 47 | 46 | - python-dotenv==1.0.0 |
| 48 | - - requests==2.31.0 | |
| 49 | 47 | - rich==13.7.1 |
| 50 | 48 | - sniffio==1.3.0 |
| 51 | 49 | - soupsieve==2.5 |