python312Packages.python-neutronclient: fix runtime dependency check … (#368057)

This commit is contained in:
Sandro
2024-12-26 21:56:15 +01:00
committed by GitHub
2 changed files with 30 additions and 1 deletions
@@ -43,6 +43,12 @@ buildPythonPackage rec {
hash = "sha256-U82ZI/Q6OwdypA41YfdGVa3IA4+QJhqz3gW2IR0S7cs=";
};
patches = [
# fix wheel metadata to support python 3.12
# based on https://github.com/openstack/python-neutronclient/commit/f882f1ddb60bcd77096eb8a74e9e86d10723e8be
./python-3.12.diff
];
build-system = [
setuptools
pbr
@@ -91,7 +97,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python bindings for the OpenStack Networking API";
homepage = "https://opendev.org/openstack/python-neutronclient/";
homepage = "https://github.com/openstack/python-neutronclient/";
license = licenses.asl20;
maintainers = teams.openstack.members;
};
@@ -0,0 +1,23 @@
--- a/setup.cfg 2024-12-25 04:00:53.429397282 +0100
+++ b/setup.cfg 2024-12-25 04:03:48.308447471 +0100
@@ -6,7 +6,7 @@
author = OpenStack Networking Project
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/python-neutronclient/latest/
-python_requires = >=3.8
+python_requires = >=3.9
classifier =
Environment :: OpenStack
Intended Audience :: Developers
@@ -18,8 +18,10 @@
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
+ Programming Language :: Python :: 3.12
[files]
packages =