Unverified Commit 285e414e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

parents 60df26f7 a4ebe2ee
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -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";
+4 −0
Original line number Diff line number Diff line
@@ -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;
+2 −5
Original line number Diff line number Diff line
@@ -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" ];