You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS: This just an observation. The installation was successful(on a windows pc)
After running installation command pip install open-buildings the list of dependencies that pip was installing on the background was suspiciously longer than what would have been expected from the requirements.txt file. Some packages that would have been expected only when building documentation for example.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.sphinx 3.3.0 requires sphinxcontrib-applehelp, which is not installed.sphinx 3.3.0 requires sphinxcontrib-devhelp, which is not installed.sphinx 3.3.0 requires sphinxcontrib-htmlhelp, which is not installed.sphinx 3.3.0 requires sphinxcontrib-jsmath, which is not installed.sphinx 3.3.0 requires sphinxcontrib-qthelp, which is not installed.sphinx 3.3.0 requires sphinxcontrib-serializinghtml, which is not installed.pointpats 2.2.0 requires opencv-contrib-python>=4.2.0, which is not installed.access 1.1.1 requires Sphinx==2.4.3, but you have sphinx 3.3.0 which is incompatible.pysal 2.3.0 requires python-dateutil<=2.8.0, but you have python-dateutil 2.8.2 which is incompatible.pysal 2.3.0 requires urllib3<1.25, but you have urllib3 1.25.11 which is incompatible.pytest 6.1.2 requires pluggy<1.0,>=0.12, but you have pluggy 1.0.0 which is incompatible.statsmodels 0.14.0 requires patsy>=0.5.2, but you have patsy 0.5.1 which is incompatible.
Based on this message log, I decided to check on the dependencies tree and what package requires these packages i.e
From the tree output, leamap had the most deps thus a general inspection through the code base to find instances in which the package is being used by using visual studio code text editor search ctrl + shift + f functionality.
It turns out to be used once, in the examples file download_buildings.ipynb and no usage in the main package source code. Hence kept asking the question why it is included in the main requirements.txt file instead of just docs requirements.
side Note: Any instructions on how to build the docs locally would be appreciated thanks for the awesome tool.
The text was updated successfully, but these errors were encountered:
@koyo-nic Thanks for that info. We can remove leafmap if it's not needed.
In terms of testing locally, I've got a fork that I clone and then install open-buildings using python3 setup.py install
There might be other ways to do that I'm not aware of.
@mtravis After assessing the main package imports somethings came out clearly. There are packages not included in the main requirements.txt file but are with in the leafmap dependencies deptree.
cli.py : matplotlib pkg usage -> benchmark function for ploting charts(possiblility of df.plot(kind=bar, rot-0) to something like df.plot.hist().get_figure().savefig('_benchmark.png')?) not tried out yet. line 136
google/stac-geoparquet.py pystac pkg
So I'd be very cautious before removing the dep. Unless explicitly including the two pkgs in req file to avoid possible missing-module error
Consequently geopandas installs both pandas & shapely along with it. At the moment can't figure out clear way to go through with this. but probably after a few local install test i can document something concrete as for the dep cycles.
As for the local install. I wanted to try using pypa modern approach using pyproject.toml file using either hatch or poetry or rye or flittools that's why I spent so much time understanding the depencies
Environment Information
Description
Describe what you were trying to get done.
After running installation command
pip install open-buildings
the list of dependencies that pip was installing on the background was suspiciously longer than what would have been expected from therequirements.txt
file. Some packages that would have been expected only when building documentation for example.Based on this message log, I decided to check on the dependencies tree and what package requires these packages i.e
List of all packages Installed
What I Did
Used
pipdeptree
tool to print out the dependency tree for open-buildings package/toolCommand
Output
From the tree output,
leamap
had the most deps thus a general inspection through the code base to find instances in which the package is being used by using visual studio code text editor searchctrl + shift + f
functionality.It turns out to be used once, in the examples file
download_buildings.ipynb
and no usage in the main package source code. Hence kept asking the question why it is included in the mainrequirements.txt
file instead of just docs requirements.The text was updated successfully, but these errors were encountered: