python3Packages.oslo-context: 5.7.1 -> 6.0.0 (#410090)

This commit is contained in:
Sandro
2025-05-23 14:59:24 +02:00
committed by GitHub
2 changed files with 13 additions and 4 deletions
@@ -2,22 +2,22 @@
lib,
buildPythonPackage,
fetchPypi,
debtcollector,
oslotest,
stestr,
pbr,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "oslo-context";
version = "5.7.1";
version = "6.0.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "oslo_context";
hash = "sha256-DFEf4VNzKv8MGztEq9L1EAioPHB7uSm+4B4SVayWSIk=";
hash = "sha256-FR6CKJgtOIXtP+0ojozdsm+JT7QMuBMhKfqeWz4O8L0=";
};
postPatch = ''
@@ -29,8 +29,8 @@ buildPythonPackage rec {
build-system = [ setuptools ];
dependencies = [
debtcollector
pbr
typing-extensions
];
nativeCheckInputs = [
@@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
# build-system
setuptools,
@@ -35,6 +36,14 @@ buildPythonPackage rec {
hash = "sha256-ybWrNwP9L7iOzft10TgRFxA4mCRDVozVC2ZAopgITqo=";
};
patches = [
# remove removed alias from tests
(fetchpatch {
url = "https://github.com/openstack/oslo.log/commit/69a285a8c830712b4b8aafc8ecd4e2d7654e1ffe.patch";
hash = "sha256-e0kRSHJPHITP/XgPHhY5kGzCupE00oBnCJYiUCs3Yks=";
})
];
# Manually set version because prb wants to get it from the git upstream repository (and we are
# installing from tarball instead)
PBR_VERSION = version;