Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.16.1 depends on packaging, but does not install it #412

Closed
dkliban opened this issue Jul 17, 2019 · 9 comments
Closed

1.16.1 depends on packaging, but does not install it #412

dkliban opened this issue Jul 17, 2019 · 9 comments

Comments

@dkliban
Copy link

dkliban commented Jul 17, 2019

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'
@edison7500
Copy link

edison7500 commented Jul 17, 2019

need to install packaging

pip install packaging

python packaging docs

@ArnaudLevaufre
Copy link

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.

@dkliban dkliban changed the title 1.16.1 depends on packages, but does not install it 1.16.1 depends on packaging, but does not install it Jul 17, 2019
@dkliban
Copy link
Author

dkliban commented Jul 17, 2019

@axnsan12 Can you please release 1.16.2 to fix this?

@hidaris
Copy link

hidaris commented Jul 29, 2019

@axnsan12 ping

@sergei-iurchenko
Copy link

please release version without packaging issue

@johnthagen
Copy link
Collaborator

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

@sergei-iurchenko
Copy link

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

danielsousaio added a commit to crowdbotics/django-scaffold that referenced this issue Sep 27, 2019
`drf_yasg` needs `packaging` as per open issue:
axnsan12/drf-yasg#412
@axnsan12
Copy link
Owner

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.

@johnthagen
Copy link
Collaborator

sorry for going dark for such a long period

No worries! Thanks for working on this!

danielsousaio added a commit to crowdbotics/django-scaffold that referenced this issue Oct 3, 2019
* Feature: Swagger API Docs

- Installs drf_yasg
- Adds /api-docs url to view swaggerui

* Add packaging to Pipfile

`drf_yasg` needs `packaging` as per open issue:
axnsan12/drf-yasg#412

* Remove commented config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants