Repository navigation
What's new
Patched dependencies are no longer blocked. 1.0.2 capped pyarrow below 19 and fsspec, gcsfs, and s3fs below 2026, which kept installs on releases that later received security fixes. 1.1.0 lifts those caps, so pip install --upgrade pinecone-datasets pyarrow can pick up the patched versions. The floors are unchanged, so an existing environment keeps its current versions until you upgrade them.
Signed releases. 1.1.0 is published to PyPI through Trusted Publishing, with no long-lived upload token. PyPI shows a provenance attestation linking each file to the GitHub workflow that built it.
Downloads are cached locally and resume after interruption. Parquet files loaded from GCS or S3 are saved under ~/.pinecone-datasets/cache, so loading the same dataset again reads from disk and skips the download. If a download is cut off, the next attempt picks up where it stopped. Caching is on by default for cloud paths; local paths are never cached. Details in #63.
from pinecone_datasets import cache_info, clear_cache, set_cache_dir
set_cache_dir("/data/pinecone-cache") # or set PINECONE_DATASETS_CACHE_DIR
print(cache_info()) # cache location, file count, size
clear_cache() # returns the number of files removedSet PINECONE_DATASETS_USE_CACHE=false to turn caching off.
Transient cloud storage errors are retried. Catalog loads and dataset reads and writes now retry network errors and timeouts with exponential backoff: 3 attempts, waiting 2 to 10 seconds between them. Tune this with PINECONE_DATASETS_MAX_RETRY_ATTEMPTS, PINECONE_DATASETS_MIN_RETRY_WAIT, and PINECONE_DATASETS_MAX_RETRY_WAIT, or set PINECONE_DATASETS_DISABLE_RETRY=true to turn retries off. See #60.
Download progress bars. When tqdm is installed, large downloads show a progress bar (#65). tqdm is not installed automatically, so run pip install tqdm if you want the bars.
Type hints on the public API. load_dataset, list_datasets, Dataset, and Catalog now have complete annotations, so mypy, Pyright, and IDE autocomplete work without stubs (#56).
Behavior changes
- Loading a cloud dataset now writes its files to
~/.pinecone-datasets/cacheby default. On machines with little disk space, pointPINECONE_DATASETS_CACHE_DIRsomewhere else or setPINECONE_DATASETS_USE_CACHE=false. Dataset.metadataraisesValueErrorwhen a dataset has no metadata. It used to returnNone.- Dependency ranges are wider:
pyarrow>=18.0.0(previously>=18,<19), with the same change forfsspec,gcsfs, ands3fs.tenacity>=9.0.0is a new runtime dependency.
Python support
1.1.0 supports Python 3.11 through 3.15. Python 3.9 and 3.10 are no longer supported, so on those versions pip keeps installing 1.0.2.
Upgrading
pip install --upgrade pinecone-datasets==1.1.0