Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56525 closed defect (wontfix)

py27-spyder upgrade error

Reported by: dershow Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: reneeotten (Renee Otten), eborisch@…
Port: py-spyder

Description

I just attempted to upgrade py27-spyder from 2.3.8_0 to 3.2.8_0. That triggered a bunch of upgrades, including py27-pyqt5, that seemed to go fine. But, then when it got to the actual build of spyder I got this error:

--->  Fetching archive for py27-spyder
--->  Attempting to fetch py27-spyder-3.2.8_0+pyqt5.darwin_17.noarch.tbz2 from https://packages.macports.org/py27-spyder
--->  Attempting to fetch py27-spyder-3.2.8_0+pyqt5.darwin_17.noarch.tbz2 from http://sea.us.packages.macports.org/macports/packages/py27-spyder
--->  Attempting to fetch py27-spyder-3.2.8_0+pyqt5.darwin_17.noarch.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/py27-spyder
--->  Fetching distfiles for py27-spyder
--->  Attempting to fetch spyder-3.2.8.tar.gz from https://distfiles.macports.org/py-spyder
--->  Verifying checksums for py27-spyder                                            
--->  Extracting py27-spyder
--->  Applying patches to py27-spyder
--->  Configuring py27-spyder
Error: Failed to configure py27-spyder: py27-pyqt5 must be installed with +webengine.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

The solution was to manually change the variant of py27-pyqt5

sudo port install py27-pyqt5 +webengine

Then, I was able to get the spyder upgrade to run properly.

Change History (4)

comment:1 Changed 6 years ago by reneeotten (Renee Otten)

thanks for the report. There is, however, not much that can be done about this - at least as far as I know. The require_active_variants py${python.version}-pyqt5 webengine is used to specify that pyqt5 needs to be installed with the webengine variant, but this cannot be enforced automatically during the install so it's up to the user to do so.

comment:2 Changed 6 years ago by eborisch (Eric A. Borisch)

Unfortunately there is no facility (unless it's new and I missed it) in MacPorts to ensure that a dependency has been installed with particular variant beyond the technique already in place here.

comment:3 Changed 6 years ago by eborisch (Eric A. Borisch)

Resolution: wontfix
Status: newclosed

comment:4 Changed 6 years ago by mf2k (Frank Schima)

Port: py-spyder added; py27-spyder removed
Note: See TracTickets for help on using tickets.