Drf-yasg: 1.16.1 depends on packaging, but does not install it

Created on 17 Jul 2019  路  9Comments  路  Source: axnsan12/drf-yasg

from drf_yasg.generators import OpenAPISchemaGenerator
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/pulp/lib64/python3.6/site-packages/drf_yasg/generators.py", line 16, in <module>
    from packaging.version import Version
ModuleNotFoundError: No module named 'packaging'

Most helpful comment

@axnsan12 Can you please release 1.16.2 to fix this?

All 9 comments

need to install packaging

pip install packaging

python packaging docs

The fix is implemented in commit e6219ab, one commit after the 1.16.1 release. Would it be possible to release a new bugfix version including this fix ? Anyways it will be fixed in the next release.

@axnsan12 Can you please release 1.16.2 to fix this?

@axnsan12 ping

please release version without packaging issue

It would be really nice to include #428 in 0.16.2 as well as that fixes a recent regression in type hint support.

It would be very nice to merge it and release new version

Hey everyone, sorry for going dark for such a long period. I'll get to cleaning up issues and releasing any needed bug fixes soon.

sorry for going dark for such a long period

No worries! Thanks for working on this!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mkurnikov picture mkurnikov  路  4Comments

littlehome-eugene picture littlehome-eugene  路  4Comments

hnykda picture hnykda  路  3Comments

phihag picture phihag  路  5Comments

therefromhere picture therefromhere  路  3Comments