Skip to content

Commit

Permalink
Upgrade everything and restrict pydantic version
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianDAlessandro committed Oct 4, 2023
1 parent 8445c18 commit 1d3b7e0
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 47 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies = [
"python-multipart",
"h5py",
"orjson",
"pydantic<2.0",
]

[project.optional-dependencies]
Expand Down
71 changes: 38 additions & 33 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,43 @@
#
# pip-compile --extra=dev --output-file=requirements-dev.txt
#
anyio==4.0.0
anyio==3.7.1
# via
# fastapi
# httpcore
# starlette
attrs==23.1.0
# via pytest-mypy
black==23.3.0
black==23.9.1
# via datahub (pyproject.toml)
build==1.0.0
build==1.0.3
# via pip-tools
certifi==2023.7.22
# via
# httpcore
# httpx
cfgv==3.4.0
# via pre-commit
click==8.1.6
click==8.1.7
# via
# black
# pip-tools
# uvicorn
coverage[toml]==7.3.1
coverage[toml]==7.3.2
# via pytest-cov
defusedxml==0.7.1
# via odfpy
distlib==0.3.7
# via virtualenv
et-xmlfile==1.1.0
# via openpyxl
exceptiongroup==1.1.2
exceptiongroup==1.1.3
# via
# anyio
# pytest
fastapi==0.99.1
fastapi==0.103.2
# via datahub (pyproject.toml)
filelock==3.12.2
filelock==3.12.4
# via
# pytest-mypy
# virtualenv
Expand All @@ -49,19 +50,19 @@ h11==0.14.0
# uvicorn
h5py==3.9.0
# via datahub (pyproject.toml)
httpcore==0.17.3
httpcore==0.18.0
# via httpx
httpx==0.24.1
httpx==0.25.0
# via datahub (pyproject.toml)
identify==2.5.26
identify==2.5.30
# via pre-commit
idna==3.4
# via
# anyio
# httpx
iniconfig==2.0.0
# via pytest
mypy==1.4.1
mypy==1.5.1
# via
# datahub (pyproject.toml)
# pytest-mypy
Expand All @@ -71,7 +72,7 @@ mypy-extensions==1.0.0
# mypy
nodeenv==1.8.0
# via pre-commit
numpy==1.25.0
numpy==1.26.0
# via
# h5py
# pandas
Expand All @@ -80,34 +81,36 @@ odfpy==1.4.1
# via pandas
openpyxl==3.1.2
# via pandas
orjson==3.9.2
orjson==3.9.7
# via datahub (pyproject.toml)
packaging==23.1
packaging==23.2
# via
# black
# build
# pytest
pandas[excel]==2.1.1
# via datahub (pyproject.toml)
pandas-stubs==2.0.2.230605
pandas-stubs==2.1.1.230928
# via datahub (pyproject.toml)
pathspec==0.11.2
# via black
pip-tools==7.2.0
pip-tools==7.3.0
# via datahub (pyproject.toml)
platformdirs==3.8.0
platformdirs==3.11.0
# via
# black
# virtualenv
pluggy==1.2.0
pluggy==1.3.0
# via pytest
pre-commit==3.3.3
pre-commit==3.4.0
# via datahub (pyproject.toml)
pydantic==1.10.10
# via fastapi
pydantic==1.10.13
# via
# datahub (pyproject.toml)
# fastapi
pyproject-hooks==1.0.0
# via build
pytest==7.4.0
pytest==7.4.2
# via
# datahub (pyproject.toml)
# pytest-cov
Expand All @@ -123,13 +126,13 @@ python-dateutil==2.8.2
# via pandas
python-multipart==0.0.6
# via datahub (pyproject.toml)
pytz==2023.3
pytz==2023.3.post1
# via pandas
pyxlsb==1.0.10
# via pandas
pyyaml==6.0
pyyaml==6.0.1
# via pre-commit
ruff==0.0.291
ruff==0.0.292
# via datahub (pyproject.toml)
six==1.16.0
# via python-dateutil
Expand All @@ -138,7 +141,7 @@ sniffio==1.3.0
# anyio
# httpcore
# httpx
starlette==0.31.1
starlette==0.27.0
# via fastapi
tomli==2.0.1
# via
Expand All @@ -149,24 +152,26 @@ tomli==2.0.1
# pip-tools
# pyproject-hooks
# pytest
types-pytz==2023.3.0.0
types-pytz==2023.3.1.1
# via pandas-stubs
typing-extensions==4.7.1
typing-extensions==4.8.0
# via
# black
# fastapi
# mypy
# pydantic
# uvicorn
tzdata==2023.3
# via pandas
uvicorn==0.22.0
uvicorn==0.23.2
# via datahub (pyproject.toml)
virtualenv==20.23.1
virtualenv==20.24.5
# via pre-commit
wheel==0.40.0
wheel==0.41.2
# via pip-tools
xlrd==2.0.1
# via pandas
xlsxwriter==3.1.2
xlsxwriter==3.1.6
# via pandas

# The following packages are considered to be unsafe in a requirements file:
Expand Down
33 changes: 19 additions & 14 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,61 +4,66 @@
#
# pip-compile
#
anyio==4.0.0
# via starlette
click==8.1.6
anyio==3.7.1
# via
# fastapi
# starlette
click==8.1.7
# via uvicorn
defusedxml==0.7.1
# via odfpy
et-xmlfile==1.1.0
# via openpyxl
exceptiongroup==1.1.2
exceptiongroup==1.1.3
# via anyio
fastapi==0.99.1
fastapi==0.103.2
# via datahub (pyproject.toml)
h11==0.14.0
# via uvicorn
h5py==3.9.0
# via datahub (pyproject.toml)
idna==3.4
# via anyio
numpy==1.25.0
numpy==1.26.0
# via
# h5py
# pandas
odfpy==1.4.1
# via pandas
openpyxl==3.1.2
# via pandas
orjson==3.9.2
orjson==3.9.7
# via datahub (pyproject.toml)
pandas[excel]==2.1.1
# via datahub (pyproject.toml)
pydantic==1.10.10
# via fastapi
pydantic==1.10.13
# via
# datahub (pyproject.toml)
# fastapi
python-dateutil==2.8.2
# via pandas
python-multipart==0.0.6
# via datahub (pyproject.toml)
pytz==2023.3
pytz==2023.3.post1
# via pandas
pyxlsb==1.0.10
# via pandas
six==1.16.0
# via python-dateutil
sniffio==1.3.0
# via anyio
starlette==0.31.1
starlette==0.27.0
# via fastapi
typing-extensions==4.7.1
typing-extensions==4.8.0
# via
# fastapi
# pydantic
# uvicorn
tzdata==2023.3
# via pandas
uvicorn==0.22.0
uvicorn==0.23.2
# via datahub (pyproject.toml)
xlrd==2.0.1
# via pandas
xlsxwriter==3.1.2
xlsxwriter==3.1.6
# via pandas

0 comments on commit 1d3b7e0

Please sign in to comment.