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