Skip to content

Commit 9eccdb4

Browse files
python3Packages.oslo-context: 5.7.1 -> 6.0.0 (#410090)
2 parents a457721 + 931899f commit 9eccdb4

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

pkgs/development/python-modules/oslo-context/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
lib,
33
buildPythonPackage,
44
fetchPypi,
5-
debtcollector,
65
oslotest,
76
stestr,
87
pbr,
98
setuptools,
9+
typing-extensions,
1010
}:
1111

1212
buildPythonPackage rec {
1313
pname = "oslo-context";
14-
version = "5.7.1";
14+
version = "6.0.0";
1515
pyproject = true;
1616

1717
src = fetchPypi {
1818
inherit version;
1919
pname = "oslo_context";
20-
hash = "sha256-DFEf4VNzKv8MGztEq9L1EAioPHB7uSm+4B4SVayWSIk=";
20+
hash = "sha256-FR6CKJgtOIXtP+0ojozdsm+JT7QMuBMhKfqeWz4O8L0=";
2121
};
2222

2323
postPatch = ''
@@ -29,8 +29,8 @@ buildPythonPackage rec {
2929
build-system = [ setuptools ];
3030

3131
dependencies = [
32-
debtcollector
3332
pbr
33+
typing-extensions
3434
];
3535

3636
nativeCheckInputs = [

pkgs/development/python-modules/oslo-log/default.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
stdenv,
44
buildPythonPackage,
55
fetchFromGitHub,
6+
fetchpatch,
67

78
# build-system
89
setuptools,
@@ -35,6 +36,14 @@ buildPythonPackage rec {
3536
hash = "sha256-ybWrNwP9L7iOzft10TgRFxA4mCRDVozVC2ZAopgITqo=";
3637
};
3738

39+
patches = [
40+
# remove removed alias from tests
41+
(fetchpatch {
42+
url = "https://github.com/openstack/oslo.log/commit/69a285a8c830712b4b8aafc8ecd4e2d7654e1ffe.patch";
43+
hash = "sha256-e0kRSHJPHITP/XgPHhY5kGzCupE00oBnCJYiUCs3Yks=";
44+
})
45+
];
46+
3847
# Manually set version because prb wants to get it from the git upstream repository (and we are
3948
# installing from tarball instead)
4049
PBR_VERSION = version;

0 commit comments

Comments
 (0)