[cliff][docs][requirements] new cliff versions causes docs to fail to build

Sean McGinnis sean.mcginnis at gmx.com
Tue Jan 7 15:22:37 UTC 2020


> > > TypeError: issubclass() arg 1 must be a class
> > >
> >
> > This should have been fixed by [1], which is in cliff since 2.14.0. The
> > python-openstackclient docs target (which IIUC still uses the def in
> > tox.ini?) pulls in requirements.txt which lists
> >
> >  cliff!=2.9.0,>=2.8.0 # Apache-2.0
> >
> > and upper-constraints, which is at 2.16.0. All that seems copacetic to
> > me. I also can't reproduce the failure locally building
> > python-openstackclient docs from scratch.
> >
> > What/where/how were you building when you encountered this?
> >
> > efried
> >
> > [1] https://review.opendev.org/#/c/614218/
>
> Part of this could be that cliff is still capped since the newest release has
> some issues that have yet to be addressed. The upper constraint can't be raised
> until they are (which also likely means blacklisting this version), but I
> haven't seen any activity there yet.
>
> So the fix that was supposed to handle this doesn't appear to have actually
> done so.
>

Or rather, it had fixed it, but somehow in the latest 2.17.0 release, the one
unrelated change included somehow broke it again.

https://github.com/openstack/cliff/compare/2.16.0...2.17.0



More information about the openstack-discuss mailing list