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
9 stars 1 forks source link

Make python 3.9 compatible #14

Closed rajeee closed 1 year ago

rajeee commented 1 year ago

Resolves #13 .

Pull Request Description

Revert to using typing.Optional instead of using the | operator introduced in python 3.10. This will make the library compatible with python 3.9+ systems.

Move libraries related to the upgrades_visualizer to dev install so that it keeps the library light for when used by importing to other systems and also avoids version conflicts.

Revert to using setuptools instead of poetry so that [dev] install is possible with pip.

rajeee commented 1 year ago

@asparke2 Can you try to install this branch into your system?