Merge pull request #306271 from fabaff/pydevd-fix

python312Packages.pydevd: 2.10.0 -> 3.0.3
This commit is contained in:
Fabian Affolter 2024-04-24 16:32:43 +02:00 committed by GitHub
commit 06730d98c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 10 deletions

View File

@ -18,11 +18,12 @@ buildPythonPackage rec {
pname = "omegaconf";
version = "2.3.0";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "omry";
repo = pname;
repo = "omegaconf";
rev = "refs/tags/v${version}";
hash = "sha256-Qxa4uIiX5TAyQ5rFkizdev60S4iVAJ08ES6FpNqf8zI=";
};
@ -45,12 +46,15 @@ buildPythonPackage rec {
sed -i 's/antlr4-python3-runtime==.*/antlr4-python3-runtime/' requirements/base.txt
'';
nativeBuildInputs = [
build-system = [
setuptools
];
nativeBuildInputs = [
jre_minimal
];
propagatedBuildInputs = [
dependencies = [
antlr4-python3-runtime
pyyaml
];
@ -71,6 +75,10 @@ buildPythonPackage rec {
"ignore::DeprecationWarning"
];
disabledTests = [
"test_eq"
];
meta = with lib; {
description = "Framework for configuring complex applications";
homepage = "https://github.com/omry/omegaconf";

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "pydevd";
version = "2.10.0";
version = "3.0.3";
pyproject = true;
disabled = pythonOlder "3.8";
@ -23,15 +23,15 @@ buildPythonPackage rec {
owner = "fabioz";
repo = "PyDev.Debugger";
rev = "pydev_debugger_${lib.replaceStrings ["."] ["_"] version}";
hash = "sha256-1tWiPj30x/ZXIBu2qzUCpyF1bLsJ0wW1QaxklD3h3A8=";
hash = "sha256-aylmLN7lVUza2lt2K48rJsx3XatXPgPjcmPZ05raLX0=";
};
nativeBuildInputs = [
__darwinAllowLocalNetworking = true;
build-system = [
setuptools
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
numpy
psutil
@ -55,8 +55,11 @@ buildPythonPackage rec {
# https://github.com/fabioz/PyDev.Debugger/issues/227
"test_to_server_and_to_client"
# AssertionError pydevd_tracing.set_trace_to_threads(tracing_func) == 0
"test_tracing_other_threads"
"test_step_next_step_in_multi_threads"
"test_tracing_basic"
"test_tracing_other_threads"
# subprocess.CalledProcessError
"test_find_main_thread_id"
] ++ lib.optionals (pythonAtLeast "3.12") [
"test_case_handled_and_unhandled_exception_generator"
"test_case_stop_async_iteration_exception"
@ -73,9 +76,9 @@ buildPythonPackage rec {
meta = with lib; {
description = "PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)";
mainProgram = "pydevd";
homepage = "https://github.com/fabioz/PyDev.Debugger";
license = licenses.epl10;
maintainers = with maintainers; [ onny ];
mainProgram = "pydevd";
};
}