python310Packages.backports_weakref: remove

we no longer need to backport to python3.3
This commit is contained in:
natsukium 2023-07-29 00:09:54 +09:00
parent 0e1093ec31
commit 7fdbac6563
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53
4 changed files with 2 additions and 37 deletions

View file

@ -1,32 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
# , backports
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "backports.weakref";
version = "1.0.post1";
src = fetchPypi {
inherit pname version;
sha256 = "bc4170a29915f8b22c9e7c4939701859650f2eb84184aee80da329ac0b9825c2";
};
buildInputs = [ setuptools-scm ];
# nativeCheckInputs = [ backports ];
# Requires backports package
doCheck = false;
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [ "tests" ];
meta = with lib; {
description = "Backports of new features in Pythons weakref module";
license = licenses.psfl;
maintainers = with maintainers; [ jyp ];
};
}

View file

@ -18,7 +18,6 @@
, wheel
, jax
, opt-einsum
, backports_weakref
, tensorflow-estimator-bin
, tensorboard
, config
@ -83,8 +82,7 @@ in buildPythonPackage {
keras-applications
keras-preprocessing
h5py
] ++ lib.optional (!isPy3k) mock
++ lib.optionals (pythonOlder "3.4") [ backports_weakref ];
] ++ lib.optional (!isPy3k) mock;
nativeBuildInputs = [ wheel ] ++ lib.optionals cudaSupport [ addOpenGLRunpath ];

View file

@ -52,6 +52,7 @@ mapAliases ({
backports_functools_lru_cache = throw "backports_functools_lru_cache has been removed, since we no longer need to backport to python3.2"; # added 2023-07-28
backports_tempfile = throw "backports_tempfile has been removed, since we no longer need to backport to python3.3"; # added 2023-07-28
backports_unittest-mock = throw "backports_unittest-mock has been removed, since we no longer need to backport to python3.2"; # added 2023-07-28
backports_weakref = throw "backports_weakref has been removed, since we no longer need to backport to python3.3"; # added 2023-07-28
bedup = throw "bedup was removed because it was broken and abandoned upstream"; # added 2023-02-04
bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15
BlinkStick = blinkstick; # added 2023-02-19

View file

@ -1207,8 +1207,6 @@ self: super: with self; {
backports-shutil-which = callPackage ../development/python-modules/backports-shutil-which { };
backports_weakref = callPackage ../development/python-modules/backports_weakref { };
backports-zoneinfo = callPackage ../development/python-modules/backports-zoneinfo { };
bacpypes = callPackage ../development/python-modules/bacpypes { };