File tree Expand file tree Collapse file tree 1 file changed +26
-6
lines changed
pkgs/development/python-modules/buienradar Expand file tree Collapse file tree 1 file changed +26
-6
lines changed Original file line number Diff line number Diff line change 99 vincenty ,
1010 xmltodict ,
1111 pytestCheckHook ,
12+ requests-mock ,
13+ syrupy ,
1214} :
1315
1416buildPythonPackage rec {
1517 pname = "buienradar" ;
16- version = "1.0.7 " ;
17- format = "setuptools" ;
18+ version = "1.0.9 " ;
19+ pyproject = true ;
1820
1921 src = fetchFromGitHub {
2022 owner = "mjj4791" ;
2123 repo = "python-buienradar" ;
22- # https://github.com/mjj4791/python-buienradar/issues/14
2324 tag = version ;
24- hash = "sha256-DwOysdA6B9DMH1j/1Oetx2rCgqwk/UggCdH0lBVS6Hw =" ;
25+ hash = "sha256-DTdxzBe9fBOH5fHME++oq62xMtBKnjY7BCevwjl8VZ8 =" ;
2526 } ;
2627
27- propagatedBuildInputs = [
28+ build-system = [ setuptools ] ;
29+
30+ dependencies = [
2831 docopt
2932 pytz
3033 requests
@@ -33,13 +36,30 @@ buildPythonPackage rec {
3336 xmltodict
3437 ] ;
3538
36- nativeCheckInputs = [ pytestCheckHook ] ;
39+ nativeCheckInputs = [
40+ pytestCheckHook
41+ requests-mock
42+ syrupy
43+ ] ;
3744
3845 disabledTests = [
3946 # require network connection
4047 "test_rain_data"
4148 "test_json_data"
4249 "test_xml_data"
50+ # tests fail if run on a different day
51+ "test_id_upper1"
52+ "test_invalid_data"
53+ "test_missing_data"
54+ "test_readdata1_30"
55+ "test_readdata1_60"
56+ "test_readdata2_30"
57+ "test_readdata2_60"
58+ "test_readdata3"
59+ ] ;
60+
61+ pytestFlagsArray = [
62+ "--snapshot-warn-unused"
4363 ] ;
4464
4565 pythonImportsCheck = [
You can’t perform that action at this time.
0 commit comments