mgr/dashboard: use system packages when running tox#62239
mgr/dashboard: use system packages when running tox#62239nizamial09 merged 6 commits intoceph:mainfrom
Conversation
8797936 to
4975988
Compare
xmlsec had an upgrade yesterday night and python3-saml might need to adapt its library accordingly I suppose. Testing a fix by pinning lxml Another approach is being tried out separately ceph#62239, but that is failing with some other errors. Fixes: https://tracker.ceph.com/issues/70411 Signed-off-by: Nizamudeen A <nia@redhat.com>
4975988 to
1bdbc5d
Compare
xmlsec had an upgrade yesterday night and python3-saml might need to adapt its library accordingly I suppose. Testing a fix by pinning lxml Another approach is being tried out separately ceph#62239, but that is failing with some other errors. Fixes: https://tracker.ceph.com/issues/70411 Signed-off-by: Nizamudeen A <nia@redhat.com>
xmlsec had an upgrade yesterday night and python3-saml might need to adapt its library accordingly I suppose. Testing a fix by pinning lxml Another approach is being tried out separately ceph#62239, but that is failing with some other errors. Fixes: https://tracker.ceph.com/issues/70411 Signed-off-by: Nizamudeen A <nia@redhat.com>
40fcbc4 to
6d820eb
Compare
|
extending couple of stuffs @pecastro doing in https://github.com/ceph/ceph/pull/61967/files so that it applies for the dashboard tox in general. Might need to adapt few tests as stated by him in his original PR. |
xmlsec had an upgrade yesterday night and python3-saml might need to adapt its library accordingly I suppose. Testing a fix by pinning lxml Another approach is being tried out separately ceph#62239, but that is failing with some other errors. Fixes: https://tracker.ceph.com/issues/70411 Signed-off-by: Nizamudeen A <nia@redhat.com> (cherry picked from commit 1f84505) Conflicts: src/pybind/mgr/dashboard/requirements.txt - only kept the lxml pinning. didn't add the newer deps that are present in main
xmlsec had an upgrade yesterday night and python3-saml might need to adapt its library accordingly I suppose. Testing a fix by pinning lxml Another approach is being tried out separately ceph#62239, but that is failing with some other errors. Fixes: https://tracker.ceph.com/issues/70411 Signed-off-by: Nizamudeen A <nia@redhat.com> (cherry picked from commit 1f84505) Conflicts: src/pybind/mgr/dashboard/requirements.txt - didn't add the dependency that are present in main and only added the lxml pinning
6d820eb to
ed21579
Compare
ed21579 to
adaf388
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
adaf388 to
ad57a6b
Compare
ad57a6b to
73e9995
Compare
1db010a to
9922f04
Compare
Fixes: https://tracker.ceph.com/issues/70411 Signed-off-by: Nizamudeen A <nia@redhat.com>
9922f04 to
3606ee7
Compare
| @@ -1,3 +1,5 @@ | |||
| # pylint: disable=unexpected-keyword-arg | |||
There was a problem hiding this comment.
I saw that pylint2.6.0 mishandles line-level disables which was true for me because it failed when I did
MessageToDict(message, including_default_value_fields=True, # pylint: disable=unexpected-keyword-arg
preserving_proto_field_name=True) # type: ignore
so had to keep it here. this is only a lint error so I am suspecting our pylinter is a bit older and its way past time to update that.
|
jenkins test dashboard |
|
jenkins test dashboard cephadm |
|
okay, I just saw that the ubuntu 24.04 is not compliant with the current version of flake8 and other test frameworks.. I am testing it with an ubuntu container. Will update this PR to reflect all those (otherwise its useless for the ubuntu migration). The problem I saw was ubuntu has py3.12 which uses a newer version of importlib_metadata and that broke flake8. |
|
Okay, as I started upgrading things, it requires a bigger migration so I am gonna open a separate PR just for those upgrades to make it easier for testing it and capturing issues.. |
Signed-off-by: Nizamudeen A <nia@redhat.com>
…ailure" This reverts commit 1f84505. Signed-off-by: Nizamudeen A <nia@redhat.com>
Signed-off-by: Nizamudeen A <nia@redhat.com>
Fixes: https://tracker.ceph.com/issues/70411 Signed-off-by: Nizamudeen A <nia@redhat.com>
Signed-off-by: Nizamudeen A <nia@redhat.com>
3606ee7 to
acb0f19
Compare
|
jenkins test make check arm64 |
which brings in python3-saml and is not needed anymore after ceph#62239 Fixes: https://tracker.ceph.com/issues/70937 Signed-off-by: Nizamudeen A <nia@redhat.com>
which brings in python3-saml and is not needed anymore after ceph#62239 Fixes: https://tracker.ceph.com/issues/70937 Signed-off-by: Nizamudeen A <nia@redhat.com> (cherry picked from commit 7064294)
| # distros; centos and ubuntu. | ||
| import os | ||
| os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python" | ||
|
|
There was a problem hiding this comment.
This is not just due to a mismatch. Protobuf3 C++ is broken with subinterpreters, and this workaround is needed when running with that version (e.g. Fedora). The Protobuf4 C++ implementation should work properly.
which brings in python3-saml and is not needed anymore after ceph#62239 Fixes: https://tracker.ceph.com/issues/70937 Signed-off-by: Nizamudeen A <nia@redhat.com>
This PR intends to configure the tox to run with system installed packages rather than getting a version from pip which may differ from the original ones that we support.
this will also unpin the grpc dependencies.
Fixes: https://tracker.ceph.com/issues/70411
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition