lol

Merge pull request #194919 from fabaff/sentry-sdk-bump

python310Packages.sentry-sdk: 1.9.9 -> 1.9.10

authored by

Fabian Affolter and committed by
GitHub
522db17b b078ae79

+168 -43
+39 -18
pkgs/development/python-modules/openai/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , pythonOlder 5 - 6 - # Python dependencies 4 + , matplotlib 7 5 , numpy 8 6 , openpyxl 9 7 , pandas 10 8 , pandas-stubs 9 + , plotly 10 + , pytest-mock 11 + , pytestCheckHook 12 + , pythonOlder 11 13 , requests 12 14 , scikit-learn 13 15 , tenacity 14 16 , tqdm 17 + , typing-extensions 15 18 , wandb 16 - 17 - # Check dependencies 18 - , pytest-mock 19 - , pytestCheckHook 20 19 }: 21 20 22 21 buildPythonPackage rec { 23 22 pname = "openai"; 24 - version = "0.23.0"; 23 + version = "0.23.1"; 24 + format = "setuptools"; 25 25 26 26 disabled = pythonOlder "3.7.1"; 27 27 28 - # Use GitHub source since PyPi source does not include tests 29 28 src = fetchFromGitHub { 30 29 owner = "openai"; 31 30 repo = "openai-python"; 32 31 rev = "v${version}"; 33 - sha256 = "sha256-VH1XR2FocRX5AYpCruAKwQUXjXqvdJsVwKdtot5Bo+Y="; 32 + hash = "sha256-4RdER6ecvHGXTLZ1GnBNI1hIETI8O/t+kuOXiQhMigs="; 34 33 }; 35 34 36 35 propagatedBuildInputs = [ ··· 39 38 pandas 40 39 pandas-stubs 41 40 requests 42 - scikit-learn 43 - tenacity 44 41 tqdm 45 - wandb 42 + typing-extensions 43 + ]; 44 + 45 + passthru.optional-dependencies = { 46 + wandb = [ 47 + wandb 48 + ]; 49 + embeddings = [ 50 + matplotlib 51 + plotly 52 + scikit-learn 53 + tenacity 54 + ]; 55 + }; 56 + 57 + pythonImportsCheck = [ 58 + "openai" 46 59 ]; 47 60 48 - pythonImportsCheck = [ "openai" ]; 49 - checkInputs = [ pytestCheckHook pytest-mock ]; 50 - pytestFlagsArray = [ "openai/tests" ]; 61 + checkInputs = [ 62 + pytestCheckHook 63 + pytest-mock 64 + ]; 65 + 66 + pytestFlagsArray = [ 67 + "openai/tests" 68 + ]; 69 + 51 70 OPENAI_API_KEY = "sk-foo"; 71 + 52 72 disabledTestPaths = [ 53 - "openai/tests/test_endpoints.py" # requires a real API key 73 + # Requires a real API key 74 + "openai/tests/test_endpoints.py" 54 75 "openai/tests/test_file_cli.py" 55 76 ]; 56 77 ··· 58 79 description = "Python client library for the OpenAI API"; 59 80 homepage = "https://github.com/openai/openai-python"; 60 81 license = licenses.mit; 61 - maintainers = [ maintainers.malo ]; 82 + maintainers = with maintainers; [ malo ]; 62 83 }; 63 84 }
+91 -14
pkgs/development/python-modules/pandas-stubs/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , isPy27 4 3 , fetchFromGitHub 4 + , jinja2 5 + , matplotlib 6 + , openpyxl 7 + , pandas 8 + , poetry-core 9 + , scipy 10 + , sqlalchemy 11 + , tabulate 12 + , pyarrow 13 + , pyreadstat 14 + , tables 15 + , pytestCheckHook 16 + , pythonOlder 17 + , types-pytz 5 18 , typing-extensions 6 - , mypy 19 + , xarray 7 20 }: 8 21 9 22 buildPythonPackage rec { 10 23 pname = "pandas-stubs"; 11 - version = "1.2.0.39"; 24 + version = "1.5.0.221003"; 25 + format = "pyproject"; 12 26 13 - disabled = isPy27; 27 + disabled = pythonOlder "3.8"; 14 28 15 - # Use GitHub source since PyPi source does not include tests 16 29 src = fetchFromGitHub { 17 - owner = "VirtusLab"; 30 + owner = "pandas-dev"; 18 31 repo = pname; 19 - rev = "2bd932777d1050ea8f86c527266a4cd205aa15b1"; 20 - sha256 = "m2McU53NNvRwnWKN9GL8dW1eCGKbTi0471szRQwZu1Q="; 32 + rev = "v${version}"; 33 + sha256 = "sha256-RV0pOTPtlwBmYs3nu8+lNwVpl/VC/VzcXKOQMg9C3qk="; 21 34 }; 22 35 36 + nativeBuildInputs = [ 37 + poetry-core 38 + ]; 39 + 23 40 propagatedBuildInputs = [ 41 + pandas 42 + types-pytz 43 + ]; 44 + 45 + checkInputs = [ 46 + jinja2 47 + matplotlib 48 + openpyxl 49 + scipy 50 + sqlalchemy 51 + tabulate 52 + pyarrow 53 + tables 54 + pyreadstat 55 + pytestCheckHook 24 56 typing-extensions 57 + xarray 25 58 ]; 26 59 27 - pythonImportsCheck = [ "pandas" ]; 28 - checkInputs = [ mypy ]; 29 - checkPhase = '' 30 - mypy --config-file mypy.ini third_party/3/pandas tests/snippets 31 - ''; 60 + disabledTests = [ 61 + # AttributeErrors, missing dependencies, error and warning checks 62 + "test_data_error" 63 + "test_specification_error" 64 + "test_setting_with_copy_error" 65 + "test_setting_with_copy_warning" 66 + "test_numexpr_clobbering_error" 67 + "test_undefined_variable_error" 68 + "test_indexing_error" 69 + "test_pyperclip_exception" 70 + "test_css_warning" 71 + "test_possible_data_loss_error" 72 + "test_closed_file_error" 73 + "test_incompatibility_warning" 74 + "test_attribute_conflict_warning" 75 + "test_database_error" 76 + "test_possible_precision_loss" 77 + "test_value_label_type_mismatch" 78 + "test_invalid_column_name" 79 + "test_categorical_conversion_warning" 80 + "test_join" 81 + "test_isetframe" 82 + "test_reset_index_150_changes" 83 + "test_compare_150_changes" 84 + "test_quantile_150_changes" 85 + "test_resample_150_changes" 86 + "test_index_astype" 87 + "test_orc" 88 + "test_orc_path" 89 + "test_orc_buffer" 90 + "test_orc_columns" 91 + "test_orc_bytes" 92 + "test_clipboard" 93 + "test_clipboard_iterator" 94 + "test_arrow_dtype" 95 + "test_aggregate_series_combinations" 96 + "test_aggregate_frame_combinations" 97 + "test_types_rank" 98 + "test_reset_index" 99 + "test_types_assert_series_equal" 100 + "test_show_version" 101 + "test_dummies" 102 + "test_from_dummies_args" 103 + "test_rolling_step_method" 104 + ]; 105 + 106 + pythonImportsCheck = [ 107 + "pandas" 108 + ]; 32 109 33 110 meta = with lib; { 34 111 description = "Type annotations for Pandas"; 35 112 homepage = "https://github.com/VirtusLab/pandas-stubs"; 36 113 license = licenses.mit; 37 - maintainers = [ maintainers.malo ]; 114 + maintainers = with maintainers; [ malo ]; 38 115 }; 39 116 }
+34 -7
pkgs/development/python-modules/pyreadstat/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, cython, zlib, pandas, readstat }: 1 + { lib 2 + , buildPythonPackage 3 + , cython 4 + , fetchFromGitHub 5 + , pandas 6 + , python 7 + , pythonOlder 8 + , readstat 9 + , zlib 10 + }: 2 11 3 12 buildPythonPackage rec { 4 13 pname = "pyreadstat"; 5 14 version = "1.1.9"; 15 + format = "setuptools"; 16 + 17 + disabled = pythonOlder "3.7"; 6 18 7 19 src = fetchFromGitHub { 8 20 owner = "Roche"; 9 21 repo = "pyreadstat"; 10 22 rev = "v${version}"; 11 - sha256 = "16aa16ybh3ikmlxsg8zm19x9k6r4gpd0sxqagv318w76jjyw1nrs"; 23 + hash = "sha256-OtvAvZTmcBTGfgp3Ddp9JJuZegr1o6c7rTMOuLwJSpk="; 12 24 }; 13 25 14 26 nativeBuildInputs = [ ··· 24 36 pandas 25 37 ]; 26 38 27 - meta = { 28 - homepage = "https://github.com/Roche/pyreadstat"; 39 + pythonImportsCheck = [ 40 + "pyreadstat" 41 + ]; 42 + 43 + preCheck = '' 44 + export HOME=$(mktemp -d); 45 + ''; 46 + 47 + checkPhase = '' 48 + runHook preCheck 49 + 50 + ${python.interpreter} tests/test_basic.py 51 + 52 + runHook postCheck 53 + ''; 54 + 55 + meta = with lib; { 29 56 description = "Python package to read SAS, SPSS and Stata files into pandas data frames using the readstat C library"; 30 - license = lib.licenses.asl20; 31 - maintainers = with lib.maintainers; [ swflint ]; 57 + homepage = "https://github.com/Roche/pyreadstat"; 58 + license = licenses.asl20; 59 + maintainers = with maintainers; [ swflint ]; 32 60 }; 33 - 34 61 }
+2 -2
pkgs/development/python-modules/sentry-sdk/default.nix
··· 46 46 47 47 buildPythonPackage rec { 48 48 pname = "sentry-sdk"; 49 - version = "1.9.9"; 49 + version = "1.9.10"; 50 50 format = "setuptools"; 51 51 52 52 disabled = pythonOlder "3.7"; ··· 55 55 owner = "getsentry"; 56 56 repo = "sentry-python"; 57 57 rev = version; 58 - hash = "sha256-DIiShIiTHmJdOtf1WYi4ofJdZnsg13VczVvGW+ngE+I="; 58 + hash = "sha256-ZrteALD+HsqUwkFDPih8adxNP5TO5JqdPFI8oMBphY4="; 59 59 }; 60 60 61 61 propagatedBuildInputs = [
+2 -2
pkgs/top-level/python-packages.nix
··· 8413 8413 8414 8414 pyramid_multiauth = callPackage ../development/python-modules/pyramid_multiauth { }; 8415 8415 8416 + pyreadstat = callPackage ../development/python-modules/pyreadstat { }; 8417 + 8416 8418 pyrealsense2 = toPythonModule (pkgs.librealsense.override { 8417 8419 enablePython = true; 8418 8420 pythonPackages = self; ··· 9563 9565 readme = callPackage ../development/python-modules/readme { }; 9564 9566 9565 9567 readme_renderer = callPackage ../development/python-modules/readme_renderer { }; 9566 - 9567 - readstats = callPackage ../development/python-modules/pyreadstat { }; 9568 9568 9569 9569 readthedocs-sphinx-ext = callPackage ../development/python-modules/readthedocs-sphinx-ext { }; 9570 9570