Bug 247173

Summary: devel/py-eventlib: Switch to Django 2.2 with its dependencies
Product: Ports & Packages Reporter: Kai Knoblich <kai>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: sunpoet
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://github.com/dcramer/logan/issues/19
Bug Depends on:    
Bug Blocks: 245309    
Attachments:
Description Flags
py-eventlib-and-deps-switch-to-django22.patch kai: maintainer-approval? (sunpoet)

Description Kai Knoblich freebsd_committer freebsd_triage 2020-06-11 14:53:22 UTC
Created attachment 215449 [details]
py-eventlib-and-deps-switch-to-django22.patch

Hi Sunpoet,

attached is the patch that does the following actions:

- Switch devel/py-eventlib to Django 2.2
- Switch devel/py-logan to Django 2.2 (see also the "Note" section further down)
- Drop Python 2.7 build for net/py-msrplib to avoid breakage of "bulk -a"

QA:
~~~
- poudriere (11.3-RELEASE amd64 for each py35, py36, py37 and py38 flavor) -> OK


Note:
~~~~~
"make test" for devel/py-logan seems to be broken (even with Django 1.11, PR #19 might be related) and upstream has archived the project:

>   File "/wrkdirs/usr/ports/devel/py-logan/work-py37/logan-0.7.2/tests/logan/settings/tests.py", line 4, in <module>
>     from logan.settings import add_settings
> ImportError: cannot import name 'add_settings' from 'logan.settings' (/wrkdirs/usr/ports/devel/py-logan/work-py37/logan-0.7.2/tests/logan/settings/__init__.py)
>
> ----------------------------------------------------------------------
> Ran 2 tests in 0.027s
>
> FAILED (errors=2)
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-06-24 18:01:36 UTC
A commit references this bug:

Author: sunpoet
Date: Wed Jun 24 17:59:49 UTC 2020
New revision: 540337
URL: https://svnweb.freebsd.org/changeset/ports/540337

Log:
  Update RUN_DEPENDS: use Django 2.2

  - Bump PORTREVISION for dependency change

  PR:		247173
  Submitted by:	kai

Changes:
  head/devel/py-logan/Makefile
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2020-06-24 18:02:06 UTC
Committed. Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-06-24 18:02:38 UTC
A commit references this bug:

Author: sunpoet
Date: Wed Jun 24 18:00:59 UTC 2020
New revision: 540340
URL: https://svnweb.freebsd.org/changeset/ports/540340

Log:
  Update RUN_DEPENDS: use Django 2.2

  - Bump PORTREVISION for dependency change

  PR:		247173
  Submitted by:	kai

Changes:
  head/devel/py-eventlib/Makefile
  head/net/py-msrplib/Makefile