Revert "python313Packages: don't apply the previous three commits yet"

This reverts commit 73688f666f.
This commit is contained in:
Vladimír Čunát
2026-02-22 18:18:06 +01:00
parent e317a67022
commit 728ba61676
3 changed files with 4 additions and 17 deletions
@@ -12,21 +12,16 @@
rich-argparse,
setuptools-scm,
wcwidth,
python,
}:
buildPythonPackage rec {
pname = "cmd2";
version = if python.isPy313 then "3.1.0" else "3.2.1";
version = "3.2.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash =
if python.isPy313 then
"sha256-zOOuzgGLCxBVmIraoraHrJwd84v9Kr/Cnb61GpcH3jM="
else
"sha256-bGNyobJs0Uu2IJZTyJ1zAP58FDno3KMPW2tv/bXyFPo=";
hash = "sha256-bGNyobJs0Uu2IJZTyJ1zAP58FDno3KMPW2tv/bXyFPo=";
};
build-system = [ setuptools-scm ];
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
python,
fetchFromGitHub,
hatchling,
pytestCheckHook,
@@ -29,8 +28,6 @@ buildPythonPackage rec {
disabledTests = [
# coloring mismatch in fixture
"test_subparsers_usage"
]
++ lib.optionals (!python.isPy313) [
# solid vs dash line mismatch
"test_rich_renderables"
];
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
python,
# build-system
poetry-core,
@@ -28,18 +27,14 @@
buildPythonPackage rec {
pname = "rich";
version = if python.isPy313 then "14.2.0" else "14.3.3";
version = "14.3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "Textualize";
repo = "rich";
tag = "v${version}";
hash =
if python.isPy313 then
"sha256-oQbxRbZnVr/Ln+i/hpBw5FlpUp3gcp/7xsxi6onPkn8="
else
"sha256-6udVO7N17ineQozlCG/tI9jJob811gqb4GtY50JZFb0=";
hash = "sha256-6udVO7N17ineQozlCG/tI9jJob811gqb4GtY50JZFb0=";
};
build-system = [ poetry-core ];