File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
pkgs/development/python-modules Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 buildPythonPackage ,
44 fetchPypi ,
5- debtcollector ,
65 oslotest ,
76 stestr ,
87 pbr ,
98 setuptools ,
9+ typing-extensions ,
1010} :
1111
1212buildPythonPackage 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 = [
Original file line number Diff line number Diff line change 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 ;
You can’t perform that action at this time.
0 commit comments