mirror of https://github.com/tiangolo/fastapi.git
👷 Upgrade custom GitHub Action comment-docs-preview-in-pr (#10916)
This commit is contained in:
parent
7fbb7963d3
commit
423cdd24cc
|
|
@ -1,6 +1,8 @@
|
|||
FROM python:3.9
|
||||
FROM python:3.10
|
||||
|
||||
RUN pip install httpx "pydantic==1.5.1" pygithub
|
||||
COPY ./requirements.txt /app/requirements.txt
|
||||
|
||||
RUN pip install -r /app/requirements.txt
|
||||
|
||||
COPY ./app /app
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@ from typing import Union
|
|||
import httpx
|
||||
from github import Github
|
||||
from github.PullRequest import PullRequest
|
||||
from pydantic import BaseModel, BaseSettings, SecretStr, ValidationError
|
||||
from pydantic import BaseModel, SecretStr, ValidationError
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
github_api = "https://api.github.com"
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
PyGithub
|
||||
pydantic>=2.5.3,<3.0.0
|
||||
pydantic-settings>=2.1.0,<3.0.0
|
||||
httpx
|
||||
Loading…
Reference in New Issue