Bug 240410 - www/py-{dj21-,dj22-}drf-yasg: Update to 1.16.1 and add missing dependency
Summary: www/py-{dj21-,dj22-}drf-yasg: Update to 1.16.1 and add missing dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kai Knoblich
URL: https://github.com/axnsan12/drf-yasg/...
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-08 09:02 UTC by Zane C. Bowers-Hadley
Modified: 2019-09-08 18:53 UTC (History)
3 users (show)

See Also:
kai: maintainer-feedback+


Attachments
py-drf-yasg svn diff (1.33 KB, patch)
2019-09-08 09:02 UTC, Zane C. Bowers-Hadley
kai: maintainer-approval+
Details | Diff
py-dj21-drf-yasg svn diff (1.34 KB, patch)
2019-09-08 09:02 UTC, Zane C. Bowers-Hadley
kai: maintainer-approval+
Details | Diff
py-dj22-drf-yasg svn diff (1.34 KB, patch)
2019-09-08 09:03 UTC, Zane C. Bowers-Hadley
kai: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zane C. Bowers-Hadley 2019-09-08 09:02:09 UTC
Created attachment 207277 [details]
py-drf-yasg svn diff

This update for py-dj22-drf-yasg is needed to make netbox work.
Comment 1 Zane C. Bowers-Hadley 2019-09-08 09:02:34 UTC
Created attachment 207278 [details]
py-dj21-drf-yasg svn diff
Comment 2 Zane C. Bowers-Hadley 2019-09-08 09:03:00 UTC
Created attachment 207279 [details]
py-dj22-drf-yasg svn diff
Comment 3 Kai Knoblich freebsd_committer 2019-09-08 14:01:02 UTC
(In reply to Zane C. Bowers-Hadley from comment #0)

Hi Zane,

thank you for the patches and the heads-up about NetBox! 

Apparently ports r507098 (DRF upgrade from 3.9.x to 3.10.x) has broken netmgmt/netbox at runtime. This only affects net-mgmt/netbox of the head@ branch, the 2019Q3 branch isn't affected.

The patches look good and I'll do some QA tests and if everything goes fine the changes will land tonight.
Comment 4 commit-hook freebsd_committer 2019-09-08 18:47:02 UTC
A commit references this bug:

Author: kai
Date: Sun Sep  8 18:46:57 UTC 2019
New revision: 511579
URL: https://svnweb.freebsd.org/changeset/ports/511579

Log:
  www/py-drf-yasg: Update to 1.16.1

  Changelog:

  * Fixed compatibility with Django REST framework 3.10.x
  * Improved enum type detection for nested "ChoiceFields"

  https://github.com/axnsan12/drf-yasg/tree/1.16.1

  PR:		240410
  Submitted by:	Zane C. Bowers-Hadley <vvelox@vvelox.net>

Changes:
  head/www/py-drf-yasg/Makefile
  head/www/py-drf-yasg/distinfo
Comment 5 commit-hook freebsd_committer 2019-09-08 18:51:03 UTC
A commit references this bug:

Author: kai
Date: Sun Sep  8 18:50:11 UTC 2019
New revision: 511580
URL: https://svnweb.freebsd.org/changeset/ports/511580

Log:
  www/py-{dj21,dj22}-drf-yasg: Update to 1.16.1

  This fixes also net-mgmt/netbox at runtime since r507098 [1]

  Changelog:

  * Fixed compatibility with Django REST framework 3.10.x [1]
  * Improved enum type detection for nested "ChoiceFields"

  https://github.com/axnsan12/drf-yasg/tree/1.16.1

  PR:		240410
  Submitted by:	Zane C. Bowers-Hadley <vvelox@vvelox.net>

Changes:
  head/www/py-dj21-drf-yasg/Makefile
  head/www/py-dj21-drf-yasg/distinfo
  head/www/py-dj22-drf-yasg/Makefile
  head/www/py-dj22-drf-yasg/distinfo
Comment 6 Kai Knoblich freebsd_committer 2019-09-08 18:53:29 UTC
Committed, thank very much for the patches!