Unverified Commit 21aaf7ef authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.dateparser: 1.2.0 -> 1.2.1 (#380346)

parents 28dac497 b600aa28
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@

buildPythonPackage rec {
  pname = "dateparser";
  version = "1.2.0";
  version = "1.2.1";

  disabled = pythonOlder "3.7";

@@ -32,7 +32,7 @@ buildPythonPackage rec {
    owner = "scrapinghub";
    repo = "dateparser";
    tag = "v${version}";
    hash = "sha256-mnL44hojebOwP6qtEBHs5QM4uRmLuGlVNr+sM3jZEKE=";
    hash = "sha256-O0FsLWbH0kGjwGCTklBMVVqosxXlXRyS9aAcggtBLsA=";
  };

  nativeBuildInputs = [ setuptools ];
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@

buildPythonPackage rec {
  pname = "lacuscore";
  version = "1.12.8";
  version = "1.12.10";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
    owner = "ail-project";
    repo = "LacusCore";
    tag = "v${version}";
    hash = "sha256-blQhnQoNMXQhNQJ7EXawoYHxbPEgPmLltoLQTzsKwtA=";
    hash = "sha256-IKH7c1/MgjlfJ9tKVeTXW8MdLIc7P+jitvQkZn9f75Y=";
  };

  pythonRelaxDeps = [
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@

buildPythonPackage rec {
  pname = "playwrightcapture";
  version = "1.27.6";
  version = "1.27.8";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -31,7 +31,7 @@ buildPythonPackage rec {
    owner = "Lookyloo";
    repo = "PlaywrightCapture";
    tag = "v${version}";
    hash = "sha256-Kh4F5dicbVvM9k8T4iMERMuze3Ztawi9LXH7+udtZFU=";
    hash = "sha256-iIUwBX3MQHeEmYwesW2Dm45tr9FYyq9GtLGbyV784RA=";
  };

  pythonRelaxDeps = [
+35 −14
Original line number Diff line number Diff line
{
  lib,
  aiohttp,
  aioresponses,
  buildPythonPackage,
  dateparser,
  fetchFromGitHub,
  fetchpatch,
  pycryptodome,
  pytest-asyncio,
  pytestCheckHook,
  pythonOlder,
  requests,
  requests-mock,
  requests,
  six,
  ujson,
  setuptools,
  websockets,
}:

buildPythonPackage rec {
  pname = "python-binance";
  version = "1.0.27";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.6";
  disabled = pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "sammchardy";
    repo = pname;
    repo = "python-binance";
    tag = "v${version}";
    hash = "sha256-nsJuHxPXhMBRY4BUDDLj5sHK/GuJA0pBU3RGUDxVm50=";
  };

  patches = [
    (fetchpatch {
      name = "fix-unable-to-determine-version-error.patch";
      url = "https://github.com/sammchardy/python-binance/commit/1b9dd4853cafccf6cdacc13bb64a18632a79a6f1.patch";
      hash = "sha256-6KRHm2cZRcdD6qMdRAwlea4qLZ1/1YFzZAQ7Ph4XMCs=";
    })
  ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    aiohttp
    dateparser
    requests
@@ -48,6 +44,8 @@ buildPythonPackage rec {
  ];

  nativeCheckInputs = [
    aioresponses
    pytest-asyncio
    pytestCheckHook
    requests-mock
  ];
@@ -55,7 +53,30 @@ buildPythonPackage rec {
  disabledTestPaths = [
    # Tests require network access
    "tests/test_api_request.py"
    "tests/test_historical_klines.py"
    "tests/test_async_client.py"
    "tests/test_async_client_futures.py"
    "tests/test_async_client_margin.py"
    "tests/test_async_client_options.py"
    "tests/test_async_client_portfolio.py"
    "tests/test_async_client_ws_api.py"
    "tests/test_async_client_ws_futures_requests.py"
    "tests/test_client.py"
    "tests/test_client_futures.py"
    "tests/test_client_gift_card.py"
    "tests/test_client_margin.py"
    "tests/test_client_options.py"
    "tests/test_client_portfolio.py"
    "tests/test_client_ws_api.py"
    "tests/test_client_ws_futures_requests.py"
    "tests/test_depth_cache.py"
    "tests/test_get_order_book.py"
    "tests/test_ping.py"
    "tests/test_reconnecting_websocket.py"
    "tests/test_socket_manager.py"
    "tests/test_streams.py"
    "tests/test_threaded_socket_manager.py"
    "tests/test_threaded_stream.py"
    "tests/test_ws_api.py"
  ];

  pythonImportsCheck = [ "binance" ];
+13 −8
Original line number Diff line number Diff line
@@ -2,37 +2,42 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  isPy27,
  maya,
  pythonOlder,
  requests,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  version = "1.0.1";
  format = "setuptools";
  pname = "secure";
  disabled = isPy27;
  version = "1.0.1";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchFromGitHub {
    owner = "typeerror";
    repo = "secure.py";
    tag = "v${version}";
    sha256 = "sha256-lyosOejztFEINGKO0wAYv3PWBL7vpmAq+eQunwP9h5I=";
    hash = "sha256-lyosOejztFEINGKO0wAYv3PWBL7vpmAq+eQunwP9h5I=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    maya
    requests
  ];

  # no tests in release
  doCheck = false;
  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "secure" ];

  meta = with lib; {
    description = "Adds optional security headers and cookie attributes for Python web frameworks";
    homepage = "https://github.com/TypeError/secure.py";
    changelog = "https://github.com/TypeError/secure/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = [ ];
  };
Loading