python313Packages.questionary: 2.1.0 -> 2.1.1 (#438375)

This commit is contained in:
Fabian Affolter
2025-09-28 01:47:51 +00:00
committed by GitHub
3 changed files with 13 additions and 12 deletions
@@ -18,29 +18,31 @@ let
owner = "nanomsg";
repo = "nng";
tag = "v1.6.0";
sha256 = "sha256-Kq8QxPU6SiTk0Ev2IJoktSPjVOlAS4/e1PQvw2+e8UA=";
hash = "sha256-Kq8QxPU6SiTk0Ev2IJoktSPjVOlAS4/e1PQvw2+e8UA=";
};
mbedtls = fetchFromGitHub {
owner = "ARMmbed";
repo = "mbedtls";
tag = "v3.5.1";
sha256 = "sha256-HxsHcGbSExp1aG5yMR/J3kPL4zqnmNoN5T5wfV3APaw=";
hash = "sha256-HxsHcGbSExp1aG5yMR/J3kPL4zqnmNoN5T5wfV3APaw=";
};
in
buildPythonPackage {
pname = "pynng";
version = "0.8.1-unstable-2025-05-14";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "codypiersall";
repo = "pynng";
rev = "2179328f8a858bbb3e177f66ac132bde4a5aa859";
sha256 = "sha256-TxIVcqc+4bro+krc1AWgLdZKGGuQ2D6kybHnv5z1oHg=";
hash = "sha256-TxIVcqc+4bro+krc1AWgLdZKGGuQ2D6kybHnv5z1oHg=";
};
env.SETUPTOOLS_SCM_PRETEND_VERSION = "0.8.1";
nativeBuildInputs = [
cmake
ninja
@@ -69,9 +71,7 @@ buildPythonPackage {
pytest-asyncio
];
pythonImportsCheck = [
"pynng"
];
pythonImportsCheck = [ "pynng" ];
meta = {
description = "Python bindings for Nanomsg Next Generation";
@@ -45,6 +45,10 @@ buildPythonPackage rec {
rm src/pyfx/model/common/jsonpath/*.py # upstream checks in generated files, remove to ensure they were regenerated
antlr -Dlanguage=Python3 -visitor src/pyfx/model/common/jsonpath/*.g4
rm src/pyfx/model/common/jsonpath/*.{g4,interp,tokens} # no need to install
# https://github.com/cielong/pyfx/pull/148
substituteInPlace src/pyfx/view/common/frame.py \
--replace-fail "self.__super.__init__()" "super().__init__()"
'';
pythonRelaxDeps = true;
@@ -6,21 +6,18 @@
poetry-core,
prompt-toolkit,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "questionary";
version = "2.1.0";
version = "2.1.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "tmbo";
repo = "questionary";
tag = version;
hash = "sha256-HiQsOkG3oK+hnyeFjebnVASxpZhUPGBGz69JvPO43fM=";
hash = "sha256-r7F5y6KD6zonQGtO/9OuCTMTWdkCdd9aqTgKg6eWp08=";
};
pythonRelaxDeps = [ "prompt_toolkit" ];