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

authored by Fabian Affolter and committed by GitHub 21aaf7ef 28dac497

+59 -43
+2 -2
pkgs/development/python-modules/dateparser/default.nix
··· 22 23 buildPythonPackage rec { 24 pname = "dateparser"; 25 - version = "1.2.0"; 26 27 disabled = pythonOlder "3.7"; 28 ··· 32 owner = "scrapinghub"; 33 repo = "dateparser"; 34 tag = "v${version}"; 35 - hash = "sha256-mnL44hojebOwP6qtEBHs5QM4uRmLuGlVNr+sM3jZEKE="; 36 }; 37 38 nativeBuildInputs = [ setuptools ];
··· 22 23 buildPythonPackage rec { 24 pname = "dateparser"; 25 + version = "1.2.1"; 26 27 disabled = pythonOlder "3.7"; 28 ··· 32 owner = "scrapinghub"; 33 repo = "dateparser"; 34 tag = "v${version}"; 35 + hash = "sha256-O0FsLWbH0kGjwGCTklBMVVqosxXlXRyS9aAcggtBLsA="; 36 }; 37 38 nativeBuildInputs = [ setuptools ];
+2 -2
pkgs/development/python-modules/lacuscore/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "lacuscore"; 20 - version = "1.12.8"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.9"; ··· 26 owner = "ail-project"; 27 repo = "LacusCore"; 28 tag = "v${version}"; 29 - hash = "sha256-blQhnQoNMXQhNQJ7EXawoYHxbPEgPmLltoLQTzsKwtA="; 30 }; 31 32 pythonRelaxDeps = [
··· 17 18 buildPythonPackage rec { 19 pname = "lacuscore"; 20 + version = "1.12.10"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.9"; ··· 26 owner = "ail-project"; 27 repo = "LacusCore"; 28 tag = "v${version}"; 29 + hash = "sha256-IKH7c1/MgjlfJ9tKVeTXW8MdLIc7P+jitvQkZn9f75Y="; 30 }; 31 32 pythonRelaxDeps = [
+2 -2
pkgs/development/python-modules/playwrightcapture/default.nix
··· 22 23 buildPythonPackage rec { 24 pname = "playwrightcapture"; 25 - version = "1.27.6"; 26 pyproject = true; 27 28 disabled = pythonOlder "3.9"; ··· 31 owner = "Lookyloo"; 32 repo = "PlaywrightCapture"; 33 tag = "v${version}"; 34 - hash = "sha256-Kh4F5dicbVvM9k8T4iMERMuze3Ztawi9LXH7+udtZFU="; 35 }; 36 37 pythonRelaxDeps = [
··· 22 23 buildPythonPackage rec { 24 pname = "playwrightcapture"; 25 + version = "1.27.8"; 26 pyproject = true; 27 28 disabled = pythonOlder "3.9"; ··· 31 owner = "Lookyloo"; 32 repo = "PlaywrightCapture"; 33 tag = "v${version}"; 34 + hash = "sha256-iIUwBX3MQHeEmYwesW2Dm45tr9FYyq9GtLGbyV784RA="; 35 }; 36 37 pythonRelaxDeps = [
+35 -14
pkgs/development/python-modules/python-binance/default.nix
··· 1 { 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 dateparser, 6 fetchFromGitHub, 7 - fetchpatch, 8 pycryptodome, 9 pytestCheckHook, 10 pythonOlder, 11 requests, 12 - requests-mock, 13 six, 14 ujson, 15 websockets, 16 }: 17 18 buildPythonPackage rec { 19 pname = "python-binance"; 20 version = "1.0.27"; 21 - format = "setuptools"; 22 23 - disabled = pythonOlder "3.6"; 24 25 src = fetchFromGitHub { 26 owner = "sammchardy"; 27 - repo = pname; 28 tag = "v${version}"; 29 hash = "sha256-nsJuHxPXhMBRY4BUDDLj5sHK/GuJA0pBU3RGUDxVm50="; 30 }; 31 32 - patches = [ 33 - (fetchpatch { 34 - name = "fix-unable-to-determine-version-error.patch"; 35 - url = "https://github.com/sammchardy/python-binance/commit/1b9dd4853cafccf6cdacc13bb64a18632a79a6f1.patch"; 36 - hash = "sha256-6KRHm2cZRcdD6qMdRAwlea4qLZ1/1YFzZAQ7Ph4XMCs="; 37 - }) 38 - ]; 39 40 - propagatedBuildInputs = [ 41 aiohttp 42 dateparser 43 requests ··· 48 ]; 49 50 nativeCheckInputs = [ 51 pytestCheckHook 52 requests-mock 53 ]; ··· 55 disabledTestPaths = [ 56 # Tests require network access 57 "tests/test_api_request.py" 58 - "tests/test_historical_klines.py" 59 ]; 60 61 pythonImportsCheck = [ "binance" ];
··· 1 { 2 lib, 3 aiohttp, 4 + aioresponses, 5 buildPythonPackage, 6 dateparser, 7 fetchFromGitHub, 8 pycryptodome, 9 + pytest-asyncio, 10 pytestCheckHook, 11 pythonOlder, 12 + requests-mock, 13 requests, 14 six, 15 ujson, 16 + setuptools, 17 websockets, 18 }: 19 20 buildPythonPackage rec { 21 pname = "python-binance"; 22 version = "1.0.27"; 23 + pyproject = true; 24 25 + disabled = pythonOlder "3.11"; 26 27 src = fetchFromGitHub { 28 owner = "sammchardy"; 29 + repo = "python-binance"; 30 tag = "v${version}"; 31 hash = "sha256-nsJuHxPXhMBRY4BUDDLj5sHK/GuJA0pBU3RGUDxVm50="; 32 }; 33 34 + build-system = [ setuptools ]; 35 36 + dependencies = [ 37 aiohttp 38 dateparser 39 requests ··· 44 ]; 45 46 nativeCheckInputs = [ 47 + aioresponses 48 + pytest-asyncio 49 pytestCheckHook 50 requests-mock 51 ]; ··· 53 disabledTestPaths = [ 54 # Tests require network access 55 "tests/test_api_request.py" 56 + "tests/test_async_client.py" 57 + "tests/test_async_client_futures.py" 58 + "tests/test_async_client_margin.py" 59 + "tests/test_async_client_options.py" 60 + "tests/test_async_client_portfolio.py" 61 + "tests/test_async_client_ws_api.py" 62 + "tests/test_async_client_ws_futures_requests.py" 63 + "tests/test_client.py" 64 + "tests/test_client_futures.py" 65 + "tests/test_client_gift_card.py" 66 + "tests/test_client_margin.py" 67 + "tests/test_client_options.py" 68 + "tests/test_client_portfolio.py" 69 + "tests/test_client_ws_api.py" 70 + "tests/test_client_ws_futures_requests.py" 71 + "tests/test_depth_cache.py" 72 + "tests/test_get_order_book.py" 73 + "tests/test_ping.py" 74 + "tests/test_reconnecting_websocket.py" 75 + "tests/test_socket_manager.py" 76 + "tests/test_streams.py" 77 + "tests/test_threaded_socket_manager.py" 78 + "tests/test_threaded_stream.py" 79 + "tests/test_ws_api.py" 80 ]; 81 82 pythonImportsCheck = [ "binance" ];
+13 -8
pkgs/development/python-modules/secure/default.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 - isPy27, 6 maya, 7 requests, 8 }: 9 10 buildPythonPackage rec { 11 version = "1.0.1"; 12 - format = "setuptools"; 13 - pname = "secure"; 14 - disabled = isPy27; 15 16 src = fetchFromGitHub { 17 owner = "typeerror"; 18 repo = "secure.py"; 19 tag = "v${version}"; 20 - sha256 = "sha256-lyosOejztFEINGKO0wAYv3PWBL7vpmAq+eQunwP9h5I="; 21 }; 22 23 - propagatedBuildInputs = [ 24 maya 25 requests 26 ]; 27 28 - # no tests in release 29 - doCheck = false; 30 31 pythonImportsCheck = [ "secure" ]; 32 33 meta = with lib; { 34 description = "Adds optional security headers and cookie attributes for Python web frameworks"; 35 homepage = "https://github.com/TypeError/secure.py"; 36 license = licenses.mit; 37 maintainers = [ ]; 38 };
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 maya, 6 + pythonOlder, 7 requests, 8 + pytestCheckHook, 9 + setuptools, 10 }: 11 12 buildPythonPackage rec { 13 + pname = "secure"; 14 version = "1.0.1"; 15 + pyproject = true; 16 + 17 + disabled = pythonOlder "3.10"; 18 19 src = fetchFromGitHub { 20 owner = "typeerror"; 21 repo = "secure.py"; 22 tag = "v${version}"; 23 + hash = "sha256-lyosOejztFEINGKO0wAYv3PWBL7vpmAq+eQunwP9h5I="; 24 }; 25 26 + build-system = [ setuptools ]; 27 + 28 + dependencies = [ 29 maya 30 requests 31 ]; 32 33 + nativeCheckInputs = [ pytestCheckHook ]; 34 35 pythonImportsCheck = [ "secure" ]; 36 37 meta = with lib; { 38 description = "Adds optional security headers and cookie attributes for Python web frameworks"; 39 homepage = "https://github.com/TypeError/secure.py"; 40 + changelog = "https://github.com/TypeError/secure/releases/tag/v${version}"; 41 license = licenses.mit; 42 maintainers = [ ]; 43 };
+2 -4
pkgs/development/python-modules/trafilatura/default.nix
··· 26 hash = "sha256-zrcJSm7Ml+cv6nPH26NnFMXFtXe2Rw5FINyok3BtYkc="; 27 }; 28 29 - # Patch out gui cli because it is not supported in this packaging and 30 - # nixify path to the trafilatura binary in the test suite 31 postPatch = '' 32 - substituteInPlace setup.py \ 33 - --replace-fail '"trafilatura_gui=trafilatura.gui:main",' "" 34 substituteInPlace tests/cli_tests.py \ 35 --replace-fail 'trafilatura_bin = "trafilatura"' \ 36 'trafilatura_bin = "${placeholder "out"}/bin/trafilatura"' ··· 57 "test_download" 58 "test_feeds_helpers" 59 "test_fetch" 60 "test_is_live_page" 61 "test_meta_redirections" 62 "test_probing"
··· 26 hash = "sha256-zrcJSm7Ml+cv6nPH26NnFMXFtXe2Rw5FINyok3BtYkc="; 27 }; 28 29 postPatch = '' 30 + # nixify path to the trafilatura binary in the test suite 31 substituteInPlace tests/cli_tests.py \ 32 --replace-fail 'trafilatura_bin = "trafilatura"' \ 33 'trafilatura_bin = "${placeholder "out"}/bin/trafilatura"' ··· 54 "test_download" 55 "test_feeds_helpers" 56 "test_fetch" 57 + "test_input_type" 58 "test_is_live_page" 59 "test_meta_redirections" 60 "test_probing"
+3 -11
pkgs/development/python-modules/w3lib/default.nix
··· 1 { 2 lib, 3 buildPythonPackage, 4 - fetchpatch, 5 fetchPypi, 6 pytestCheckHook, 7 pythonOlder, ··· 10 11 buildPythonPackage rec { 12 pname = "w3lib"; 13 - version = "2.2.1"; 14 pyproject = true; 15 16 - disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - hash = "sha256-dW/y2Uxk5ByNfAxZ/qEqXQvFXjOlMceYi0oWPeubB90="; 21 }; 22 - 23 - patches = [ 24 - (fetchpatch { 25 - url = "https://github.com/scrapy/w3lib/commit/44dcf9160c3f207658d6ce808307c80c9ca835a2.patch"; 26 - hash = "sha256-fUQ2oWpAJeslgemt+EUxKLH3Ywpg441FCOBLFJCZ+Ac="; 27 - }) 28 - ]; 29 30 build-system = [ setuptools ]; 31
··· 1 { 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, ··· 9 10 buildPythonPackage rec { 11 pname = "w3lib"; 12 + version = "2.3.1"; 13 pyproject = true; 14 15 + disabled = pythonOlder "3.9"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + hash = "sha256-XIrAKjAnV2F0wrYeuaIXC6Gxl8rnZwgHcbbx/r2iSaQ="; 20 }; 21 22 build-system = [ setuptools ]; 23