Bug 213562

Summary: [PATCH] databases/py-alembic sqlalchemy dependency issue
Product: Ports & Packages Reporter: Alexander Nusov <alexander.nusov>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Only Me CC: lwhsu, novel
Priority: --- Keywords: patch
Version: LatestFlags: novel: maintainer-feedback? (lwhsu)
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 213542    
Attachments:
Description Flags
alembic patch none

Description Alexander Nusov 2016-10-17 12:13:22 UTC
Created attachment 175858 [details]
alembic patch

The current alembic port has a strict dependency on sqlalchemy 0.7 branch that is in EOL. It causes package conflicts when you define both alembic and sqlalchemy dependencies in RUN_DEPENDS.

http://www.sqlalchemy.org/download.html
https://pypi.python.org/pypi/alembic

I suggest to change sqlalchemy07 to sqlalchemy10 in the Makefile as a temporary solution.

This patch doesn't affect other ports.
Comment 1 Alexander Nusov 2016-10-17 12:32:23 UTC
or maybe it'd better to remove sqlalchemy dependency (topic to discuss)
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2016-10-18 06:07:50 UTC
Thanks for the information, I'll update it to 0.8.8 and change RUN_DEPENDS to py-sqlalchemy10.
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-10-18 06:14:01 UTC
A commit references this bug:

Author: lwhsu
Date: Tue Oct 18 06:13:26 UTC 2016
New revision: 424148
URL: https://svnweb.freebsd.org/changeset/ports/424148

Log:
  - Update to 0.8.8
  - Change RUN_DEPENDS to py-sqlalchemy10 [1]

  PR:		213562 [1]
  Submitted by:	Alexander Nusov <alexander.nusov@nfvexpress.com>

Changes:
  head/databases/py-alembic/Makefile
  head/databases/py-alembic/distinfo