pyproject.toml: add pyarrow explicitly

CI was failing because pyarrow is not an extra provided by pandas.
Indeed, according to the docs the named extras installing pyarrow
are actually feather and parquet, so we need to install pyarrow
explicitly.

See: https://pandas.pydata.org/pandas-docs/version/2.0/getting_started/install.html#install-dependencies
This commit is contained in:
Alan Orth 2023-04-05 12:49:40 +03:00
parent c90aad29f0
commit 2e55b4d6e3
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ csv-metadata-quality = 'csv_metadata_quality.__main__:main'
[tool.poetry.dependencies]
python = "^3.9"
pandas = {version = "^2.0.0", extras = ["pyarrow"]}
pandas = "^2.0.0"
python-stdnum = "^1.18"
requests = "^2.28.2"
requests-cache = "^0.9.8"
@ -21,6 +21,7 @@ colorama = "^0.4.6"
ftfy = "^6.1.1"
country-converter = "~1.0.0"
pycountry = {git = "https://github.com/alanorth/pycountry", rev = "iso-codes-4.13.0"}
pyarrow = "^11.0.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"