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
Ideally this would show the current commit hash, but I'm not at all sure if it's possible to derive that from pip install https://github.com/simonw/datasette/archive/master.zip. Is there another mechanism that could be used to reliably pip install current master but still provide access to the most recent commit hash?
The text was updated successfully, but these errors were encountered:
That looks great. I don't think it's possible to derive the current commit version from the .zip downloaded directly from GitHub, so needing to pip install via git+https feels reasonable to me.
Thanks to simonw/datasette#273 Datasette now uses
versioneer which means we can get the correct version number reported even if
we install from master.
To take advantage of this we need to git clone latest master and then build it
using setup.py
https://fivethirtyeight.datasettes.com/-/versions reports Datasette version
0.21
This isn't actually correct. The deploy script for that site actually deploys current master using
https://github.com/simonw/datasette/archive/master.zip
: https://github.com/simonw/fivethirtyeight-datasette/blob/66b4b0dfedd7237bc8c02d3e26d905bca7b84069/Dockerfile#L9Ideally this would show the current commit hash, but I'm not at all sure if it's possible to derive that from
pip install https://github.com/simonw/datasette/archive/master.zip
. Is there another mechanism that could be used to reliablypip install
current master but still provide access to the most recent commit hash?The text was updated successfully, but these errors were encountered: