]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Changes suggested after review by @epuertat.
authorDaniel Persson <mailto.woden@gmail.com>
Sun, 3 Dec 2023 08:03:47 +0000 (08:03 +0000)
committerMatthew Vernon <mvernon@wikimedia.org>
Thu, 22 Feb 2024 09:15:25 +0000 (09:15 +0000)
Move the JWT requirement to the test requirements file. Also remove JWT from ceph specification and debian build.

Signed-off-by: Daniel Persson <mailto.woden@gmail.com>
(cherry picked from commit c1ea66fe12f86e7a63681cba860fb91b1ea86e12)

ceph.spec.in
debian/control
src/pybind/mgr/dashboard/requirements-test.txt
src/pybind/mgr/dashboard/tox.ini

index ff8aa5aafbff8a72f9b804458da4efc8c6ec6f25..c4281abc5bfbb91882b2b203a9b39c0e9de0c7d8 100644 (file)
@@ -412,7 +412,6 @@ BuildRequires:      xmlsec1-nss
 BuildRequires: xmlsec1-openssl
 BuildRequires: xmlsec1-openssl-devel
 BuildRequires: python%{python3_pkgversion}-cherrypy
-BuildRequires: python%{python3_pkgversion}-jwt
 BuildRequires: python%{python3_pkgversion}-routes
 BuildRequires: python%{python3_pkgversion}-scipy
 BuildRequires: python%{python3_pkgversion}-werkzeug
@@ -425,7 +424,6 @@ BuildRequires:      libxmlsec1-1
 BuildRequires: libxmlsec1-nss1
 BuildRequires: libxmlsec1-openssl1
 BuildRequires: python%{python3_pkgversion}-CherryPy
-BuildRequires: python%{python3_pkgversion}-PyJWT
 BuildRequires: python%{python3_pkgversion}-Routes
 BuildRequires: python%{python3_pkgversion}-Werkzeug
 BuildRequires: python%{python3_pkgversion}-numpy-devel
@@ -617,7 +615,6 @@ Requires:       ceph-prometheus-alerts = %{_epoch_prefix}%{version}-%{release}
 Requires:       python%{python3_pkgversion}-setuptools
 %if 0%{?fedora} || 0%{?rhel}
 Requires:       python%{python3_pkgversion}-cherrypy
-Requires:       python%{python3_pkgversion}-jwt
 Requires:       python%{python3_pkgversion}-routes
 Requires:       python%{python3_pkgversion}-werkzeug
 %if 0%{?weak_deps}
@@ -626,7 +623,6 @@ Recommends:     python%{python3_pkgversion}-saml
 %endif
 %if 0%{?suse_version}
 Requires:       python%{python3_pkgversion}-CherryPy
-Requires:       python%{python3_pkgversion}-PyJWT
 Requires:       python%{python3_pkgversion}-Routes
 Requires:       python%{python3_pkgversion}-Werkzeug
 Recommends:     python%{python3_pkgversion}-python3-saml
index 837a55a371670874dc91efb835f417e63f16481a..e7b123ec381e75a55dab7f80d6d9c2f4cc3bfc69 100644 (file)
@@ -91,7 +91,6 @@ Build-Depends: automake,
                python3-all-dev,
                python3-cherrypy3,
                python3-natsort,
-               python3-jwt <pkg.ceph.check>,
                python3-pecan <pkg.ceph.check>,
                python3-bcrypt <pkg.ceph.check>,
                tox <pkg.ceph.check>,
index da283d0b64aaacd77cf46260b8f58b4331ee1bce..aa80b3336b5407ae000ace90647fd380b58b0cc6 100644 (file)
@@ -2,3 +2,4 @@ pytest-cov
 pytest-instafail
 pyfakefs==4.5.0
 jsonschema~=4.0
+PyJWT~=2.0
index 271df286ec5e802de04726e6926c462c0703746a..47756e946e125facafcecb6d2d94917317ff81df 100644 (file)
@@ -20,7 +20,6 @@ addopts =
 deps =
     -rrequirements.txt
     -cconstraints.txt
-    PyJWT
 
 [base-test]
 deps =