Skip to content

Commit

Permalink
Merge pull request #154858 from 0xbe7a/rich-11
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jan 18, 2022
2 parents e4c6a6c + 40f3909 commit bed1dbe
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 22 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/rich/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@

buildPythonPackage rec {
pname = "rich";
version = "10.16.2";
version = "11.0.0";
format = "pyproject";
disabled = pythonOlder "3.6";

src = fetchFromGitHub {
owner = "willmcgugan";
repo = pname;
rev = "v${version}";
sha256 = "sha256-SVenprbWq+ucQPAM1e9sNVYWbGAeo7qdEBy+cvqAMK8=";
sha256 = "0vkwar22rv1j6a3kqj3c016j0vnnha0kwi79fkd90ib1n501m7rn";
};

nativeBuildInputs = [ poetry-core ];
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/surepy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'aiohttp = {extras = ["speedups"], version = "^3.7.4"}' 'aiohttp = {extras = ["speedups"], version = ">=3.7.4"}' \
--replace 'async-timeout = "^3.0.1"' 'async-timeout = ">=3.0.1"'
--replace 'async-timeout = "^3.0.1"' 'async-timeout = ">=3.0.1"' \
--replace 'rich = "^10.1.0"' 'rich = ">=10.1.0"'
'';

nativeBuildInputs = [
Expand Down
9 changes: 6 additions & 3 deletions pkgs/development/python-modules/treex/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ buildPythonPackage rec {
sha256 = "1hl3wj71c7cp7jzkhyjy7xgs2vc8c89icq0bgfr49y4pwv69n43m";
};

patches = [
./relax-deps.patch
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'rich = "^10.7.0"' 'rich = ">=10.7.0"' \
--replace 'PyYAML = "^5.4.1"' 'PyYAML = ">=5.4.1"' \
--replace 'optax = "^0.0.9"' 'optax = ">=0.0.9"'
'';

nativeBuildInputs = [
poetry-core
Expand Down
16 changes: 0 additions & 16 deletions pkgs/development/python-modules/treex/relax-deps.patch

This file was deleted.

0 comments on commit bed1dbe

Please sign in to comment.