mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
treewide: drop python3Packages.aiosasl and friends
This commit is contained in:
parent
d5f3ba05b6
commit
22927b9679
5 changed files with 2 additions and 155 deletions
|
|
@ -19,7 +19,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
|||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
aioxmpp
|
||||
beautifulsoup4
|
||||
cssbeautifier
|
||||
cssselect
|
||||
|
|
|
|||
|
|
@ -1,52 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pyopenssl,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosasl";
|
||||
version = "0.5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "horazont";
|
||||
repo = "aiosasl";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-JIuNPb/l4QURMQc905H2iNGCfMz+zM/QJhDQOR8LPdc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "python311-compat.patch";
|
||||
url = "https://github.com/horazont/aiosasl/commit/44c48d36b416bd635d970dba2607a31b2167ea1b.patch";
|
||||
hash = "sha256-u6PJKV54dU2MA9hXa/9hJ3eLVds1DuLHGbt8y/OakWs=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/horazont/aiosasl/issues/28
|
||||
substituteInPlace tests/test_aiosasl.py \
|
||||
--replace-fail "assertRaisesRegexp" "assertRaisesRegex"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pyopenssl
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aiosasl" ];
|
||||
|
||||
meta = {
|
||||
description = "Asyncio SASL library";
|
||||
homepage = "https://github.com/horazont/aiosasl";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
aioopenssl,
|
||||
aiosasl,
|
||||
babel,
|
||||
buildPythonPackage,
|
||||
dnspython,
|
||||
fetchFromCodeberg,
|
||||
lxml,
|
||||
multidict,
|
||||
pyasn1-modules,
|
||||
pyasn1,
|
||||
pyopenssl,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pytz,
|
||||
setuptools,
|
||||
sortedcollections,
|
||||
tzlocal,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioxmpp";
|
||||
version = "0.13.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromCodeberg {
|
||||
owner = "jssfr";
|
||||
repo = "aioxmpp";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-bQPKEM5eKhFI3Kx3U1espdxqjnG4yUgOXmYCrd98PDo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/bookmarks/test_service.py \
|
||||
--replace-fail 'can only assign an iterable$' 'must assign iterable'
|
||||
substituteInPlace tests/test_utils.py \
|
||||
--replace-fail 'property of .* has no' 'property .*of .* has no'
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"lxml"
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiosasl
|
||||
aioopenssl
|
||||
babel
|
||||
dnspython
|
||||
lxml
|
||||
multidict
|
||||
pyasn1
|
||||
pyasn1-modules
|
||||
pyopenssl
|
||||
pytz
|
||||
sortedcollections
|
||||
tzlocal
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioxmpp"
|
||||
"aioxmpp.node"
|
||||
"aioxmpp.security_layer"
|
||||
"aioxmpp.stanza"
|
||||
"aioxmpp.stream"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTestPaths = [ "benchmarks" ];
|
||||
|
||||
disabledTests = [
|
||||
# AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'normalize'
|
||||
"test_convert_field_datetime_default_locale"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.12") [
|
||||
# asyncio issues
|
||||
"test_is_abstract"
|
||||
"Testbackground"
|
||||
"TestCapturingXSO"
|
||||
"Testcheck_x509"
|
||||
"TestClient"
|
||||
"TestIntegerType"
|
||||
"TestStanzaStream"
|
||||
"TestStanzaToken"
|
||||
"TestXMLStream"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Pure-python XMPP library for asyncio";
|
||||
homepage = "https://codeberg.org/jssfr/aioxmpp";
|
||||
changelog = "https://codeberg.org/jssfr/aioxmpp/src/tag/${src.tag}/docs/api/changelog.rst";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
|
|
@ -78,8 +78,10 @@ mapAliases {
|
|||
abjad = throw "'abjad' was removed due to lack of maintenance"; # Added 2026-03-24
|
||||
abodepy = throw "'abodepy' has been renamed to/replaced by 'jaraco-abode'"; # Converted to throw 2025-10-29
|
||||
aioinflux = throw "'aioinflux' was removed because it is abandonned upstream. For InfluxDB v2+ support, please use the official Python client library"; # Added 2026-01-15
|
||||
aiosasl = throw "'aiosasl' was removed because it is abandoned upstream and does not work on modern Python versions."; # Added 2026-06-28
|
||||
aiosenz = throw "aiosenz was removed because Home Assistant switched to pysenz"; # added 2025-12-29
|
||||
aioshutil = throw "'aioshutil' was removed because uiprotect no longer depends on it"; # added 2026-02-16
|
||||
aioxmpp = throw "'aioxmpp' was removed because it depends on aiosasl, which is abandoned and does not work on modern Python versions."; # Added 2026-06-28
|
||||
amazon-kclpy = throw "amazon-kclpy has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-03
|
||||
amazon_kclpy = throw "'amazon_kclpy' has been renamed to/replaced by 'amazon-kclpy'"; # Converted to throw 2025-10-29
|
||||
amqplib = throw "amqplib has been removed as it was unmaintained upstream"; # Added 2025-11-22
|
||||
|
|
|
|||
|
|
@ -516,8 +516,6 @@ self: super: with self; {
|
|||
|
||||
aiorwlock = callPackage ../development/python-modules/aiorwlock { };
|
||||
|
||||
aiosasl = callPackage ../development/python-modules/aiosasl { };
|
||||
|
||||
aiosendspin = callPackage ../development/python-modules/aiosendspin { };
|
||||
|
||||
aiosendspin-mpris = callPackage ../development/python-modules/aiosendspin-mpris { };
|
||||
|
|
@ -600,8 +598,6 @@ self: super: with self; {
|
|||
|
||||
aiowmi = callPackage ../development/python-modules/aiowmi { };
|
||||
|
||||
aioxmpp = callPackage ../development/python-modules/aioxmpp { };
|
||||
|
||||
aioymaps = callPackage ../development/python-modules/aioymaps { };
|
||||
|
||||
aiozeroconf = callPackage ../development/python-modules/aiozeroconf { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue