Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33280 from NixOS/python-unstable
Python: upgrade package set
- Loading branch information
Showing
22 changed files
with
286 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, cffi | ||
, enum34 | ||
, construct | ||
, pytest | ||
, hypothesis | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "brotlipy"; | ||
version = "0.7.0"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "36def0b859beaf21910157b4c33eb3b06d8ce459c942102f16988cca6ea164df"; | ||
}; | ||
|
||
propagatedBuildInputs = [ cffi enum34 construct ]; | ||
|
||
checkInputs = [ pytest hypothesis ]; | ||
|
||
checkPhase = '' | ||
py.test | ||
''; | ||
|
||
# Missing test files | ||
doCheck = false; | ||
|
||
meta = { | ||
description = "Python bindings for the reference Brotli encoder/decoder"; | ||
homepage = "https://github.com/python-hyper/brotlipy/"; | ||
license = lib.licenses.mit; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, pytest | ||
, unicodecsv | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "jellyfish"; | ||
version = "0.5.6"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "887a9a49d0caee913a883c3e7eb185f6260ebe2137562365be422d1316bd39c9"; | ||
}; | ||
|
||
checkInputs = [ pytest unicodecsv ]; | ||
|
||
meta = { | ||
homepage = https://github.com/sunlightlabs/jellyfish; | ||
description = "Approximate and phonetic matching of strings"; | ||
maintainers = with lib.maintainers; [ koral ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, nose | ||
, decorator | ||
, isPy36 | ||
, isPyPy | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "networkx"; | ||
version = "1.11"; | ||
|
||
# Currently broken on PyPy. | ||
# https://github.com/networkx/networkx/pull/1361 | ||
disabled = isPyPy; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "1f74s56xb4ggixiq0vxyfxsfk8p20c7a099lpcf60izv1php03hd"; | ||
}; | ||
|
||
checkInputs = [ nose ]; | ||
propagatedBuildInputs = [ decorator ]; | ||
|
||
# 17 failures with 3.6 https://github.com/networkx/networkx/issues/2396#issuecomment-304437299 | ||
doCheck = !(isPy36); | ||
|
||
meta = { | ||
homepage = "https://networkx.github.io/"; | ||
description = "Library for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks"; | ||
license = lib.licenses.bsd3; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, pytest | ||
, locket | ||
, numpy | ||
, pandas | ||
, pyzmq | ||
, toolz | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "partd"; | ||
version = "0.3.8"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "67291f1c4827cde3e0148b3be5d69af64b6d6169feb9ba88f0a6cfe77089400f"; | ||
}; | ||
|
||
checkInputs = [ pytest ]; | ||
|
||
propagatedBuildInputs = [ locket numpy pandas pyzmq toolz ]; | ||
|
||
checkPhase = '' | ||
rm partd/tests/test_zmq.py # requires network & fails | ||
py.test | ||
''; | ||
|
||
meta = { | ||
description = "Appendable key-value storage"; | ||
license = with lib.licenses; [ bsd3 ]; | ||
homepage = https://github.com/dask/partd/; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, zope_testing | ||
, setuptools | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "plone.testing"; | ||
version = "5.1.1"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "2ca558a910b93355b760535b233518be3a06c58e46160487bf802b6f7cb1e511"; | ||
}; | ||
|
||
propagatedBuildInputs = [ setuptools zope_testing ]; | ||
|
||
# Huge amount of testing dependencies (including Zope2) | ||
doCheck = false; | ||
|
||
meta = { | ||
description = "Testing infrastructure for Zope and Plone projects"; | ||
homepage = https://github.com/plone/plone.testing; | ||
license = lib.licenses.bsd3; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.