datasette: 0.46 -> 0.53

This commit is contained in:
Robert T. McGibbon 2020-12-26 12:36:56 -05:00
parent 5afb1fed39
commit 7e0c92bf4c

View file

@ -14,6 +14,7 @@
, python-baseconv , python-baseconv
, pyyaml , pyyaml
, uvicorn , uvicorn
, httpx
# Check Inputs # Check Inputs
, pytestCheckHook , pytestCheckHook
, pytestrunner , pytestrunner
@ -26,13 +27,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "datasette"; pname = "datasette";
version = "0.46"; version = "0.53";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "simonw"; owner = "simonw";
repo = "datasette"; repo = "datasette";
rev = version; rev = version;
sha256 = "0g4dfq5ykifa9628cb4i7gvx98p8hvb99gzfxk3bkvq1v9p4kcqq"; sha256 = "1rsgxkvav1qy2ia2csm1jvabd8klh3ly8719979gdlx2il1cjjkz";
}; };
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytestrunner ];
@ -52,6 +53,8 @@ buildPythonPackage rec {
pyyaml pyyaml
uvicorn uvicorn
setuptools setuptools
httpx
asgiref
]; ];
checkInputs = [ checkInputs = [
@ -59,7 +62,6 @@ buildPythonPackage rec {
pytest-asyncio pytest-asyncio
aiohttp aiohttp
beautifulsoup4 beautifulsoup4
asgiref
]; ];
postConfigure = '' postConfigure = ''
@ -75,9 +77,9 @@ buildPythonPackage rec {
# takes 30-180 mins to run entire test suite, not worth the cpu resources, slows down reviews # takes 30-180 mins to run entire test suite, not worth the cpu resources, slows down reviews
# with pytest-xdist, it still takes around 10mins with 32 cores # with pytest-xdist, it still takes around 10mins with 32 cores
# just run the messages tests, as this should give some indictation of correctness # just run the csv tests, as this should give some indictation of correctness
pytestFlagsArray = [ pytestFlagsArray = [
"tests/test_messages.py" "tests/test_csv.py"
]; ];
disabledTests = [ disabledTests = [
"facet" "facet"