NREL / buildstock-query

BuildStockQuery is a python library for querying datasets generated by ResStock™ and ComStock™.
https://nrel.github.io/buildstock-query/
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

Fix s3fs and boto3 dependency conflicts #6

Closed nmerket closed 1 year ago

nmerket commented 1 year ago

You'll notice when you install buildstock_query, pip churns for a while going through versions of boto3 to find a compatible version with s3fs.

https://github.com/NREL/buildstock-query/blob/main/pyproject.toml#L13-L14

This is a known problem and the s3fs people fixed it by installing s3fs with the boto3 add-in like this:

s3fs[boto3]

Then remove the separate boto3 from the pyproject.toml. We recently did this in buildstockbatch and it made a huge difference in being able to keep up to date with versions.