Opened 5 years ago

Closed 5 years ago

#59048 closed defect (fixed)

py-proj won't import; missing aenum dependency

Reported by: dershow Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-pyproj

Description

I have been a long time user of py-prof (py27-proj) and when I tried to import and use it recently in python it failed. It seems that the problem is that it now depends on aenum. https://github.com/pyproj4/pyproj/issues/332

There isn't a current port for that. But, I was able to work around by using pip to install aenum, and now it does seem to be working. So, I think that the correct fix would be to make a port for aenum and have py-proj depend on it.

Change History (5)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Cc: stromnov removed
Owner: set to stromnov
Port: py-pyproj added; py-proj removed
Status: newassigned

comment:2 Changed 5 years ago by stromnov (Andrey Stromnov)

Resolution: fixed
Status: assignedclosed

In 84945c431b15033b5d3d2a1cb29c86bd1c43a2c9/macports-ports (master):

py-pyproj: add py-aenum dependency for py27 subport

Closes: #59048

comment:3 Changed 5 years ago by dershow

I just upgraded py27-pyproj from 2.2.2_0 to 2.2.2_1, which I thought would catch the above fix. But, it still doesn't install the py-aenum dependency. But, I did install the py27-aenum port, and again, pyproj is working for me.

comment:4 Changed 5 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: closedreopened
Summary: py-proj won't importpy-proj won't import; missing aenum dependency

It's only listed as a build dependency, so if you installed py27-pyproj from a binary, py27-aenum wouldn't have been installed.

comment:5 Changed 5 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: reopenedclosed

Fixed in this commit

Note: See TracTickets for help on using tickets.