mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #289916 from gador/dnspython_2.6.1
python311Packages.dnspython: 2.4.2 -> 2.6.1
This commit is contained in:
commit
ce71f69134
|
@ -1,5 +1,4 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, aioquic
|
||||
, buildPythonPackage
|
||||
, cacert
|
||||
|
@ -7,9 +6,10 @@
|
|||
, curio
|
||||
, fetchPypi
|
||||
, h2
|
||||
, httpcore
|
||||
, httpx
|
||||
, idna
|
||||
, poetry-core
|
||||
, hatchling
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
|
@ -20,18 +20,18 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "dnspython";
|
||||
version = "2.4.2";
|
||||
version = "2.6.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-jc+ujHRgovhLQHLibxyfQQHKIMBxZJy3w06LapPViYQ=";
|
||||
hash = "sha256-6PD5wjp7fLmd7WTmw6bz5wHXj1DFXgArg53qciXP98w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
hatchling
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
|
@ -40,6 +40,7 @@ buildPythonPackage rec {
|
|||
h2
|
||||
requests
|
||||
requests-toolbelt
|
||||
httpcore
|
||||
];
|
||||
IDNA = [
|
||||
idna
|
||||
|
@ -70,15 +71,6 @@ buildPythonPackage rec {
|
|||
disabledTests = [
|
||||
# dns.exception.SyntaxError: protocol not found
|
||||
"test_misc_good_WKS_text"
|
||||
# fails if IPv6 isn't available
|
||||
"test_resolver_override"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# Tests that run inconsistently on darwin systems
|
||||
# 9 tests fail with: BlockingIOError: [Errno 35] Resource temporarily unavailable
|
||||
"testQueryUDP"
|
||||
# 6 tests fail with: dns.resolver.LifetimeTimeout: The resolution lifetime expired after ...
|
||||
"testResolveCacheHit"
|
||||
"testResolveTCP"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
|
Loading…
Reference in a new issue