Skip to content

Commit

Permalink
Fix for pyarrow 12
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 committed Oct 12, 2023
1 parent 00fa093 commit 304a6ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'

- name: Install condabadges
shell: bash
Expand Down
1 change: 1 addition & 0 deletions lib/condabadges/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def _prev_month_downloads(project: str) -> dict[str: int]:

ddf = dd.read_parquet(
url,
categories=[],
columns=("counts", "data_source", "pkg_name"),
storage_options={"anon": True},
)
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Utilities",
]
dependencies = [
"dask[dataframe]",
"pyarrow <12",
"pyarrow",
"pyyaml",
"requests",
"s3fs",
Expand Down

0 comments on commit 304a6ea

Please sign in to comment.