Skip to content

Commit

Permalink
Merge pull request #223 from ImperialCollegeLondon/update-packages
Browse files Browse the repository at this point in the history
Update packages
  • Loading branch information
AdrianDAlessandro authored Feb 9, 2024
2 parents 5cfa5f9 + 86946ab commit 465806a
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 60 deletions.
15 changes: 0 additions & 15 deletions .github/dependabot.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.2.0'
rev: 'v0.2.1'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion datahub/opal.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def append(self, data: dict[str, int | float] | list[int | float]) -> None:
data_index = data["frame"]

dtypes = self._obj.dtypes
self._obj.loc[data_index] = row.loc[data_index] # type: ignore[call-overload]
self._obj.loc[data_index] = row.loc[data_index] # type: ignore[index]
self._obj[:] = self._obj.astype(dtypes)[:]
self._obj[self._obj.columns] = self._obj.astype(dtypes)[self._obj.columns]

Expand Down
60 changes: 32 additions & 28 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@
#
# pip-compile --extra=dev --output-file=requirements-dev.txt
#
anyio==3.7.1
anyio==4.2.0
# via
# fastapi
# httpx
# starlette
attrs==23.1.0
attrs==23.2.0
# via pytest-mypy
black==23.11.0
black==24.1.1
# via datahub (pyproject.toml)
build==1.0.3
# via pip-tools
certifi==2023.11.17
certifi==2024.2.2
# via
# httpcore
# httpx
Expand All @@ -26,19 +25,21 @@ click==8.1.7
# black
# pip-tools
# uvicorn
coverage[toml]==7.3.2
# via pytest-cov
coverage[toml]==7.4.1
# via
# coverage
# pytest-cov
defusedxml==0.7.1
# via odfpy
distlib==0.3.7
distlib==0.3.8
# via virtualenv
et-xmlfile==1.1.0
# via openpyxl
exceptiongroup==1.1.3
exceptiongroup==1.2.0
# via
# anyio
# pytest
fastapi==0.104.1
fastapi==0.109.2
# via datahub (pyproject.toml)
filelock==3.13.1
# via
Expand All @@ -54,15 +55,15 @@ httpcore==1.0.2
# via httpx
httpx==0.26.0
# via datahub (pyproject.toml)
identify==2.5.31
identify==2.5.33
# via pre-commit
idna==3.4
idna==3.6
# via
# anyio
# httpx
iniconfig==2.0.0
# via pytest
mypy==1.7.1
mypy==1.8.0
# via
# datahub (pyproject.toml)
# pytest-mypy
Expand All @@ -72,7 +73,7 @@ mypy-extensions==1.0.0
# mypy
nodeenv==1.8.0
# via pre-commit
numpy==1.26.2
numpy==1.26.4
# via
# h5py
# pandas
Expand All @@ -81,36 +82,36 @@ odfpy==1.4.1
# via pandas
openpyxl==3.1.2
# via pandas
orjson==3.9.10
orjson==3.9.13
# via datahub (pyproject.toml)
packaging==23.2
# via
# black
# build
# pytest
pandas[excel]==2.1.3
pandas[excel]==2.2.0
# via datahub (pyproject.toml)
pandas-stubs==2.1.1.230928
pandas-stubs==2.1.4.231227
# via datahub (pyproject.toml)
pathspec==0.12.1
# via black
pip-tools==7.3.0
# via datahub (pyproject.toml)
platformdirs==3.11.0
platformdirs==4.2.0
# via
# black
# virtualenv
pluggy==1.4.0
# via pytest
pre-commit==3.6.0
# via datahub (pyproject.toml)
pydantic==1.10.13
pydantic==1.10.14
# via
# datahub (pyproject.toml)
# fastapi
pyproject-hooks==1.0.0
# via build
pytest==7.4.3
pytest==8.0.0
# via
# datahub (pyproject.toml)
# pytest-cov
Expand All @@ -122,25 +123,27 @@ pytest-mock==3.12.0
# via datahub (pyproject.toml)
pytest-mypy==0.10.3
# via datahub (pyproject.toml)
python-calamine==0.1.7
# via pandas
python-dateutil==2.8.2
# via pandas
python-multipart==0.0.6
python-multipart==0.0.7
# via datahub (pyproject.toml)
pytz==2023.3.post1
pytz==2024.1
# via pandas
pyxlsb==1.0.10
# via pandas
pyyaml==6.0.1
# via pre-commit
ruff==0.1.5
ruff==0.2.1
# via datahub (pyproject.toml)
six==1.16.0
# via python-dateutil
sniffio==1.3.0
# via
# anyio
# httpx
starlette==0.27.0
starlette==0.36.3
# via fastapi
tomli==2.0.1
# via
Expand All @@ -151,22 +154,23 @@ tomli==2.0.1
# pip-tools
# pyproject-hooks
# pytest
types-pytz==2023.4.0.20240130
types-pytz==2024.1.0.20240203
# via pandas-stubs
typing-extensions==4.9.0
# via
# anyio
# black
# fastapi
# mypy
# pydantic
# uvicorn
tzdata==2023.4
# via pandas
uvicorn==0.24.0.post1
uvicorn==0.27.0.post1
# via datahub (pyproject.toml)
virtualenv==20.24.6
virtualenv==20.25.0
# via pre-commit
wheel==0.41.3
wheel==0.42.0
# via pip-tools
xlrd==2.0.1
# via pandas
Expand Down
31 changes: 16 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,64 +4,65 @@
#
# pip-compile
#
anyio==3.7.1
# via
# fastapi
# starlette
anyio==4.2.0
# via starlette
click==8.1.7
# via uvicorn
defusedxml==0.7.1
# via odfpy
et-xmlfile==1.1.0
# via openpyxl
exceptiongroup==1.1.3
exceptiongroup==1.2.0
# via anyio
fastapi==0.104.1
fastapi==0.109.2
# via datahub (pyproject.toml)
h11==0.14.0
# via uvicorn
h5py==3.10.0
# via datahub (pyproject.toml)
idna==3.4
idna==3.6
# via anyio
numpy==1.26.2
numpy==1.26.4
# via
# h5py
# pandas
odfpy==1.4.1
# via pandas
openpyxl==3.1.2
# via pandas
orjson==3.9.10
orjson==3.9.13
# via datahub (pyproject.toml)
pandas[excel]==2.1.3
pandas[excel]==2.2.0
# via datahub (pyproject.toml)
pydantic==1.10.13
pydantic==1.10.14
# via
# datahub (pyproject.toml)
# fastapi
python-calamine==0.1.7
# via pandas
python-dateutil==2.8.2
# via pandas
python-multipart==0.0.6
python-multipart==0.0.7
# via datahub (pyproject.toml)
pytz==2023.3.post1
pytz==2024.1
# via pandas
pyxlsb==1.0.10
# via pandas
six==1.16.0
# via python-dateutil
sniffio==1.3.0
# via anyio
starlette==0.27.0
starlette==0.36.3
# via fastapi
typing-extensions==4.9.0
# via
# anyio
# fastapi
# pydantic
# uvicorn
tzdata==2023.4
# via pandas
uvicorn==0.24.0.post1
uvicorn==0.27.0.post1
# via datahub (pyproject.toml)
xlrd==2.0.1
# via pandas
Expand Down

0 comments on commit 465806a

Please sign in to comment.