<commit_before>{ pkgs
, buildPythonPackage
, fetchPypi
, python
, azure-mgmt-common
}:

buildPythonPackage rec {
  version = "3.0.0";
  pname = "azure-mgmt-storage";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "24c52b9dcb5e224ca9572d6ec39b53d332bdfe01818e85ec1cc1b5bedf16ce07";
  };

  preConfigure = ''
    # Patch to make this package work on requests >= 2.11.x<commit_msg>Revert "python: azure-mgmt-storage: 0.20.0 -> 3.0.0"<commit_after>{ pkgs
, buildPythonPackage
, fetchPypi
, python
, azure-mgmt-common
}:

buildPythonPackage rec {
  version = "0.20.0";
  pname = "azure-mgmt-storage";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "16iw7hqhq97vlzfwixarfnirc60l5mz951p57brpcwyylphl3yim";
  };

  preConfigure = ''
    # Patch to make this package work on requests >= 2.11.x
{'fraction_non_alphanumeric': 0.12121212121212122, 'fraction_numerical': 0.08741258741258741, 'mean_word_length': 3.74585635359116, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6438856', 'n_tokens_mistral': 389, 'n_tokens_neox': 337, 'n_words': 65}