Namespace collision with python-redfish-library from DMTF

Bug #1663678 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-redfish
New
Undecided
Unassigned

Bug Description

Not sure if we consider that a problem or not, but just to document: Current the python-redfish-library [0], which is a python library maintained by the DMTF (the folks who works on the Redfish specification) also uses the "redfish" namespace (e.g import redfish).

Again, we might not consider this a problem. But something to be aware of, I will leave it for the python-redfish developers to decide.

[0] https://github.com/DMTF/python-redfish-library

Revision history for this message
Bruno Cornec (bruno-cornec) wrote :

Is our namespace more "protected" by the fact we have the module on pypi ?

Revision history for this message
Lucas Alvares Gomes (lucasagomes) wrote :

Hi Bruno,

I honestly don't know, perhaps this is not even a problem. But I felt like reporting to let you guys know that it's a thing and installing both libraries in the same system (or venv) will cause collisions.

Revision history for this message
Bruno Cornec (bruno-cornec) wrote :

We are in contact with the team developing the DMTF libbrary, and we would like to coordinate. However, goals are different, and python library used are also different. SO it could be challenging.

And moreover, I don't think someone would like to use both of the library anyway, so while I think it's important to record the problem, I don't think in reality it will create problems.

And if there are, we then may solve that by changing namespacing.

Revision history for this message
Dmitry Tantsur (divius) wrote :

FYI it's probably going to be a problem if somebody attempts packaging both libraries. I think the policies may prevent that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.