python3Packages.treex: 0.6.9 -> 0.6.10

This commit is contained in:
Samuel Ainsworth 2022-03-30 02:50:23 +00:00
parent f224039d13
commit eee8362a75

View file

@ -18,21 +18,23 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "treex"; pname = "treex";
version = "0.6.9"; version = "0.6.10";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cgarciae"; owner = "cgarciae";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1yvlldmhji12h249j14ba44hnb9x1fhrj7rh1cx2vn0vxj5wpg7x"; hash = "sha256-ZHfgmRNbFh8DFZkmilY0pmRNQhJFqT689I7Lu8FuFm4=";
}; };
# At the time of writing (2022-03-29), rich is currently at version 11.0.0.
# The treeo dependency is compatible with a patch, but not marked as such in
# treex. See https://github.com/cgarciae/treex/issues/68.
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace 'rich = "^10.7.0"' 'rich = ">=10.7.0"' \ --replace 'rich = "^11.2.0"' 'rich = "*"' \
--replace 'PyYAML = "^5.4.1"' 'PyYAML = ">=5.4.1"' \ --replace 'treeo = "^0.0.10"' 'treeo = "*"'
--replace 'optax = "^0.0.9"' 'optax = ">=0.0.9"'
''; '';
nativeBuildInputs = [ nativeBuildInputs = [